@squidcloud/backend 1.0.0

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 (77) hide show
  1. package/dist/backend/src/actions.d.ts +13 -0
  2. package/dist/backend/src/index.d.ts +3 -0
  3. package/dist/backend/src/metadata.d.ts +234 -0
  4. package/dist/backend/src/project.d.ts +4 -0
  5. package/dist/backend/src/service.d.ts +10 -0
  6. package/dist/common/src/api.types.d.ts +10 -0
  7. package/dist/common/src/application.schemas.d.ts +608 -0
  8. package/dist/common/src/application.types.d.ts +120 -0
  9. package/dist/common/src/backend-function.schemas.d.ts +3 -0
  10. package/dist/common/src/backend-function.types.d.ts +7 -0
  11. package/dist/common/src/bundle-api.types.d.ts +86 -0
  12. package/dist/common/src/bundle-data.types.d.ts +45 -0
  13. package/dist/common/src/communication.types.d.ts +4 -0
  14. package/dist/common/src/context.types.d.ts +22 -0
  15. package/dist/common/src/document.types.d.ts +29 -0
  16. package/dist/common/src/graphql.types.d.ts +8 -0
  17. package/dist/common/src/http-status.enum.d.ts +50 -0
  18. package/dist/common/src/index.d.ts +40 -0
  19. package/dist/common/src/integration.types.d.ts +247 -0
  20. package/dist/common/src/logger.types.d.ts +22 -0
  21. package/dist/common/src/metrics.schemas.d.ts +3 -0
  22. package/dist/common/src/metrics.types.d.ts +52 -0
  23. package/dist/common/src/mutation.context.d.ts +14 -0
  24. package/dist/common/src/mutation.schemas.d.ts +5 -0
  25. package/dist/common/src/mutation.types.d.ts +66 -0
  26. package/dist/common/src/named-query.schemas.d.ts +3 -0
  27. package/dist/common/src/named-query.types.d.ts +9 -0
  28. package/dist/common/src/query/index.d.ts +2 -0
  29. package/dist/common/src/query/query-context.d.ts +41 -0
  30. package/dist/common/src/query/simple-query-builder.d.ts +14 -0
  31. package/dist/common/src/query.schemas.d.ts +5 -0
  32. package/dist/common/src/query.types.d.ts +118 -0
  33. package/dist/common/src/schema/schema.types.d.ts +34 -0
  34. package/dist/common/src/secret.schemas.d.ts +6 -0
  35. package/dist/common/src/secret.types.d.ts +30 -0
  36. package/dist/common/src/socket.schemas.d.ts +3 -0
  37. package/dist/common/src/socket.types.d.ts +68 -0
  38. package/dist/common/src/time-units.d.ts +5 -0
  39. package/dist/common/src/trigger.types.d.ts +17 -0
  40. package/dist/common/src/types.d.ts +15 -0
  41. package/dist/common/src/utils/array.d.ts +7 -0
  42. package/dist/common/src/utils/assert.d.ts +6 -0
  43. package/dist/common/src/utils/error.d.ts +4 -0
  44. package/dist/common/src/utils/lock.manager.d.ts +14 -0
  45. package/dist/common/src/utils/object.d.ts +4 -0
  46. package/dist/common/src/utils/serialization.d.ts +5 -0
  47. package/dist/common/src/utils/url.d.ts +1 -0
  48. package/dist/common/src/utils/validation.d.ts +30 -0
  49. package/dist/index.js +12 -0
  50. package/dist/index.js.LICENSE.txt +38 -0
  51. package/dist/node_modules/json-schema-typed/draft-2020-12.d.ts +1239 -0
  52. package/dist/typescript-client/src/api.manager.d.ts +14 -0
  53. package/dist/typescript-client/src/backend-function.manager.d.ts +13 -0
  54. package/dist/typescript-client/src/collection-reference.d.ts +16 -0
  55. package/dist/typescript-client/src/collection-reference.factory.d.ts +11 -0
  56. package/dist/typescript-client/src/data.manager.d.ts +140 -0
  57. package/dist/typescript-client/src/db.dao.d.ts +20 -0
  58. package/dist/typescript-client/src/destruct.manager.d.ts +7 -0
  59. package/dist/typescript-client/src/document-reference.d.ts +18 -0
  60. package/dist/typescript-client/src/document-reference.factory.d.ts +9 -0
  61. package/dist/typescript-client/src/graphql-client.d.ts +9 -0
  62. package/dist/typescript-client/src/graphql-client.factory.d.ts +9 -0
  63. package/dist/typescript-client/src/index.d.ts +4 -0
  64. package/dist/typescript-client/src/mutation/mutation-sender.d.ts +11 -0
  65. package/dist/typescript-client/src/named-query.manager.d.ts +13 -0
  66. package/dist/typescript-client/src/query/query-builder.factory.d.ts +41 -0
  67. package/dist/typescript-client/src/query/query-subscription.manager.d.ts +55 -0
  68. package/dist/typescript-client/src/query/query.types.d.ts +7 -0
  69. package/dist/typescript-client/src/rpc.manager.d.ts +23 -0
  70. package/dist/typescript-client/src/socket.manager.d.ts +27 -0
  71. package/dist/typescript-client/src/squid.d.ts +48 -0
  72. package/dist/typescript-client/src/state/action.applier.d.ts +7 -0
  73. package/dist/typescript-client/src/state/actions.d.ts +29 -0
  74. package/dist/typescript-client/src/state/path_trie.d.ts +27 -0
  75. package/dist/typescript-client/src/state/state.service.d.ts +22 -0
  76. package/dist/typescript-client/src/types.d.ts +2 -0
  77. package/package.json +26 -0
package/dist/index.js ADDED
@@ -0,0 +1,12 @@
1
+ /*! For license information please see index.js.LICENSE.txt */
2
+ (()=>{var e,t,r={8278:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},3910:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0});const a=r(8599);t.default=a.PromisePool,i(r(8278),t),i(r(8599),t),i(r(5607),t),i(r(6784),t),i(r(9446),t),i(r(4204),t)},5607:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PromisePoolError=void 0;class r extends Error{constructor(e,t){super(),this.raw=e,this.item=t,this.name=this.constructor.name,this.message=this.messageFrom(e),Error.captureStackTrace(this,this.constructor)}static createFrom(e,t){return new this(e,t)}messageFrom(e){return e instanceof Error||"object"==typeof e?e.message:"string"==typeof e||"number"==typeof e?e.toString():""}}t.PromisePoolError=r},4027:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PromisePoolExecutor=void 0;const n=r(5607),i=r(9446),a=r(4204);t.PromisePoolExecutor=class{constructor(){this.meta={tasks:[],items:[],errors:[],results:[],stopped:!1,concurrency:10,processedItems:[]},this.handler=()=>{},this.errorHandler=void 0,this.onTaskStartedHandlers=[],this.onTaskFinishedHandlers=[]}useConcurrency(e){if(!this.isValidConcurrency(e))throw a.ValidationError.createFrom(`"concurrency" must be a number, 1 or up. Received "${e}" (${typeof e})`);return this.meta.concurrency=e,this}isValidConcurrency(e){return"number"==typeof e&&e>=1}concurrency(){return this.meta.concurrency}for(e){return this.meta.items=e,this}items(){return this.meta.items}itemsCount(){return this.items().length}tasks(){return this.meta.tasks}activeTaskCount(){return this.activeTasksCount()}activeTasksCount(){return this.tasks().length}processedItems(){return this.meta.processedItems}processedCount(){return this.processedItems().length}processedPercentage(){return this.processedCount()/this.itemsCount()*100}results(){return this.meta.results}errors(){return this.meta.errors}withHandler(e){return this.handler=e,this}hasErrorHandler(){return!!this.errorHandler}handleError(e){return this.errorHandler=e,this}onTaskStarted(e){return this.onTaskStartedHandlers=e,this}onTaskFinished(e){return this.onTaskFinishedHandlers=e,this}hasReachedConcurrencyLimit(){return this.activeTasksCount()>=this.concurrency()}stop(){throw this.markAsStopped(),new i.StopThePromisePoolError}markAsStopped(){return this.meta.stopped=!0,this}isStopped(){return this.meta.stopped}async start(){return await this.validateInputs().process()}validateInputs(){if("function"!=typeof this.handler)throw a.ValidationError.createFrom("The first parameter for the .process(fn) method must be a function");if(!Array.isArray(this.items()))throw a.ValidationError.createFrom('"items" must be an array. Received '+typeof this.items());if(this.errorHandler&&"function"!=typeof this.errorHandler)throw a.ValidationError.createFrom("The error handler must be a function. Received "+typeof this.errorHandler);return this.onTaskStartedHandlers.forEach((e=>{if(e&&"function"!=typeof e)throw a.ValidationError.createFrom("The onTaskStarted handler must be a function. Received "+typeof e)})),this.onTaskFinishedHandlers.forEach((e=>{if(e&&"function"!=typeof e)throw a.ValidationError.createFrom("The error handler must be a function. Received "+typeof e)})),this}async process(){for(const[e,t]of this.items().entries()){if(this.isStopped())break;await this.waitForProcessingSlot(),this.startProcessing(t,e)}return await this.drained()}async waitForProcessingSlot(){for(;this.hasReachedConcurrencyLimit();)await Promise.race(this.tasks())}startProcessing(e,t){const r=this.createTaskFor(e,t).then((e=>{this.save(e).removeActive(r)})).catch((async t=>{await this.handleErrorFor(t,e),this.removeActive(r)})).finally((()=>{this.processedItems().push(e),this.runOnTaskFinishedHandlers(e)}));this.tasks().push(r),this.runOnTaskStartedHandlers(e)}async createTaskFor(e,t){return this.handler(e,t,this)}save(e){return this.results().push(e),this}removeActive(e){return this.tasks().splice(this.tasks().indexOf(e),1),this}async handleErrorFor(e,t){if(!this.isStoppingThePoolError(e)){if(this.isValidationError(e))throw this.markAsStopped(),e;this.hasErrorHandler()?await this.runErrorHandlerFor(e,t):this.saveErrorFor(e,t)}}isStoppingThePoolError(e){return e instanceof i.StopThePromisePoolError}isValidationError(e){return e instanceof a.ValidationError}async runErrorHandlerFor(e,t){var r;try{await(null===(r=this.errorHandler)||void 0===r?void 0:r.call(this,e,t,this))}catch(e){this.rethrowIfNotStoppingThePool(e)}}runOnTaskStartedHandlers(e){this.onTaskStartedHandlers.forEach((t=>{t(e,this)}))}runOnTaskFinishedHandlers(e){this.onTaskFinishedHandlers.forEach((t=>{t(e,this)}))}rethrowIfNotStoppingThePool(e){if(!this.isStoppingThePoolError(e))throw e}saveErrorFor(e,t){this.errors().push(n.PromisePoolError.createFrom(e,t))}async drained(){return await this.drainActiveTasks(),{errors:this.errors(),results:this.results()}}async drainActiveTasks(){await Promise.all(this.tasks())}}},8599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PromisePool=void 0;const n=r(4027);class i{constructor(e){this.concurrency=10,this.items=null!=e?e:[],this.errorHandler=void 0,this.onTaskStartedHandlers=[],this.onTaskFinishedHandlers=[]}withConcurrency(e){return this.concurrency=e,this}static withConcurrency(e){return(new this).withConcurrency(e)}for(e){return new i(e).withConcurrency(this.concurrency)}static for(e){return(new this).for(e)}handleError(e){return this.errorHandler=e,this}onTaskStarted(e){return this.onTaskStartedHandlers.push(e),this}onTaskFinished(e){return this.onTaskFinishedHandlers.push(e),this}async process(e){return(new n.PromisePoolExecutor).useConcurrency(this.concurrency).withHandler(e).handleError(this.errorHandler).onTaskStarted(this.onTaskStartedHandlers).onTaskFinished(this.onTaskFinishedHandlers).for(this.items).start()}}t.PromisePool=i},6784:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9446:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StopThePromisePoolError=void 0;class r extends Error{}t.StopThePromisePoolError=r},4204:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationError=void 0;class r extends Error{constructor(e){super(e),Error.captureStackTrace(this,this.constructor)}static createFrom(e){return new this(e)}}t.ValidationError=r},3747:(e,t)=>{"use strict";function r(e,t){return{validate:e,compare:t}}Object.defineProperty(t,"__esModule",{value:!0}),t.formatNames=t.fastFormats=t.fullFormats=void 0,t.fullFormats={date:r(a,o),time:r(p,d),"date-time":r((function(e){const t=e.split(u);return 2===t.length&&a(t[0])&&p(t[1],!0)}),l),duration:/^P(?!$)((\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+S)?)?|(\d+W)?)$/,uri:function(e){return c.test(e)&&f.test(e)},"uri-reference":/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,"uri-template":/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,url:/^(?:https?|ftp):\/\/(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)(?:\.(?:[a-z0-9\u{00a1}-\u{ffff}]+-)*[a-z0-9\u{00a1}-\u{ffff}]+)*(?:\.(?:[a-z\u{00a1}-\u{ffff}]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/iu,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^((([0-9a-f]{1,4}:){7}([0-9a-f]{1,4}|:))|(([0-9a-f]{1,4}:){6}(:[0-9a-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){5}(((:[0-9a-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9a-f]{1,4}:){4}(((:[0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))$/i,regex:function(e){if(v.test(e))return!1;try{return new RegExp(e),!0}catch(e){return!1}},uuid:/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,"json-pointer":/^(?:\/(?:[^~/]|~0|~1)*)*$/,"json-pointer-uri-fragment":/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,"relative-json-pointer":/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/,byte:function(e){return h.lastIndex=0,h.test(e)},int32:{type:"number",validate:function(e){return Number.isInteger(e)&&e<=2147483647&&e>=-2147483648}},int64:{type:"number",validate:function(e){return Number.isInteger(e)}},float:{type:"number",validate:m},double:{type:"number",validate:m},password:!0,binary:!0},t.fastFormats={...t.fullFormats,date:r(/^\d\d\d\d-[0-1]\d-[0-3]\d$/,o),time:r(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,d),"date-time":r(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,l),uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i},t.formatNames=Object.keys(t.fullFormats);const n=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,i=[0,31,28,31,30,31,30,31,31,30,31,30,31];function a(e){const t=n.exec(e);if(!t)return!1;const r=+t[1],a=+t[2],o=+t[3];return a>=1&&a<=12&&o>=1&&o<=(2===a&&function(e){return e%4==0&&(e%100!=0||e%400==0)}(r)?29:i[a])}function o(e,t){if(e&&t)return e>t?1:e<t?-1:0}const s=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i;function p(e,t){const r=s.exec(e);if(!r)return!1;const n=+r[1],i=+r[2],a=+r[3],o=r[5];return(n<=23&&i<=59&&a<=59||23===n&&59===i&&60===a)&&(!t||""!==o)}function d(e,t){if(!e||!t)return;const r=s.exec(e),n=s.exec(t);return r&&n?(e=r[1]+r[2]+r[3]+(r[4]||""))>(t=n[1]+n[2]+n[3]+(n[4]||""))?1:e<t?-1:0:void 0}const u=/t|\s/i;function l(e,t){if(!e||!t)return;const[r,n]=e.split(u),[i,a]=t.split(u),s=o(r,i);return void 0!==s?s||d(n,a):void 0}const c=/\/|:/,f=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,h=/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;function m(){return!0}const v=/[^\\]\\Z/},8414:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3747),i=r(9262),a=r(5669),o=new a.Name("fullFormats"),s=new a.Name("fastFormats"),p=(e,t={keywords:!0})=>{if(Array.isArray(t))return d(e,t,n.fullFormats,o),e;const[r,a]="fast"===t.mode?[n.fastFormats,s]:[n.fullFormats,o];return d(e,t.formats||n.formatNames,r,a),t.keywords&&i.default(e),e};function d(e,t,r,n){var i,o;null!==(i=(o=e.opts.code).formats)&&void 0!==i||(o.formats=a._`require("ajv-formats/dist/formats").${n}`);for(const n of t)e.addFormat(n,r[n])}p.get=(e,t="full")=>{const r=("fast"===t?n.fastFormats:n.fullFormats)[e];if(!r)throw new Error(`Unknown format "${e}"`);return r},e.exports=t=p,Object.defineProperty(t,"__esModule",{value:!0}),t.default=p},9262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatLimitDefinition=void 0;const n=r(6236),i=r(5669),a=i.operators,o={formatMaximum:{okStr:"<=",ok:a.LTE,fail:a.GT},formatMinimum:{okStr:">=",ok:a.GTE,fail:a.LT},formatExclusiveMaximum:{okStr:"<",ok:a.LT,fail:a.GTE},formatExclusiveMinimum:{okStr:">",ok:a.GT,fail:a.LTE}},s={message:({keyword:e,schemaCode:t})=>i.str`should be ${o[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>i._`{comparison: ${o[e].okStr}, limit: ${t}}`};t.formatLimitDefinition={keyword:Object.keys(o),type:"string",schemaType:"string",$data:!0,error:s,code(e){const{gen:t,data:r,schemaCode:a,keyword:s,it:p}=e,{opts:d,self:u}=p;if(!d.validateFormats)return;const l=new n.KeywordCxt(p,u.RULES.all.format.definition,"format");function c(e){return i._`${e}.compare(${r}, ${a}) ${o[s].fail} 0`}l.$data?function(){const r=t.scopeValue("formats",{ref:u.formats,code:d.code.formats}),n=t.const("fmt",i._`${r}[${l.schemaCode}]`);e.fail$data(i.or(i._`typeof ${n} != "object"`,i._`${n} instanceof RegExp`,i._`typeof ${n}.compare != "function"`,c(n)))}():function(){const r=l.schema,n=u.formats[r];if(!n||!0===n)return;if("object"!=typeof n||n instanceof RegExp||"function"!=typeof n.compare)throw new Error(`"${s}": format "${r}" does not define "compare" function`);const a=t.scopeValue("formats",{key:r,ref:n,code:d.code.formats?i._`${d.code.formats}${i.getProperty(r)}`:void 0});e.fail$data(c(a))}()},dependencies:["format"]},t.default=e=>(e.addKeyword(t.formatLimitDefinition),e)},6236:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const n=r(8355),i=r(5671),a=r(2),o=r(1512),s=["/properties"],p="http://json-schema.org/draft-07/schema";class d extends n.default{_addVocabularies(){super._addVocabularies(),i.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(o,s):o;this.addMetaSchema(e,p,!1),this.refs["http://json-schema.org/schema"]=p}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(p)?p:void 0)}}e.exports=t=d,Object.defineProperty(t,"__esModule",{value:!0}),t.default=d;var u=r(1686);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return u.KeywordCxt}});var l=r(5669);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return l.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return l.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return l.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return l.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return l.CodeGen}});var c=r(6448);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return c.default}});var f=r(1578);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return f.default}})},6545:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class r{}t._CodeOrName=r,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class n extends r{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=n;class i extends r{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function a(e,...t){const r=[e[0]];let n=0;for(;n<t.length;)p(r,t[n]),r.push(e[++n]);return new i(r)}t._Code=i,t.nil=new i(""),t._=a;const o=new i("+");function s(e,...t){const r=[u(e[0])];let n=0;for(;n<t.length;)r.push(o),p(r,t[n]),r.push(o,u(e[++n]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===o){const r=d(e[t-1],e[t+1]);if(void 0!==r){e.splice(t-1,3,r);continue}e[t++]="+"}t++}}(r),new i(r)}function p(e,t){var r;t instanceof i?e.push(...t._items):t instanceof n?e.push(t):e.push("number"==typeof(r=t)||"boolean"==typeof r||null===r?r:u(Array.isArray(r)?r.join(","):r))}function d(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof n||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof n?void 0:`"${e}${t.slice(1)}`}function u(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=s,t.addCodeArg=p,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:s`${e}${t}`},t.stringify=function(e){return new i(u(e))},t.safeStringify=u,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new i(`.${e}`):a`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new i(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new i(e.toString())}},5669:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const n=r(6545),i=r(9187);var a=r(6545);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return a.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return a.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return a.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return a.Name}});var o=r(9187);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),t.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class p extends s{constructor(e,t,r){super(),this.varKind=e,this.name=t,this.rhs=r}render({es5:e,_n:t}){const r=e?i.varKinds.var:this.varKind,n=void 0===this.rhs?"":` = ${this.rhs}`;return`${r} ${this.name}${n};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=k(this.rhs,e,t)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class d extends s{constructor(e,t,r){super(),this.lhs=e,this.rhs=t,this.sideEffects=r}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof n.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=k(this.rhs,e,t),this}get names(){return D(this.lhs instanceof n.Name?{}:{...this.lhs.names},this.rhs)}}class u extends d{constructor(e,t,r,n){super(e,r,n),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class l extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class c extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class f extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class h extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=k(this.code,e,t),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class m extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,r)=>t+r.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const r=e[t].optimizeNodes();Array.isArray(r)?e.splice(t,1,...r):r?e[t]=r:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:r}=this;let n=r.length;for(;n--;){const i=r[n];i.optimizeNames(e,t)||(A(e,i.names),r.splice(n,1))}return r.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>I(e,t.names)),{})}}class v extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class y extends m{}class g extends v{}g.kind="else";class b extends v{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new g(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(j(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var r;if(this.else=null===(r=this.else)||void 0===r?void 0:r.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=k(this.condition,e,t),this}get names(){const e=super.names;return D(e,this.condition),this.else&&I(e,this.else.names),e}}b.kind="if";class _ extends v{}_.kind="for";class w extends _{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=k(this.iteration,e,t),this}get names(){return I(super.names,this.iteration.names)}}class S extends _{constructor(e,t,r,n){super(),this.varKind=e,this.name=t,this.from=r,this.to=n}render(e){const t=e.es5?i.varKinds.var:this.varKind,{name:r,from:n,to:a}=this;return`for(${t} ${r}=${n}; ${r}<${a}; ${r}++)`+super.render(e)}get names(){const e=D(super.names,this.from);return D(e,this.to)}}class O extends _{constructor(e,t,r,n){super(),this.loop=e,this.varKind=t,this.name=r,this.iterable=n}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=k(this.iterable,e,t),this}get names(){return I(super.names,this.iterable.names)}}class E extends v{constructor(e,t,r){super(),this.name=e,this.args=t,this.async=r}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}E.kind="func";class N extends m{render(e){return"return "+super.render(e)}}N.kind="return";class x extends v{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var r,n;return super.optimizeNames(e,t),null===(r=this.catch)||void 0===r||r.optimizeNames(e,t),null===(n=this.finally)||void 0===n||n.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&I(e,this.catch.names),this.finally&&I(e,this.finally.names),e}}class T extends v{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}T.kind="catch";class P extends v{render(e){return"finally"+super.render(e)}}function I(e,t){for(const r in t)e[r]=(e[r]||0)+(t[r]||0);return e}function D(e,t){return t instanceof n._CodeOrName?I(e,t.names):e}function k(e,t,r){return e instanceof n.Name?a(e):(i=e)instanceof n._Code&&i._items.some((e=>e instanceof n.Name&&1===t[e.str]&&void 0!==r[e.str]))?new n._Code(e._items.reduce(((e,t)=>(t instanceof n.Name&&(t=a(t)),t instanceof n._Code?e.push(...t._items):e.push(t),e)),[])):e;var i;function a(e){const n=r[e.str];return void 0===n||1!==t[e.str]?e:(delete t[e.str],n)}}function A(e,t){for(const r in t)e[r]=(e[r]||0)-(t[r]||0)}function j(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:n._`!${M(e)}`}P.kind="finally",t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new i.Scope({parent:e}),this._nodes=[new y]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const r=this._extScope.value(e,t);return(this._values[r.prefix]||(this._values[r.prefix]=new Set)).add(r),r}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,r,n){const i=this._scope.toName(t);return void 0!==r&&n&&(this._constants[i.str]=r),this._leafNode(new p(e,i,r)),i}const(e,t,r){return this._def(i.varKinds.const,e,t,r)}let(e,t,r){return this._def(i.varKinds.let,e,t,r)}var(e,t,r){return this._def(i.varKinds.var,e,t,r)}assign(e,t,r){return this._leafNode(new d(e,t,r))}add(e,r){return this._leafNode(new u(e,t.operators.ADD,r))}code(e){return"function"==typeof e?e():e!==n.nil&&this._leafNode(new h(e)),this}object(...e){const t=["{"];for(const[r,i]of e)t.length>1&&t.push(","),t.push(r),(r!==i||this.opts.es5)&&(t.push(":"),(0,n.addCodeArg)(t,i));return t.push("}"),new n._Code(t)}if(e,t,r){if(this._blockNode(new b(e)),t&&r)this.code(t).else().code(r).endIf();else if(t)this.code(t).endIf();else if(r)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(b,g)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new w(e),t)}forRange(e,t,r,n,a=(this.opts.es5?i.varKinds.var:i.varKinds.let)){const o=this._scope.toName(e);return this._for(new S(a,o,t,r),(()=>n(o)))}forOf(e,t,r,a=i.varKinds.const){const o=this._scope.toName(e);if(this.opts.es5){const e=t instanceof n.Name?t:this.var("_arr",t);return this.forRange("_i",0,n._`${e}.length`,(t=>{this.var(o,n._`${e}[${t}]`),r(o)}))}return this._for(new O("of",a,o,t),(()=>r(o)))}forIn(e,t,r,a=(this.opts.es5?i.varKinds.var:i.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,n._`Object.keys(${t})`,r);const o=this._scope.toName(e);return this._for(new O("in",a,o,t),(()=>r(o)))}endFor(){return this._endBlockNode(_)}label(e){return this._leafNode(new l(e))}break(e){return this._leafNode(new c(e))}return(e){const t=new N;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(N)}try(e,t,r){if(!t&&!r)throw new Error('CodeGen: "try" without "catch" and "finally"');const n=new x;if(this._blockNode(n),this.code(e),t){const e=this.name("e");this._currNode=n.catch=new T(e),t(e)}return r&&(this._currNode=n.finally=new P,this.code(r)),this._endBlockNode(T,P)}throw(e){return this._leafNode(new f(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const r=this._nodes.length-t;if(r<0||void 0!==e&&r!==e)throw new Error(`CodeGen: wrong number of nodes: ${r} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=n.nil,r,i){return this._blockNode(new E(e,t,r)),i&&this.code(i).endFunc(),this}endFunc(){return this._endBlockNode(E)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const r=this._currNode;if(r instanceof e||t&&r instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=j;const C=$(t.operators.AND);t.and=function(...e){return e.reduce(C)};const R=$(t.operators.OR);function $(e){return(t,r)=>t===n.nil?r:r===n.nil?t:n._`${M(t)} ${e} ${M(r)}`}function M(e){return e instanceof n.Name?e:n._`(${e})`}t.or=function(...e){return e.reduce(R)}},9187:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const n=r(6545);class i extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var a;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(a=t.UsedValueState||(t.UsedValueState={})),t.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class o{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof n.Name?e:this.name(e)}name(e){return new n.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,r;if((null===(r=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===r?void 0:r.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=o;class s extends n.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:r}){this.value=e,this.scopePath=n._`.${new n.Name(t)}[${r}]`}}t.ValueScopeName=s;const p=n._`\n`;t.ValueScope=class extends o{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?p:n.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var r;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const n=this.toName(e),{prefix:i}=n,a=null!==(r=t.key)&&void 0!==r?r:t.ref;let o=this._values[i];if(o){const e=o.get(a);if(e)return e}else o=this._values[i]=new Map;o.set(a,n);const s=this._scope[i]||(this._scope[i]=[]),p=s.length;return s[p]=t.ref,n.setValue(t,{property:i,itemIndex:p}),n}getValue(e,t){const r=this._values[e];if(r)return r.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return n._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,r){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,r)}_reduceValues(e,r,o={},s){let p=n.nil;for(const d in e){const u=e[d];if(!u)continue;const l=o[d]=o[d]||new Map;u.forEach((e=>{if(l.has(e))return;l.set(e,a.Started);let o=r(e);if(o){const r=this.opts.es5?t.varKinds.var:t.varKinds.const;p=n._`${p}${r} ${e} = ${o};${this.opts._n}`}else{if(!(o=null==s?void 0:s(e)))throw new i(e);p=n._`${p}${o}${this.opts._n}`}l.set(e,a.Completed)}))}return p}}},6930:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const n=r(5669),i=r(8936),a=r(5247);function o(e,t){const r=e.const("err",t);e.if(n._`${a.default.vErrors} === null`,(()=>e.assign(a.default.vErrors,n._`[${r}]`)),n._`${a.default.vErrors}.push(${r})`),e.code(n._`${a.default.errors}++`)}function s(e,t){const{gen:r,validateName:i,schemaEnv:a}=e;a.$async?r.throw(n._`new ${e.ValidationError}(${t})`):(r.assign(n._`${i}.errors`,t),r.return(!1))}t.keywordError={message:({keyword:e})=>n.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?n.str`"${e}" keyword must be ${t} ($data)`:n.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,r=t.keywordError,i,a){const{it:p}=e,{gen:u,compositeRule:l,allErrors:c}=p,f=d(e,r,i);(null!=a?a:l||c)?o(u,f):s(p,n._`[${f}]`)},t.reportExtraError=function(e,r=t.keywordError,n){const{it:i}=e,{gen:p,compositeRule:u,allErrors:l}=i;o(p,d(e,r,n)),u||l||s(i,a.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(a.default.errors,t),e.if(n._`${a.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(n._`${a.default.vErrors}.length`,t)),(()=>e.assign(a.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:r,data:i,errsCount:o,it:s}){if(void 0===o)throw new Error("ajv implementation error");const p=e.name("err");e.forRange("i",o,a.default.errors,(o=>{e.const(p,n._`${a.default.vErrors}[${o}]`),e.if(n._`${p}.instancePath === undefined`,(()=>e.assign(n._`${p}.instancePath`,(0,n.strConcat)(a.default.instancePath,s.errorPath)))),e.assign(n._`${p}.schemaPath`,n.str`${s.errSchemaPath}/${t}`),s.opts.verbose&&(e.assign(n._`${p}.schema`,r),e.assign(n._`${p}.data`,i))}))};const p={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function d(e,t,r){const{createErrors:i}=e.it;return!1===i?n._`{}`:function(e,t,r={}){const{gen:i,it:o}=e,s=[u(o,r),l(e,r)];return function(e,{params:t,message:r},i){const{keyword:o,data:s,schemaValue:d,it:u}=e,{opts:l,propertyName:c,topSchemaRef:f,schemaPath:h}=u;i.push([p.keyword,o],[p.params,"function"==typeof t?t(e):t||n._`{}`]),l.messages&&i.push([p.message,"function"==typeof r?r(e):r]),l.verbose&&i.push([p.schema,d],[p.parentSchema,n._`${f}${h}`],[a.default.data,s]),c&&i.push([p.propertyName,c])}(e,t,s),i.object(...s)}(e,t,r)}function u({errorPath:e},{instancePath:t}){const r=t?n.str`${e}${(0,i.getErrorPath)(t,i.Type.Str)}`:e;return[a.default.instancePath,(0,n.strConcat)(a.default.instancePath,r)]}function l({keyword:e,it:{errSchemaPath:t}},{schemaPath:r,parentSchema:a}){let o=a?t:n.str`${t}/${e}`;return r&&(o=n.str`${o}${(0,i.getErrorPath)(r,i.Type.Str)}`),[p.schemaPath,o]}},7382:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const n=r(5669),i=r(6448),a=r(5247),o=r(6696),s=r(8936),p=r(1686);class d{constructor(e){var t;let r;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(r=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,o.normalizeId)(null==r?void 0:r[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==r?void 0:r.$async,this.refs={}}}function u(e){const t=c.call(this,e);if(t)return t;const r=(0,o.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:d}=this.opts.code,{ownProperties:u}=this.opts,l=new n.CodeGen(this.scope,{es5:s,lines:d,ownProperties:u});let f;e.$async&&(f=l.scopeValue("Error",{ref:i.default,code:n._`require("ajv/dist/runtime/validation_error").default`}));const h=l.scopeName("validate");e.validateName=h;const m={gen:l,allErrors:this.opts.allErrors,data:a.default.data,parentData:a.default.parentData,parentDataProperty:a.default.parentDataProperty,dataNames:[a.default.data],dataPathArr:[n.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:l.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,n.stringify)(e.schema)}:{ref:e.schema}),validateName:h,ValidationError:f,schema:e.schema,schemaEnv:e,rootId:r,baseId:e.baseId||r,schemaPath:n.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:n._`""`,opts:this.opts,self:this};let v;try{this._compilations.add(e),(0,p.validateFunctionCode)(m),l.optimize(this.opts.code.optimize);const t=l.toString();v=`${l.scopeRefs(a.default.scope)}return ${t}`,this.opts.code.process&&(v=this.opts.code.process(v,e));const r=new Function(`${a.default.self}`,`${a.default.scope}`,v)(this,this.scope.get());if(this.scope.value(h,{ref:r}),r.errors=null,r.schema=e.schema,r.schemaEnv=e,e.$async&&(r.$async=!0),!0===this.opts.code.source&&(r.source={validateName:h,validateCode:t,scopeValues:l._values}),this.opts.unevaluated){const{props:e,items:t}=m;r.evaluated={props:e instanceof n.Name?void 0:e,items:t instanceof n.Name?void 0:t,dynamicProps:e instanceof n.Name,dynamicItems:t instanceof n.Name},r.source&&(r.source.evaluated=(0,n.stringify)(r.evaluated))}return e.validate=r,e}catch(t){throw delete e.validate,delete e.validateName,v&&this.logger.error("Error compiling schema, function code:",v),t}finally{this._compilations.delete(e)}}function l(e){return(0,o.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:u.call(this,e)}function c(e){for(const n of this._compilations)if(r=e,(t=n).schema===r.schema&&t.root===r.root&&t.baseId===r.baseId)return n;var t,r}function f(e,t){let r;for(;"string"==typeof(r=this.refs[t]);)t=r;return r||this.schemas[t]||h.call(this,e,t)}function h(e,t){const r=this.opts.uriResolver.parse(t),n=(0,o._getFullPath)(this.opts.uriResolver,r);let i=(0,o.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&n===i)return v.call(this,r,e);const a=(0,o.normalizeId)(n),s=this.refs[a]||this.schemas[a];if("string"==typeof s){const t=h.call(this,e,s);if("object"!=typeof(null==t?void 0:t.schema))return;return v.call(this,r,t)}if("object"==typeof(null==s?void 0:s.schema)){if(s.validate||u.call(this,s),a===(0,o.normalizeId)(t)){const{schema:t}=s,{schemaId:r}=this.opts,n=t[r];return n&&(i=(0,o.resolveUrl)(this.opts.uriResolver,i,n)),new d({schema:t,schemaId:r,root:e,baseId:i})}return v.call(this,r,s)}}t.SchemaEnv=d,t.compileSchema=u,t.resolveRef=function(e,t,r){var n;r=(0,o.resolveUrl)(this.opts.uriResolver,t,r);const i=e.refs[r];if(i)return i;let a=f.call(this,e,r);if(void 0===a){const i=null===(n=e.localRefs)||void 0===n?void 0:n[r],{schemaId:o}=this.opts;i&&(a=new d({schema:i,schemaId:o,root:e,baseId:t}))}return void 0!==a?e.refs[r]=l.call(this,a):void 0},t.getCompilingSchema=c,t.resolveSchema=h;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(e,{baseId:t,schema:r,root:n}){var i;if("/"!==(null===(i=e.fragment)||void 0===i?void 0:i[0]))return;for(const n of e.fragment.slice(1).split("/")){if("boolean"==typeof r)return;const e=r[(0,s.unescapeFragment)(n)];if(void 0===e)return;const i="object"==typeof(r=e)&&r[this.opts.schemaId];!m.has(n)&&i&&(t=(0,o.resolveUrl)(this.opts.uriResolver,t,i))}let a;if("boolean"!=typeof r&&r.$ref&&!(0,s.schemaHasRulesButRef)(r,this.RULES)){const e=(0,o.resolveUrl)(this.opts.uriResolver,t,r.$ref);a=h.call(this,n,e)}const{schemaId:p}=this.opts;return a=a||new d({schema:r,schemaId:p,root:n,baseId:t}),a.schema!==a.root.schema?a:void 0}},5247:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i={data:new n.Name("data"),valCxt:new n.Name("valCxt"),instancePath:new n.Name("instancePath"),parentData:new n.Name("parentData"),parentDataProperty:new n.Name("parentDataProperty"),rootData:new n.Name("rootData"),dynamicAnchors:new n.Name("dynamicAnchors"),vErrors:new n.Name("vErrors"),errors:new n.Name("errors"),this:new n.Name("this"),self:new n.Name("self"),scope:new n.Name("scope"),json:new n.Name("json"),jsonPos:new n.Name("jsonPos"),jsonLen:new n.Name("jsonLen"),jsonPart:new n.Name("jsonPart")};t.default=i},1578:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(6696);class i extends Error{constructor(e,t,r,i){super(i||`can't resolve reference ${r} from id ${t}`),this.missingRef=(0,n.resolveUrl)(e,t,r),this.missingSchema=(0,n.normalizeId)((0,n.getFullPath)(e,this.missingRef))}}t.default=i},6696:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const n=r(8936),i=r(6471),a=r(2943),o=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!p(e):!!t&&d(e)<=t)};const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function p(e){for(const t in e){if(s.has(t))return!0;const r=e[t];if(Array.isArray(r)&&r.some(p))return!0;if("object"==typeof r&&p(r))return!0}return!1}function d(e){let t=0;for(const r in e){if("$ref"===r)return 1/0;if(t++,!o.has(r)&&("object"==typeof e[r]&&(0,n.eachItem)(e[r],(e=>t+=d(e))),t===1/0))return 1/0}return t}function u(e,t="",r){!1!==r&&(t=f(t));const n=e.parse(t);return l(e,n)}function l(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=u,t._getFullPath=l;const c=/#\/?$/;function f(e){return e?e.replace(c,""):""}t.normalizeId=f,t.resolveUrl=function(e,t,r){return r=f(r),e.resolve(t,r)};const h=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:r,uriResolver:n}=this.opts,o=f(e[r]||t),s={"":o},p=u(n,o,!1),d={},l=new Set;return a(e,{allKeys:!0},((e,t,n,i)=>{if(void 0===i)return;const a=p+t;let o=s[i];function u(t){const r=this.opts.uriResolver.resolve;if(t=f(o?r(o,t):t),l.has(t))throw m(t);l.add(t);let n=this.refs[t];return"string"==typeof n&&(n=this.refs[n]),"object"==typeof n?c(e,n.schema,t):t!==f(a)&&("#"===t[0]?(c(e,d[t],t),d[t]=e):this.refs[t]=a),t}function v(e){if("string"==typeof e){if(!h.test(e))throw new Error(`invalid anchor "${e}"`);u.call(this,`#${e}`)}}"string"==typeof e[r]&&(o=u.call(this,e[r])),v.call(this,e.$anchor),v.call(this,e.$dynamicAnchor),s[t]=o})),d;function c(e,t,r){if(void 0!==t&&!i(e,t))throw m(r)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},2881:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const r=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&r.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},8936:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const n=r(5669),i=r(6545);function a(e,t=e.schema){const{opts:r,self:n}=e;if(!r.strictSchema)return;if("boolean"==typeof t)return;const i=n.RULES.keywords;for(const r in t)i[r]||h(e,`unknown keyword: "${r}"`)}function o(e,t){if("boolean"==typeof e)return!e;for(const r in e)if(t[r])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function p(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function d({mergeNames:e,mergeToName:t,mergeValues:r,resultToName:i}){return(a,o,s,p)=>{const d=void 0===s?o:s instanceof n.Name?(o instanceof n.Name?e(a,o,s):t(a,o,s),s):o instanceof n.Name?(t(a,s,o),o):r(o,s);return p!==n.Name||d instanceof n.Name?d:i(a,d)}}function u(e,t){if(!0===t)return e.var("props",!0);const r=e.var("props",n._`{}`);return void 0!==t&&l(e,r,t),r}function l(e,t,r){Object.keys(r).forEach((r=>e.assign(n._`${t}${(0,n.getProperty)(r)}`,!0)))}t.toHash=function(e){const t={};for(const r of e)t[r]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(a(e,t),!o(t,e.self.RULES.all))},t.checkUnknownRules=a,t.schemaHasRules=o,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const r in e)if("$ref"!==r&&t.all[r])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},r,i,a){if(!a){if("number"==typeof r||"boolean"==typeof r)return r;if("string"==typeof r)return n._`${r}`}return n._`${e}${t}${(0,n.getProperty)(i)}`},t.unescapeFragment=function(e){return p(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(s(e))},t.escapeJsonPointer=s,t.unescapeJsonPointer=p,t.eachItem=function(e,t){if(Array.isArray(e))for(const r of e)t(r);else t(e)},t.mergeEvaluated={props:d({mergeNames:(e,t,r)=>e.if(n._`${r} !== true && ${t} !== undefined`,(()=>{e.if(n._`${t} === true`,(()=>e.assign(r,!0)),(()=>e.assign(r,n._`${r} || {}`).code(n._`Object.assign(${r}, ${t})`)))})),mergeToName:(e,t,r)=>e.if(n._`${r} !== true`,(()=>{!0===t?e.assign(r,!0):(e.assign(r,n._`${r} || {}`),l(e,r,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:u}),items:d({mergeNames:(e,t,r)=>e.if(n._`${r} !== true && ${t} !== undefined`,(()=>e.assign(r,n._`${t} === true ? true : ${r} > ${t} ? ${r} : ${t}`))),mergeToName:(e,t,r)=>e.if(n._`${r} !== true`,(()=>e.assign(r,!0===t||n._`${r} > ${t} ? ${r} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=u,t.setEvaluated=l;const c={};var f;function h(e,t,r=e.opts.strictSchema){if(r){if(t=`strict mode: ${t}`,!0===r)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:c[t.code]||(c[t.code]=new i._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(f=t.Type||(t.Type={})),t.getErrorPath=function(e,t,r){if(e instanceof n.Name){const i=t===f.Num;return r?i?n._`"[" + ${e} + "]"`:n._`"['" + ${e} + "']"`:i?n._`"/" + ${e}`:n._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return r?(0,n.getProperty)(e).toString():"/"+s(e)},t.checkStrictMode=h},9073:(e,t)=>{"use strict";function r(e,t){return t.rules.some((t=>n(e,t)))}function n(e,t){var r;return void 0!==e[t.keyword]||(null===(r=t.definition.implements)||void 0===r?void 0:r.some((t=>void 0!==e[t])))}Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},n){const i=t.RULES.types[n];return i&&!0!==i&&r(e,i)},t.shouldUseGroup=r,t.shouldUseRule=n},2171:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const n=r(6930),i=r(5669),a=r(5247),o={message:"boolean schema is false"};function s(e,t){const{gen:r,data:i}=e,a={gen:r,keyword:"false schema",data:i,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,n.reportError)(a,o,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:r,validateName:n}=e;!1===r?s(e,!1):"object"==typeof r&&!0===r.$async?t.return(a.default.data):(t.assign(i._`${n}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:r,schema:n}=e;!1===n?(r.var(t,!1),s(e)):r.var(t,!0)}},7332:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const n=r(2881),i=r(9073),a=r(6930),o=r(5669),s=r(8936);var p;function d(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(n.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(p=t.DataType||(t.DataType={})),t.getSchemaTypes=function(e){const t=d(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=d,t.coerceAndCheckDataType=function(e,t){const{gen:r,data:n,opts:a}=e,s=function(e,t){return t?e.filter((e=>u.has(e)||"array"===t&&"array"===e)):[]}(t,a.coerceTypes),d=t.length>0&&!(0===s.length&&1===t.length&&(0,i.schemaHasRulesForType)(e,t[0]));if(d){const i=c(t,n,a.strictNumbers,p.Wrong);r.if(i,(()=>{s.length?function(e,t,r){const{gen:n,data:i,opts:a}=e,s=n.let("dataType",o._`typeof ${i}`),p=n.let("coerced",o._`undefined`);"array"===a.coerceTypes&&n.if(o._`${s} == 'object' && Array.isArray(${i}) && ${i}.length == 1`,(()=>n.assign(i,o._`${i}[0]`).assign(s,o._`typeof ${i}`).if(c(t,i,a.strictNumbers),(()=>n.assign(p,i))))),n.if(o._`${p} !== undefined`);for(const e of r)(u.has(e)||"array"===e&&"array"===a.coerceTypes)&&d(e);function d(e){switch(e){case"string":return void n.elseIf(o._`${s} == "number" || ${s} == "boolean"`).assign(p,o._`"" + ${i}`).elseIf(o._`${i} === null`).assign(p,o._`""`);case"number":return void n.elseIf(o._`${s} == "boolean" || ${i} === null
3
+ || (${s} == "string" && ${i} && ${i} == +${i})`).assign(p,o._`+${i}`);case"integer":return void n.elseIf(o._`${s} === "boolean" || ${i} === null
4
+ || (${s} === "string" && ${i} && ${i} == +${i} && !(${i} % 1))`).assign(p,o._`+${i}`);case"boolean":return void n.elseIf(o._`${i} === "false" || ${i} === 0 || ${i} === null`).assign(p,!1).elseIf(o._`${i} === "true" || ${i} === 1`).assign(p,!0);case"null":return n.elseIf(o._`${i} === "" || ${i} === 0 || ${i} === false`),void n.assign(p,null);case"array":n.elseIf(o._`${s} === "string" || ${s} === "number"
5
+ || ${s} === "boolean" || ${i} === null`).assign(p,o._`[${i}]`)}}n.else(),h(e),n.endIf(),n.if(o._`${p} !== undefined`,(()=>{n.assign(i,p),function({gen:e,parentData:t,parentDataProperty:r},n){e.if(o._`${t} !== undefined`,(()=>e.assign(o._`${t}[${r}]`,n)))}(e,p)}))}(e,t,s):h(e)}))}return d};const u=new Set(["string","number","integer","boolean","null"]);function l(e,t,r,n=p.Correct){const i=n===p.Correct?o.operators.EQ:o.operators.NEQ;let a;switch(e){case"null":return o._`${t} ${i} null`;case"array":a=o._`Array.isArray(${t})`;break;case"object":a=o._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":a=s(o._`!(${t} % 1) && !isNaN(${t})`);break;case"number":a=s();break;default:return o._`typeof ${t} ${i} ${e}`}return n===p.Correct?a:(0,o.not)(a);function s(e=o.nil){return(0,o.and)(o._`typeof ${t} == "number"`,e,r?o._`isFinite(${t})`:o.nil)}}function c(e,t,r,n){if(1===e.length)return l(e[0],t,r,n);let i;const a=(0,s.toHash)(e);if(a.array&&a.object){const e=o._`typeof ${t} != "object"`;i=a.null?e:o._`!${t} || ${e}`,delete a.null,delete a.array,delete a.object}else i=o.nil;a.number&&delete a.integer;for(const e in a)i=(0,o.and)(i,l(e,t,r,n));return i}t.checkDataType=l,t.checkDataTypes=c;const f={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?o._`{type: ${e}}`:o._`{type: ${t}}`};function h(e){const t=function(e){const{gen:t,data:r,schema:n}=e,i=(0,s.schemaRefOrVal)(e,n,"type");return{gen:t,keyword:"type",data:r,schema:n.type,schemaCode:i,schemaValue:i,parentSchema:n,params:{},it:e}}(e);(0,a.reportError)(t,f)}t.reportTypeError=h},1481:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const n=r(5669),i=r(8936);function a(e,t,r){const{gen:a,compositeRule:o,data:s,opts:p}=e;if(void 0===r)return;const d=n._`${s}${(0,n.getProperty)(t)}`;if(o)return void(0,i.checkStrictMode)(e,`default is ignored for: ${d}`);let u=n._`${d} === undefined`;"empty"===p.useDefaults&&(u=n._`${u} || ${d} === null || ${d} === ""`),a.if(u,n._`${d} = ${(0,n.stringify)(r)}`)}t.assignDefaults=function(e,t){const{properties:r,items:n}=e.schema;if("object"===t&&r)for(const t in r)a(e,t,r[t].default);else"array"===t&&Array.isArray(n)&&n.forEach(((t,r)=>a(e,r,t.default)))}},1686:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const n=r(2171),i=r(7332),a=r(9073),o=r(7332),s=r(1481),p=r(5782),d=r(8878),u=r(5669),l=r(5247),c=r(6696),f=r(8936),h=r(6930);function m({gen:e,validateName:t,schema:r,schemaEnv:n,opts:i},a){i.code.es5?e.func(t,u._`${l.default.data}, ${l.default.valCxt}`,n.$async,(()=>{e.code(u._`"use strict"; ${v(r,i)}`),function(e,t){e.if(l.default.valCxt,(()=>{e.var(l.default.instancePath,u._`${l.default.valCxt}.${l.default.instancePath}`),e.var(l.default.parentData,u._`${l.default.valCxt}.${l.default.parentData}`),e.var(l.default.parentDataProperty,u._`${l.default.valCxt}.${l.default.parentDataProperty}`),e.var(l.default.rootData,u._`${l.default.valCxt}.${l.default.rootData}`),t.dynamicRef&&e.var(l.default.dynamicAnchors,u._`${l.default.valCxt}.${l.default.dynamicAnchors}`)}),(()=>{e.var(l.default.instancePath,u._`""`),e.var(l.default.parentData,u._`undefined`),e.var(l.default.parentDataProperty,u._`undefined`),e.var(l.default.rootData,l.default.data),t.dynamicRef&&e.var(l.default.dynamicAnchors,u._`{}`)}))}(e,i),e.code(a)})):e.func(t,u._`${l.default.data}, ${function(e){return u._`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${e.dynamicRef?u._`, ${l.default.dynamicAnchors}={}`:u.nil}}={}`}(i)}`,n.$async,(()=>e.code(v(r,i)).code(a)))}function v(e,t){const r="object"==typeof e&&e[t.schemaId];return r&&(t.code.source||t.code.process)?u._`/*# sourceURL=${r} */`:u.nil}function y({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const r in e)if(t.RULES.all[r])return!0;return!1}function g(e){return"boolean"!=typeof e.schema}function b(e){(0,f.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:r,opts:n,self:i}=e;t.$ref&&n.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(t,i.RULES)&&i.logger.warn(`$ref: keywords ignored in schema at path "${r}"`)}(e)}function _(e,t){if(e.opts.jtd)return S(e,[],!1,t);const r=(0,i.getSchemaTypes)(e.schema);S(e,r,!(0,i.coerceAndCheckDataType)(e,r),t)}function w({gen:e,schemaEnv:t,schema:r,errSchemaPath:n,opts:i}){const a=r.$comment;if(!0===i.$comment)e.code(u._`${l.default.self}.logger.log(${a})`);else if("function"==typeof i.$comment){const r=u.str`${n}/$comment`,i=e.scopeValue("root",{ref:t.root});e.code(u._`${l.default.self}.opts.$comment(${a}, ${r}, ${i}.schema)`)}}function S(e,t,r,n){const{gen:i,schema:s,data:p,allErrors:d,opts:c,self:h}=e,{RULES:m}=h;function v(f){(0,a.shouldUseGroup)(s,f)&&(f.type?(i.if((0,o.checkDataType)(f.type,p,c.strictNumbers)),O(e,f),1===t.length&&t[0]===f.type&&r&&(i.else(),(0,o.reportTypeError)(e)),i.endIf()):O(e,f),d||i.if(u._`${l.default.errors} === ${n||0}`))}!s.$ref||!c.ignoreKeywordsWithRef&&(0,f.schemaHasRulesButRef)(s,m)?(c.jtd||function(e,t){!e.schemaEnv.meta&&e.opts.strictTypes&&(function(e,t){t.length&&(e.dataTypes.length?(t.forEach((t=>{E(e.dataTypes,t)||N(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const r=[];for(const n of e.dataTypes)E(t,n)?r.push(n):t.includes("integer")&&"number"===n&&r.push("integer");e.dataTypes=r}(e,t)):e.dataTypes=t)}(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&N(e,"use allowUnionTypes to allow union type keyword")}(e,t),function(e,t){const r=e.self.RULES.all;for(const n in r){const i=r[n];if("object"==typeof i&&(0,a.shouldUseRule)(e.schema,i)){const{type:r}=i.definition;r.length&&!r.some((e=>{return n=e,(r=t).includes(n)||"number"===n&&r.includes("integer");var r,n}))&&N(e,`missing type "${r.join(",")}" for keyword "${n}"`)}}}(e,e.dataTypes))}(e,t),i.block((()=>{for(const e of m.rules)v(e);v(m.post)}))):i.block((()=>T(e,"$ref",m.all.$ref.definition)))}function O(e,t){const{gen:r,schema:n,opts:{useDefaults:i}}=e;i&&(0,s.assignDefaults)(e,t.type),r.block((()=>{for(const r of t.rules)(0,a.shouldUseRule)(n,r)&&T(e,r.keyword,r.definition,t.type)}))}function E(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function N(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,f.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){g(e)&&(b(e),y(e))?function(e){const{schema:t,opts:r,gen:n}=e;m(e,(()=>{r.$comment&&t.$comment&&w(e),function(e){const{schema:t,opts:r}=e;void 0!==t.default&&r.useDefaults&&r.strictSchema&&(0,f.checkStrictMode)(e,"default is ignored in the schema root")}(e),n.let(l.default.vErrors,null),n.let(l.default.errors,0),r.unevaluated&&function(e){const{gen:t,validateName:r}=e;e.evaluated=t.const("evaluated",u._`${r}.evaluated`),t.if(u._`${e.evaluated}.dynamicProps`,(()=>t.assign(u._`${e.evaluated}.props`,u._`undefined`))),t.if(u._`${e.evaluated}.dynamicItems`,(()=>t.assign(u._`${e.evaluated}.items`,u._`undefined`)))}(e),_(e),function(e){const{gen:t,schemaEnv:r,validateName:n,ValidationError:i,opts:a}=e;r.$async?t.if(u._`${l.default.errors} === 0`,(()=>t.return(l.default.data)),(()=>t.throw(u._`new ${i}(${l.default.vErrors})`))):(t.assign(u._`${n}.errors`,l.default.vErrors),a.unevaluated&&function({gen:e,evaluated:t,props:r,items:n}){r instanceof u.Name&&e.assign(u._`${t}.props`,r),n instanceof u.Name&&e.assign(u._`${t}.items`,n)}(e),t.return(u._`${l.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,n.topBoolOrEmptySchema)(e)))};class x{constructor(e,t,r){if((0,p.validateKeywordUsage)(e,t,r),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=r,this.data=e.data,this.schema=e.schema[r],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,f.schemaRefOrVal)(e,this.schema,r,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",D(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,p.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",l.default.errors))}result(e,t,r){this.failResult((0,u.not)(e),t,r)}failResult(e,t,r){this.gen.if(e),r?r():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,u.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(u._`${t} !== undefined && (${(0,u.or)(this.invalid$data(),e)})`)}error(e,t,r){if(t)return this.setParams(t),this._error(e,r),void this.setParams({});this._error(e,r)}_error(e,t){(e?h.reportExtraError:h.reportError)(this,this.def.error,t)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,r=u.nil){this.gen.block((()=>{this.check$data(e,r),t()}))}check$data(e=u.nil,t=u.nil){if(!this.$data)return;const{gen:r,schemaCode:n,schemaType:i,def:a}=this;r.if((0,u.or)(u._`${n} === undefined`,t)),e!==u.nil&&r.assign(e,!0),(i.length||a.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),e!==u.nil&&r.assign(e,!1)),r.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:r,def:n,it:i}=this;return(0,u.or)(function(){if(r.length){if(!(t instanceof u.Name))throw new Error("ajv implementation error");const e=Array.isArray(r)?r:[r];return u._`${(0,o.checkDataTypes)(e,t,i.opts.strictNumbers,o.DataType.Wrong)}`}return u.nil}(),function(){if(n.validateSchema){const r=e.scopeValue("validate$data",{ref:n.validateSchema});return u._`!${r}(${t})`}return u.nil}())}subschema(e,t){const r=(0,d.getSubschema)(this.it,e);(0,d.extendSubschemaData)(r,this.it,e),(0,d.extendSubschemaMode)(r,e);const i={...this.it,...r,items:void 0,props:void 0};return function(e,t){g(e)&&(b(e),y(e))?function(e,t){const{schema:r,gen:n,opts:i}=e;i.$comment&&r.$comment&&w(e),function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,c.resolveUrl)(e.opts.uriResolver,e.baseId,t))}(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const a=n.const("_errs",l.default.errors);_(e,a),n.var(t,u._`${a} === ${l.default.errors}`)}(e,t):(0,n.boolOrEmptySchema)(e,t)}(i,t),i}mergeEvaluated(e,t){const{it:r,gen:n}=this;r.opts.unevaluated&&(!0!==r.props&&void 0!==e.props&&(r.props=f.mergeEvaluated.props(n,e.props,r.props,t)),!0!==r.items&&void 0!==e.items&&(r.items=f.mergeEvaluated.items(n,e.items,r.items,t)))}mergeValidEvaluated(e,t){const{it:r,gen:n}=this;if(r.opts.unevaluated&&(!0!==r.props||!0!==r.items))return n.if(t,(()=>this.mergeEvaluated(e,u.Name))),!0}}function T(e,t,r,n){const i=new x(e,r,t);"code"in r?r.code(i,n):i.$data&&r.validate?(0,p.funcKeywordCode)(i,r):"macro"in r?(0,p.macroKeywordCode)(i,r):(r.compile||r.validate)&&(0,p.funcKeywordCode)(i,r)}t.KeywordCxt=x;const P=/^\/(?:[^~]|~0|~1)*$/,I=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function D(e,{dataLevel:t,dataNames:r,dataPathArr:n}){let i,a;if(""===e)return l.default.rootData;if("/"===e[0]){if(!P.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);i=e,a=l.default.rootData}else{const o=I.exec(e);if(!o)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+o[1];if(i=o[2],"#"===i){if(s>=t)throw new Error(p("property/index",s));return n[t-s]}if(s>t)throw new Error(p("data",s));if(a=r[t-s],!i)return a}let o=a;const s=i.split("/");for(const e of s)e&&(a=u._`${a}${(0,u.getProperty)((0,f.unescapeJsonPointer)(e))}`,o=u._`${o} && ${a}`);return o;function p(e,r){return`Cannot access ${e} ${r} levels up, current level is ${t}`}}t.getData=D},5782:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const n=r(5669),i=r(5247),a=r(3499),o=r(6930);function s(e){const{gen:t,data:r,it:i}=e;t.if(i.parentData,(()=>t.assign(r,n._`${i.parentData}[${i.parentDataProperty}]`)))}function p(e,t,r){if(void 0===r)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof r?{ref:r}:{ref:r,code:(0,n.stringify)(r)})}t.macroKeywordCode=function(e,t){const{gen:r,keyword:i,schema:a,parentSchema:o,it:s}=e,d=t.macro.call(s.self,a,o,s),u=p(r,i,d);!1!==s.opts.validateSchema&&s.self.validateSchema(d,!0);const l=r.name("valid");e.subschema({schema:d,schemaPath:n.nil,errSchemaPath:`${s.errSchemaPath}/${i}`,topSchemaRef:u,compositeRule:!0},l),e.pass(l,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var r;const{gen:d,keyword:u,schema:l,parentSchema:c,$data:f,it:h}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(h,t);const m=!f&&t.compile?t.compile.call(h.self,l,c,h):t.validate,v=p(d,u,m),y=d.let("valid");function g(r=(t.async?n._`await `:n.nil)){const o=h.opts.passContext?i.default.this:i.default.self,s=!("compile"in t&&!f||!1===t.schema);d.assign(y,n._`${r}${(0,a.callValidateCode)(e,v,o,s)}`,t.modifying)}function b(e){var r;d.if((0,n.not)(null!==(r=t.valid)&&void 0!==r?r:y),e)}e.block$data(y,(function(){if(!1===t.errors)g(),t.modifying&&s(e),b((()=>e.error()));else{const r=t.async?function(){const e=d.let("ruleErrs",null);return d.try((()=>g(n._`await `)),(t=>d.assign(y,!1).if(n._`${t} instanceof ${h.ValidationError}`,(()=>d.assign(e,n._`${t}.errors`)),(()=>d.throw(t))))),e}():function(){const e=n._`${v}.errors`;return d.assign(e,null),g(n.nil),e}();t.modifying&&s(e),b((()=>function(e,t){const{gen:r}=e;r.if(n._`Array.isArray(${t})`,(()=>{r.assign(i.default.vErrors,n._`${i.default.vErrors} === null ? ${t} : ${i.default.vErrors}.concat(${t})`).assign(i.default.errors,n._`${i.default.vErrors}.length`),(0,o.extendErrors)(e)}),(()=>e.error()))}(e,r)))}})),e.ok(null!==(r=t.valid)&&void 0!==r?r:y)},t.validSchemaType=function(e,t,r=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||r&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:r,errSchemaPath:n},i,a){if(Array.isArray(i.keyword)?!i.keyword.includes(a):i.keyword!==a)throw new Error("ajv implementation error");const o=i.dependencies;if(null==o?void 0:o.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${a}: ${o.join(",")}`);if(i.validateSchema&&!i.validateSchema(e[a])){const e=`keyword "${a}" value is invalid at path "${n}": `+r.errorsText(i.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);r.logger.error(e)}}},8878:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const n=r(5669),i=r(8936);t.getSubschema=function(e,{keyword:t,schemaProp:r,schema:a,schemaPath:o,errSchemaPath:s,topSchemaRef:p}){if(void 0!==t&&void 0!==a)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const a=e.schema[t];return void 0===r?{schema:a,schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:a[r],schemaPath:n._`${e.schemaPath}${(0,n.getProperty)(t)}${(0,n.getProperty)(r)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,i.escapeFragment)(r)}`}}if(void 0!==a){if(void 0===o||void 0===s||void 0===p)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:a,schemaPath:o,topSchemaRef:p,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:r,dataPropType:a,data:o,dataTypes:s,propertyName:p}){if(void 0!==o&&void 0!==r)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:d}=t;if(void 0!==r){const{errorPath:o,dataPathArr:s,opts:p}=t;u(d.let("data",n._`${t.data}${(0,n.getProperty)(r)}`,!0)),e.errorPath=n.str`${o}${(0,i.getErrorPath)(r,a,p.jsPropertySyntax)}`,e.parentDataProperty=n._`${r}`,e.dataPathArr=[...s,e.parentDataProperty]}function u(r){e.data=r,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,r]}void 0!==o&&(u(o instanceof n.Name?o:d.let("data",o,!0)),void 0!==p&&(e.propertyName=p)),s&&(e.dataTypes=s)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:r,compositeRule:n,createErrors:i,allErrors:a}){void 0!==n&&(e.compositeRule=n),void 0!==i&&(e.createErrors=i),void 0!==a&&(e.allErrors=a),e.jtdDiscriminator=t,e.jtdMetadata=r}},8355:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var n=r(1686);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var i=r(5669);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return i.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return i.CodeGen}});const a=r(6448),o=r(1578),s=r(2881),p=r(7382),d=r(5669),u=r(6696),l=r(7332),c=r(8936),f=r(1143),h=r(407),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const v=["removeAdditional","useDefaults","coerceTypes"],y=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function _(e){var t,r,n,i,a,o,s,p,d,u,l,c,f,v,y,g,b,_,w,S,O,E,N,x,T;const P=e.strict,I=null===(t=e.code)||void 0===t?void 0:t.optimize,D=!0===I||void 0===I?1:I||0,k=null!==(n=null===(r=e.code)||void 0===r?void 0:r.regExp)&&void 0!==n?n:m,A=null!==(i=e.uriResolver)&&void 0!==i?i:h.default;return{strictSchema:null===(o=null!==(a=e.strictSchema)&&void 0!==a?a:P)||void 0===o||o,strictNumbers:null===(p=null!==(s=e.strictNumbers)&&void 0!==s?s:P)||void 0===p||p,strictTypes:null!==(u=null!==(d=e.strictTypes)&&void 0!==d?d:P)&&void 0!==u?u:"log",strictTuples:null!==(c=null!==(l=e.strictTuples)&&void 0!==l?l:P)&&void 0!==c?c:"log",strictRequired:null!==(v=null!==(f=e.strictRequired)&&void 0!==f?f:P)&&void 0!==v&&v,code:e.code?{...e.code,optimize:D,regExp:k}:{optimize:D,regExp:k},loopRequired:null!==(y=e.loopRequired)&&void 0!==y?y:200,loopEnum:null!==(g=e.loopEnum)&&void 0!==g?g:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(_=e.messages)||void 0===_||_,inlineRefs:null===(w=e.inlineRefs)||void 0===w||w,schemaId:null!==(S=e.schemaId)&&void 0!==S?S:"$id",addUsedSchema:null===(O=e.addUsedSchema)||void 0===O||O,validateSchema:null===(E=e.validateSchema)||void 0===E||E,validateFormats:null===(N=e.validateFormats)||void 0===N||N,unicodeRegExp:null===(x=e.unicodeRegExp)||void 0===x||x,int32range:null===(T=e.int32range)||void 0===T||T,uriResolver:A}}class w{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,..._(e)};const{es5:t,lines:r}=this.opts.code;this.scope=new d.ValueScope({scope:{},prefixes:y,es5:t,lines:r}),this.logger=function(e){if(!1===e)return P;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const n=e.validateFormats;e.validateFormats=!1,this.RULES=(0,s.getRules)(),S.call(this,g,e,"NOT SUPPORTED"),S.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=T.call(this),e.formats&&N.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&x.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),E.call(this),e.validateFormats=n}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:r}=this.opts;let n=f;"id"===r&&(n={...f},n.id=n.$id,delete n.$id),t&&e&&this.addMetaSchema(n,n[r],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let r;if("string"==typeof e){if(r=this.getSchema(e),!r)throw new Error(`no schema with key or ref "${e}"`)}else r=this.compile(e);const n=r(t);return"$async"in r||(this.errors=r.errors),n}compile(e,t){const r=this._addSchema(e,t);return r.validate||this._compileSchemaEnv(r)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:r}=this.opts;return n.call(this,e,t);async function n(e,t){await i.call(this,e.$schema);const r=this._addSchema(e,t);return r.validate||a.call(this,r)}async function i(e){e&&!this.getSchema(e)&&await n.call(this,{$ref:e},!0)}async function a(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof o.default))throw t;return s.call(this,t),await p.call(this,t.missingSchema),a.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function p(e){const r=await d.call(this,e);this.refs[e]||await i.call(this,r.$schema),this.refs[e]||this.addSchema(r,e,t)}async function d(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=r(e))}finally{delete this._loading[e]}}}addSchema(e,t,r,n=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,r,n);return this}let i;if("object"==typeof e){const{schemaId:t}=this.opts;if(i=e[t],void 0!==i&&"string"!=typeof i)throw new Error(`schema ${t} must be string`)}return t=(0,u.normalizeId)(t||i),this._checkUnique(t),this.schemas[t]=this._addSchema(e,r,t,n,!0),this}addMetaSchema(e,t,r=this.opts.validateSchema){return this.addSchema(e,t,!0,r),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let r;if(r=e.$schema,void 0!==r&&"string"!=typeof r)throw new Error("$schema must be a string");if(r=r||this.opts.defaultMeta||this.defaultMeta(),!r)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const n=this.validate(r,e);if(!n&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return n}getSchema(e){let t;for(;"string"==typeof(t=O.call(this,e));)e=t;if(void 0===t){const{schemaId:r}=this.opts,n=new p.SchemaEnv({schema:{},schemaId:r});if(t=p.resolveSchema.call(this,n,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=O.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let r=e[this.opts.schemaId];return r&&(r=(0,u.normalizeId)(r),delete this.schemas[r],delete this.refs[r]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let r;if("string"==typeof e)r=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=r);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(r=(t=e).keyword,Array.isArray(r)&&!r.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(D.call(this,r,t),!t)return(0,c.eachItem)(r,(e=>k.call(this,e))),this;j.call(this,t);const n={...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)};return(0,c.eachItem)(r,0===n.type.length?e=>k.call(this,e,n):e=>n.type.forEach((t=>k.call(this,e,n,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const r of t.rules){const t=r.rules.findIndex((t=>t.keyword===e));t>=0&&r.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:r="data"}={}){return e&&0!==e.length?e.map((e=>`${r}${e.instancePath} ${e.message}`)).reduce(((e,r)=>e+t+r)):"No errors"}$dataMetaSchema(e,t){const r=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const n of t){const t=n.split("/").slice(1);let i=e;for(const e of t)i=i[e];for(const e in r){const t=r[e];if("object"!=typeof t)continue;const{$data:n}=t.definition,a=i[e];n&&a&&(i[e]=R(a))}}return e}_removeAllSchemas(e,t){for(const r in e){const n=e[r];t&&!t.test(r)||("string"==typeof n?delete e[r]:n&&!n.meta&&(this._cache.delete(n.schema),delete e[r]))}}_addSchema(e,t,r,n=this.opts.validateSchema,i=this.opts.addUsedSchema){let a;const{schemaId:o}=this.opts;if("object"==typeof e)a=e[o];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let s=this._cache.get(e);if(void 0!==s)return s;r=(0,u.normalizeId)(a||r);const d=u.getSchemaRefs.call(this,e,r);return s=new p.SchemaEnv({schema:e,schemaId:o,meta:t,baseId:r,localRefs:d}),this._cache.set(s.schema,s),i&&!r.startsWith("#")&&(r&&this._checkUnique(r),this.refs[r]=s),n&&this.validateSchema(e,!0),s}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):p.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{p.compileSchema.call(this,e)}finally{this.opts=t}}}function S(e,t,r,n="error"){for(const i in e){const a=i;a in t&&this.logger[n](`${r}: option ${i}. ${e[a]}`)}}function O(e){return e=(0,u.normalizeId)(e),this.schemas[e]||this.refs[e]}function E(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function N(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function x(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const r=e[t];r.keyword||(r.keyword=t),this.addKeyword(r)}}}function T(){const e={...this.opts};for(const t of v)delete e[t];return e}t.default=w,w.ValidationError=a.default,w.MissingRefError=o.default;const P={log(){},warn(){},error(){}},I=/^[a-z_$][a-z0-9_$:-]*$/i;function D(e,t){const{RULES:r}=this;if((0,c.eachItem)(e,(e=>{if(r.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!I.test(e))throw new Error(`Keyword ${e} has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function k(e,t,r){var n;const i=null==t?void 0:t.post;if(r&&i)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:a}=this;let o=i?a.post:a.rules.find((({type:e})=>e===r));if(o||(o={type:r,rules:[]},a.rules.push(o)),a.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,l.getJSONTypes)(t.type),schemaType:(0,l.getJSONTypes)(t.schemaType)}};t.before?A.call(this,o,s,t.before):o.rules.push(s),a.all[e]=s,null===(n=t.implements)||void 0===n||n.forEach((e=>this.addKeyword(e)))}function A(e,t,r){const n=e.rules.findIndex((e=>e.keyword===r));n>=0?e.rules.splice(n,0,t):(e.rules.push(t),this.logger.warn(`rule ${r} is not defined`))}function j(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=R(t)),e.validateSchema=this.compile(t,!0))}const C={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function R(e){return{anyOf:[e,C]}}},4285:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(6471);n.code='require("ajv/dist/runtime/equal").default',t.default=n},9161:(e,t)=>{"use strict";function r(e){const t=e.length;let r,n=0,i=0;for(;i<t;)n++,r=e.charCodeAt(i++),r>=55296&&r<=56319&&i<t&&(r=e.charCodeAt(i),56320==(64512&r)&&i++);return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r,r.code='require("ajv/dist/runtime/ucs2length").default'},407:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(2371);n.code='require("ajv/dist/runtime/uri").default',t.default=n},6448:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=r},8891:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const n=r(5669),i=r(8936),a={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>n.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>n._`{limit: ${e}}`},code(e){const{parentSchema:t,it:r}=e,{items:n}=t;Array.isArray(n)?o(e,n):(0,i.checkStrictMode)(r,'"additionalItems" is ignored when "items" is not an array of schemas')}};function o(e,t){const{gen:r,schema:a,data:o,keyword:s,it:p}=e;p.items=!0;const d=r.const("len",n._`${o}.length`);if(!1===a)e.setParams({len:t.length}),e.pass(n._`${d} <= ${t.length}`);else if("object"==typeof a&&!(0,i.alwaysValidSchema)(p,a)){const a=r.var("valid",n._`${d} <= ${t.length}`);r.if((0,n.not)(a),(()=>function(a){r.forRange("i",t.length,d,(t=>{e.subschema({keyword:s,dataProp:t,dataPropType:i.Type.Num},a),p.allErrors||r.if((0,n.not)(a),(()=>r.break()))}))}(a))),e.ok(a)}}t.validateAdditionalItems=o,t.default=a},4943:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3499),i=r(5669),a=r(5247),o=r(8936),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>i._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:r,parentSchema:s,data:p,errsCount:d,it:u}=e;if(!d)throw new Error("ajv implementation error");const{allErrors:l,opts:c}=u;if(u.props=!0,"all"!==c.removeAdditional&&(0,o.alwaysValidSchema)(u,r))return;const f=(0,n.allSchemaProperties)(s.properties),h=(0,n.allSchemaProperties)(s.patternProperties);function m(e){t.code(i._`delete ${p}[${e}]`)}function v(n){if("all"===c.removeAdditional||c.removeAdditional&&!1===r)m(n);else{if(!1===r)return e.setParams({additionalProperty:n}),e.error(),void(l||t.break());if("object"==typeof r&&!(0,o.alwaysValidSchema)(u,r)){const r=t.name("valid");"failing"===c.removeAdditional?(y(n,r,!1),t.if((0,i.not)(r),(()=>{e.reset(),m(n)}))):(y(n,r),l||t.if((0,i.not)(r),(()=>t.break())))}}}function y(t,r,n){const i={keyword:"additionalProperties",dataProp:t,dataPropType:o.Type.Str};!1===n&&Object.assign(i,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(i,r)}t.forIn("key",p,(r=>{f.length||h.length?t.if(function(r){let a;if(f.length>8){const e=(0,o.schemaRefOrVal)(u,s.properties,"properties");a=(0,n.isOwnProperty)(t,e,r)}else a=f.length?(0,i.or)(...f.map((e=>i._`${r} === ${e}`))):i.nil;return h.length&&(a=(0,i.or)(a,...h.map((t=>i._`${(0,n.usePattern)(e,t)}.test(${r})`)))),(0,i.not)(a)}(r),(()=>v(r))):v(r)})),e.ok(i._`${d} === ${a.default.errors}`)}};t.default=s},2609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8936),i={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:r,it:i}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");const a=t.name("valid");r.forEach(((t,r)=>{if((0,n.alwaysValidSchema)(i,t))return;const o=e.subschema({keyword:"allOf",schemaProp:r},a);e.ok(a),e.mergeEvaluated(o)}))}};t.default=i},4279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:r(3499).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=n},5609:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(8936),a={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?n.str`must contain at least ${e} valid item(s)`:n.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?n._`{minContains: ${e}}`:n._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:r,parentSchema:a,data:o,it:s}=e;let p,d;const{minContains:u,maxContains:l}=a;s.opts.next?(p=void 0===u?1:u,d=l):p=1;const c=t.const("len",n._`${o}.length`);if(e.setParams({min:p,max:d}),void 0===d&&0===p)return void(0,i.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==d&&p>d)return(0,i.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,i.alwaysValidSchema)(s,r)){let t=n._`${c} >= ${p}`;return void 0!==d&&(t=n._`${t} && ${c} <= ${d}`),void e.pass(t)}s.items=!0;const f=t.name("valid");function h(){const e=t.name("_valid"),r=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(n._`${e}++`),void 0===d?t.if(n._`${e} >= ${p}`,(()=>t.assign(f,!0).break())):(t.if(n._`${e} > ${d}`,(()=>t.assign(f,!1).break())),1===p?t.assign(f,!0):t.if(n._`${e} >= ${p}`,(()=>t.assign(f,!0))))}(r)))))}function m(r,n){t.forRange("i",0,c,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:i.Type.Num,compositeRule:!0},r),n()}))}void 0===d&&1===p?m(f,(()=>t.if(f,(()=>t.break())))):0===p?(t.let(f,!0),void 0!==d&&t.if(n._`${o}.length > 0`,h)):(t.let(f,!1),h()),e.result(f,(()=>e.reset()))}};t.default=a},5747:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const n=r(5669),i=r(8936),a=r(3499);t.error={message:({params:{property:e,depsCount:t,deps:r}})=>{const i=1===t?"property":"properties";return n.str`must have ${i} ${r} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:r,missingProperty:i}})=>n._`{property: ${e},
6
+ missingProperty: ${i},
7
+ depsCount: ${t},
8
+ deps: ${r}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,r]=function({schema:e}){const t={},r={};for(const n in e)"__proto__"!==n&&((Array.isArray(e[n])?t:r)[n]=e[n]);return[t,r]}(e);s(e,t),p(e,r)}};function s(e,t=e.schema){const{gen:r,data:i,it:o}=e;if(0===Object.keys(t).length)return;const s=r.let("missing");for(const p in t){const d=t[p];if(0===d.length)continue;const u=(0,a.propertyInData)(r,i,p,o.opts.ownProperties);e.setParams({property:p,depsCount:d.length,deps:d.join(", ")}),o.allErrors?r.if(u,(()=>{for(const t of d)(0,a.checkReportMissingProp)(e,t)})):(r.if(n._`${u} && (${(0,a.checkMissingProp)(e,d,s)})`),(0,a.reportMissingProp)(e,s),r.else())}}function p(e,t=e.schema){const{gen:r,data:n,keyword:o,it:s}=e,p=r.name("valid");for(const d in t)(0,i.alwaysValidSchema)(s,t[d])||(r.if((0,a.propertyInData)(r,n,d,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:o,schemaProp:d},p);e.mergeValidEvaluated(t,p)}),(()=>r.var(p,!0))),e.ok(p))}t.validatePropertyDeps=s,t.validateSchemaDeps=p,t.default=o},76:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(8936),a={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>n.str`must match "${e.ifClause}" schema`,params:({params:e})=>n._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:r,it:a}=e;void 0===r.then&&void 0===r.else&&(0,i.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const s=o(a,"then"),p=o(a,"else");if(!s&&!p)return;const d=t.let("valid",!0),u=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},u);e.mergeEvaluated(t)}(),e.reset(),s&&p){const r=t.let("ifClause");e.setParams({ifClause:r}),t.if(u,l("then",r),l("else",r))}else s?t.if(u,l("then")):t.if((0,n.not)(u),l("else"));function l(r,i){return()=>{const a=e.subschema({keyword:r},u);t.assign(d,u),e.mergeValidEvaluated(a,d),i?t.assign(i,n._`${r}`):e.setParams({ifClause:r})}}e.pass(d,(()=>e.error(!0)))}};function o(e,t){const r=e.schema[t];return void 0!==r&&!(0,i.alwaysValidSchema)(e,r)}t.default=a},6951:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8891),i=r(1162),a=r(8634),o=r(5151),s=r(5609),p=r(5747),d=r(3021),u=r(4943),l=r(4243),c=r(8103),f=r(2869),h=r(4279),m=r(4880),v=r(2609),y=r(76),g=r(5316);t.default=function(e=!1){const t=[f.default,h.default,m.default,v.default,y.default,g.default,d.default,u.default,p.default,l.default,c.default];return e?t.push(i.default,o.default):t.push(n.default,a.default),t.push(s.default),t}},8634:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const n=r(5669),i=r(8936),a=r(3499),o={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:r}=e;if(Array.isArray(t))return s(e,"additionalItems",t);r.items=!0,(0,i.alwaysValidSchema)(r,t)||e.ok((0,a.validateArray)(e))}};function s(e,t,r=e.schema){const{gen:a,parentSchema:o,data:s,keyword:p,it:d}=e;!function(e){const{opts:n,errSchemaPath:a}=d,o=r.length,s=o===e.minItems&&(o===e.maxItems||!1===e[t]);if(n.strictTuples&&!s){const e=`"${p}" is ${o}-tuple, but minItems or maxItems/${t} are not specified or different at path "${a}"`;(0,i.checkStrictMode)(d,e,n.strictTuples)}}(o),d.opts.unevaluated&&r.length&&!0!==d.items&&(d.items=i.mergeEvaluated.items(a,r.length,d.items));const u=a.name("valid"),l=a.const("len",n._`${s}.length`);r.forEach(((t,r)=>{(0,i.alwaysValidSchema)(d,t)||(a.if(n._`${l} > ${r}`,(()=>e.subschema({keyword:p,schemaProp:r,dataProp:r},u))),e.ok(u))}))}t.validateTuple=s,t.default=o},5151:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(8936),a=r(3499),o=r(8891),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>n.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>n._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:r,it:n}=e,{prefixItems:s}=r;n.items=!0,(0,i.alwaysValidSchema)(n,t)||(s?(0,o.validateAdditionalItems)(e,s):e.ok((0,a.validateArray)(e)))}};t.default=s},2869:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8936),i={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:r,it:i}=e;if((0,n.alwaysValidSchema)(i,r))return void e.fail();const a=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=i},4880:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(8936),a={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>n._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:r,parentSchema:a,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(o.opts.discriminator&&a.discriminator)return;const s=r,p=t.let("valid",!1),d=t.let("passing",null),u=t.name("_valid");e.setParams({passing:d}),t.block((function(){s.forEach(((r,a)=>{let s;(0,i.alwaysValidSchema)(o,r)?t.var(u,!0):s=e.subschema({keyword:"oneOf",schemaProp:a,compositeRule:!0},u),a>0&&t.if(n._`${u} && ${p}`).assign(p,!1).assign(d,n._`[${d}, ${a}]`).else(),t.if(u,(()=>{t.assign(p,!0),t.assign(d,a),s&&e.mergeEvaluated(s,n.Name)}))}))})),e.result(p,(()=>e.reset()),(()=>e.error(!0)))}};t.default=a},8103:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3499),i=r(5669),a=r(8936),o=r(8936),s={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,data:s,parentSchema:p,it:d}=e,{opts:u}=d,l=(0,n.allSchemaProperties)(r),c=l.filter((e=>(0,a.alwaysValidSchema)(d,r[e])));if(0===l.length||c.length===l.length&&(!d.opts.unevaluated||!0===d.props))return;const f=u.strictSchema&&!u.allowMatchingProperties&&p.properties,h=t.name("valid");!0===d.props||d.props instanceof i.Name||(d.props=(0,o.evaluatedPropsToName)(t,d.props));const{props:m}=d;function v(e){for(const t in f)new RegExp(e).test(t)&&(0,a.checkStrictMode)(d,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}function y(r){t.forIn("key",s,(a=>{t.if(i._`${(0,n.usePattern)(e,r)}.test(${a})`,(()=>{const n=c.includes(r);n||e.subschema({keyword:"patternProperties",schemaProp:r,dataProp:a,dataPropType:o.Type.Str},h),d.opts.unevaluated&&!0!==m?t.assign(i._`${m}[${a}]`,!0):n||d.allErrors||t.if((0,i.not)(h),(()=>t.break()))}))}))}!function(){for(const e of l)f&&v(e),d.allErrors?y(e):(t.var(h,!0),y(e),t.if(h))}()}};t.default=s},1162:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8634),i={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,n.validateTuple)(e,"items")};t.default=i},4243:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1686),i=r(3499),a=r(8936),o=r(4943),s={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:r,parentSchema:s,data:p,it:d}=e;"all"===d.opts.removeAdditional&&void 0===s.additionalProperties&&o.default.code(new n.KeywordCxt(d,o.default,"additionalProperties"));const u=(0,i.allSchemaProperties)(r);for(const e of u)d.definedProperties.add(e);d.opts.unevaluated&&u.length&&!0!==d.props&&(d.props=a.mergeEvaluated.props(t,(0,a.toHash)(u),d.props));const l=u.filter((e=>!(0,a.alwaysValidSchema)(d,r[e])));if(0===l.length)return;const c=t.name("valid");for(const r of l)f(r)?h(r):(t.if((0,i.propertyInData)(t,p,r,d.opts.ownProperties)),h(r),d.allErrors||t.else().var(c,!0),t.endIf()),e.it.definedProperties.add(r),e.ok(c);function f(e){return d.opts.useDefaults&&!d.compositeRule&&void 0!==r[e].default}function h(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},c)}}};t.default=s},3021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(8936),a={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>n._`{propertyName: ${e.propertyName}}`},code(e){const{gen:t,schema:r,data:a,it:o}=e;if((0,i.alwaysValidSchema)(o,r))return;const s=t.name("valid");t.forIn("key",a,(r=>{e.setParams({propertyName:r}),e.subschema({keyword:"propertyNames",data:r,dataTypes:["string"],propertyName:r,compositeRule:!0},s),t.if((0,n.not)(s),(()=>{e.error(!0),o.allErrors||t.break()}))})),e.ok(s)}};t.default=a},5316:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(8936),i={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:r}){void 0===t.if&&(0,n.checkStrictMode)(r,`"${e}" without "if" is ignored`)}};t.default=i},3499:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const n=r(5669),i=r(8936),a=r(5247),o=r(8936);function s(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:n._`Object.prototype.hasOwnProperty`})}function p(e,t,r){return n._`${s(e)}.call(${t}, ${r})`}function d(e,t,r,i){const a=n._`${t}${(0,n.getProperty)(r)} === undefined`;return i?(0,n.or)(a,(0,n.not)(p(e,t,r))):a}function u(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:r,data:i,it:a}=e;r.if(d(r,i,t,a.opts.ownProperties),(()=>{e.setParams({missingProperty:n._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:r}},i,a){return(0,n.or)(...i.map((i=>(0,n.and)(d(e,t,i,r.ownProperties),n._`${a} = ${i}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=s,t.isOwnProperty=p,t.propertyInData=function(e,t,r,i){const a=n._`${t}${(0,n.getProperty)(r)} !== undefined`;return i?n._`${a} && ${p(e,t,r)}`:a},t.noPropertyInData=d,t.allSchemaProperties=u,t.schemaProperties=function(e,t){return u(t).filter((r=>!(0,i.alwaysValidSchema)(e,t[r])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:r,topSchemaRef:i,schemaPath:o,errorPath:s},it:p},d,u,l){const c=l?n._`${e}, ${t}, ${i}${o}`:t,f=[[a.default.instancePath,(0,n.strConcat)(a.default.instancePath,s)],[a.default.parentData,p.parentData],[a.default.parentDataProperty,p.parentDataProperty],[a.default.rootData,a.default.rootData]];p.opts.dynamicRef&&f.push([a.default.dynamicAnchors,a.default.dynamicAnchors]);const h=n._`${c}, ${r.object(...f)}`;return u!==n.nil?n._`${d}.call(${u}, ${h})`:n._`${d}(${h})`};const l=n._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},r){const i=t.unicodeRegExp?"u":"",{regExp:a}=t.code,s=a(r,i);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:n._`${"new RegExp"===a.code?l:(0,o.useFunc)(e,a)}(${r}, ${i})`})},t.validateArray=function(e){const{gen:t,data:r,keyword:a,it:o}=e,s=t.name("valid");if(o.allErrors){const e=t.let("valid",!0);return p((()=>t.assign(e,!1))),e}return t.var(s,!0),p((()=>t.break())),s;function p(o){const p=t.const("len",n._`${r}.length`);t.forRange("i",0,p,(r=>{e.subschema({keyword:a,dataProp:r,dataPropType:i.Type.Num},s),t.if((0,n.not)(s),o)}))}},t.validateUnion=function(e){const{gen:t,schema:r,keyword:a,it:o}=e;if(!Array.isArray(r))throw new Error("ajv implementation error");if(r.some((e=>(0,i.alwaysValidSchema)(o,e)))&&!o.opts.unevaluated)return;const s=t.let("valid",!1),p=t.name("_valid");t.block((()=>r.forEach(((r,i)=>{const o=e.subschema({keyword:a,schemaProp:i,compositeRule:!0},p);t.assign(s,n._`${s} || ${p}`),e.mergeValidEvaluated(o,p)||t.if((0,n.not)(s))})))),e.result(s,(()=>e.reset()),(()=>e.error(!0)))}},1018:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=r},2101:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1018),i=r(1939),a=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",n.default,i.default];t.default=a},1939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const n=r(1578),i=r(3499),a=r(5669),o=r(5247),s=r(7382),p=r(8936),d={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:r,it:i}=e,{baseId:o,schemaEnv:p,validateName:d,opts:c,self:f}=i,{root:h}=p;if(("#"===r||"#/"===r)&&o===h.baseId)return function(){if(p===h)return l(e,d,p,p.$async);const r=t.scopeValue("root",{ref:h});return l(e,a._`${r}.validate`,h,h.$async)}();const m=s.resolveRef.call(f,h,o,r);if(void 0===m)throw new n.default(i.opts.uriResolver,o,r);return m instanceof s.SchemaEnv?function(t){const r=u(e,t);l(e,r,t,t.$async)}(m):function(n){const i=t.scopeValue("schema",!0===c.code.source?{ref:n,code:(0,a.stringify)(n)}:{ref:n}),o=t.name("valid"),s=e.subschema({schema:n,dataTypes:[],schemaPath:a.nil,topSchemaRef:i,errSchemaPath:r},o);e.mergeEvaluated(s),e.ok(o)}(m)}};function u(e,t){const{gen:r}=e;return t.validate?r.scopeValue("validate",{ref:t.validate}):a._`${r.scopeValue("wrapper",{ref:t})}.validate`}function l(e,t,r,n){const{gen:s,it:d}=e,{allErrors:u,schemaEnv:l,opts:c}=d,f=c.passContext?o.default.this:a.nil;function h(e){const t=a._`${e}.errors`;s.assign(o.default.vErrors,a._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`),s.assign(o.default.errors,a._`${o.default.vErrors}.length`)}function m(e){var t;if(!d.opts.unevaluated)return;const n=null===(t=null==r?void 0:r.validate)||void 0===t?void 0:t.evaluated;if(!0!==d.props)if(n&&!n.dynamicProps)void 0!==n.props&&(d.props=p.mergeEvaluated.props(s,n.props,d.props));else{const t=s.var("props",a._`${e}.evaluated.props`);d.props=p.mergeEvaluated.props(s,t,d.props,a.Name)}if(!0!==d.items)if(n&&!n.dynamicItems)void 0!==n.items&&(d.items=p.mergeEvaluated.items(s,n.items,d.items));else{const t=s.var("items",a._`${e}.evaluated.items`);d.items=p.mergeEvaluated.items(s,t,d.items,a.Name)}}n?function(){if(!l.$async)throw new Error("async schema referenced by sync schema");const r=s.let("valid");s.try((()=>{s.code(a._`await ${(0,i.callValidateCode)(e,t,f)}`),m(t),u||s.assign(r,!0)}),(e=>{s.if(a._`!(${e} instanceof ${d.ValidationError})`,(()=>s.throw(e))),h(e),u||s.assign(r,!1)})),e.ok(r)}():e.result((0,i.callValidateCode)(e,t,f),(()=>m(t)),(()=>h(t)))}t.getValidate=u,t.callRef=l,t.default=d},2:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(7421),a=r(7382),o=r(8936),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===i.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:r}})=>n._`{error: ${e}, tag: ${r}, tagValue: ${t}}`},code(e){const{gen:t,data:r,schema:s,parentSchema:p,it:d}=e,{oneOf:u}=p;if(!d.opts.discriminator)throw new Error("discriminator: requires discriminator option");const l=s.propertyName;if("string"!=typeof l)throw new Error("discriminator: requires propertyName");if(s.mapping)throw new Error("discriminator: mapping is not supported");if(!u)throw new Error("discriminator: requires oneOf keyword");const c=t.let("valid",!1),f=t.const("tag",n._`${r}${(0,n.getProperty)(l)}`);function h(r){const i=t.name("valid"),a=e.subschema({keyword:"oneOf",schemaProp:r},i);return e.mergeEvaluated(a,n.Name),i}t.if(n._`typeof ${f} == "string"`,(()=>function(){const r=function(){var e;const t={},r=i(p);let n=!0;for(let t=0;t<u.length;t++){let p=u[t];(null==p?void 0:p.$ref)&&!(0,o.schemaHasRulesButRef)(p,d.self.RULES)&&(p=a.resolveRef.call(d.self,d.schemaEnv.root,d.baseId,null==p?void 0:p.$ref),p instanceof a.SchemaEnv&&(p=p.schema));const c=null===(e=null==p?void 0:p.properties)||void 0===e?void 0:e[l];if("object"!=typeof c)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${l}"`);n=n&&(r||i(p)),s(c,t)}if(!n)throw new Error(`discriminator: "${l}" must be required`);return t;function i({required:e}){return Array.isArray(e)&&e.includes(l)}function s(e,t){if(e.const)c(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${l}" must have "const" or "enum"`);for(const r of e.enum)c(r,t)}}function c(e,r){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${l}" values must be unique strings`);t[e]=r}}();t.if(!1);for(const e in r)t.elseIf(n._`${f} === ${e}`),t.assign(c,h(r[e]));t.else(),e.error(!1,{discrError:i.DiscrError.Mapping,tag:f,tagName:l}),t.endIf()}()),(()=>e.error(!1,{discrError:i.DiscrError.Tag,tag:f,tagName:l}))),e.ok(c)}};t.default=s},7421:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,(r=t.DiscrError||(t.DiscrError={})).Tag="tag",r.Mapping="mapping"},5671:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(2101),i=r(7499),a=r(6951),o=r(4480),s=r(2480),p=[n.default,i.default,(0,a.default)(),o.default,s.metadataVocabulary,s.contentVocabulary];t.default=p},3599:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>n.str`must match format "${e}"`,params:({schemaCode:e})=>n._`{format: ${e}}`},code(e,t){const{gen:r,data:i,$data:a,schema:o,schemaCode:s,it:p}=e,{opts:d,errSchemaPath:u,schemaEnv:l,self:c}=p;d.validateFormats&&(a?function(){const a=r.scopeValue("formats",{ref:c.formats,code:d.code.formats}),o=r.const("fDef",n._`${a}[${s}]`),p=r.let("fType"),u=r.let("format");r.if(n._`typeof ${o} == "object" && !(${o} instanceof RegExp)`,(()=>r.assign(p,n._`${o}.type || "string"`).assign(u,n._`${o}.validate`)),(()=>r.assign(p,n._`"string"`).assign(u,o))),e.fail$data((0,n.or)(!1===d.strictSchema?n.nil:n._`${s} && !${u}`,function(){const e=l.$async?n._`(${o}.async ? await ${u}(${i}) : ${u}(${i}))`:n._`${u}(${i})`,r=n._`(typeof ${u} == "function" ? ${e} : ${u}.test(${i}))`;return n._`${u} && ${u} !== true && ${p} === ${t} && !${r}`}()))}():function(){const a=c.formats[o];if(!a)return void function(){if(!1!==d.strictSchema)throw new Error(e());function e(){return`unknown format "${o}" ignored in schema at path "${u}"`}c.logger.warn(e())}();if(!0===a)return;const[s,p,f]=function(e){const t=e instanceof RegExp?(0,n.regexpCode)(e):d.code.formats?n._`${d.code.formats}${(0,n.getProperty)(o)}`:void 0,i=r.scopeValue("formats",{key:o,ref:e,code:t});return"object"!=typeof e||e instanceof RegExp?["string",e,i]:[e.type||"string",e.validate,n._`${i}.validate`]}(a);s===t&&e.pass(function(){if("object"==typeof a&&!(a instanceof RegExp)&&a.async){if(!l.$async)throw new Error("async format in sync schema");return n._`await ${f}(${i})`}return"function"==typeof p?n._`${f}(${i})`:n._`${f}.test(${i})`}())}())}};t.default=i},4480:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=[r(3599).default];t.default=n},2480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},8549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(8936),a=r(4285),o={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>n._`{allowedValue: ${e}}`},code(e){const{gen:t,data:r,$data:o,schemaCode:s,schema:p}=e;o||p&&"object"==typeof p?e.fail$data(n._`!${(0,i.useFunc)(t,a.default)}(${r}, ${s})`):e.fail(n._`${p} !== ${r}`)}};t.default=o},9450:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(8936),a=r(4285),o={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>n._`{allowedValues: ${e}}`},code(e){const{gen:t,data:r,$data:o,schema:s,schemaCode:p,it:d}=e;if(!o&&0===s.length)throw new Error("enum must have non-empty array");const u=s.length>=d.opts.loopEnum;let l;const c=()=>null!=l?l:l=(0,i.useFunc)(t,a.default);let f;if(u||o)f=t.let("valid"),e.block$data(f,(function(){t.assign(f,!1),t.forOf("v",p,(e=>t.if(n._`${c()}(${r}, ${e})`,(()=>t.assign(f,!0).break()))))}));else{if(!Array.isArray(s))throw new Error("ajv implementation error");const e=t.const("vSchema",p);f=(0,n.or)(...s.map(((t,i)=>function(e,t){const i=s[t];return"object"==typeof i&&null!==i?n._`${c()}(${r}, ${e}[${t}])`:n._`${r} === ${i}`}(e,i))))}e.pass(f)}};t.default=o},7499:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(1337),i=r(9706),a=r(9507),o=r(1216),s=r(34),p=r(6962),d=r(1135),u=r(194),l=r(8549),c=r(9450),f=[n.default,i.default,a.default,o.default,s.default,p.default,d.default,u.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},l.default,c.default];t.default=f},1135:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxItems"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} items`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:i}=e,a="maxItems"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`${r}.length ${a} ${i}`)}};t.default=i},9507:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=r(8936),a=r(9161),o={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxLength"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} characters`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:o,it:s}=e,p="maxLength"===t?n.operators.GT:n.operators.LT,d=!1===s.opts.unicode?n._`${r}.length`:n._`${(0,i.useFunc)(e.gen,a.default)}(${r})`;e.fail$data(n._`${d} ${p} ${o}`)}};t.default=o},1337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i=n.operators,a={maximum:{okStr:"<=",ok:i.LTE,fail:i.GT},minimum:{okStr:">=",ok:i.GTE,fail:i.LT},exclusiveMaximum:{okStr:"<",ok:i.LT,fail:i.GTE},exclusiveMinimum:{okStr:">",ok:i.GT,fail:i.LTE}},o={message:({keyword:e,schemaCode:t})=>n.str`must be ${a[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>n._`{comparison: ${a[e].okStr}, limit: ${t}}`},s={keyword:Object.keys(a),type:"number",schemaType:"number",$data:!0,error:o,code(e){const{keyword:t,data:r,schemaCode:i}=e;e.fail$data(n._`${r} ${a[t].fail} ${i} || isNaN(${r})`)}};t.default=s},34:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const r="maxProperties"===e?"more":"fewer";return n.str`must NOT have ${r} than ${t} properties`},params:({schemaCode:e})=>n._`{limit: ${e}}`},code(e){const{keyword:t,data:r,schemaCode:i}=e,a="maxProperties"===t?n.operators.GT:n.operators.LT;e.fail$data(n._`Object.keys(${r}).length ${a} ${i}`)}};t.default=i},9706:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5669),i={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>n.str`must be multiple of ${e}`,params:({schemaCode:e})=>n._`{multipleOf: ${e}}`},code(e){const{gen:t,data:r,schemaCode:i,it:a}=e,o=a.opts.multipleOfPrecision,s=t.let("res"),p=o?n._`Math.abs(Math.round(${s}) - ${s}) > 1e-${o}`:n._`${s} !== parseInt(${s})`;e.fail$data(n._`(${i} === 0 || (${s} = ${r}/${i}, ${p}))`)}};t.default=i},1216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3499),i=r(5669),a={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>i.str`must match pattern "${e}"`,params:({schemaCode:e})=>i._`{pattern: ${e}}`},code(e){const{data:t,$data:r,schema:a,schemaCode:o,it:s}=e,p=s.opts.unicodeRegExp?"u":"",d=r?i._`(new RegExp(${o}, ${p}))`:(0,n.usePattern)(e,a);e.fail$data(i._`!${d}.test(${t})`)}};t.default=a},6962:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(3499),i=r(5669),a=r(8936),o={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>i.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>i._`{missingProperty: ${e}}`},code(e){const{gen:t,schema:r,schemaCode:o,data:s,$data:p,it:d}=e,{opts:u}=d;if(!p&&0===r.length)return;const l=r.length>=u.loopRequired;if(d.allErrors?function(){if(l||p)e.block$data(i.nil,c);else for(const t of r)(0,n.checkReportMissingProp)(e,t)}():function(){const a=t.let("missing");if(l||p){const r=t.let("valid",!0);e.block$data(r,(()=>function(r,a){e.setParams({missingProperty:r}),t.forOf(r,o,(()=>{t.assign(a,(0,n.propertyInData)(t,s,r,u.ownProperties)),t.if((0,i.not)(a),(()=>{e.error(),t.break()}))}),i.nil)}(a,r))),e.ok(r)}else t.if((0,n.checkMissingProp)(e,r,a)),(0,n.reportMissingProp)(e,a),t.else()}(),u.strictRequired){const t=e.parentSchema.properties,{definedProperties:n}=e.it;for(const e of r)if(void 0===(null==t?void 0:t[e])&&!n.has(e)){const t=`required property "${e}" is not defined at "${d.schemaEnv.baseId+d.errSchemaPath}" (strictRequired)`;(0,a.checkStrictMode)(d,t,d.opts.strictRequired)}}function c(){t.forOf("prop",o,(r=>{e.setParams({missingProperty:r}),t.if((0,n.noPropertyInData)(t,s,r,u.ownProperties),(()=>e.error()))}))}}};t.default=o},194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(7332),i=r(5669),a=r(8936),o=r(4285),s={message:({params:{i:e,j:t}})=>i.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>i._`{i: ${e}, j: ${t}}`},p={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:s,code(e){const{gen:t,data:r,$data:s,schema:p,parentSchema:d,schemaCode:u,it:l}=e;if(!s&&!p)return;const c=t.let("valid"),f=d.items?(0,n.getSchemaTypes)(d.items):[];function h(a,o){const s=t.name("item"),p=(0,n.checkDataTypes)(f,s,l.opts.strictNumbers,n.DataType.Wrong),d=t.const("indices",i._`{}`);t.for(i._`;${a}--;`,(()=>{t.let(s,i._`${r}[${a}]`),t.if(p,i._`continue`),f.length>1&&t.if(i._`typeof ${s} == "string"`,i._`${s} += "_"`),t.if(i._`typeof ${d}[${s}] == "number"`,(()=>{t.assign(o,i._`${d}[${s}]`),e.error(),t.assign(c,!1).break()})).code(i._`${d}[${s}] = ${a}`)}))}function m(n,s){const p=(0,a.useFunc)(t,o.default),d=t.name("outer");t.label(d).for(i._`;${n}--;`,(()=>t.for(i._`${s} = ${n}; ${s}--;`,(()=>t.if(i._`${p}(${r}[${n}], ${r}[${s}])`,(()=>{e.error(),t.assign(c,!1).break(d)}))))))}e.block$data(c,(function(){const n=t.let("i",i._`${r}.length`),a=t.let("j");e.setParams({i:n,j:a}),t.assign(c,!0),t.if(i._`${n} > 1`,(()=>(f.length>0&&!f.some((e=>"object"===e||"array"===e))?h:m)(n,a)))}),i._`${u} === false`),e.ok(c)}};t.default=p},2943:e=>{"use strict";var t=e.exports=function(e,t,n){"function"==typeof t&&(n=t,t={}),r(t,"function"==typeof(n=t.cb||n)?n:n.pre||function(){},n.post||function(){},e,"",e)};function r(e,n,i,a,o,s,p,d,u,l){if(a&&"object"==typeof a&&!Array.isArray(a)){for(var c in n(a,o,s,p,d,u,l),a){var f=a[c];if(Array.isArray(f)){if(c in t.arrayKeywords)for(var h=0;h<f.length;h++)r(e,n,i,f[h],o+"/"+c+"/"+h,s,o,c,a,h)}else if(c in t.propsKeywords){if(f&&"object"==typeof f)for(var m in f)r(e,n,i,f[m],o+"/"+c+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,o,c,a,m)}else(c in t.keywords||e.allKeys&&!(c in t.skipKeywords))&&r(e,n,i,f,o+"/"+c,s,o,c,a)}i(a,o,s,p,d,u,l)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},5699:(e,t,r)=>{const n=r(2889),i=n.default||n,a=function(e,t){return/^\/\//.test(e)&&(e="https:"+e),i.call(this,e,t)};a.ponyfill=!0,e.exports=t=a,t.fetch=a,t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response,t.default=a},6926:(e,t,r)=>{"use strict";var n=r(5477),i=r(4847),a={TRANSITIONAL:0,NONTRANSITIONAL:1};function o(e){return e.split("\0").map((function(e){return e.normalize("NFC")})).join("\0")}function s(e){for(var t=0,r=i.length-1;t<=r;){var n=Math.floor((t+r)/2),a=i[n];if(a[0][0]<=e&&a[0][1]>=e)return a;a[0][0]>e?r=n-1:t=n+1}return null}var p=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function d(e){return e.replace(p,"_").length}var u=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function l(e,t){"xn--"===e.substr(0,4)&&(e=n.toUnicode(e));var r=!1;(o(e)!==e||"-"===e[3]&&"-"===e[4]||"-"===e[0]||"-"===e[e.length-1]||-1!==e.indexOf(".")||0===e.search(u))&&(r=!0);for(var i=d(e),p=0;p<i;++p){var l=s(e.codePointAt(p));if(c===a.TRANSITIONAL&&"valid"!==l[1]||c===a.NONTRANSITIONAL&&"valid"!==l[1]&&"deviation"!==l[1]){r=!0;break}}return{label:e,error:r}}function c(e,t,r){var n=function(e,t,r){for(var n=!1,i="",o=d(e),p=0;p<o;++p){var u=e.codePointAt(p),l=s(u);switch(l[1]){case"disallowed":n=!0,i+=String.fromCodePoint(u);break;case"ignored":break;case"mapped":i+=String.fromCodePoint.apply(String,l[2]);break;case"deviation":i+=r===a.TRANSITIONAL?String.fromCodePoint.apply(String,l[2]):String.fromCodePoint(u);break;case"valid":i+=String.fromCodePoint(u);break;case"disallowed_STD3_mapped":t?(n=!0,i+=String.fromCodePoint(u)):i+=String.fromCodePoint.apply(String,l[2]);break;case"disallowed_STD3_valid":t&&(n=!0),i+=String.fromCodePoint(u)}}return{string:i,error:n}}(e,t,r);n.string=o(n.string);for(var i=n.string.split("."),p=0;p<i.length;++p)try{var u=l(i[p]);i[p]=u.label,n.error=n.error||u.error}catch(e){n.error=!0}return{string:i.join("."),error:n.error}}e.exports.toASCII=function(e,t,r,i){var a=c(e,t,r),o=a.string.split(".");if(o=o.map((function(e){try{return n.toASCII(e)}catch(t){return a.error=!0,e}})),i){var s=o.slice(0,o.length-1).join(".").length;(s.length>253||0===s.length)&&(a.error=!0);for(var p=0;p<o.length;++p)if(o.length>63||0===o.length){a.error=!0;break}}return a.error?null:o.join(".")},e.exports.toUnicode=function(e,t){var r=c(e,t,a.NONTRANSITIONAL);return{domain:r.string,error:r.error}},e.exports.PROCESSING_OPTIONS=a},1396:e=>{"use strict";var t={};function r(e){return e<0?-1:1}function n(e,t){t.unsigned||--e;const n=t.unsigned?0:-Math.pow(2,e),i=Math.pow(2,e)-1,a=t.moduloBitLength?Math.pow(2,t.moduloBitLength):Math.pow(2,e),o=t.moduloBitLength?Math.pow(2,t.moduloBitLength-1):Math.pow(2,e-1);return function(e,s){s||(s={});let p=+e;if(s.enforceRange){if(!Number.isFinite(p))throw new TypeError("Argument is not a finite number");if(p=r(p)*Math.floor(Math.abs(p)),p<n||p>i)throw new TypeError("Argument is not in byte range");return p}if(!isNaN(p)&&s.clamp)return p=function(e){return e%1==.5&&0==(1&e)?Math.floor(e):Math.round(e)}(p),p<n&&(p=n),p>i&&(p=i),p;if(!Number.isFinite(p)||0===p)return 0;if(p=r(p)*Math.floor(Math.abs(p)),p%=a,!t.unsigned&&p>=o)return p-a;if(t.unsigned)if(p<0)p+=a;else if(-0===p)return 0;return p}}e.exports=t,t.void=function(){},t.boolean=function(e){return!!e},t.byte=n(8,{unsigned:!1}),t.octet=n(8,{unsigned:!0}),t.short=n(16,{unsigned:!1}),t["unsigned short"]=n(16,{unsigned:!0}),t.long=n(32,{unsigned:!1}),t["unsigned long"]=n(32,{unsigned:!0}),t["long long"]=n(32,{unsigned:!1,moduloBitLength:64}),t["unsigned long long"]=n(32,{unsigned:!0,moduloBitLength:64}),t.double=function(e){const t=+e;if(!Number.isFinite(t))throw new TypeError("Argument is not a finite floating-point value");return t},t["unrestricted double"]=function(e){const t=+e;if(isNaN(t))throw new TypeError("Argument is NaN");return t},t.float=t.double,t["unrestricted float"]=t["unrestricted double"],t.DOMString=function(e,t){return t||(t={}),t.treatNullAsEmptyString&&null===e?"":String(e)},t.ByteString=function(e,t){const r=String(e);let n;for(let e=0;void 0!==(n=r.codePointAt(e));++e)if(n>255)throw new TypeError("Argument is not a valid bytestring");return r},t.USVString=function(e){const t=String(e),r=t.length,n=[];for(let e=0;e<r;++e){const i=t.charCodeAt(e);if(i<55296||i>57343)n.push(String.fromCodePoint(i));else if(56320<=i&&i<=57343)n.push(String.fromCodePoint(65533));else if(e===r-1)n.push(String.fromCodePoint(65533));else{const r=t.charCodeAt(e+1);if(56320<=r&&r<=57343){const t=1023&i,a=1023&r;n.push(String.fromCodePoint(65536+1024*t+a)),++e}else n.push(String.fromCodePoint(65533))}}return n.join("")},t.Date=function(e,t){if(!(e instanceof Date))throw new TypeError("Argument is not a Date object");if(!isNaN(e))return e},t.RegExp=function(e,t){return e instanceof RegExp||(e=new RegExp(e)),e}},8911:(e,t,r)=>{"use strict";const n=r(9715);t.implementation=class{constructor(e){const t=e[0],r=e[1];let i=null;if(void 0!==r&&(i=n.basicURLParse(r),"failure"===i))throw new TypeError("Invalid base URL");const a=n.basicURLParse(t,{baseURL:i});if("failure"===a)throw new TypeError("Invalid URL");this._url=a}get href(){return n.serializeURL(this._url)}set href(e){const t=n.basicURLParse(e);if("failure"===t)throw new TypeError("Invalid URL");this._url=t}get origin(){return n.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(e){n.basicURLParse(e+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(e){n.cannotHaveAUsernamePasswordPort(this._url)||n.setTheUsername(this._url,e)}get password(){return this._url.password}set password(e){n.cannotHaveAUsernamePasswordPort(this._url)||n.setThePassword(this._url,e)}get host(){const e=this._url;return null===e.host?"":null===e.port?n.serializeHost(e.host):n.serializeHost(e.host)+":"+n.serializeInteger(e.port)}set host(e){this._url.cannotBeABaseURL||n.basicURLParse(e,{url:this._url,stateOverride:"host"})}get hostname(){return null===this._url.host?"":n.serializeHost(this._url.host)}set hostname(e){this._url.cannotBeABaseURL||n.basicURLParse(e,{url:this._url,stateOverride:"hostname"})}get port(){return null===this._url.port?"":n.serializeInteger(this._url.port)}set port(e){n.cannotHaveAUsernamePasswordPort(this._url)||(""===e?this._url.port=null:n.basicURLParse(e,{url:this._url,stateOverride:"port"}))}get pathname(){return this._url.cannotBeABaseURL?this._url.path[0]:0===this._url.path.length?"":"/"+this._url.path.join("/")}set pathname(e){this._url.cannotBeABaseURL||(this._url.path=[],n.basicURLParse(e,{url:this._url,stateOverride:"path start"}))}get search(){return null===this._url.query||""===this._url.query?"":"?"+this._url.query}set search(e){const t=this._url;if(""===e)return void(t.query=null);const r="?"===e[0]?e.substring(1):e;t.query="",n.basicURLParse(r,{url:t,stateOverride:"query"})}get hash(){return null===this._url.fragment||""===this._url.fragment?"":"#"+this._url.fragment}set hash(e){if(""===e)return void(this._url.fragment=null);const t="#"===e[0]?e.substring(1):e;this._url.fragment="",n.basicURLParse(t,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}},6700:(e,t,r)=>{"use strict";const n=r(1396),i=r(2689),a=r(8911),o=i.implSymbol;function s(t){if(!this||this[o]||!(this instanceof s))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");const r=[];for(let e=0;e<arguments.length&&e<2;++e)r[e]=arguments[e];r[0]=n.USVString(r[0]),void 0!==r[1]&&(r[1]=n.USVString(r[1])),e.exports.setup(this,r)}s.prototype.toJSON=function(){if(!this||!e.exports.is(this))throw new TypeError("Illegal invocation");const t=[];for(let e=0;e<arguments.length&&e<0;++e)t[e]=arguments[e];return this[o].toJSON.apply(this[o],t)},Object.defineProperty(s.prototype,"href",{get(){return this[o].href},set(e){e=n.USVString(e),this[o].href=e},enumerable:!0,configurable:!0}),s.prototype.toString=function(){if(!this||!e.exports.is(this))throw new TypeError("Illegal invocation");return this.href},Object.defineProperty(s.prototype,"origin",{get(){return this[o].origin},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"protocol",{get(){return this[o].protocol},set(e){e=n.USVString(e),this[o].protocol=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"username",{get(){return this[o].username},set(e){e=n.USVString(e),this[o].username=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"password",{get(){return this[o].password},set(e){e=n.USVString(e),this[o].password=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"host",{get(){return this[o].host},set(e){e=n.USVString(e),this[o].host=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"hostname",{get(){return this[o].hostname},set(e){e=n.USVString(e),this[o].hostname=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"port",{get(){return this[o].port},set(e){e=n.USVString(e),this[o].port=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"pathname",{get(){return this[o].pathname},set(e){e=n.USVString(e),this[o].pathname=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"search",{get(){return this[o].search},set(e){e=n.USVString(e),this[o].search=e},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"hash",{get(){return this[o].hash},set(e){e=n.USVString(e),this[o].hash=e},enumerable:!0,configurable:!0}),e.exports={is:e=>!!e&&e[o]instanceof a.implementation,create(e,t){let r=Object.create(s.prototype);return this.setup(r,e,t),r},setup(e,t,r){r||(r={}),r.wrapper=e,e[o]=new a.implementation(t,r),e[o][i.wrapperSymbol]=e},interface:s,expose:{Window:{URL:s},Worker:{URL:s}}}},4851:(e,t,r)=>{"use strict";t.URL=r(6700).interface,r(9715).serializeURL,r(9715).serializeURLOrigin,r(9715).basicURLParse,r(9715).setTheUsername,r(9715).setThePassword,r(9715).serializeHost,r(9715).serializeInteger,r(9715).parseURL},9715:(e,t,r)=>{"use strict";const n=r(5477),i=r(6926),a={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},o=Symbol("failure");function s(e){return n.ucs2.decode(e).length}function p(e,t){const r=e[t];return isNaN(r)?void 0:String.fromCodePoint(r)}function d(e){return e>=48&&e<=57}function u(e){return e>=65&&e<=90||e>=97&&e<=122}function l(e){return d(e)||e>=65&&e<=70||e>=97&&e<=102}function c(e){return"."===e||"%2e"===e.toLowerCase()}function f(e){return 2===e.length&&u(e.codePointAt(0))&&(":"===e[1]||"|"===e[1])}function h(e){return void 0!==a[e]}function m(e){return h(e.scheme)}function v(e){let t=e.toString(16).toUpperCase();return 1===t.length&&(t="0"+t),"%"+t}function y(e){return e<=31||e>126}const g=new Set([32,34,35,60,62,63,96,123,125]);function b(e){return y(e)||g.has(e)}const _=new Set([47,58,59,61,64,91,92,93,94,124]);function w(e){return b(e)||_.has(e)}function S(e,t){const r=String.fromCodePoint(e);return t(e)?function(e){const t=new Buffer(e);let r="";for(let e=0;e<t.length;++e)r+=v(t[e]);return r}(r):r}function O(e){let t=10;return e.length>=2&&"0"===e.charAt(0)&&"x"===e.charAt(1).toLowerCase()?(e=e.substring(2),t=16):e.length>=2&&"0"===e.charAt(0)&&(e=e.substring(1),t=8),""===e?0:(10===t?/[^0-9]/:16===t?/[^0-9A-Fa-f]/:/[^0-7]/).test(e)?o:parseInt(e,t)}function E(e,t){if("["===e[0])return"]"!==e[e.length-1]?o:function(e){const t=[0,0,0,0,0,0,0,0];let r=0,i=null,a=0;if(58===(e=n.ucs2.decode(e))[a]){if(58!==e[a+1])return o;a+=2,++r,i=r}for(;a<e.length;){if(8===r)return o;if(58===e[a]){if(null!==i)return o;++a,++r,i=r;continue}let n=0,s=0;for(;s<4&&l(e[a]);)n=16*n+parseInt(p(e,a),16),++a,++s;if(46===e[a]){if(0===s)return o;if(a-=s,r>6)return o;let n=0;for(;void 0!==e[a];){let i=null;if(n>0){if(!(46===e[a]&&n<4))return o;++a}if(!d(e[a]))return o;for(;d(e[a]);){const t=parseInt(p(e,a));if(null===i)i=t;else{if(0===i)return o;i=10*i+t}if(i>255)return o;++a}t[r]=256*t[r]+i,++n,2!==n&&4!==n||++r}if(4!==n)return o;break}if(58===e[a]){if(++a,void 0===e[a])return o}else if(void 0!==e[a])return o;t[r]=n,++r}if(null!==i){let e=r-i;for(r=7;0!==r&&e>0;){const n=t[i+e-1];t[i+e-1]=t[r],t[r]=n,--r,--e}}else if(null===i&&8!==r)return o;return t}(e.substring(1,e.length-1));if(!t)return function(e){if(-1!==e.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/))return o;let t="";const r=n.ucs2.decode(e);for(let e=0;e<r.length;++e)t+=S(r[e],y);return t}(e);const r=function(e){const t=new Buffer(e),r=[];for(let e=0;e<t.length;++e)37!==t[e]?r.push(t[e]):37===t[e]&&l(t[e+1])&&l(t[e+2])?(r.push(parseInt(t.slice(e+1,e+3).toString(),16)),e+=2):r.push(t[e]);return new Buffer(r).toString()}(e),a=i.toASCII(r,!1,i.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(null===a)return o;if(-1!==a.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/))return o;const s=function(e){const t=e.split(".");if(""===t[t.length-1]&&t.length>1&&t.pop(),t.length>4)return e;const r=[];for(const n of t){if(""===n)return e;const t=O(n);if(t===o)return e;r.push(t)}for(let e=0;e<r.length-1;++e)if(r[e]>255)return o;if(r[r.length-1]>=Math.pow(256,5-r.length))return o;let n=r.pop(),i=0;for(const e of r)n+=e*Math.pow(256,3-i),++i;return n}(a);return"number"==typeof s||s===o?s:a}function N(e){return"number"==typeof e?function(e){let t="",r=e;for(let e=1;e<=4;++e)t=String(r%256)+t,4!==e&&(t="."+t),r=Math.floor(r/256);return t}(e):e instanceof Array?"["+function(e){let t="";const r=function(e){let t=null,r=1,n=null,i=0;for(let a=0;a<e.length;++a)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r&&(t=n,r=i),{idx:t,len:r}}(e),n=r.idx;let i=!1;for(let r=0;r<=7;++r)i&&0===e[r]||(i&&(i=!1),n!==r?(t+=e[r].toString(16),7!==r&&(t+=":")):(t+=0===r?"::":":",i=!0));return t}(e)+"]":e}function x(e){const t=e.path;var r;0!==t.length&&("file"===e.scheme&&1===t.length&&(r=t[0],/^[A-Za-z]:$/.test(r))||t.pop())}function T(e){return""!==e.username||""!==e.password}function P(e,t,r,i,a){if(this.pointer=0,this.input=e,this.base=t||null,this.encodingOverride=r||"utf-8",this.stateOverride=a,this.url=i,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};const e=function(e){return e.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}(this.input);e!==this.input&&(this.parseError=!0),this.input=e}const s=function(e){return e.replace(/\u0009|\u000A|\u000D/g,"")}(this.input);for(s!==this.input&&(this.parseError=!0),this.input=s,this.state=a||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=n.ucs2.decode(this.input);this.pointer<=this.input.length;++this.pointer){const e=this.input[this.pointer],t=isNaN(e)?void 0:String.fromCodePoint(e),r=this["parse "+this.state](e,t);if(!r)break;if(r===o){this.failure=!0;break}}}P.prototype["parse scheme start"]=function(e,t){if(u(e))this.buffer+=t.toLowerCase(),this.state="scheme";else{if(this.stateOverride)return this.parseError=!0,o;this.state="no scheme",--this.pointer}return!0},P.prototype["parse scheme"]=function(e,t){if(function(e){return u(e)||d(e)}(e)||43===e||45===e||46===e)this.buffer+=t.toLowerCase();else if(58===e){if(this.stateOverride){if(m(this.url)&&!h(this.buffer))return!1;if(!m(this.url)&&h(this.buffer))return!1;if((T(this.url)||null!==this.url.port)&&"file"===this.buffer)return!1;if("file"===this.url.scheme&&(""===this.url.host||null===this.url.host))return!1}if(this.url.scheme=this.buffer,this.buffer="",this.stateOverride)return!1;"file"===this.url.scheme?(47===this.input[this.pointer+1]&&47===this.input[this.pointer+2]||(this.parseError=!0),this.state="file"):m(this.url)&&null!==this.base&&this.base.scheme===this.url.scheme?this.state="special relative or authority":m(this.url)?this.state="special authority slashes":47===this.input[this.pointer+1]?(this.state="path or authority",++this.pointer):(this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path")}else{if(this.stateOverride)return this.parseError=!0,o;this.buffer="",this.state="no scheme",this.pointer=-1}return!0},P.prototype["parse no scheme"]=function(e){return null===this.base||this.base.cannotBeABaseURL&&35!==e?o:(this.base.cannotBeABaseURL&&35===e?(this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment"):"file"===this.base.scheme?(this.state="file",--this.pointer):(this.state="relative",--this.pointer),!0)},P.prototype["parse special relative or authority"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="relative",--this.pointer),!0},P.prototype["parse path or authority"]=function(e){return 47===e?this.state="authority":(this.state="path",--this.pointer),!0},P.prototype["parse relative"]=function(e){return this.url.scheme=this.base.scheme,isNaN(e)?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query):47===e?this.state="relative slash":63===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):m(this.url)&&92===e?(this.parseError=!0,this.state="relative slash"):(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer),!0},P.prototype["parse relative slash"]=function(e){return!m(this.url)||47!==e&&92!==e?47===e?this.state="authority":(this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer):(92===e&&(this.parseError=!0),this.state="special authority ignore slashes"),!0},P.prototype["parse special authority slashes"]=function(e){return 47===e&&47===this.input[this.pointer+1]?(this.state="special authority ignore slashes",++this.pointer):(this.parseError=!0,this.state="special authority ignore slashes",--this.pointer),!0},P.prototype["parse special authority ignore slashes"]=function(e){return 47!==e&&92!==e?(this.state="authority",--this.pointer):this.parseError=!0,!0},P.prototype["parse authority"]=function(e,t){if(64===e){this.parseError=!0,this.atFlag&&(this.buffer="%40"+this.buffer),this.atFlag=!0;const e=s(this.buffer);for(let t=0;t<e;++t){const e=this.buffer.codePointAt(t);if(58===e&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}const r=S(e,w);this.passwordTokenSeenFlag?this.url.password+=r:this.url.username+=r}this.buffer=""}else if(isNaN(e)||47===e||63===e||35===e||m(this.url)&&92===e){if(this.atFlag&&""===this.buffer)return this.parseError=!0,o;this.pointer-=s(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=t;return!0},P.prototype["parse hostname"]=P.prototype["parse host"]=function(e,t){if(this.stateOverride&&"file"===this.url.scheme)--this.pointer,this.state="file host";else if(58!==e||this.arrFlag)if(isNaN(e)||47===e||63===e||35===e||m(this.url)&&92===e){if(--this.pointer,m(this.url)&&""===this.buffer)return this.parseError=!0,o;if(this.stateOverride&&""===this.buffer&&(T(this.url)||null!==this.url.port))return this.parseError=!0,!1;const e=E(this.buffer,m(this.url));if(e===o)return o;if(this.url.host=e,this.buffer="",this.state="path start",this.stateOverride)return!1}else 91===e?this.arrFlag=!0:93===e&&(this.arrFlag=!1),this.buffer+=t;else{if(""===this.buffer)return this.parseError=!0,o;const e=E(this.buffer,m(this.url));if(e===o)return o;if(this.url.host=e,this.buffer="",this.state="port","hostname"===this.stateOverride)return!1}return!0},P.prototype["parse port"]=function(e,t){if(d(e))this.buffer+=t;else{if(!(isNaN(e)||47===e||63===e||35===e||m(this.url)&&92===e||this.stateOverride))return this.parseError=!0,o;if(""!==this.buffer){const e=parseInt(this.buffer);if(e>Math.pow(2,16)-1)return this.parseError=!0,o;this.url.port=e===(r=this.url.scheme,a[r])?null:e,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}var r;return!0};const I=new Set([47,92,63,35]);P.prototype["parse file"]=function(e){var t,r;return this.url.scheme="file",47===e||92===e?(92===e&&(this.parseError=!0),this.state="file slash"):null!==this.base&&"file"===this.base.scheme?isNaN(e)?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query):63===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query"):35===e?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment"):(this.input.length-this.pointer-1==0||(t=e,r=this.input[this.pointer+1],!u(t)||58!==r&&124!==r)||this.input.length-this.pointer-1>=2&&!I.has(this.input[this.pointer+2])?(this.url.host=this.base.host,this.url.path=this.base.path.slice(),x(this.url)):this.parseError=!0,this.state="path",--this.pointer):(this.state="path",--this.pointer),!0},P.prototype["parse file slash"]=function(e){var t;return 47===e||92===e?(92===e&&(this.parseError=!0),this.state="file host"):(null!==this.base&&"file"===this.base.scheme&&(2===(t=this.base.path[0]).length&&u(t.codePointAt(0))&&":"===t[1]?this.url.path.push(this.base.path[0]):this.url.host=this.base.host),this.state="path",--this.pointer),!0},P.prototype["parse file host"]=function(e,t){if(isNaN(e)||47===e||92===e||63===e||35===e)if(--this.pointer,!this.stateOverride&&f(this.buffer))this.parseError=!0,this.state="path";else if(""===this.buffer){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let e=E(this.buffer,m(this.url));if(e===o)return o;if("localhost"===e&&(e=""),this.url.host=e,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=t;return!0},P.prototype["parse path start"]=function(e){return m(this.url)?(92===e&&(this.parseError=!0),this.state="path",47!==e&&92!==e&&--this.pointer):this.stateOverride||63!==e?this.stateOverride||35!==e?void 0!==e&&(this.state="path",47!==e&&--this.pointer):(this.url.fragment="",this.state="fragment"):(this.url.query="",this.state="query"),!0},P.prototype["parse path"]=function(e){if(isNaN(e)||47===e||m(this.url)&&92===e||!this.stateOverride&&(63===e||35===e)){if(m(this.url)&&92===e&&(this.parseError=!0),".."===(t=(t=this.buffer).toLowerCase())||"%2e."===t||".%2e"===t||"%2e%2e"===t?(x(this.url),47===e||m(this.url)&&92===e||this.url.path.push("")):!c(this.buffer)||47===e||m(this.url)&&92===e?c(this.buffer)||("file"===this.url.scheme&&0===this.url.path.length&&f(this.buffer)&&(""!==this.url.host&&null!==this.url.host&&(this.parseError=!0,this.url.host=""),this.buffer=this.buffer[0]+":"),this.url.path.push(this.buffer)):this.url.path.push(""),this.buffer="","file"===this.url.scheme&&(void 0===e||63===e||35===e))for(;this.url.path.length>1&&""===this.url.path[0];)this.parseError=!0,this.url.path.shift();63===e&&(this.url.query="",this.state="query"),35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||l(this.input[this.pointer+1])&&l(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=S(e,b);var t;return!0},P.prototype["parse cannot-be-a-base-URL path"]=function(e){return 63===e?(this.url.query="",this.state="query"):35===e?(this.url.fragment="",this.state="fragment"):(isNaN(e)||37===e||(this.parseError=!0),37!==e||l(this.input[this.pointer+1])&&l(this.input[this.pointer+2])||(this.parseError=!0),isNaN(e)||(this.url.path[0]=this.url.path[0]+S(e,y))),!0},P.prototype["parse query"]=function(e,t){if(isNaN(e)||!this.stateOverride&&35===e){m(this.url)&&"ws"!==this.url.scheme&&"wss"!==this.url.scheme||(this.encodingOverride="utf-8");const t=new Buffer(this.buffer);for(let e=0;e<t.length;++e)t[e]<33||t[e]>126||34===t[e]||35===t[e]||60===t[e]||62===t[e]?this.url.query+=v(t[e]):this.url.query+=String.fromCodePoint(t[e]);this.buffer="",35===e&&(this.url.fragment="",this.state="fragment")}else 37!==e||l(this.input[this.pointer+1])&&l(this.input[this.pointer+2])||(this.parseError=!0),this.buffer+=t;return!0},P.prototype["parse fragment"]=function(e){return isNaN(e)||(0===e?this.parseError=!0:(37!==e||l(this.input[this.pointer+1])&&l(this.input[this.pointer+2])||(this.parseError=!0),this.url.fragment+=S(e,y))),!0},e.exports.serializeURL=function(e,t){let r=e.scheme+":";if(null!==e.host?(r+="//",""===e.username&&""===e.password||(r+=e.username,""!==e.password&&(r+=":"+e.password),r+="@"),r+=N(e.host),null!==e.port&&(r+=":"+e.port)):null===e.host&&"file"===e.scheme&&(r+="//"),e.cannotBeABaseURL)r+=e.path[0];else for(const t of e.path)r+="/"+t;return null!==e.query&&(r+="?"+e.query),t||null===e.fragment||(r+="#"+e.fragment),r},e.exports.serializeURLOrigin=function(t){switch(t.scheme){case"blob":try{return e.exports.serializeURLOrigin(e.exports.parseURL(t.path[0]))}catch(e){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return function(e){let t=e.scheme+"://";return t+=N(e.host),null!==e.port&&(t+=":"+e.port),t}({scheme:t.scheme,host:t.host,port:t.port});case"file":return"file://";default:return"null"}},e.exports.basicURLParse=function(e,t){void 0===t&&(t={});const r=new P(e,t.baseURL,t.encodingOverride,t.url,t.stateOverride);return r.failure?"failure":r.url},e.exports.setTheUsername=function(e,t){e.username="";const r=n.ucs2.decode(t);for(let t=0;t<r.length;++t)e.username+=S(r[t],w)},e.exports.setThePassword=function(e,t){e.password="";const r=n.ucs2.decode(t);for(let t=0;t<r.length;++t)e.password+=S(r[t],w)},e.exports.serializeHost=N,e.exports.cannotHaveAUsernamePasswordPort=function(e){return null===e.host||""===e.host||e.cannotBeABaseURL||"file"===e.scheme},e.exports.serializeInteger=function(e){return String(e)},e.exports.parseURL=function(t,r){return void 0===r&&(r={}),e.exports.basicURLParse(t,{baseURL:r.baseURL,encodingOverride:r.encodingOverride})}},2689:e=>{"use strict";e.exports.mixin=function(e,t){const r=Object.getOwnPropertyNames(t);for(let n=0;n<r.length;++n)Object.defineProperty(e,r[n],Object.getOwnPropertyDescriptor(t,r[n]))},e.exports.wrapperSymbol=Symbol("wrapper"),e.exports.implSymbol=Symbol("impl"),e.exports.wrapperForImpl=function(t){return t[e.exports.wrapperSymbol]},e.exports.implForWrapper=function(t){return t[e.exports.implSymbol]}},6292:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))})),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(9374)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},9374:(e,t,r)=>{e.exports=function(e){function t(e){let r,i,a,o=null;function s(...e){if(!s.enabled)return;const n=s,i=Number(new Date),a=i-(r||i);n.diff=a,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,i)=>{if("%%"===r)return"%";o++;const a=t.formatters[i];if("function"==typeof a){const t=e[o];r=a.call(n,t),e.splice(o,1),o--}return r})),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,a=t.enabled(e)),a),set:e=>{o=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(r=0;r<i;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(8628),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},1314:(e,t,r)=>{"undefined"==typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(6292):e.exports=r(4428)},4428:(e,t,r)=>{const n=r(6224),i=r(3837);t.init=function(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(...e){return process.stderr.write(i.format(...e)+"\n")},t.formatArgs=function(r){const{namespace:n,useColors:i}=this;if(i){const t=this.color,i="[3"+(t<8?t:"8;5;"+t),a=` ${i};1m${n} `;r[0]=a+r[0].split("\n").join("\n"+a),r.push(i+"m+"+e.exports.humanize(this.diff)+"")}else r[0]=(t.inspectOpts.hideDate?"":(new Date).toISOString()+" ")+n+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)},t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{const e=r(6974);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e}),{}),e.exports=r(9374)(t);const{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},2091:function(e,t,r){var n,i;i=function(e){var t=["N","E","A","D"];function r(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}function n(e,t){Object.defineProperty(this,"kind",{value:e,enumerable:!0}),t&&t.length&&Object.defineProperty(this,"path",{value:t,enumerable:!0})}function i(e,t,r){i.super_.call(this,"E",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0}),Object.defineProperty(this,"rhs",{value:r,enumerable:!0})}function a(e,t){a.super_.call(this,"N",e),Object.defineProperty(this,"rhs",{value:t,enumerable:!0})}function o(e,t){o.super_.call(this,"D",e),Object.defineProperty(this,"lhs",{value:t,enumerable:!0})}function s(e,t,r){s.super_.call(this,"A",e),Object.defineProperty(this,"index",{value:t,enumerable:!0}),Object.defineProperty(this,"item",{value:r,enumerable:!0})}function p(e,t,r){var n=e.slice((r||t)+1||e.length);return e.length=t<0?e.length+t:t,e.push.apply(e,n),e}function d(e){var t=typeof e;return"object"!==t?t:e===Math?"math":null===e?"null":Array.isArray(e)?"array":"[object Date]"===Object.prototype.toString.call(e)?"date":"function"==typeof e.toString&&/^\/.*\//.test(e.toString())?"regexp":"object"}function u(e){var t=0;if(0===e.length)return t;for(var r=0;r<e.length;r++)t=(t<<5)-t+e.charCodeAt(r),t&=t;return t}function l(e){var t=0,r=d(e);if("array"===r)return e.forEach((function(e){t+=l(e)})),t+u("[type: array, hash: "+t+"]");if("object"===r){for(var n in e)if(e.hasOwnProperty(n)){var i="[ type: object, key: "+n+", value hash: "+l(e[n])+"]";t+=u(i)}return t}return t+u("[ type: "+r+" ; value: "+e+"]")}function c(e,t,r,n,p,u,f,h){r=r||[],f=f||[];var m=(p=p||[]).slice(0);if(null!=u){if(n){if("function"==typeof n&&n(m,u))return;if("object"==typeof n){if(n.prefilter&&n.prefilter(m,u))return;if(n.normalize){var v=n.normalize(m,u,e,t);v&&(e=v[0],t=v[1])}}}m.push(u)}"regexp"===d(e)&&"regexp"===d(t)&&(e=e.toString(),t=t.toString());var y,g,b,_,w=typeof e,S=typeof t,O="undefined"!==w||f&&f.length>0&&f[f.length-1].lhs&&Object.getOwnPropertyDescriptor(f[f.length-1].lhs,u),E="undefined"!==S||f&&f.length>0&&f[f.length-1].rhs&&Object.getOwnPropertyDescriptor(f[f.length-1].rhs,u);if(!O&&E)r.push(new a(m,t));else if(!E&&O)r.push(new o(m,e));else if(d(e)!==d(t))r.push(new i(m,e,t));else if("date"===d(e)&&e-t!=0)r.push(new i(m,e,t));else if("object"===w&&null!==e&&null!==t){for(y=f.length-1;y>-1;--y)if(f[y].lhs===e){_=!0;break}if(_)e!==t&&r.push(new i(m,e,t));else{if(f.push({lhs:e,rhs:t}),Array.isArray(e)){for(h&&(e.sort((function(e,t){return l(e)-l(t)})),t.sort((function(e,t){return l(e)-l(t)}))),y=t.length-1,g=e.length-1;y>g;)r.push(new s(m,y,new a(void 0,t[y--])));for(;g>y;)r.push(new s(m,g,new o(void 0,e[g--])));for(;y>=0;--y)c(e[y],t[y],r,n,m,y,f,h)}else{var N=Object.keys(e),x=Object.keys(t);for(y=0;y<N.length;++y)b=N[y],(_=x.indexOf(b))>=0?(c(e[b],t[b],r,n,m,b,f,h),x[_]=null):c(e[b],void 0,r,n,m,b,f,h);for(y=0;y<x.length;++y)(b=x[y])&&c(void 0,t[b],r,n,m,b,f,h)}f.length=f.length-1}}else e!==t&&("number"===w&&isNaN(e)&&isNaN(t)||r.push(new i(m,e,t)))}function f(e,t,r,n,i){var a=[];if(c(e,t,a,n,null,null,null,i),r)for(var o=0;o<a.length;++o)r(a[o]);return a}function h(e,t,r,n){var i=f(e,t,n?function(e){e&&n.push(e)}:void 0,r);return n||(i.length?i:void 0)}function m(e,t,r){if(r.path&&r.path.length){var n,i=e[t],a=r.path.length-1;for(n=0;n<a;n++)i=i[r.path[n]];switch(r.kind){case"A":m(i[r.path[n]],r.index,r.item);break;case"D":delete i[r.path[n]];break;case"E":case"N":i[r.path[n]]=r.rhs}}else switch(r.kind){case"A":m(e[t],r.index,r.item);break;case"D":e=p(e,t);break;case"E":case"N":e[t]=r.rhs}return e}function v(e,r,n){if(void 0===n&&r&&~t.indexOf(r.kind)&&(n=r),e&&n&&n.kind){for(var i=e,a=-1,o=n.path?n.path.length-1:0;++a<o;)void 0===i[n.path[a]]&&(i[n.path[a]]=void 0!==n.path[a+1]&&"number"==typeof n.path[a+1]?[]:{}),i=i[n.path[a]];switch(n.kind){case"A":n.path&&void 0===i[n.path[a]]&&(i[n.path[a]]=[]),m(n.path?i[n.path[a]]:i,n.index,n.item);break;case"D":delete i[n.path[a]];break;case"E":case"N":i[n.path[a]]=n.rhs}}}function y(e,t,r){if(r.path&&r.path.length){var n,i=e[t],a=r.path.length-1;for(n=0;n<a;n++)i=i[r.path[n]];switch(r.kind){case"A":y(i[r.path[n]],r.index,r.item);break;case"D":case"E":i[r.path[n]]=r.lhs;break;case"N":delete i[r.path[n]]}}else switch(r.kind){case"A":y(e[t],r.index,r.item);break;case"D":case"E":e[t]=r.lhs;break;case"N":e=p(e,t)}return e}return r(i,n),r(a,n),r(o,n),r(s,n),Object.defineProperties(h,{diff:{value:h,enumerable:!0},orderIndependentDiff:{value:function(e,t,r,n){var i=f(e,t,n?function(e){e&&n.push(e)}:void 0,r,!0);return n||(i.length?i:void 0)},enumerable:!0},observableDiff:{value:f,enumerable:!0},orderIndependentObservableDiff:{value:function(e,t,r,n,i,a,o){return c(e,t,r,n,i,a,o,!0)},enumerable:!0},orderIndepHash:{value:l,enumerable:!0},applyDiff:{value:function(e,t,r){e&&t&&f(e,t,(function(n){r&&!r(e,t,n)||v(e,t,n)}))},enumerable:!0},applyChange:{value:v,enumerable:!0},revertChange:{value:function(e,t,r){if(e&&t&&r&&r.kind){var n,i,a=e;for(i=r.path.length-1,n=0;n<i;n++)void 0===a[r.path[n]]&&(a[r.path[n]]={}),a=a[r.path[n]];switch(r.kind){case"A":y(a[r.path[n]],r.index,r.item);break;case"D":case"E":a[r.path[n]]=r.lhs;break;case"N":delete a[r.path[n]]}}},enumerable:!0},isConflict:{value:function(){return"undefined"!=typeof $conflict},enumerable:!0}}),h.DeepDiff=h,e&&(e.DeepDiff=h),h}(this),void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)},5510:(e,t,r)=>{"use strict";const{EMPTY_BUFFER:n}=r(4543);function i(e,t){if(0===e.length)return n;if(1===e.length)return e[0];const r=Buffer.allocUnsafe(t);let i=0;for(let t=0;t<e.length;t++){const n=e[t];r.set(n,i),i+=n.length}return i<t?r.slice(0,i):r}function a(e,t,r,n,i){for(let a=0;a<i;a++)r[n+a]=e[a]^t[3&a]}function o(e,t){for(let r=0;r<e.length;r++)e[r]^=t[3&r]}function s(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function p(e){if(p.readOnly=!0,Buffer.isBuffer(e))return e;let t;return e instanceof ArrayBuffer?t=Buffer.from(e):ArrayBuffer.isView(e)?t=Buffer.from(e.buffer,e.byteOffset,e.byteLength):(t=Buffer.from(e),p.readOnly=!1),t}try{const t=r(Object(function(){var e=new Error("Cannot find module 'bufferutil'");throw e.code="MODULE_NOT_FOUND",e}()));e.exports={concat:i,mask(e,r,n,i,o){o<48?a(e,r,n,i,o):t.mask(e,r,n,i,o)},toArrayBuffer:s,toBuffer:p,unmask(e,r){e.length<32?o(e,r):t.unmask(e,r)}}}catch(t){e.exports={concat:i,mask:a,toArrayBuffer:s,toBuffer:p,unmask:o}}},4543:e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}},8143:(e,t,r)=>{"use strict";const{kForOnEventAttribute:n,kListener:i}=r(4543),a=Symbol("kCode"),o=Symbol("kData"),s=Symbol("kError"),p=Symbol("kMessage"),d=Symbol("kReason"),u=Symbol("kTarget"),l=Symbol("kType"),c=Symbol("kWasClean");class f{constructor(e){this[u]=null,this[l]=e}get target(){return this[u]}get type(){return this[l]}}Object.defineProperty(f.prototype,"target",{enumerable:!0}),Object.defineProperty(f.prototype,"type",{enumerable:!0});class h extends f{constructor(e,t={}){super(e),this[a]=void 0===t.code?0:t.code,this[d]=void 0===t.reason?"":t.reason,this[c]=void 0!==t.wasClean&&t.wasClean}get code(){return this[a]}get reason(){return this[d]}get wasClean(){return this[c]}}Object.defineProperty(h.prototype,"code",{enumerable:!0}),Object.defineProperty(h.prototype,"reason",{enumerable:!0}),Object.defineProperty(h.prototype,"wasClean",{enumerable:!0});class m extends f{constructor(e,t={}){super(e),this[s]=void 0===t.error?null:t.error,this[p]=void 0===t.message?"":t.message}get error(){return this[s]}get message(){return this[p]}}Object.defineProperty(m.prototype,"error",{enumerable:!0}),Object.defineProperty(m.prototype,"message",{enumerable:!0});class v extends f{constructor(e,t={}){super(e),this[o]=void 0===t.data?null:t.data}get data(){return this[o]}}Object.defineProperty(v.prototype,"data",{enumerable:!0});const y={addEventListener(e,t,r={}){let a;if("message"===e)a=function(e,r){const n=new v("message",{data:r?e:e.toString()});n[u]=this,t.call(this,n)};else if("close"===e)a=function(e,r){const n=new h("close",{code:e,reason:r.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});n[u]=this,t.call(this,n)};else if("error"===e)a=function(e){const r=new m("error",{error:e,message:e.message});r[u]=this,t.call(this,r)};else{if("open"!==e)return;a=function(){const e=new f("open");e[u]=this,t.call(this,e)}}a[n]=!!r[n],a[i]=t,r.once?this.once(e,a):this.on(e,a)},removeEventListener(e,t){for(const r of this.listeners(e))if(r[i]===t&&!r[n]){this.removeListener(e,r);break}}};e.exports={CloseEvent:h,ErrorEvent:m,Event:f,EventTarget:y,MessageEvent:v}},1161:(e,t,r)=>{"use strict";const{tokenChars:n}=r(2845);function i(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}e.exports={format:function(e){return Object.keys(e).map((t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map((e=>[t].concat(Object.keys(e).map((t=>{let r=e[t];return Array.isArray(r)||(r=[r]),r.map((e=>!0===e?t:`${t}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const t=Object.create(null);let r,a,o=Object.create(null),s=!1,p=!1,d=!1,u=-1,l=-1,c=-1,f=0;for(;f<e.length;f++)if(l=e.charCodeAt(f),void 0===r)if(-1===c&&1===n[l])-1===u&&(u=f);else if(0===f||32!==l&&9!==l){if(59!==l&&44!==l)throw new SyntaxError(`Unexpected character at index ${f}`);{if(-1===u)throw new SyntaxError(`Unexpected character at index ${f}`);-1===c&&(c=f);const n=e.slice(u,c);44===l?(i(t,n,o),o=Object.create(null)):r=n,u=c=-1}}else-1===c&&-1!==u&&(c=f);else if(void 0===a)if(-1===c&&1===n[l])-1===u&&(u=f);else if(32===l||9===l)-1===c&&-1!==u&&(c=f);else if(59===l||44===l){if(-1===u)throw new SyntaxError(`Unexpected character at index ${f}`);-1===c&&(c=f),i(o,e.slice(u,c),!0),44===l&&(i(t,r,o),o=Object.create(null),r=void 0),u=c=-1}else{if(61!==l||-1===u||-1!==c)throw new SyntaxError(`Unexpected character at index ${f}`);a=e.slice(u,f),u=c=-1}else if(p){if(1!==n[l])throw new SyntaxError(`Unexpected character at index ${f}`);-1===u?u=f:s||(s=!0),p=!1}else if(d)if(1===n[l])-1===u&&(u=f);else if(34===l&&-1!==u)d=!1,c=f;else{if(92!==l)throw new SyntaxError(`Unexpected character at index ${f}`);p=!0}else if(34===l&&61===e.charCodeAt(f-1))d=!0;else if(-1===c&&1===n[l])-1===u&&(u=f);else if(-1===u||32!==l&&9!==l){if(59!==l&&44!==l)throw new SyntaxError(`Unexpected character at index ${f}`);{if(-1===u)throw new SyntaxError(`Unexpected character at index ${f}`);-1===c&&(c=f);let n=e.slice(u,c);s&&(n=n.replace(/\\/g,""),s=!1),i(o,a,n),44===l&&(i(t,r,o),o=Object.create(null),r=void 0),a=void 0,u=c=-1}}else-1===c&&(c=f);if(-1===u||d||32===l||9===l)throw new SyntaxError("Unexpected end of input");-1===c&&(c=f);const h=e.slice(u,c);return void 0===r?i(t,h,o):(void 0===a?i(o,h,!0):i(o,a,s?h.replace(/\\/g,""):h),i(t,r,o)),t}}},2553:e=>{"use strict";const t=Symbol("kDone"),r=Symbol("kRun");e.exports=class{constructor(e){this[t]=()=>{this.pending--,this[r]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[r]()}[r](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[t])}}}},7404:(e,t,r)=>{"use strict";const n=r(9796),i=r(5510),a=r(2553),{kStatusCode:o}=r(4543),s=Buffer.from([0,0,255,255]),p=Symbol("permessage-deflate"),d=Symbol("total-length"),u=Symbol("callback"),l=Symbol("buffers"),c=Symbol("error");let f;function h(e){this[l].push(e),this[d]+=e.length}function m(e){this[d]+=e.length,this[p]._maxPayload<1||this[d]<=this[p]._maxPayload?this[l].push(e):(this[c]=new RangeError("Max payload size exceeded"),this[c].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[c][o]=1009,this.removeListener("data",m),this.reset())}function v(e){this[p]._inflate=null,e[o]=1007,this[u](e)}e.exports=class{constructor(e,t,r){if(this._maxPayload=0|r,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!t,this._deflate=null,this._inflate=null,this.params=null,!f){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;f=new a(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){if(this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate){const e=this._deflate[u];this._deflate.close(),this._deflate=null,e&&e(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(e){const t=this._options,r=e.find((e=>!(!1===t.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===t.serverMaxWindowBits||"number"==typeof t.serverMaxWindowBits&&t.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof t.clientMaxWindowBits&&!e.client_max_window_bits)));if(!r)throw new Error("None of the extension offers can be accepted");return t.serverNoContextTakeover&&(r.server_no_context_takeover=!0),t.clientNoContextTakeover&&(r.client_no_context_takeover=!0),"number"==typeof t.serverMaxWindowBits&&(r.server_max_window_bits=t.serverMaxWindowBits),"number"==typeof t.clientMaxWindowBits?r.client_max_window_bits=t.clientMaxWindowBits:!0!==r.client_max_window_bits&&!1!==t.clientMaxWindowBits||delete r.client_max_window_bits,r}acceptAsClient(e){const t=e[0];if(!1===this._options.clientNoContextTakeover&&t.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(t.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&t.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(t.client_max_window_bits=this._options.clientMaxWindowBits);return t}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((t=>{let r=e[t];if(r.length>1)throw new Error(`Parameter "${t}" must have only a single value`);if(r=r[0],"client_max_window_bits"===t){if(!0!==r){const e=+r;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${t}": ${r}`)}else if("server_max_window_bits"===t){const e=+r;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${t}": ${r}`);r=e}else{if("client_no_context_takeover"!==t&&"server_no_context_takeover"!==t)throw new Error(`Unknown parameter "${t}"`);if(!0!==r)throw new TypeError(`Invalid value for parameter "${t}": ${r}`)}e[t]=r}))})),e}decompress(e,t,r){f.add((n=>{this._decompress(e,t,((e,t)=>{n(),r(e,t)}))}))}compress(e,t,r){f.add((n=>{this._compress(e,t,((e,t)=>{n(),r(e,t)}))}))}_decompress(e,t,r){const a=this._isServer?"client":"server";if(!this._inflate){const e=`${a}_max_window_bits`,t="number"!=typeof this.params[e]?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=n.createInflateRaw({...this._options.zlibInflateOptions,windowBits:t}),this._inflate[p]=this,this._inflate[d]=0,this._inflate[l]=[],this._inflate.on("error",v),this._inflate.on("data",m)}this._inflate[u]=r,this._inflate.write(e),t&&this._inflate.write(s),this._inflate.flush((()=>{const e=this._inflate[c];if(e)return this._inflate.close(),this._inflate=null,void r(e);const n=i.concat(this._inflate[l],this._inflate[d]);this._inflate._readableState.endEmitted?(this._inflate.close(),this._inflate=null):(this._inflate[d]=0,this._inflate[l]=[],t&&this.params[`${a}_no_context_takeover`]&&this._inflate.reset()),r(null,n)}))}_compress(e,t,r){const a=this._isServer?"server":"client";if(!this._deflate){const e=`${a}_max_window_bits`,t="number"!=typeof this.params[e]?n.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=n.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:t}),this._deflate[d]=0,this._deflate[l]=[],this._deflate.on("data",h)}this._deflate[u]=r,this._deflate.write(e),this._deflate.flush(n.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=i.concat(this._deflate[l],this._deflate[d]);t&&(e=e.slice(0,e.length-4)),this._deflate[u]=null,this._deflate[d]=0,this._deflate[l]=[],t&&this.params[`${a}_no_context_takeover`]&&this._deflate.reset(),r(null,e)}))}}},1938:(e,t,r)=>{"use strict";const{Writable:n}=r(2781),i=r(7404),{BINARY_TYPES:a,EMPTY_BUFFER:o,kStatusCode:s,kWebSocket:p}=r(4543),{concat:d,toArrayBuffer:u,unmask:l}=r(5510),{isValidStatusCode:c,isValidUTF8:f}=r(2845);function h(e,t,r,n,i){const a=new e(r?`Invalid WebSocket frame: ${t}`:t);return Error.captureStackTrace(a,h),a.code=i,a[s]=n,a}e.exports=class extends n{constructor(e={}){super(),this._binaryType=e.binaryType||a[0],this._extensions=e.extensions||{},this._isServer=!!e.isServer,this._maxPayload=0|e.maxPayload,this._skipUTF8Validation=!!e.skipUTF8Validation,this[p]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,t,r){if(8===this._opcode&&0==this._state)return r();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(r)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const t=this._buffers[0];return this._buffers[0]=t.slice(e),t.slice(0,e)}const t=Buffer.allocUnsafe(e);do{const r=this._buffers[0],n=t.length-e;e>=r.length?t.set(this._buffers.shift(),n):(t.set(new Uint8Array(r.buffer,r.byteOffset,e),n),this._buffers[0]=r.slice(e)),e-=r.length}while(e>0);return t}startLoop(e){let t;this._loop=!0;do{switch(this._state){case 0:t=this.getInfo();break;case 1:t=this.getPayloadLength16();break;case 2:t=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:t=this.getData(e);break;default:return void(this._loop=!1)}}while(this._loop);e(t)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,h(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");const t=64==(64&e[0]);if(t&&!this._extensions[i.extensionName])return this._loop=!1,h(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(t)return this._loop=!1,h(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(!this._fragmented)return this._loop=!1,h(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,h(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");this._compressed=t}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,h(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");if(!this._fin)return this._loop=!1,h(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");if(t)return this._loop=!1,h(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");if(this._payloadLength>125)return this._loop=!1,h(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH")}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),this._isServer){if(!this._masked)return this._loop=!1,h(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK")}else if(this._masked)return this._loop=!1,h(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");if(126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),t=e.readUInt32BE(0);return t>Math.pow(2,21)-1?(this._loop=!1,h(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH")):(this._payloadLength=t*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,h(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let t=o;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);t=this.consume(this._payloadLength),this._masked&&l(t,this._mask)}return this._opcode>7?this.controlMessage(t):this._compressed?(this._state=5,void this.decompress(t,e)):(t.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(t)),this.dataMessage())}decompress(e,t){this._extensions[i.extensionName].decompress(e,this._fin,((e,r)=>{if(e)return t(e);if(r.length){if(this._messageLength+=r.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return t(h(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH"));this._fragments.push(r)}const n=this.dataMessage();if(n)return t(n);this.startLoop(t)}))}dataMessage(){if(this._fin){const e=this._messageLength,t=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let r;r="nodebuffer"===this._binaryType?d(t,e):"arraybuffer"===this._binaryType?u(d(t,e)):t,this.emit("message",r,!0)}else{const r=d(t,e);if(!this._skipUTF8Validation&&!f(r))return this._loop=!1,h(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("message",r,!1)}}this._state=0}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,o),this.end();else{if(1===e.length)return h(RangeError,"invalid payload length 1",!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");{const t=e.readUInt16BE(0);if(!c(t))return h(RangeError,`invalid status code ${t}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");const r=e.slice(2);if(!this._skipUTF8Validation&&!f(r))return h(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");this.emit("conclude",t,r),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}},7204:(e,t,r)=>{"use strict";r(1808),r(4404);const{randomFillSync:n}=r(6113),i=r(7404),{EMPTY_BUFFER:a}=r(4543),{isValidStatusCode:o}=r(2845),{mask:s,toBuffer:p}=r(5510),d=Buffer.alloc(4);class u{constructor(e,t){this._extensions=t||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,t){const r=t.mask&&t.readOnly;let i=t.mask?6:2,a=e.length;e.length>=65536?(i+=8,a=127):e.length>125&&(i+=2,a=126);const o=Buffer.allocUnsafe(r?e.length+i:i);return o[0]=t.fin?128|t.opcode:t.opcode,t.rsv1&&(o[0]|=64),o[1]=a,126===a?o.writeUInt16BE(e.length,2):127===a&&(o.writeUInt32BE(0,2),o.writeUInt32BE(e.length,6)),t.mask?(n(d,0,4),o[1]|=128,o[i-4]=d[0],o[i-3]=d[1],o[i-2]=d[2],o[i-1]=d[3],r?(s(e,d,o,i,e.length),[o]):(s(e,d,e,0,e.length),[o,e])):[o,e]}close(e,t,r,n){let i;if(void 0===e)i=a;else{if("number"!=typeof e||!o(e))throw new TypeError("First argument must be a valid error code number");if(void 0!==t&&t.length){const r=Buffer.byteLength(t);if(r>123)throw new RangeError("The message must not be greater than 123 bytes");i=Buffer.allocUnsafe(2+r),i.writeUInt16BE(e,0),"string"==typeof t?i.write(t,2):i.set(t,2)}else i=Buffer.allocUnsafe(2),i.writeUInt16BE(e,0)}this._deflating?this.enqueue([this.doClose,i,r,n]):this.doClose(i,r,n)}doClose(e,t,r){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:t,readOnly:!1}),r)}ping(e,t,r){const n=p(e);if(n.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPing,n,t,p.readOnly,r]):this.doPing(n,t,p.readOnly,r)}doPing(e,t,r,n){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:t,readOnly:r}),n)}pong(e,t,r){const n=p(e);if(n.length>125)throw new RangeError("The data size must not be greater than 125 bytes");this._deflating?this.enqueue([this.doPong,n,t,p.readOnly,r]):this.doPong(n,t,p.readOnly,r)}doPong(e,t,r,n){this.sendFrame(u.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:t,readOnly:r}),n)}send(e,t,r){const n=p(e),a=this._extensions[i.extensionName];let o=t.binary?2:1,s=t.compress;if(this._firstFragment?(this._firstFragment=!1,s&&a&&a.params[a._isServer?"server_no_context_takeover":"client_no_context_takeover"]&&(s=n.length>=a._threshold),this._compress=s):(s=!1,o=0),t.fin&&(this._firstFragment=!0),a){const e={fin:t.fin,rsv1:s,opcode:o,mask:t.mask,readOnly:p.readOnly};this._deflating?this.enqueue([this.dispatch,n,this._compress,e,r]):this.dispatch(n,this._compress,e,r)}else this.sendFrame(u.frame(n,{fin:t.fin,rsv1:!1,opcode:o,mask:t.mask,readOnly:p.readOnly}),r)}dispatch(e,t,r,n){if(!t)return void this.sendFrame(u.frame(e,r),n);const a=this._extensions[i.extensionName];this._bufferedBytes+=e.length,this._deflating=!0,a.compress(e,r.fin,((t,i)=>{if(this._socket.destroyed){const e=new Error("The socket was closed while data was being compressed");"function"==typeof n&&n(e);for(let t=0;t<this._queue.length;t++){const r=this._queue[t][4];"function"==typeof r&&r(e)}}else this._bufferedBytes-=e.length,this._deflating=!1,r.readOnly=!1,this.sendFrame(u.frame(i,r),n),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[1].length,Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length,this._queue.push(e)}sendFrame(e,t){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],t),this._socket.uncork()):this._socket.write(e[0],t)}}e.exports=u},4291:(e,t,r)=>{"use strict";const{Duplex:n}=r(2781);function i(e){e.emit("close")}function a(){!this.destroyed&&this._writableState.finished&&this.destroy()}function o(e){this.removeListener("error",o),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,t){let r=!0,s=!0;function p(){r&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",(function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",p)})):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",p));const d=new n({...t,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(t,n){const i=!n&&d._readableState.objectMode?t.toString():t;d.push(i)||(r=!1,e._socket.pause())})),e.once("error",(function(e){d.destroyed||(s=!1,d.destroy(e))})),e.once("close",(function(){d.destroyed||d.push(null)})),d._destroy=function(t,r){if(e.readyState===e.CLOSED)return r(t),void process.nextTick(i,d);let n=!1;e.once("error",(function(e){n=!0,r(e)})),e.once("close",(function(){n||r(t),process.nextTick(i,d)})),s&&e.terminate()},d._final=function(t){e.readyState!==e.CONNECTING?null!==e._socket&&(e._socket._writableState.finished?(t(),d._readableState.endEmitted&&d.destroy()):(e._socket.once("finish",(function(){t()})),e.close())):e.once("open",(function(){d._final(t)}))},d._read=function(){e.readyState!==e.OPEN||r||(r=!0,e._receiver._writableState.needDrain||e._socket.resume())},d._write=function(t,r,n){e.readyState!==e.CONNECTING?e.send(t,n):e.once("open",(function(){d._write(t,r,n)}))},d.on("end",a),d.on("error",o),d}},1863:(e,t,r)=>{"use strict";const{tokenChars:n}=r(2845);e.exports={parse:function(e){const t=new Set;let r=-1,i=-1,a=0;for(;a<e.length;a++){const o=e.charCodeAt(a);if(-1===i&&1===n[o])-1===r&&(r=a);else if(0===a||32!==o&&9!==o){if(44!==o)throw new SyntaxError(`Unexpected character at index ${a}`);{if(-1===r)throw new SyntaxError(`Unexpected character at index ${a}`);-1===i&&(i=a);const n=e.slice(r,i);if(t.has(n))throw new SyntaxError(`The "${n}" subprotocol is duplicated`);t.add(n),r=i=-1}}else-1===i&&-1!==r&&(i=a)}if(-1===r||-1!==i)throw new SyntaxError("Unexpected end of input");const o=e.slice(r,a);if(t.has(o))throw new SyntaxError(`The "${o}" subprotocol is duplicated`);return t.add(o),t}}},2845:(e,t,r)=>{"use strict";const n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function i(e){return e>=1e3&&e<=1014&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999}function a(e){const t=e.length;let r=0;for(;r<t;)if(0==(128&e[r]))r++;else if(192==(224&e[r])){if(r+1===t||128!=(192&e[r+1])||192==(254&e[r]))return!1;r+=2}else if(224==(240&e[r])){if(r+2>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||224===e[r]&&128==(224&e[r+1])||237===e[r]&&160==(224&e[r+1]))return!1;r+=3}else{if(240!=(248&e[r]))return!1;if(r+3>=t||128!=(192&e[r+1])||128!=(192&e[r+2])||128!=(192&e[r+3])||240===e[r]&&128==(240&e[r+1])||244===e[r]&&e[r+1]>143||e[r]>244)return!1;r+=4}return!0}try{const t=r(Object(function(){var e=new Error("Cannot find module 'utf-8-validate'");throw e.code="MODULE_NOT_FOUND",e}()));e.exports={isValidStatusCode:i,isValidUTF8:e=>e.length<150?a(e):t(e),tokenChars:n}}catch(t){e.exports={isValidStatusCode:i,isValidUTF8:a,tokenChars:n}}},6574:(e,t,r)=>{"use strict";const n=r(2361),i=r(3685),{createHash:a}=(r(5687),r(1808),r(4404),r(6113)),o=r(1161),s=r(7404),p=r(1863),d=r(4965),{GUID:u,kWebSocket:l}=r(4543),c=/^[+/0-9A-Za-z]{22}==$/;function f(e){e._state=2,e.emit("close")}function h(){this.destroy()}function m(e,t,r,n){e.writable&&(r=r||i.STATUS_CODES[t],n={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(r),...n},e.write(`HTTP/1.1 ${t} ${i.STATUS_CODES[t]}\r\n`+Object.keys(n).map((e=>`${e}: ${n[e]}`)).join("\r\n")+"\r\n\r\n"+r)),e.removeListener("error",h),e.destroy()}e.exports=class extends n{constructor(e,t){if(super(),null==(e={maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer||null!=e.port&&(e.server||e.noServer)||e.server&&e.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(null!=e.port?(this._server=i.createServer(((e,t)=>{const r=i.STATUS_CODES[426];t.writeHead(426,{"Content-Length":r.length,"Content-Type":"text/plain"}),t.end(r)})),this._server.listen(e.port,e.host,e.backlog,t)):e.server&&(this._server=e.server),this._server){const e=this.emit.bind(this,"connection");this._removeListeners=function(e,t){for(const r of Object.keys(t))e.on(r,t[r]);return function(){for(const r of Object.keys(t))e.removeListener(r,t[r])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(t,r,n)=>{this.handleUpgrade(t,r,n,e)}})}!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set,this._shouldEmitClose=!1),this.options=e,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(2===this._state)return e&&this.once("close",(()=>{e(new Error("The server is not running"))})),void process.nextTick(f,this);if(e&&this.once("close",e),1!==this._state)if(this._state=1,this.options.noServer||this.options.server)this._server&&(this._removeListeners(),this._removeListeners=this._server=null),this.clients&&this.clients.size?this._shouldEmitClose=!0:process.nextTick(f,this);else{const e=this._server;this._removeListeners(),this._removeListeners=this._server=null,e.close((()=>{f(this)}))}}shouldHandle(e){if(this.options.path){const t=e.url.indexOf("?");if((-1!==t?e.url.slice(0,t):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,t,r,n){t.on("error",h);const i=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"],a=+e.headers["sec-websocket-version"];if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!i||!c.test(i)||8!==a&&13!==a||!this.shouldHandle(e))return m(t,400);const d=e.headers["sec-websocket-protocol"];let u=new Set;if(void 0!==d)try{u=p.parse(d)}catch(e){return m(t,400)}const l=e.headers["sec-websocket-extensions"],f={};if(this.options.perMessageDeflate&&void 0!==l){const e=new s(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const t=o.parse(l);t[s.extensionName]&&(e.accept(t[s.extensionName]),f[s.extensionName]=e)}catch(e){return m(t,400)}}if(this.options.verifyClient){const o={origin:e.headers[8===a?"sec-websocket-origin":"origin"],secure:!(!e.socket.authorized&&!e.socket.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(o,((a,o,s,p)=>{if(!a)return m(t,o||401,s,p);this.completeUpgrade(f,i,u,e,t,r,n)}));if(!this.options.verifyClient(o))return m(t,401)}this.completeUpgrade(f,i,u,e,t,r,n)}completeUpgrade(e,t,r,n,i,p,c){if(!i.readable||!i.writable)return i.destroy();if(i[l])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return m(i,503);const v=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${a("sha1").update(t+u).digest("base64")}`],y=new d(null);if(r.size){const e=this.options.handleProtocols?this.options.handleProtocols(r,n):r.values().next().value;e&&(v.push(`Sec-WebSocket-Protocol: ${e}`),y._protocol=e)}if(e[s.extensionName]){const t=e[s.extensionName].params,r=o.format({[s.extensionName]:[t]});v.push(`Sec-WebSocket-Extensions: ${r}`),y._extensions=e}this.emit("headers",v,n),i.write(v.concat("\r\n").join("\r\n")),i.removeListener("error",h),y.setSocket(i,p,{maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients&&(this.clients.add(y),y.on("close",(()=>{this.clients.delete(y),this._shouldEmitClose&&!this.clients.size&&process.nextTick(f,this)}))),c(y,n)}}},4965:(e,t,r)=>{"use strict";const n=r(2361),i=r(5687),a=r(3685),o=r(1808),s=r(4404),{randomBytes:p,createHash:d}=r(6113),{Readable:u}=r(2781),{URL:l}=r(7310),c=r(7404),f=r(1938),h=r(7204),{BINARY_TYPES:m,EMPTY_BUFFER:v,GUID:y,kForOnEventAttribute:g,kListener:b,kStatusCode:_,kWebSocket:w,NOOP:S}=r(4543),{EventTarget:{addEventListener:O,removeEventListener:E}}=r(8143),{format:N,parse:x}=r(1161),{toBuffer:T}=r(5510),P=["CONNECTING","OPEN","CLOSING","CLOSED"],I=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/,D=[8,13];class k extends n{constructor(e,t,r){super(),this._binaryType=m[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=v,this._closeTimer=null,this._extensions={},this._protocol="",this._readyState=k.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,void 0===t?t=[]:Array.isArray(t)||("object"==typeof t&&null!==t?(r=t,t=[]):t=[t]),A(this,e,t,r)):this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(e){m.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?this._socket._writableState.length+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(e,t,r){const n=new f({binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:r.maxPayload,skipUTF8Validation:r.skipUTF8Validation});this._sender=new h(e,this._extensions),this._receiver=n,this._socket=e,n[w]=this,e[w]=this,n.on("conclude",M),n.on("drain",F),n.on("error",V),n.on("message",q),n.on("ping",B),n.on("pong",U),e.setTimeout(0),e.setNoDelay(),t.length>0&&e.unshift(t),e.on("close",Q),e.on("data",W),e.on("end",H),e.on("error",K),this._readyState=k.OPEN,this.emit("open")}emitClose(){if(!this._socket)return this._readyState=k.CLOSED,void this.emit("close",this._closeCode,this._closeMessage);this._extensions[c.extensionName]&&this._extensions[c.extensionName].cleanup(),this._receiver.removeAllListeners(),this._readyState=k.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(e,t){if(this.readyState!==k.CLOSED){if(this.readyState===k.CONNECTING){const e="WebSocket was closed before the connection was established";return R(this,this._req,e)}this.readyState!==k.CLOSING?(this._readyState=k.CLOSING,this._sender.close(e,t,!this._isServer,(e=>{e||(this._closeFrameSent=!0,(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted)&&this._socket.end()}}ping(e,t,r){if(this.readyState===k.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===k.OPEN?(void 0===t&&(t=!this._isServer),this._sender.ping(e||v,t,r)):$(this,e,r)}pong(e,t,r){if(this.readyState===k.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(r=e,e=t=void 0):"function"==typeof t&&(r=t,t=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===k.OPEN?(void 0===t&&(t=!this._isServer),this._sender.pong(e||v,t,r)):$(this,e,r)}send(e,t,r){if(this.readyState===k.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof t&&(r=t,t={}),"number"==typeof e&&(e=e.toString()),this.readyState!==k.OPEN)return void $(this,e,r);const n={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...t};this._extensions[c.extensionName]||(n.compress=!1),this._sender.send(e||v,n,r)}terminate(){if(this.readyState!==k.CLOSED){if(this.readyState===k.CONNECTING){const e="WebSocket was closed before the connection was established";return R(this,this._req,e)}this._socket&&(this._readyState=k.CLOSING,this._socket.destroy())}}}function A(e,t,r,n){const o={protocolVersion:D[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...n,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,host:void 0,path:void 0,port:void 0};if(!D.includes(o.protocolVersion))throw new RangeError(`Unsupported protocol version: ${o.protocolVersion} (supported versions: ${D.join(", ")})`);let s;if(t instanceof l)s=t,e._url=t.href;else{try{s=new l(t)}catch(e){throw new SyntaxError(`Invalid URL: ${t}`)}e._url=t}const u="wss:"===s.protocol,f="ws+unix:"===s.protocol;if("ws:"!==s.protocol&&!u&&!f)throw new SyntaxError('The URL\'s protocol must be one of "ws:", "wss:", or "ws+unix:"');if(f&&!s.pathname)throw new SyntaxError("The URL's pathname is empty");if(s.hash)throw new SyntaxError("The URL contains a fragment identifier");const h=u?443:80,m=p(16).toString("base64"),v=u?i.get:a.get,g=new Set;let b;if(o.createConnection=u?C:j,o.defaultPort=o.defaultPort||h,o.port=s.port||h,o.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,o.headers={"Sec-WebSocket-Version":o.protocolVersion,"Sec-WebSocket-Key":m,Connection:"Upgrade",Upgrade:"websocket",...o.headers},o.path=s.pathname+s.search,o.timeout=o.handshakeTimeout,o.perMessageDeflate&&(b=new c(!0!==o.perMessageDeflate?o.perMessageDeflate:{},!1,o.maxPayload),o.headers["Sec-WebSocket-Extensions"]=N({[c.extensionName]:b.offer()})),r.length){for(const e of r){if("string"!=typeof e||!I.test(e)||g.has(e))throw new SyntaxError("An invalid or duplicated subprotocol was specified");g.add(e)}o.headers["Sec-WebSocket-Protocol"]=r.join(",")}if(o.origin&&(o.protocolVersion<13?o.headers["Sec-WebSocket-Origin"]=o.origin:o.headers.Origin=o.origin),(s.username||s.password)&&(o.auth=`${s.username}:${s.password}`),f){const e=o.path.split(":");o.socketPath=e[0],o.path=e[1]}let _=e._req=v(o);o.timeout&&_.on("timeout",(()=>{R(e,_,"Opening handshake has timed out")})),_.on("error",(t=>{null===_||_.aborted||(_=e._req=null,e._readyState=k.CLOSING,e.emit("error",t),e.emitClose())})),_.on("response",(i=>{const a=i.headers.location,s=i.statusCode;if(a&&o.followRedirects&&s>=300&&s<400){if(++e._redirects>o.maxRedirects)return void R(e,_,"Maximum redirects exceeded");_.abort();const i=new l(a,t);A(e,i,r,n)}else e.emit("unexpected-response",_,i)||R(e,_,`Unexpected server response: ${i.statusCode}`)})),_.on("upgrade",((t,r,n)=>{if(e.emit("upgrade",t),e.readyState!==k.CONNECTING)return;_=e._req=null;const i=d("sha1").update(m+y).digest("base64");if(t.headers["sec-websocket-accept"]!==i)return void R(e,r,"Invalid Sec-WebSocket-Accept header");const a=t.headers["sec-websocket-protocol"];let s;if(void 0!==a?g.size?g.has(a)||(s="Server sent an invalid subprotocol"):s="Server sent a subprotocol but none was requested":g.size&&(s="Server sent no subprotocol"),s)return void R(e,r,s);a&&(e._protocol=a);const p=t.headers["sec-websocket-extensions"];if(void 0!==p){if(!b)return void R(e,r,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");let t;try{t=x(p)}catch(t){return void R(e,r,"Invalid Sec-WebSocket-Extensions header")}const n=Object.keys(t);if(1!==n.length||n[0]!==c.extensionName)return void R(e,r,"Server indicated an extension that was not requested");try{b.accept(t[c.extensionName])}catch(t){return void R(e,r,"Invalid Sec-WebSocket-Extensions header")}e._extensions[c.extensionName]=b}e.setSocket(r,n,{maxPayload:o.maxPayload,skipUTF8Validation:o.skipUTF8Validation})}))}function j(e){return e.path=e.socketPath,o.connect(e)}function C(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=o.isIP(e.host)?"":e.host),s.connect(e)}function R(e,t,r){e._readyState=k.CLOSING;const n=new Error(r);Error.captureStackTrace(n,R),t.setHeader?(t.abort(),t.socket&&!t.socket.destroyed&&t.socket.destroy(),t.once("abort",e.emitClose.bind(e)),e.emit("error",n)):(t.destroy(n),t.once("error",e.emit.bind(e,"error")),t.once("close",e.emitClose.bind(e)))}function $(e,t,r){if(t){const r=T(t).length;e._socket?e._sender._bufferedBytes+=r:e._bufferedAmount+=r}r&&r(new Error(`WebSocket is not open: readyState ${e.readyState} (${P[e.readyState]})`))}function M(e,t){const r=this[w];r._closeFrameReceived=!0,r._closeMessage=t,r._closeCode=e,void 0!==r._socket[w]&&(r._socket.removeListener("data",W),process.nextTick(z,r._socket),1005===e?r.close():r.close(e,t))}function F(){this[w]._socket.resume()}function V(e){const t=this[w];void 0!==t._socket[w]&&(t._socket.removeListener("data",W),process.nextTick(z,t._socket),t.close(e[_])),t.emit("error",e)}function L(){this[w].emitClose()}function q(e,t){this[w].emit("message",e,t)}function B(e){const t=this[w];t.pong(e,!t._isServer,S),t.emit("ping",e)}function U(e){this[w].emit("pong",e)}function z(e){e.resume()}function Q(){const e=this[w];let t;this.removeListener("close",Q),this.removeListener("data",W),this.removeListener("end",H),e._readyState=k.CLOSING,this._readableState.endEmitted||e._closeFrameReceived||e._receiver._writableState.errorEmitted||null===(t=e._socket.read())||e._receiver.write(t),e._receiver.end(),this[w]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",L),e._receiver.on("finish",L))}function W(e){this[w]._receiver.write(e)||this.pause()}function H(){const e=this[w];e._readyState=k.CLOSING,e._receiver.end(),this.end()}function K(){const e=this[w];this.removeListener("error",K),this.on("error",S),e&&(e._readyState=k.CLOSING,this.destroy())}Object.defineProperty(k,"CONNECTING",{enumerable:!0,value:P.indexOf("CONNECTING")}),Object.defineProperty(k.prototype,"CONNECTING",{enumerable:!0,value:P.indexOf("CONNECTING")}),Object.defineProperty(k,"OPEN",{enumerable:!0,value:P.indexOf("OPEN")}),Object.defineProperty(k.prototype,"OPEN",{enumerable:!0,value:P.indexOf("OPEN")}),Object.defineProperty(k,"CLOSING",{enumerable:!0,value:P.indexOf("CLOSING")}),Object.defineProperty(k.prototype,"CLOSING",{enumerable:!0,value:P.indexOf("CLOSING")}),Object.defineProperty(k,"CLOSED",{enumerable:!0,value:P.indexOf("CLOSED")}),Object.defineProperty(k.prototype,"CLOSED",{enumerable:!0,value:P.indexOf("CLOSED")}),["binaryType","bufferedAmount","extensions","protocol","readyState","url"].forEach((e=>{Object.defineProperty(k.prototype,e,{enumerable:!0})})),["open","error","close","message"].forEach((e=>{Object.defineProperty(k.prototype,`on${e}`,{enumerable:!0,get(){for(const t of this.listeners(e))if(t[g])return t[b];return null},set(t){for(const t of this.listeners(e))if(t[g]){this.removeListener(e,t);break}"function"==typeof t&&this.addEventListener(e,t,{[g]:!0})}})})),k.prototype.addEventListener=O,k.prototype.removeEventListener=E,e.exports=k},6471:e=>{"use strict";e.exports=function e(t,r){if(t===r)return!0;if(t&&r&&"object"==typeof t&&"object"==typeof r){if(t.constructor!==r.constructor)return!1;var n,i,a;if(Array.isArray(t)){if((n=t.length)!=r.length)return!1;for(i=n;0!=i--;)if(!e(t[i],r[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if((n=(a=Object.keys(t)).length)!==Object.keys(r).length)return!1;for(i=n;0!=i--;)if(!Object.prototype.hasOwnProperty.call(r,a[i]))return!1;for(i=n;0!=i--;){var o=a[i];if(!e(t[o],r[o]))return!1}return!0}return t!=t&&r!=r}},1875:e=>{"use strict";e.exports=(e,t=process.argv)=>{const r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return-1!==n&&(-1===i||n<i)}},8784:function(e,t,r){var n;e=r.nmd(e),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",p=32,d=128,u=1/0,l=9007199254740991,c=NaN,f=4294967295,h=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",p],["partialRight",64],["rearg",256]],m="[object Arguments]",v="[object Array]",y="[object Boolean]",g="[object Date]",b="[object Error]",_="[object Function]",w="[object GeneratorFunction]",S="[object Map]",O="[object Number]",E="[object Object]",N="[object Promise]",x="[object RegExp]",T="[object Set]",P="[object String]",I="[object Symbol]",D="[object WeakMap]",k="[object ArrayBuffer]",A="[object DataView]",j="[object Float32Array]",C="[object Float64Array]",R="[object Int8Array]",$="[object Int16Array]",M="[object Int32Array]",F="[object Uint8Array]",V="[object Uint8ClampedArray]",L="[object Uint16Array]",q="[object Uint32Array]",B=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,z=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Q=/&(?:amp|lt|gt|quot|#39);/g,W=/[&<>"']/g,H=RegExp(Q.source),K=RegExp(W.source),G=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,Y=/<%=([\s\S]+?)%>/g,Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,X=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,re=RegExp(te.source),ne=/^\s+/,ie=/\s/,ae=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oe=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,pe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,de=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,le=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ce=/\w*$/,fe=/^[-+]0x[0-9a-f]+$/i,he=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ve=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,ge=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Oe="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Ne="A-Z\\xc0-\\xd6\\xd8-\\xde",xe="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Pe="["+we+"]",Ie="["+Te+"]",De="["+Se+"]",ke="\\d+",Ae="["+Oe+"]",je="["+Ee+"]",Ce="[^"+we+Te+ke+Oe+Ee+Ne+"]",Re="\\ud83c[\\udffb-\\udfff]",$e="[^"+we+"]",Me="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ve="["+Ne+"]",Le="\\u200d",qe="(?:"+je+"|"+Ce+")",Be="(?:"+Ve+"|"+Ce+")",Ue="(?:['’](?:d|ll|m|re|s|t|ve))?",ze="(?:['’](?:D|LL|M|RE|S|T|VE))?",Qe="(?:"+De+"|"+Re+")?",We="["+xe+"]?",He=We+Qe+"(?:"+Le+"(?:"+[$e,Me,Fe].join("|")+")"+We+Qe+")*",Ke="(?:"+[Ae,Me,Fe].join("|")+")"+He,Ge="(?:"+[$e+De+"?",De,Me,Fe,Pe].join("|")+")",Je=RegExp("['’]","g"),Ye=RegExp(De,"g"),Ze=RegExp(Re+"(?="+Re+")|"+Ge+He,"g"),Xe=RegExp([Ve+"?"+je+"+"+Ue+"(?="+[Ie,Ve,"$"].join("|")+")",Be+"+"+ze+"(?="+[Ie,Ve+qe,"$"].join("|")+")",Ve+"?"+qe+"+"+Ue,Ve+"+"+ze,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ke,Ke].join("|"),"g"),et=RegExp("["+Le+we+Se+xe+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],nt=-1,it={};it[j]=it[C]=it[R]=it[$]=it[M]=it[F]=it[V]=it[L]=it[q]=!0,it[m]=it[v]=it[k]=it[y]=it[A]=it[g]=it[b]=it[_]=it[S]=it[O]=it[E]=it[x]=it[T]=it[P]=it[D]=!1;var at={};at[m]=at[v]=at[k]=at[A]=at[y]=at[g]=at[j]=at[C]=at[R]=at[$]=at[M]=at[S]=at[O]=at[E]=at[x]=at[T]=at[P]=at[I]=at[F]=at[V]=at[L]=at[q]=!0,at[b]=at[_]=at[D]=!1;var ot={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},st=parseFloat,pt=parseInt,dt="object"==typeof global&&global&&global.Object===Object&&global,ut="object"==typeof self&&self&&self.Object===Object&&self,lt=dt||ut||Function("return this")(),ct=t&&!t.nodeType&&t,ft=ct&&e&&!e.nodeType&&e,ht=ft&&ft.exports===ct,mt=ht&&dt.process,vt=function(){try{return ft&&ft.require&&ft.require("util").types||mt&&mt.binding&&mt.binding("util")}catch(e){}}(),yt=vt&&vt.isArrayBuffer,gt=vt&&vt.isDate,bt=vt&&vt.isMap,_t=vt&&vt.isRegExp,wt=vt&&vt.isSet,St=vt&&vt.isTypedArray;function Ot(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Et(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(n,o,r(o),e)}return n}function Nt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}function xt(e,t){for(var r=null==e?0:e.length;r--&&!1!==t(e[r],r,e););return e}function Tt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(!t(e[r],r,e))return!1;return!0}function Pt(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function It(e,t){return!(null==e||!e.length)&&Vt(e,t,0)>-1}function Dt(e,t,r){for(var n=-1,i=null==e?0:e.length;++n<i;)if(r(t,e[n]))return!0;return!1}function kt(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}function At(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}function jt(e,t,r,n){var i=-1,a=null==e?0:e.length;for(n&&a&&(r=e[++i]);++i<a;)r=t(r,e[i],i,e);return r}function Ct(e,t,r,n){var i=null==e?0:e.length;for(n&&i&&(r=e[--i]);i--;)r=t(r,e[i],i,e);return r}function Rt(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}var $t=Ut("length");function Mt(e,t,r){var n;return r(e,(function(e,r,i){if(t(e,r,i))return n=r,!1})),n}function Ft(e,t,r,n){for(var i=e.length,a=r+(n?1:-1);n?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Vt(e,t,r){return t==t?function(e,t,r){for(var n=r-1,i=e.length;++n<i;)if(e[n]===t)return n;return-1}(e,t,r):Ft(e,qt,r)}function Lt(e,t,r,n){for(var i=r-1,a=e.length;++i<a;)if(n(e[i],t))return i;return-1}function qt(e){return e!=e}function Bt(e,t){var r=null==e?0:e.length;return r?Wt(e,t)/r:c}function Ut(e){return function(t){return null==t?i:t[e]}}function zt(e){return function(t){return null==e?i:e[t]}}function Qt(e,t,r,n,i){return i(e,(function(e,i,a){r=n?(n=!1,e):t(r,e,i,a)})),r}function Wt(e,t){for(var r,n=-1,a=e.length;++n<a;){var o=t(e[n]);o!==i&&(r=r===i?o:r+o)}return r}function Ht(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}function Kt(e){return e?e.slice(0,cr(e)+1).replace(ne,""):e}function Gt(e){return function(t){return e(t)}}function Jt(e,t){return kt(t,(function(t){return e[t]}))}function Yt(e,t){return e.has(t)}function Zt(e,t){for(var r=-1,n=e.length;++r<n&&Vt(t,e[r],0)>-1;);return r}function Xt(e,t){for(var r=e.length;r--&&Vt(t,e[r],0)>-1;);return r}function er(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var tr=zt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),rr=zt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function nr(e){return"\\"+ot[e]}function ir(e){return et.test(e)}function ar(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function or(e,t){return function(r){return e(t(r))}}function sr(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r];o!==t&&o!==s||(e[r]=s,a[i++]=r)}return a}function pr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}function dr(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=[e,e]})),r}function ur(e){return ir(e)?function(e){for(var t=Ze.lastIndex=0;Ze.test(e);)++t;return t}(e):$t(e)}function lr(e){return ir(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.split("")}(e)}function cr(e){for(var t=e.length;t--&&ie.test(e.charAt(t)););return t}var fr=zt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hr=function e(t){var r,n=(t=null==t?lt:hr.defaults(lt.Object(),t,hr.pick(lt,rt))).Array,ie=t.Date,we=t.Error,Se=t.Function,Oe=t.Math,Ee=t.Object,Ne=t.RegExp,xe=t.String,Te=t.TypeError,Pe=n.prototype,Ie=Se.prototype,De=Ee.prototype,ke=t["__core-js_shared__"],Ae=Ie.toString,je=De.hasOwnProperty,Ce=0,Re=(r=/[^.]+$/.exec(ke&&ke.keys&&ke.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",$e=De.toString,Me=Ae.call(Ee),Fe=lt._,Ve=Ne("^"+Ae.call(je).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Le=ht?t.Buffer:i,qe=t.Symbol,Be=t.Uint8Array,Ue=Le?Le.allocUnsafe:i,ze=or(Ee.getPrototypeOf,Ee),Qe=Ee.create,We=De.propertyIsEnumerable,He=Pe.splice,Ke=qe?qe.isConcatSpreadable:i,Ge=qe?qe.iterator:i,Ze=qe?qe.toStringTag:i,et=function(){try{var e=da(Ee,"defineProperty");return e({},"",{}),e}catch(e){}}(),ot=t.clearTimeout!==lt.clearTimeout&&t.clearTimeout,dt=ie&&ie.now!==lt.Date.now&&ie.now,ut=t.setTimeout!==lt.setTimeout&&t.setTimeout,ct=Oe.ceil,ft=Oe.floor,mt=Ee.getOwnPropertySymbols,vt=Le?Le.isBuffer:i,$t=t.isFinite,zt=Pe.join,mr=or(Ee.keys,Ee),vr=Oe.max,yr=Oe.min,gr=ie.now,br=t.parseInt,_r=Oe.random,wr=Pe.reverse,Sr=da(t,"DataView"),Or=da(t,"Map"),Er=da(t,"Promise"),Nr=da(t,"Set"),xr=da(t,"WeakMap"),Tr=da(Ee,"create"),Pr=xr&&new xr,Ir={},Dr=Fa(Sr),kr=Fa(Or),Ar=Fa(Er),jr=Fa(Nr),Cr=Fa(xr),Rr=qe?qe.prototype:i,$r=Rr?Rr.valueOf:i,Mr=Rr?Rr.toString:i;function Fr(e){if(rs(e)&&!Qo(e)&&!(e instanceof Br)){if(e instanceof qr)return e;if(je.call(e,"__wrapped__"))return Va(e)}return new qr(e)}var Vr=function(){function e(){}return function(t){if(!ts(t))return{};if(Qe)return Qe(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function Lr(){}function qr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Br(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=f,this.__views__=[]}function Ur(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function zr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Qr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function Wr(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Qr;++t<r;)this.add(e[t])}function Hr(e){var t=this.__data__=new zr(e);this.size=t.size}function Kr(e,t){var r=Qo(e),n=!r&&zo(e),i=!r&&!n&&Go(e),a=!r&&!n&&!i&&us(e),o=r||n||i||a,s=o?Ht(e.length,xe):[],p=s.length;for(var d in e)!t&&!je.call(e,d)||o&&("length"==d||i&&("offset"==d||"parent"==d)||a&&("buffer"==d||"byteLength"==d||"byteOffset"==d)||va(d,p))||s.push(d);return s}function Gr(e){var t=e.length;return t?e[Wn(0,t-1)]:i}function Jr(e,t){return ja(Ti(e),on(t,0,e.length))}function Yr(e){return ja(Ti(e))}function Zr(e,t,r){(r!==i&&!qo(e[t],r)||r===i&&!(t in e))&&nn(e,t,r)}function Xr(e,t,r){var n=e[t];je.call(e,t)&&qo(n,r)&&(r!==i||t in e)||nn(e,t,r)}function en(e,t){for(var r=e.length;r--;)if(qo(e[r][0],t))return r;return-1}function tn(e,t,r,n){return ln(e,(function(e,i,a){t(n,e,r(e),a)})),n}function rn(e,t){return e&&Pi(t,As(t),e)}function nn(e,t,r){"__proto__"==t&&et?et(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function an(e,t){for(var r=-1,a=t.length,o=n(a),s=null==e;++r<a;)o[r]=s?i:Ts(e,t[r]);return o}function on(e,t,r){return e==e&&(r!==i&&(e=e<=r?e:r),t!==i&&(e=e>=t?e:t)),e}function sn(e,t,r,n,a,o){var s,p=1&t,d=2&t,u=4&t;if(r&&(s=a?r(e,n,a,o):r(e)),s!==i)return s;if(!ts(e))return e;var l=Qo(e);if(l){if(s=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&je.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(e),!p)return Ti(e,s)}else{var c=ca(e),f=c==_||c==w;if(Go(e))return wi(e,p);if(c==E||c==m||f&&!a){if(s=d||f?{}:ha(e),!p)return d?function(e,t){return Pi(e,la(e),t)}(e,function(e,t){return e&&Pi(t,js(t),e)}(s,e)):function(e,t){return Pi(e,ua(e),t)}(e,rn(s,e))}else{if(!at[c])return a?e:{};s=function(e,t,r){var n,i=e.constructor;switch(t){case k:return Si(e);case y:case g:return new i(+e);case A:return function(e,t){var r=t?Si(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case j:case C:case R:case $:case M:case F:case V:case L:case q:return Oi(e,r);case S:return new i;case O:case P:return new i(e);case x:return function(e){var t=new e.constructor(e.source,ce.exec(e));return t.lastIndex=e.lastIndex,t}(e);case T:return new i;case I:return n=e,$r?Ee($r.call(n)):{}}}(e,c,p)}}o||(o=new Hr);var h=o.get(e);if(h)return h;o.set(e,s),ss(e)?e.forEach((function(n){s.add(sn(n,t,r,n,e,o))})):ns(e)&&e.forEach((function(n,i){s.set(i,sn(n,t,r,i,e,o))}));var v=l?i:(u?d?ra:ta:d?js:As)(e);return Nt(v||e,(function(n,i){v&&(n=e[i=n]),Xr(s,i,sn(n,t,r,i,e,o))})),s}function pn(e,t,r){var n=r.length;if(null==e)return!n;for(e=Ee(e);n--;){var a=r[n],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function dn(e,t,r){if("function"!=typeof e)throw new Te(a);return Ia((function(){e.apply(i,r)}),t)}function un(e,t,r,n){var i=-1,a=It,o=!0,s=e.length,p=[],d=t.length;if(!s)return p;r&&(t=kt(t,Gt(r))),n?(a=Dt,o=!1):t.length>=200&&(a=Yt,o=!1,t=new Wr(t));e:for(;++i<s;){var u=e[i],l=null==r?u:r(u);if(u=n||0!==u?u:0,o&&l==l){for(var c=d;c--;)if(t[c]===l)continue e;p.push(u)}else a(t,l,n)||p.push(u)}return p}Fr.templateSettings={escape:G,evaluate:J,interpolate:Y,variable:"",imports:{_:Fr}},Fr.prototype=Lr.prototype,Fr.prototype.constructor=Fr,qr.prototype=Vr(Lr.prototype),qr.prototype.constructor=qr,Br.prototype=Vr(Lr.prototype),Br.prototype.constructor=Br,Ur.prototype.clear=function(){this.__data__=Tr?Tr(null):{},this.size=0},Ur.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Ur.prototype.get=function(e){var t=this.__data__;if(Tr){var r=t[e];return r===o?i:r}return je.call(t,e)?t[e]:i},Ur.prototype.has=function(e){var t=this.__data__;return Tr?t[e]!==i:je.call(t,e)},Ur.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Tr&&t===i?o:t,this},zr.prototype.clear=function(){this.__data__=[],this.size=0},zr.prototype.delete=function(e){var t=this.__data__,r=en(t,e);return!(r<0||(r==t.length-1?t.pop():He.call(t,r,1),--this.size,0))},zr.prototype.get=function(e){var t=this.__data__,r=en(t,e);return r<0?i:t[r][1]},zr.prototype.has=function(e){return en(this.__data__,e)>-1},zr.prototype.set=function(e,t){var r=this.__data__,n=en(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Qr.prototype.clear=function(){this.size=0,this.__data__={hash:new Ur,map:new(Or||zr),string:new Ur}},Qr.prototype.delete=function(e){var t=sa(this,e).delete(e);return this.size-=t?1:0,t},Qr.prototype.get=function(e){return sa(this,e).get(e)},Qr.prototype.has=function(e){return sa(this,e).has(e)},Qr.prototype.set=function(e,t){var r=sa(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Wr.prototype.add=Wr.prototype.push=function(e){return this.__data__.set(e,o),this},Wr.prototype.has=function(e){return this.__data__.has(e)},Hr.prototype.clear=function(){this.__data__=new zr,this.size=0},Hr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Hr.prototype.get=function(e){return this.__data__.get(e)},Hr.prototype.has=function(e){return this.__data__.has(e)},Hr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof zr){var n=r.__data__;if(!Or||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Qr(n)}return r.set(e,t),this.size=r.size,this};var ln=ki(bn),cn=ki(_n,!0);function fn(e,t){var r=!0;return ln(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function hn(e,t,r){for(var n=-1,a=e.length;++n<a;){var o=e[n],s=t(o);if(null!=s&&(p===i?s==s&&!ds(s):r(s,p)))var p=s,d=o}return d}function mn(e,t){var r=[];return ln(e,(function(e,n,i){t(e,n,i)&&r.push(e)})),r}function vn(e,t,r,n,i){var a=-1,o=e.length;for(r||(r=ma),i||(i=[]);++a<o;){var s=e[a];t>0&&r(s)?t>1?vn(s,t-1,r,n,i):At(i,s):n||(i[i.length]=s)}return i}var yn=Ai(),gn=Ai(!0);function bn(e,t){return e&&yn(e,t,As)}function _n(e,t){return e&&gn(e,t,As)}function wn(e,t){return Pt(t,(function(t){return Zo(e[t])}))}function Sn(e,t){for(var r=0,n=(t=yi(t,e)).length;null!=e&&r<n;)e=e[Ma(t[r++])];return r&&r==n?e:i}function On(e,t,r){var n=t(e);return Qo(e)?n:At(n,r(e))}function En(e){return null==e?e===i?"[object Undefined]":"[object Null]":Ze&&Ze in Ee(e)?function(e){var t=je.call(e,Ze),r=e[Ze];try{e[Ze]=i;var n=!0}catch(e){}var a=$e.call(e);return n&&(t?e[Ze]=r:delete e[Ze]),a}(e):function(e){return $e.call(e)}(e)}function Nn(e,t){return e>t}function xn(e,t){return null!=e&&je.call(e,t)}function Tn(e,t){return null!=e&&t in Ee(e)}function Pn(e,t,r){for(var a=r?Dt:It,o=e[0].length,s=e.length,p=s,d=n(s),u=1/0,l=[];p--;){var c=e[p];p&&t&&(c=kt(c,Gt(t))),u=yr(c.length,u),d[p]=!r&&(t||o>=120&&c.length>=120)?new Wr(p&&c):i}c=e[0];var f=-1,h=d[0];e:for(;++f<o&&l.length<u;){var m=c[f],v=t?t(m):m;if(m=r||0!==m?m:0,!(h?Yt(h,v):a(l,v,r))){for(p=s;--p;){var y=d[p];if(!(y?Yt(y,v):a(e[p],v,r)))continue e}h&&h.push(v),l.push(m)}}return l}function In(e,t,r){var n=null==(e=Na(e,t=yi(t,e)))?e:e[Ma(Ja(t))];return null==n?i:Ot(n,e,r)}function Dn(e){return rs(e)&&En(e)==m}function kn(e,t,r,n,a){return e===t||(null==e||null==t||!rs(e)&&!rs(t)?e!=e&&t!=t:function(e,t,r,n,a,o){var s=Qo(e),p=Qo(t),d=s?v:ca(e),u=p?v:ca(t),l=(d=d==m?E:d)==E,c=(u=u==m?E:u)==E,f=d==u;if(f&&Go(e)){if(!Go(t))return!1;s=!0,l=!1}if(f&&!l)return o||(o=new Hr),s||us(e)?Xi(e,t,r,n,a,o):function(e,t,r,n,i,a,o){switch(r){case A:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case k:return!(e.byteLength!=t.byteLength||!a(new Be(e),new Be(t)));case y:case g:case O:return qo(+e,+t);case b:return e.name==t.name&&e.message==t.message;case x:case P:return e==t+"";case S:var s=ar;case T:var p=1&n;if(s||(s=pr),e.size!=t.size&&!p)return!1;var d=o.get(e);if(d)return d==t;n|=2,o.set(e,t);var u=Xi(s(e),s(t),n,i,a,o);return o.delete(e),u;case I:if($r)return $r.call(e)==$r.call(t)}return!1}(e,t,d,r,n,a,o);if(!(1&r)){var h=l&&je.call(e,"__wrapped__"),_=c&&je.call(t,"__wrapped__");if(h||_){var w=h?e.value():e,N=_?t.value():t;return o||(o=new Hr),a(w,N,r,n,o)}}return!!f&&(o||(o=new Hr),function(e,t,r,n,a,o){var s=1&r,p=ta(e),d=p.length;if(d!=ta(t).length&&!s)return!1;for(var u=d;u--;){var l=p[u];if(!(s?l in t:je.call(t,l)))return!1}var c=o.get(e),f=o.get(t);if(c&&f)return c==t&&f==e;var h=!0;o.set(e,t),o.set(t,e);for(var m=s;++u<d;){var v=e[l=p[u]],y=t[l];if(n)var g=s?n(y,v,l,t,e,o):n(v,y,l,e,t,o);if(!(g===i?v===y||a(v,y,r,n,o):g)){h=!1;break}m||(m="constructor"==l)}if(h&&!m){var b=e.constructor,_=t.constructor;b==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof _&&_ instanceof _||(h=!1)}return o.delete(e),o.delete(t),h}(e,t,r,n,a,o))}(e,t,r,n,kn,a))}function An(e,t,r,n){var a=r.length,o=a,s=!n;if(null==e)return!o;for(e=Ee(e);a--;){var p=r[a];if(s&&p[2]?p[1]!==e[p[0]]:!(p[0]in e))return!1}for(;++a<o;){var d=(p=r[a])[0],u=e[d],l=p[1];if(s&&p[2]){if(u===i&&!(d in e))return!1}else{var c=new Hr;if(n)var f=n(u,l,d,e,t,c);if(!(f===i?kn(l,u,3,n,c):f))return!1}}return!0}function jn(e){return!(!ts(e)||(t=e,Re&&Re in t))&&(Zo(e)?Ve:me).test(Fa(e));var t}function Cn(e){return"function"==typeof e?e:null==e?ip:"object"==typeof e?Qo(e)?Vn(e[0],e[1]):Fn(e):fp(e)}function Rn(e){if(!wa(e))return mr(e);var t=[];for(var r in Ee(e))je.call(e,r)&&"constructor"!=r&&t.push(r);return t}function $n(e,t){return e<t}function Mn(e,t){var r=-1,i=Ho(e)?n(e.length):[];return ln(e,(function(e,n,a){i[++r]=t(e,n,a)})),i}function Fn(e){var t=pa(e);return 1==t.length&&t[0][2]?Oa(t[0][0],t[0][1]):function(r){return r===e||An(r,e,t)}}function Vn(e,t){return ga(e)&&Sa(t)?Oa(Ma(e),t):function(r){var n=Ts(r,e);return n===i&&n===t?Ps(r,e):kn(t,n,3)}}function Ln(e,t,r,n,a){e!==t&&yn(t,(function(o,s){if(a||(a=new Hr),ts(o))!function(e,t,r,n,a,o,s){var p=Ta(e,r),d=Ta(t,r),u=s.get(d);if(u)Zr(e,r,u);else{var l=o?o(p,d,r+"",e,t,s):i,c=l===i;if(c){var f=Qo(d),h=!f&&Go(d),m=!f&&!h&&us(d);l=d,f||h||m?Qo(p)?l=p:Ko(p)?l=Ti(p):h?(c=!1,l=wi(d,!0)):m?(c=!1,l=Oi(d,!0)):l=[]:as(d)||zo(d)?(l=p,zo(p)?l=gs(p):ts(p)&&!Zo(p)||(l=ha(d))):c=!1}c&&(s.set(d,l),a(l,d,n,o,s),s.delete(d)),Zr(e,r,l)}}(e,t,s,r,Ln,n,a);else{var p=n?n(Ta(e,s),o,s+"",e,t,a):i;p===i&&(p=o),Zr(e,s,p)}}),js)}function qn(e,t){var r=e.length;if(r)return va(t+=t<0?r:0,r)?e[t]:i}function Bn(e,t,r){t=t.length?kt(t,(function(e){return Qo(e)?function(t){return Sn(t,1===e.length?e[0]:e)}:e})):[ip];var n=-1;t=kt(t,Gt(oa()));var i=Mn(e,(function(e,r,i){var a=kt(t,(function(t){return t(e)}));return{criteria:a,index:++n,value:e}}));return function(e,t){var n=e.length;for(e.sort((function(e,t){return function(e,t,r){for(var n=-1,i=e.criteria,a=t.criteria,o=i.length,s=r.length;++n<o;){var p=Ei(i[n],a[n]);if(p)return n>=s?p:p*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}));n--;)e[n]=e[n].value;return e}(i)}function Un(e,t,r){for(var n=-1,i=t.length,a={};++n<i;){var o=t[n],s=Sn(e,o);r(s,o)&&Yn(a,yi(o,e),s)}return a}function zn(e,t,r,n){var i=n?Lt:Vt,a=-1,o=t.length,s=e;for(e===t&&(t=Ti(t)),r&&(s=kt(e,Gt(r)));++a<o;)for(var p=0,d=t[a],u=r?r(d):d;(p=i(s,u,p,n))>-1;)s!==e&&He.call(s,p,1),He.call(e,p,1);return e}function Qn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;va(i)?He.call(e,i,1):di(e,i)}}return e}function Wn(e,t){return e+ft(_r()*(t-e+1))}function Hn(e,t){var r="";if(!e||t<1||t>l)return r;do{t%2&&(r+=e),(t=ft(t/2))&&(e+=e)}while(t);return r}function Kn(e,t){return Da(Ea(e,t,ip),e+"")}function Gn(e){return Gr(qs(e))}function Jn(e,t){var r=qs(e);return ja(r,on(t,0,r.length))}function Yn(e,t,r,n){if(!ts(e))return e;for(var a=-1,o=(t=yi(t,e)).length,s=o-1,p=e;null!=p&&++a<o;){var d=Ma(t[a]),u=r;if("__proto__"===d||"constructor"===d||"prototype"===d)return e;if(a!=s){var l=p[d];(u=n?n(l,d,p):i)===i&&(u=ts(l)?l:va(t[a+1])?[]:{})}Xr(p,d,u),p=p[d]}return e}var Zn=Pr?function(e,t){return Pr.set(e,t),e}:ip,Xn=et?function(e,t){return et(e,"toString",{configurable:!0,enumerable:!1,value:tp(t),writable:!0})}:ip;function ei(e){return ja(qs(e))}function ti(e,t,r){var i=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(r=r>a?a:r)<0&&(r+=a),a=t>r?0:r-t>>>0,t>>>=0;for(var o=n(a);++i<a;)o[i]=e[i+t];return o}function ri(e,t){var r;return ln(e,(function(e,n,i){return!(r=t(e,n,i))})),!!r}function ni(e,t,r){var n=0,i=null==e?n:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;n<i;){var a=n+i>>>1,o=e[a];null!==o&&!ds(o)&&(r?o<=t:o<t)?n=a+1:i=a}return i}return ii(e,t,ip,r)}function ii(e,t,r,n){var a=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=r(t))!=t,p=null===t,d=ds(t),u=t===i;a<o;){var l=ft((a+o)/2),c=r(e[l]),f=c!==i,h=null===c,m=c==c,v=ds(c);if(s)var y=n||m;else y=u?m&&(n||f):p?m&&f&&(n||!h):d?m&&f&&!h&&(n||!v):!h&&!v&&(n?c<=t:c<t);y?a=l+1:o=l}return yr(o,4294967294)}function ai(e,t){for(var r=-1,n=e.length,i=0,a=[];++r<n;){var o=e[r],s=t?t(o):o;if(!r||!qo(s,p)){var p=s;a[i++]=0===o?0:o}}return a}function oi(e){return"number"==typeof e?e:ds(e)?c:+e}function si(e){if("string"==typeof e)return e;if(Qo(e))return kt(e,si)+"";if(ds(e))return Mr?Mr.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function pi(e,t,r){var n=-1,i=It,a=e.length,o=!0,s=[],p=s;if(r)o=!1,i=Dt;else if(a>=200){var d=t?null:Hi(e);if(d)return pr(d);o=!1,i=Yt,p=new Wr}else p=t?[]:s;e:for(;++n<a;){var u=e[n],l=t?t(u):u;if(u=r||0!==u?u:0,o&&l==l){for(var c=p.length;c--;)if(p[c]===l)continue e;t&&p.push(l),s.push(u)}else i(p,l,r)||(p!==s&&p.push(l),s.push(u))}return s}function di(e,t){return null==(e=Na(e,t=yi(t,e)))||delete e[Ma(Ja(t))]}function ui(e,t,r,n){return Yn(e,t,r(Sn(e,t)),n)}function li(e,t,r,n){for(var i=e.length,a=n?i:-1;(n?a--:++a<i)&&t(e[a],a,e););return r?ti(e,n?0:a,n?a+1:i):ti(e,n?a+1:0,n?i:a)}function ci(e,t){var r=e;return r instanceof Br&&(r=r.value()),jt(t,(function(e,t){return t.func.apply(t.thisArg,At([e],t.args))}),r)}function fi(e,t,r){var i=e.length;if(i<2)return i?pi(e[0]):[];for(var a=-1,o=n(i);++a<i;)for(var s=e[a],p=-1;++p<i;)p!=a&&(o[a]=un(o[a]||s,e[p],t,r));return pi(vn(o,1),t,r)}function hi(e,t,r){for(var n=-1,a=e.length,o=t.length,s={};++n<a;){var p=n<o?t[n]:i;r(s,e[n],p)}return s}function mi(e){return Ko(e)?e:[]}function vi(e){return"function"==typeof e?e:ip}function yi(e,t){return Qo(e)?e:ga(e,t)?[e]:$a(bs(e))}var gi=Kn;function bi(e,t,r){var n=e.length;return r=r===i?n:r,!t&&r>=n?e:ti(e,t,r)}var _i=ot||function(e){return lt.clearTimeout(e)};function wi(e,t){if(t)return e.slice();var r=e.length,n=Ue?Ue(r):new e.constructor(r);return e.copy(n),n}function Si(e){var t=new e.constructor(e.byteLength);return new Be(t).set(new Be(e)),t}function Oi(e,t){var r=t?Si(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ei(e,t){if(e!==t){var r=e!==i,n=null===e,a=e==e,o=ds(e),s=t!==i,p=null===t,d=t==t,u=ds(t);if(!p&&!u&&!o&&e>t||o&&s&&d&&!p&&!u||n&&s&&d||!r&&d||!a)return 1;if(!n&&!o&&!u&&e<t||u&&r&&a&&!n&&!o||p&&r&&a||!s&&a||!d)return-1}return 0}function Ni(e,t,r,i){for(var a=-1,o=e.length,s=r.length,p=-1,d=t.length,u=vr(o-s,0),l=n(d+u),c=!i;++p<d;)l[p]=t[p];for(;++a<s;)(c||a<o)&&(l[r[a]]=e[a]);for(;u--;)l[p++]=e[a++];return l}function xi(e,t,r,i){for(var a=-1,o=e.length,s=-1,p=r.length,d=-1,u=t.length,l=vr(o-p,0),c=n(l+u),f=!i;++a<l;)c[a]=e[a];for(var h=a;++d<u;)c[h+d]=t[d];for(;++s<p;)(f||a<o)&&(c[h+r[s]]=e[a++]);return c}function Ti(e,t){var r=-1,i=e.length;for(t||(t=n(i));++r<i;)t[r]=e[r];return t}function Pi(e,t,r,n){var a=!r;r||(r={});for(var o=-1,s=t.length;++o<s;){var p=t[o],d=n?n(r[p],e[p],p,r,e):i;d===i&&(d=e[p]),a?nn(r,p,d):Xr(r,p,d)}return r}function Ii(e,t){return function(r,n){var i=Qo(r)?Et:tn,a=t?t():{};return i(r,e,oa(n,2),a)}}function Di(e){return Kn((function(t,r){var n=-1,a=r.length,o=a>1?r[a-1]:i,s=a>2?r[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&ya(r[0],r[1],s)&&(o=a<3?i:o,a=1),t=Ee(t);++n<a;){var p=r[n];p&&e(t,p,n,o)}return t}))}function ki(e,t){return function(r,n){if(null==r)return r;if(!Ho(r))return e(r,n);for(var i=r.length,a=t?i:-1,o=Ee(r);(t?a--:++a<i)&&!1!==n(o[a],a,o););return r}}function Ai(e){return function(t,r,n){for(var i=-1,a=Ee(t),o=n(t),s=o.length;s--;){var p=o[e?s:++i];if(!1===r(a[p],p,a))break}return t}}function ji(e){return function(t){var r=ir(t=bs(t))?lr(t):i,n=r?r[0]:t.charAt(0),a=r?bi(r,1).join(""):t.slice(1);return n[e]()+a}}function Ci(e){return function(t){return jt(Zs(zs(t).replace(Je,"")),e,"")}}function Ri(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Vr(e.prototype),n=e.apply(r,t);return ts(n)?n:r}}function $i(e){return function(t,r,n){var a=Ee(t);if(!Ho(t)){var o=oa(r,3);t=As(t),r=function(e){return o(a[e],e,a)}}var s=e(t,r,n);return s>-1?a[o?t[s]:s]:i}}function Mi(e){return ea((function(t){var r=t.length,n=r,o=qr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new Te(a);if(o&&!p&&"wrapper"==ia(s))var p=new qr([],!0)}for(n=p?n:r;++n<r;){var d=ia(s=t[n]),u="wrapper"==d?na(s):i;p=u&&ba(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?p[ia(u[0])].apply(p,u[3]):1==s.length&&ba(s)?p[d]():p.thru(s)}return function(){var e=arguments,n=e[0];if(p&&1==e.length&&Qo(n))return p.plant(n).value();for(var i=0,a=r?t[i].apply(this,e):n;++i<r;)a=t[i].call(this,a);return a}}))}function Fi(e,t,r,a,o,s,p,u,l,c){var f=t&d,h=1&t,m=2&t,v=24&t,y=512&t,g=m?i:Ri(e);return function i(){for(var d=arguments.length,b=n(d),_=d;_--;)b[_]=arguments[_];if(v)var w=aa(i),S=er(b,w);if(a&&(b=Ni(b,a,o,v)),s&&(b=xi(b,s,p,v)),d-=S,v&&d<c){var O=sr(b,w);return Qi(e,t,Fi,i.placeholder,r,b,O,u,l,c-d)}var E=h?r:this,N=m?E[e]:e;return d=b.length,u?b=xa(b,u):y&&d>1&&b.reverse(),f&&l<d&&(b.length=l),this&&this!==lt&&this instanceof i&&(N=g||Ri(N)),N.apply(E,b)}}function Vi(e,t){return function(r,n){return function(e,t,r,n){return bn(e,(function(e,i,a){t(n,r(e),i,a)})),n}(r,e,t(n),{})}}function Li(e,t){return function(r,n){var a;if(r===i&&n===i)return t;if(r!==i&&(a=r),n!==i){if(a===i)return n;"string"==typeof r||"string"==typeof n?(r=si(r),n=si(n)):(r=oi(r),n=oi(n)),a=e(r,n)}return a}}function qi(e){return ea((function(t){return t=kt(t,Gt(oa())),Kn((function(r){var n=this;return e(t,(function(e){return Ot(e,n,r)}))}))}))}function Bi(e,t){var r=(t=t===i?" ":si(t)).length;if(r<2)return r?Hn(t,e):t;var n=Hn(t,ct(e/ur(t)));return ir(t)?bi(lr(n),0,e).join(""):n.slice(0,e)}function Ui(e){return function(t,r,a){return a&&"number"!=typeof a&&ya(t,r,a)&&(r=a=i),t=hs(t),r===i?(r=t,t=0):r=hs(r),function(e,t,r,i){for(var a=-1,o=vr(ct((t-e)/(r||1)),0),s=n(o);o--;)s[i?o:++a]=e,e+=r;return s}(t,r,a=a===i?t<r?1:-1:hs(a),e)}}function zi(e){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=ys(t),r=ys(r)),e(t,r)}}function Qi(e,t,r,n,a,o,s,d,u,l){var c=8&t;t|=c?p:64,4&(t&=~(c?64:p))||(t&=-4);var f=[e,t,a,c?o:i,c?s:i,c?i:o,c?i:s,d,u,l],h=r.apply(i,f);return ba(e)&&Pa(h,f),h.placeholder=n,ka(h,e,t)}function Wi(e){var t=Oe[e];return function(e,r){if(e=ys(e),(r=null==r?0:yr(ms(r),292))&&$t(e)){var n=(bs(e)+"e").split("e");return+((n=(bs(t(n[0]+"e"+(+n[1]+r)))+"e").split("e"))[0]+"e"+(+n[1]-r))}return t(e)}}var Hi=Nr&&1/pr(new Nr([,-0]))[1]==u?function(e){return new Nr(e)}:dp;function Ki(e){return function(t){var r=ca(t);return r==S?ar(t):r==T?dr(t):function(e,t){return kt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Gi(e,t,r,o,u,l,c,f){var h=2&t;if(!h&&"function"!=typeof e)throw new Te(a);var m=o?o.length:0;if(m||(t&=-97,o=u=i),c=c===i?c:vr(ms(c),0),f=f===i?f:ms(f),m-=u?u.length:0,64&t){var v=o,y=u;o=u=i}var g=h?i:na(e),b=[e,t,r,o,u,v,y,l,c,f];if(g&&function(e,t){var r=e[1],n=t[1],i=r|n,a=i<131,o=n==d&&8==r||n==d&&256==r&&e[7].length<=t[8]||384==n&&t[7].length<=t[8]&&8==r;if(!a&&!o)return e;1&n&&(e[2]=t[2],i|=1&r?0:4);var p=t[3];if(p){var u=e[3];e[3]=u?Ni(u,p,t[4]):p,e[4]=u?sr(e[3],s):t[4]}(p=t[5])&&(u=e[5],e[5]=u?xi(u,p,t[6]):p,e[6]=u?sr(e[5],s):t[6]),(p=t[7])&&(e[7]=p),n&d&&(e[8]=null==e[8]?t[8]:yr(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}(b,g),e=b[0],t=b[1],r=b[2],o=b[3],u=b[4],!(f=b[9]=b[9]===i?h?0:e.length:vr(b[9]-m,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||16==t?function(e,t,r){var a=Ri(e);return function o(){for(var s=arguments.length,p=n(s),d=s,u=aa(o);d--;)p[d]=arguments[d];var l=s<3&&p[0]!==u&&p[s-1]!==u?[]:sr(p,u);return(s-=l.length)<r?Qi(e,t,Fi,o.placeholder,i,p,l,i,i,r-s):Ot(this&&this!==lt&&this instanceof o?a:e,this,p)}}(e,t,f):t!=p&&33!=t||u.length?Fi.apply(i,b):function(e,t,r,i){var a=1&t,o=Ri(e);return function t(){for(var s=-1,p=arguments.length,d=-1,u=i.length,l=n(u+p),c=this&&this!==lt&&this instanceof t?o:e;++d<u;)l[d]=i[d];for(;p--;)l[d++]=arguments[++s];return Ot(c,a?r:this,l)}}(e,t,r,o);else var _=function(e,t,r){var n=1&t,i=Ri(e);return function t(){return(this&&this!==lt&&this instanceof t?i:e).apply(n?r:this,arguments)}}(e,t,r);return ka((g?Zn:Pa)(_,b),e,t)}function Ji(e,t,r,n){return e===i||qo(e,De[r])&&!je.call(n,r)?t:e}function Yi(e,t,r,n,a,o){return ts(e)&&ts(t)&&(o.set(t,e),Ln(e,t,i,Yi,o),o.delete(t)),e}function Zi(e){return as(e)?i:e}function Xi(e,t,r,n,a,o){var s=1&r,p=e.length,d=t.length;if(p!=d&&!(s&&d>p))return!1;var u=o.get(e),l=o.get(t);if(u&&l)return u==t&&l==e;var c=-1,f=!0,h=2&r?new Wr:i;for(o.set(e,t),o.set(t,e);++c<p;){var m=e[c],v=t[c];if(n)var y=s?n(v,m,c,t,e,o):n(m,v,c,e,t,o);if(y!==i){if(y)continue;f=!1;break}if(h){if(!Rt(t,(function(e,t){if(!Yt(h,t)&&(m===e||a(m,e,r,n,o)))return h.push(t)}))){f=!1;break}}else if(m!==v&&!a(m,v,r,n,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function ea(e){return Da(Ea(e,i,Qa),e+"")}function ta(e){return On(e,As,ua)}function ra(e){return On(e,js,la)}var na=Pr?function(e){return Pr.get(e)}:dp;function ia(e){for(var t=e.name+"",r=Ir[t],n=je.call(Ir,t)?r.length:0;n--;){var i=r[n],a=i.func;if(null==a||a==e)return i.name}return t}function aa(e){return(je.call(Fr,"placeholder")?Fr:e).placeholder}function oa(){var e=Fr.iteratee||ap;return e=e===ap?Cn:e,arguments.length?e(arguments[0],arguments[1]):e}function sa(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function pa(e){for(var t=As(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,Sa(i)]}return t}function da(e,t){var r=function(e,t){return null==e?i:e[t]}(e,t);return jn(r)?r:i}var ua=mt?function(e){return null==e?[]:(e=Ee(e),Pt(mt(e),(function(t){return We.call(e,t)})))}:vp,la=mt?function(e){for(var t=[];e;)At(t,ua(e)),e=ze(e);return t}:vp,ca=En;function fa(e,t,r){for(var n=-1,i=(t=yi(t,e)).length,a=!1;++n<i;){var o=Ma(t[n]);if(!(a=null!=e&&r(e,o)))break;e=e[o]}return a||++n!=i?a:!!(i=null==e?0:e.length)&&es(i)&&va(o,i)&&(Qo(e)||zo(e))}function ha(e){return"function"!=typeof e.constructor||wa(e)?{}:Vr(ze(e))}function ma(e){return Qo(e)||zo(e)||!!(Ke&&e&&e[Ke])}function va(e,t){var r=typeof e;return!!(t=null==t?l:t)&&("number"==r||"symbol"!=r&&ye.test(e))&&e>-1&&e%1==0&&e<t}function ya(e,t,r){if(!ts(r))return!1;var n=typeof t;return!!("number"==n?Ho(r)&&va(t,r.length):"string"==n&&t in r)&&qo(r[t],e)}function ga(e,t){if(Qo(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!ds(e))||X.test(e)||!Z.test(e)||null!=t&&e in Ee(t)}function ba(e){var t=ia(e),r=Fr[t];if("function"!=typeof r||!(t in Br.prototype))return!1;if(e===r)return!0;var n=na(r);return!!n&&e===n[0]}(Sr&&ca(new Sr(new ArrayBuffer(1)))!=A||Or&&ca(new Or)!=S||Er&&ca(Er.resolve())!=N||Nr&&ca(new Nr)!=T||xr&&ca(new xr)!=D)&&(ca=function(e){var t=En(e),r=t==E?e.constructor:i,n=r?Fa(r):"";if(n)switch(n){case Dr:return A;case kr:return S;case Ar:return N;case jr:return T;case Cr:return D}return t});var _a=ke?Zo:yp;function wa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||De)}function Sa(e){return e==e&&!ts(e)}function Oa(e,t){return function(r){return null!=r&&r[e]===t&&(t!==i||e in Ee(r))}}function Ea(e,t,r){return t=vr(t===i?e.length-1:t,0),function(){for(var i=arguments,a=-1,o=vr(i.length-t,0),s=n(o);++a<o;)s[a]=i[t+a];a=-1;for(var p=n(t+1);++a<t;)p[a]=i[a];return p[t]=r(s),Ot(e,this,p)}}function Na(e,t){return t.length<2?e:Sn(e,ti(t,0,-1))}function xa(e,t){for(var r=e.length,n=yr(t.length,r),a=Ti(e);n--;){var o=t[n];e[n]=va(o,r)?a[o]:i}return e}function Ta(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Pa=Aa(Zn),Ia=ut||function(e,t){return lt.setTimeout(e,t)},Da=Aa(Xn);function ka(e,t,r){var n=t+"";return Da(e,function(e,t){var r=t.length;if(!r)return e;var n=r-1;return t[n]=(r>1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(ae,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Nt(h,(function(r){var n="_."+r[0];t&r[1]&&!It(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(oe);return t?t[1].split(se):[]}(n),r)))}function Aa(e){var t=0,r=0;return function(){var n=gr(),a=16-(n-r);if(r=n,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function ja(e,t){var r=-1,n=e.length,a=n-1;for(t=t===i?n:t;++r<t;){var o=Wn(r,a),s=e[o];e[o]=e[r],e[r]=s}return e.length=t,e}var Ca,Ra,$a=(Ca=Ro((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,r,n,i){t.push(n?i.replace(ue,"$1"):r||e)})),t}),(function(e){return 500===Ra.size&&Ra.clear(),e})),Ra=Ca.cache,Ca);function Ma(e){if("string"==typeof e||ds(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Fa(e){if(null!=e){try{return Ae.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Va(e){if(e instanceof Br)return e.clone();var t=new qr(e.__wrapped__,e.__chain__);return t.__actions__=Ti(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var La=Kn((function(e,t){return Ko(e)?un(e,vn(t,1,Ko,!0)):[]})),qa=Kn((function(e,t){var r=Ja(t);return Ko(r)&&(r=i),Ko(e)?un(e,vn(t,1,Ko,!0),oa(r,2)):[]})),Ba=Kn((function(e,t){var r=Ja(t);return Ko(r)&&(r=i),Ko(e)?un(e,vn(t,1,Ko,!0),i,r):[]}));function Ua(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:ms(r);return i<0&&(i=vr(n+i,0)),Ft(e,oa(t,3),i)}function za(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n-1;return r!==i&&(a=ms(r),a=r<0?vr(n+a,0):yr(a,n-1)),Ft(e,oa(t,3),a,!0)}function Qa(e){return null!=e&&e.length?vn(e,1):[]}function Wa(e){return e&&e.length?e[0]:i}var Ha=Kn((function(e){var t=kt(e,mi);return t.length&&t[0]===e[0]?Pn(t):[]})),Ka=Kn((function(e){var t=Ja(e),r=kt(e,mi);return t===Ja(r)?t=i:r.pop(),r.length&&r[0]===e[0]?Pn(r,oa(t,2)):[]})),Ga=Kn((function(e){var t=Ja(e),r=kt(e,mi);return(t="function"==typeof t?t:i)&&r.pop(),r.length&&r[0]===e[0]?Pn(r,i,t):[]}));function Ja(e){var t=null==e?0:e.length;return t?e[t-1]:i}var Ya=Kn(Za);function Za(e,t){return e&&e.length&&t&&t.length?zn(e,t):e}var Xa=ea((function(e,t){var r=null==e?0:e.length,n=an(e,t);return Qn(e,kt(t,(function(e){return va(e,r)?+e:e})).sort(Ei)),n}));function eo(e){return null==e?e:wr.call(e)}var to=Kn((function(e){return pi(vn(e,1,Ko,!0))})),ro=Kn((function(e){var t=Ja(e);return Ko(t)&&(t=i),pi(vn(e,1,Ko,!0),oa(t,2))})),no=Kn((function(e){var t=Ja(e);return t="function"==typeof t?t:i,pi(vn(e,1,Ko,!0),i,t)}));function io(e){if(!e||!e.length)return[];var t=0;return e=Pt(e,(function(e){if(Ko(e))return t=vr(e.length,t),!0})),Ht(t,(function(t){return kt(e,Ut(t))}))}function ao(e,t){if(!e||!e.length)return[];var r=io(e);return null==t?r:kt(r,(function(e){return Ot(t,i,e)}))}var oo=Kn((function(e,t){return Ko(e)?un(e,t):[]})),so=Kn((function(e){return fi(Pt(e,Ko))})),po=Kn((function(e){var t=Ja(e);return Ko(t)&&(t=i),fi(Pt(e,Ko),oa(t,2))})),uo=Kn((function(e){var t=Ja(e);return t="function"==typeof t?t:i,fi(Pt(e,Ko),i,t)})),lo=Kn(io),co=Kn((function(e){var t=e.length,r=t>1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,ao(e,r)}));function fo(e){var t=Fr(e);return t.__chain__=!0,t}function ho(e,t){return t(e)}var mo=ea((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,a=function(t){return an(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Br&&va(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:ho,args:[a],thisArg:i}),new qr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)})),vo=Ii((function(e,t,r){je.call(e,r)?++e[r]:nn(e,r,1)})),yo=$i(Ua),go=$i(za);function bo(e,t){return(Qo(e)?Nt:ln)(e,oa(t,3))}function _o(e,t){return(Qo(e)?xt:cn)(e,oa(t,3))}var wo=Ii((function(e,t,r){je.call(e,r)?e[r].push(t):nn(e,r,[t])})),So=Kn((function(e,t,r){var i=-1,a="function"==typeof t,o=Ho(e)?n(e.length):[];return ln(e,(function(e){o[++i]=a?Ot(t,e,r):In(e,t,r)})),o})),Oo=Ii((function(e,t,r){nn(e,r,t)}));function Eo(e,t){return(Qo(e)?kt:Mn)(e,oa(t,3))}var No=Ii((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]})),xo=Kn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&ya(e,t[0],t[1])?t=[]:r>2&&ya(t[0],t[1],t[2])&&(t=[t[0]]),Bn(e,vn(t,1),[])})),To=dt||function(){return lt.Date.now()};function Po(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,Gi(e,d,i,i,i,i,t)}function Io(e,t){var r;if("function"!=typeof t)throw new Te(a);return e=ms(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var Do=Kn((function(e,t,r){var n=1;if(r.length){var i=sr(r,aa(Do));n|=p}return Gi(e,n,t,r,i)})),ko=Kn((function(e,t,r){var n=3;if(r.length){var i=sr(r,aa(ko));n|=p}return Gi(t,n,e,r,i)}));function Ao(e,t,r){var n,o,s,p,d,u,l=0,c=!1,f=!1,h=!0;if("function"!=typeof e)throw new Te(a);function m(t){var r=n,a=o;return n=o=i,l=t,p=e.apply(a,r)}function v(e){return l=e,d=Ia(g,t),c?m(e):p}function y(e){var r=e-u;return u===i||r>=t||r<0||f&&e-l>=s}function g(){var e=To();if(y(e))return b(e);d=Ia(g,function(e){var r=t-(e-u);return f?yr(r,s-(e-l)):r}(e))}function b(e){return d=i,h&&n?m(e):(n=o=i,p)}function _(){var e=To(),r=y(e);if(n=arguments,o=this,u=e,r){if(d===i)return v(u);if(f)return _i(d),d=Ia(g,t),m(u)}return d===i&&(d=Ia(g,t)),p}return t=ys(t)||0,ts(r)&&(c=!!r.leading,s=(f="maxWait"in r)?vr(ys(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),_.cancel=function(){d!==i&&_i(d),l=0,n=u=o=d=i},_.flush=function(){return d===i?p:b(To())},_}var jo=Kn((function(e,t){return dn(e,1,t)})),Co=Kn((function(e,t,r){return dn(e,ys(t)||0,r)}));function Ro(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(a);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Ro.Cache||Qr),r}function $o(e){if("function"!=typeof e)throw new Te(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ro.Cache=Qr;var Mo=gi((function(e,t){var r=(t=1==t.length&&Qo(t[0])?kt(t[0],Gt(oa())):kt(vn(t,1),Gt(oa()))).length;return Kn((function(n){for(var i=-1,a=yr(n.length,r);++i<a;)n[i]=t[i].call(this,n[i]);return Ot(e,this,n)}))})),Fo=Kn((function(e,t){var r=sr(t,aa(Fo));return Gi(e,p,i,t,r)})),Vo=Kn((function(e,t){var r=sr(t,aa(Vo));return Gi(e,64,i,t,r)})),Lo=ea((function(e,t){return Gi(e,256,i,i,i,t)}));function qo(e,t){return e===t||e!=e&&t!=t}var Bo=zi(Nn),Uo=zi((function(e,t){return e>=t})),zo=Dn(function(){return arguments}())?Dn:function(e){return rs(e)&&je.call(e,"callee")&&!We.call(e,"callee")},Qo=n.isArray,Wo=yt?Gt(yt):function(e){return rs(e)&&En(e)==k};function Ho(e){return null!=e&&es(e.length)&&!Zo(e)}function Ko(e){return rs(e)&&Ho(e)}var Go=vt||yp,Jo=gt?Gt(gt):function(e){return rs(e)&&En(e)==g};function Yo(e){if(!rs(e))return!1;var t=En(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Zo(e){if(!ts(e))return!1;var t=En(e);return t==_||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Xo(e){return"number"==typeof e&&e==ms(e)}function es(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=l}function ts(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}var ns=bt?Gt(bt):function(e){return rs(e)&&ca(e)==S};function is(e){return"number"==typeof e||rs(e)&&En(e)==O}function as(e){if(!rs(e)||En(e)!=E)return!1;var t=ze(e);if(null===t)return!0;var r=je.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ae.call(r)==Me}var os=_t?Gt(_t):function(e){return rs(e)&&En(e)==x},ss=wt?Gt(wt):function(e){return rs(e)&&ca(e)==T};function ps(e){return"string"==typeof e||!Qo(e)&&rs(e)&&En(e)==P}function ds(e){return"symbol"==typeof e||rs(e)&&En(e)==I}var us=St?Gt(St):function(e){return rs(e)&&es(e.length)&&!!it[En(e)]},ls=zi($n),cs=zi((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(Ho(e))return ps(e)?lr(e):Ti(e);if(Ge&&e[Ge])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Ge]());var t=ca(e);return(t==S?ar:t==T?pr:qs)(e)}function hs(e){return e?(e=ys(e))===u||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),r=t%1;return t==t?r?t-r:t:0}function vs(e){return e?on(ms(e),0,f):0}function ys(e){if("number"==typeof e)return e;if(ds(e))return c;if(ts(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ts(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Kt(e);var r=he.test(e);return r||ve.test(e)?pt(e.slice(2),r?2:8):fe.test(e)?c:+e}function gs(e){return Pi(e,js(e))}function bs(e){return null==e?"":si(e)}var _s=Di((function(e,t){if(wa(t)||Ho(t))Pi(t,As(t),e);else for(var r in t)je.call(t,r)&&Xr(e,r,t[r])})),ws=Di((function(e,t){Pi(t,js(t),e)})),Ss=Di((function(e,t,r,n){Pi(t,js(t),e,n)})),Os=Di((function(e,t,r,n){Pi(t,As(t),e,n)})),Es=ea(an),Ns=Kn((function(e,t){e=Ee(e);var r=-1,n=t.length,a=n>2?t[2]:i;for(a&&ya(t[0],t[1],a)&&(n=1);++r<n;)for(var o=t[r],s=js(o),p=-1,d=s.length;++p<d;){var u=s[p],l=e[u];(l===i||qo(l,De[u])&&!je.call(e,u))&&(e[u]=o[u])}return e})),xs=Kn((function(e){return e.push(i,Yi),Ot(Rs,i,e)}));function Ts(e,t,r){var n=null==e?i:Sn(e,t);return n===i?r:n}function Ps(e,t){return null!=e&&fa(e,t,Tn)}var Is=Vi((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),e[t]=r}),tp(ip)),Ds=Vi((function(e,t,r){null!=t&&"function"!=typeof t.toString&&(t=$e.call(t)),je.call(e,t)?e[t].push(r):e[t]=[r]}),oa),ks=Kn(In);function As(e){return Ho(e)?Kr(e):Rn(e)}function js(e){return Ho(e)?Kr(e,!0):function(e){if(!ts(e))return function(e){var t=[];if(null!=e)for(var r in Ee(e))t.push(r);return t}(e);var t=wa(e),r=[];for(var n in e)("constructor"!=n||!t&&je.call(e,n))&&r.push(n);return r}(e)}var Cs=Di((function(e,t,r){Ln(e,t,r)})),Rs=Di((function(e,t,r,n){Ln(e,t,r,n)})),$s=ea((function(e,t){var r={};if(null==e)return r;var n=!1;t=kt(t,(function(t){return t=yi(t,e),n||(n=t.length>1),t})),Pi(e,ra(e),r),n&&(r=sn(r,7,Zi));for(var i=t.length;i--;)di(r,t[i]);return r})),Ms=ea((function(e,t){return null==e?{}:function(e,t){return Un(e,t,(function(t,r){return Ps(e,r)}))}(e,t)}));function Fs(e,t){if(null==e)return{};var r=kt(ra(e),(function(e){return[e]}));return t=oa(t),Un(e,r,(function(e,r){return t(e,r[0])}))}var Vs=Ki(As),Ls=Ki(js);function qs(e){return null==e?[]:Jt(e,As(e))}var Bs=Ci((function(e,t,r){return t=t.toLowerCase(),e+(r?Us(t):t)}));function Us(e){return Ys(bs(e).toLowerCase())}function zs(e){return(e=bs(e))&&e.replace(ge,tr).replace(Ye,"")}var Qs=Ci((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ws=Ci((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Hs=ji("toLowerCase"),Ks=Ci((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()})),Gs=Ci((function(e,t,r){return e+(r?" ":"")+Ys(t)})),Js=Ci((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Ys=ji("toUpperCase");function Zs(e,t,r){return e=bs(e),(t=r?i:t)===i?function(e){return tt.test(e)}(e)?function(e){return e.match(Xe)||[]}(e):function(e){return e.match(pe)||[]}(e):e.match(t)||[]}var Xs=Kn((function(e,t){try{return Ot(e,i,t)}catch(e){return Yo(e)?e:new we(e)}})),ep=ea((function(e,t){return Nt(t,(function(t){t=Ma(t),nn(e,t,Do(e[t],e))})),e}));function tp(e){return function(){return e}}var rp=Mi(),np=Mi(!0);function ip(e){return e}function ap(e){return Cn("function"==typeof e?e:sn(e,1))}var op=Kn((function(e,t){return function(r){return In(r,e,t)}})),sp=Kn((function(e,t){return function(r){return In(e,r,t)}}));function pp(e,t,r){var n=As(t),i=wn(t,n);null!=r||ts(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=wn(t,As(t)));var a=!(ts(r)&&"chain"in r&&!r.chain),o=Zo(e);return Nt(i,(function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__),i=r.__actions__=Ti(this.__actions__);return i.push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,At([this.value()],arguments))})})),e}function dp(){}var up=qi(kt),lp=qi(Tt),cp=qi(Rt);function fp(e){return ga(e)?Ut(Ma(e)):function(e){return function(t){return Sn(t,e)}}(e)}var hp=Ui(),mp=Ui(!0);function vp(){return[]}function yp(){return!1}var gp,bp=Li((function(e,t){return e+t}),0),_p=Wi("ceil"),wp=Li((function(e,t){return e/t}),1),Sp=Wi("floor"),Op=Li((function(e,t){return e*t}),1),Ep=Wi("round"),Np=Li((function(e,t){return e-t}),0);return Fr.after=function(e,t){if("function"!=typeof t)throw new Te(a);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Fr.ary=Po,Fr.assign=_s,Fr.assignIn=ws,Fr.assignInWith=Ss,Fr.assignWith=Os,Fr.at=Es,Fr.before=Io,Fr.bind=Do,Fr.bindAll=ep,Fr.bindKey=ko,Fr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Qo(e)?e:[e]},Fr.chain=fo,Fr.chunk=function(e,t,r){t=(r?ya(e,t,r):t===i)?1:vr(ms(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,p=n(ct(a/t));o<a;)p[s++]=ti(e,o,o+=t);return p},Fr.compact=function(e){for(var t=-1,r=null==e?0:e.length,n=0,i=[];++t<r;){var a=e[t];a&&(i[n++]=a)}return i},Fr.concat=function(){var e=arguments.length;if(!e)return[];for(var t=n(e-1),r=arguments[0],i=e;i--;)t[i-1]=arguments[i];return At(Qo(r)?Ti(r):[r],vn(t,1))},Fr.cond=function(e){var t=null==e?0:e.length,r=oa();return e=t?kt(e,(function(e){if("function"!=typeof e[1])throw new Te(a);return[r(e[0]),e[1]]})):[],Kn((function(r){for(var n=-1;++n<t;){var i=e[n];if(Ot(i[0],this,r))return Ot(i[1],this,r)}}))},Fr.conforms=function(e){return function(e){var t=As(e);return function(r){return pn(r,e,t)}}(sn(e,1))},Fr.constant=tp,Fr.countBy=vo,Fr.create=function(e,t){var r=Vr(e);return null==t?r:rn(r,t)},Fr.curry=function e(t,r,n){var a=Gi(t,8,i,i,i,i,i,r=n?i:r);return a.placeholder=e.placeholder,a},Fr.curryRight=function e(t,r,n){var a=Gi(t,16,i,i,i,i,i,r=n?i:r);return a.placeholder=e.placeholder,a},Fr.debounce=Ao,Fr.defaults=Ns,Fr.defaultsDeep=xs,Fr.defer=jo,Fr.delay=Co,Fr.difference=La,Fr.differenceBy=qa,Fr.differenceWith=Ba,Fr.drop=function(e,t,r){var n=null==e?0:e.length;return n?ti(e,(t=r||t===i?1:ms(t))<0?0:t,n):[]},Fr.dropRight=function(e,t,r){var n=null==e?0:e.length;return n?ti(e,0,(t=n-(t=r||t===i?1:ms(t)))<0?0:t):[]},Fr.dropRightWhile=function(e,t){return e&&e.length?li(e,oa(t,3),!0,!0):[]},Fr.dropWhile=function(e,t){return e&&e.length?li(e,oa(t,3),!0):[]},Fr.fill=function(e,t,r,n){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&ya(e,t,r)&&(r=0,n=a),function(e,t,r,n){var a=e.length;for((r=ms(r))<0&&(r=-r>a?0:a+r),(n=n===i||n>a?a:ms(n))<0&&(n+=a),n=r>n?0:vs(n);r<n;)e[r++]=t;return e}(e,t,r,n)):[]},Fr.filter=function(e,t){return(Qo(e)?Pt:mn)(e,oa(t,3))},Fr.flatMap=function(e,t){return vn(Eo(e,t),1)},Fr.flatMapDeep=function(e,t){return vn(Eo(e,t),u)},Fr.flatMapDepth=function(e,t,r){return r=r===i?1:ms(r),vn(Eo(e,t),r)},Fr.flatten=Qa,Fr.flattenDeep=function(e){return null!=e&&e.length?vn(e,u):[]},Fr.flattenDepth=function(e,t){return null!=e&&e.length?vn(e,t=t===i?1:ms(t)):[]},Fr.flip=function(e){return Gi(e,512)},Fr.flow=rp,Fr.flowRight=np,Fr.fromPairs=function(e){for(var t=-1,r=null==e?0:e.length,n={};++t<r;){var i=e[t];n[i[0]]=i[1]}return n},Fr.functions=function(e){return null==e?[]:wn(e,As(e))},Fr.functionsIn=function(e){return null==e?[]:wn(e,js(e))},Fr.groupBy=wo,Fr.initial=function(e){return null!=e&&e.length?ti(e,0,-1):[]},Fr.intersection=Ha,Fr.intersectionBy=Ka,Fr.intersectionWith=Ga,Fr.invert=Is,Fr.invertBy=Ds,Fr.invokeMap=So,Fr.iteratee=ap,Fr.keyBy=Oo,Fr.keys=As,Fr.keysIn=js,Fr.map=Eo,Fr.mapKeys=function(e,t){var r={};return t=oa(t,3),bn(e,(function(e,n,i){nn(r,t(e,n,i),e)})),r},Fr.mapValues=function(e,t){var r={};return t=oa(t,3),bn(e,(function(e,n,i){nn(r,n,t(e,n,i))})),r},Fr.matches=function(e){return Fn(sn(e,1))},Fr.matchesProperty=function(e,t){return Vn(e,sn(t,1))},Fr.memoize=Ro,Fr.merge=Cs,Fr.mergeWith=Rs,Fr.method=op,Fr.methodOf=sp,Fr.mixin=pp,Fr.negate=$o,Fr.nthArg=function(e){return e=ms(e),Kn((function(t){return qn(t,e)}))},Fr.omit=$s,Fr.omitBy=function(e,t){return Fs(e,$o(oa(t)))},Fr.once=function(e){return Io(2,e)},Fr.orderBy=function(e,t,r,n){return null==e?[]:(Qo(t)||(t=null==t?[]:[t]),Qo(r=n?i:r)||(r=null==r?[]:[r]),Bn(e,t,r))},Fr.over=up,Fr.overArgs=Mo,Fr.overEvery=lp,Fr.overSome=cp,Fr.partial=Fo,Fr.partialRight=Vo,Fr.partition=No,Fr.pick=Ms,Fr.pickBy=Fs,Fr.property=fp,Fr.propertyOf=function(e){return function(t){return null==e?i:Sn(e,t)}},Fr.pull=Ya,Fr.pullAll=Za,Fr.pullAllBy=function(e,t,r){return e&&e.length&&t&&t.length?zn(e,t,oa(r,2)):e},Fr.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?zn(e,t,i,r):e},Fr.pullAt=Xa,Fr.range=hp,Fr.rangeRight=mp,Fr.rearg=Lo,Fr.reject=function(e,t){return(Qo(e)?Pt:mn)(e,$o(oa(t,3)))},Fr.remove=function(e,t){var r=[];if(!e||!e.length)return r;var n=-1,i=[],a=e.length;for(t=oa(t,3);++n<a;){var o=e[n];t(o,n,e)&&(r.push(o),i.push(n))}return Qn(e,i),r},Fr.rest=function(e,t){if("function"!=typeof e)throw new Te(a);return Kn(e,t=t===i?t:ms(t))},Fr.reverse=eo,Fr.sampleSize=function(e,t,r){return t=(r?ya(e,t,r):t===i)?1:ms(t),(Qo(e)?Jr:Jn)(e,t)},Fr.set=function(e,t,r){return null==e?e:Yn(e,t,r)},Fr.setWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:Yn(e,t,r,n)},Fr.shuffle=function(e){return(Qo(e)?Yr:ei)(e)},Fr.slice=function(e,t,r){var n=null==e?0:e.length;return n?(r&&"number"!=typeof r&&ya(e,t,r)?(t=0,r=n):(t=null==t?0:ms(t),r=r===i?n:ms(r)),ti(e,t,r)):[]},Fr.sortBy=xo,Fr.sortedUniq=function(e){return e&&e.length?ai(e):[]},Fr.sortedUniqBy=function(e,t){return e&&e.length?ai(e,oa(t,2)):[]},Fr.split=function(e,t,r){return r&&"number"!=typeof r&&ya(e,t,r)&&(t=r=i),(r=r===i?f:r>>>0)?(e=bs(e))&&("string"==typeof t||null!=t&&!os(t))&&!(t=si(t))&&ir(e)?bi(lr(e),0,r):e.split(t,r):[]},Fr.spread=function(e,t){if("function"!=typeof e)throw new Te(a);return t=null==t?0:vr(ms(t),0),Kn((function(r){var n=r[t],i=bi(r,0,t);return n&&At(i,n),Ot(e,this,i)}))},Fr.tail=function(e){var t=null==e?0:e.length;return t?ti(e,1,t):[]},Fr.take=function(e,t,r){return e&&e.length?ti(e,0,(t=r||t===i?1:ms(t))<0?0:t):[]},Fr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ti(e,(t=n-(t=r||t===i?1:ms(t)))<0?0:t,n):[]},Fr.takeRightWhile=function(e,t){return e&&e.length?li(e,oa(t,3),!1,!0):[]},Fr.takeWhile=function(e,t){return e&&e.length?li(e,oa(t,3)):[]},Fr.tap=function(e,t){return t(e),e},Fr.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Te(a);return ts(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Ao(e,t,{leading:n,maxWait:t,trailing:i})},Fr.thru=ho,Fr.toArray=fs,Fr.toPairs=Vs,Fr.toPairsIn=Ls,Fr.toPath=function(e){return Qo(e)?kt(e,Ma):ds(e)?[e]:Ti($a(bs(e)))},Fr.toPlainObject=gs,Fr.transform=function(e,t,r){var n=Qo(e),i=n||Go(e)||us(e);if(t=oa(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:ts(e)&&Zo(a)?Vr(ze(e)):{}}return(i?Nt:bn)(e,(function(e,n,i){return t(r,e,n,i)})),r},Fr.unary=function(e){return Po(e,1)},Fr.union=to,Fr.unionBy=ro,Fr.unionWith=no,Fr.uniq=function(e){return e&&e.length?pi(e):[]},Fr.uniqBy=function(e,t){return e&&e.length?pi(e,oa(t,2)):[]},Fr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?pi(e,i,t):[]},Fr.unset=function(e,t){return null==e||di(e,t)},Fr.unzip=io,Fr.unzipWith=ao,Fr.update=function(e,t,r){return null==e?e:ui(e,t,vi(r))},Fr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:ui(e,t,vi(r),n)},Fr.values=qs,Fr.valuesIn=function(e){return null==e?[]:Jt(e,js(e))},Fr.without=oo,Fr.words=Zs,Fr.wrap=function(e,t){return Fo(vi(t),e)},Fr.xor=so,Fr.xorBy=po,Fr.xorWith=uo,Fr.zip=lo,Fr.zipObject=function(e,t){return hi(e||[],t||[],Xr)},Fr.zipObjectDeep=function(e,t){return hi(e||[],t||[],Yn)},Fr.zipWith=co,Fr.entries=Vs,Fr.entriesIn=Ls,Fr.extend=ws,Fr.extendWith=Ss,pp(Fr,Fr),Fr.add=bp,Fr.attempt=Xs,Fr.camelCase=Bs,Fr.capitalize=Us,Fr.ceil=_p,Fr.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=ys(r))==r?r:0),t!==i&&(t=(t=ys(t))==t?t:0),on(ys(e),t,r)},Fr.clone=function(e){return sn(e,4)},Fr.cloneDeep=function(e){return sn(e,5)},Fr.cloneDeepWith=function(e,t){return sn(e,5,t="function"==typeof t?t:i)},Fr.cloneWith=function(e,t){return sn(e,4,t="function"==typeof t?t:i)},Fr.conformsTo=function(e,t){return null==t||pn(e,t,As(t))},Fr.deburr=zs,Fr.defaultTo=function(e,t){return null==e||e!=e?t:e},Fr.divide=wp,Fr.endsWith=function(e,t,r){e=bs(e),t=si(t);var n=e.length,a=r=r===i?n:on(ms(r),0,n);return(r-=t.length)>=0&&e.slice(r,a)==t},Fr.eq=qo,Fr.escape=function(e){return(e=bs(e))&&K.test(e)?e.replace(W,rr):e},Fr.escapeRegExp=function(e){return(e=bs(e))&&re.test(e)?e.replace(te,"\\$&"):e},Fr.every=function(e,t,r){var n=Qo(e)?Tt:fn;return r&&ya(e,t,r)&&(t=i),n(e,oa(t,3))},Fr.find=yo,Fr.findIndex=Ua,Fr.findKey=function(e,t){return Mt(e,oa(t,3),bn)},Fr.findLast=go,Fr.findLastIndex=za,Fr.findLastKey=function(e,t){return Mt(e,oa(t,3),_n)},Fr.floor=Sp,Fr.forEach=bo,Fr.forEachRight=_o,Fr.forIn=function(e,t){return null==e?e:yn(e,oa(t,3),js)},Fr.forInRight=function(e,t){return null==e?e:gn(e,oa(t,3),js)},Fr.forOwn=function(e,t){return e&&bn(e,oa(t,3))},Fr.forOwnRight=function(e,t){return e&&_n(e,oa(t,3))},Fr.get=Ts,Fr.gt=Bo,Fr.gte=Uo,Fr.has=function(e,t){return null!=e&&fa(e,t,xn)},Fr.hasIn=Ps,Fr.head=Wa,Fr.identity=ip,Fr.includes=function(e,t,r,n){e=Ho(e)?e:qs(e),r=r&&!n?ms(r):0;var i=e.length;return r<0&&(r=vr(i+r,0)),ps(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Vt(e,t,r)>-1},Fr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:ms(r);return i<0&&(i=vr(n+i,0)),Vt(e,t,i)},Fr.inRange=function(e,t,r){return t=hs(t),r===i?(r=t,t=0):r=hs(r),function(e,t,r){return e>=yr(t,r)&&e<vr(t,r)}(e=ys(e),t,r)},Fr.invoke=ks,Fr.isArguments=zo,Fr.isArray=Qo,Fr.isArrayBuffer=Wo,Fr.isArrayLike=Ho,Fr.isArrayLikeObject=Ko,Fr.isBoolean=function(e){return!0===e||!1===e||rs(e)&&En(e)==y},Fr.isBuffer=Go,Fr.isDate=Jo,Fr.isElement=function(e){return rs(e)&&1===e.nodeType&&!as(e)},Fr.isEmpty=function(e){if(null==e)return!0;if(Ho(e)&&(Qo(e)||"string"==typeof e||"function"==typeof e.splice||Go(e)||us(e)||zo(e)))return!e.length;var t=ca(e);if(t==S||t==T)return!e.size;if(wa(e))return!Rn(e).length;for(var r in e)if(je.call(e,r))return!1;return!0},Fr.isEqual=function(e,t){return kn(e,t)},Fr.isEqualWith=function(e,t,r){var n=(r="function"==typeof r?r:i)?r(e,t):i;return n===i?kn(e,t,i,r):!!n},Fr.isError=Yo,Fr.isFinite=function(e){return"number"==typeof e&&$t(e)},Fr.isFunction=Zo,Fr.isInteger=Xo,Fr.isLength=es,Fr.isMap=ns,Fr.isMatch=function(e,t){return e===t||An(e,t,pa(t))},Fr.isMatchWith=function(e,t,r){return r="function"==typeof r?r:i,An(e,t,pa(t),r)},Fr.isNaN=function(e){return is(e)&&e!=+e},Fr.isNative=function(e){if(_a(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jn(e)},Fr.isNil=function(e){return null==e},Fr.isNull=function(e){return null===e},Fr.isNumber=is,Fr.isObject=ts,Fr.isObjectLike=rs,Fr.isPlainObject=as,Fr.isRegExp=os,Fr.isSafeInteger=function(e){return Xo(e)&&e>=-9007199254740991&&e<=l},Fr.isSet=ss,Fr.isString=ps,Fr.isSymbol=ds,Fr.isTypedArray=us,Fr.isUndefined=function(e){return e===i},Fr.isWeakMap=function(e){return rs(e)&&ca(e)==D},Fr.isWeakSet=function(e){return rs(e)&&"[object WeakSet]"==En(e)},Fr.join=function(e,t){return null==e?"":zt.call(e,t)},Fr.kebabCase=Qs,Fr.last=Ja,Fr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n;return r!==i&&(a=(a=ms(r))<0?vr(n+a,0):yr(a,n-1)),t==t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):Ft(e,qt,a,!0)},Fr.lowerCase=Ws,Fr.lowerFirst=Hs,Fr.lt=ls,Fr.lte=cs,Fr.max=function(e){return e&&e.length?hn(e,ip,Nn):i},Fr.maxBy=function(e,t){return e&&e.length?hn(e,oa(t,2),Nn):i},Fr.mean=function(e){return Bt(e,ip)},Fr.meanBy=function(e,t){return Bt(e,oa(t,2))},Fr.min=function(e){return e&&e.length?hn(e,ip,$n):i},Fr.minBy=function(e,t){return e&&e.length?hn(e,oa(t,2),$n):i},Fr.stubArray=vp,Fr.stubFalse=yp,Fr.stubObject=function(){return{}},Fr.stubString=function(){return""},Fr.stubTrue=function(){return!0},Fr.multiply=Op,Fr.nth=function(e,t){return e&&e.length?qn(e,ms(t)):i},Fr.noConflict=function(){return lt._===this&&(lt._=Fe),this},Fr.noop=dp,Fr.now=To,Fr.pad=function(e,t,r){e=bs(e);var n=(t=ms(t))?ur(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Bi(ft(i),r)+e+Bi(ct(i),r)},Fr.padEnd=function(e,t,r){e=bs(e);var n=(t=ms(t))?ur(e):0;return t&&n<t?e+Bi(t-n,r):e},Fr.padStart=function(e,t,r){e=bs(e);var n=(t=ms(t))?ur(e):0;return t&&n<t?Bi(t-n,r)+e:e},Fr.parseInt=function(e,t,r){return r||null==t?t=0:t&&(t=+t),br(bs(e).replace(ne,""),t||0)},Fr.random=function(e,t,r){if(r&&"boolean"!=typeof r&&ya(e,t,r)&&(t=r=i),r===i&&("boolean"==typeof t?(r=t,t=i):"boolean"==typeof e&&(r=e,e=i)),e===i&&t===i?(e=0,t=1):(e=hs(e),t===i?(t=e,e=0):t=hs(t)),e>t){var n=e;e=t,t=n}if(r||e%1||t%1){var a=_r();return yr(e+a*(t-e+st("1e-"+((a+"").length-1))),t)}return Wn(e,t)},Fr.reduce=function(e,t,r){var n=Qo(e)?jt:Qt,i=arguments.length<3;return n(e,oa(t,4),r,i,ln)},Fr.reduceRight=function(e,t,r){var n=Qo(e)?Ct:Qt,i=arguments.length<3;return n(e,oa(t,4),r,i,cn)},Fr.repeat=function(e,t,r){return t=(r?ya(e,t,r):t===i)?1:ms(t),Hn(bs(e),t)},Fr.replace=function(){var e=arguments,t=bs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Fr.result=function(e,t,r){var n=-1,a=(t=yi(t,e)).length;for(a||(a=1,e=i);++n<a;){var o=null==e?i:e[Ma(t[n])];o===i&&(n=a,o=r),e=Zo(o)?o.call(e):o}return e},Fr.round=Ep,Fr.runInContext=e,Fr.sample=function(e){return(Qo(e)?Gr:Gn)(e)},Fr.size=function(e){if(null==e)return 0;if(Ho(e))return ps(e)?ur(e):e.length;var t=ca(e);return t==S||t==T?e.size:Rn(e).length},Fr.snakeCase=Ks,Fr.some=function(e,t,r){var n=Qo(e)?Rt:ri;return r&&ya(e,t,r)&&(t=i),n(e,oa(t,3))},Fr.sortedIndex=function(e,t){return ni(e,t)},Fr.sortedIndexBy=function(e,t,r){return ii(e,t,oa(r,2))},Fr.sortedIndexOf=function(e,t){var r=null==e?0:e.length;if(r){var n=ni(e,t);if(n<r&&qo(e[n],t))return n}return-1},Fr.sortedLastIndex=function(e,t){return ni(e,t,!0)},Fr.sortedLastIndexBy=function(e,t,r){return ii(e,t,oa(r,2),!0)},Fr.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var r=ni(e,t,!0)-1;if(qo(e[r],t))return r}return-1},Fr.startCase=Gs,Fr.startsWith=function(e,t,r){return e=bs(e),r=null==r?0:on(ms(r),0,e.length),t=si(t),e.slice(r,r+t.length)==t},Fr.subtract=Np,Fr.sum=function(e){return e&&e.length?Wt(e,ip):0},Fr.sumBy=function(e,t){return e&&e.length?Wt(e,oa(t,2)):0},Fr.template=function(e,t,r){var n=Fr.templateSettings;r&&ya(e,t,r)&&(t=i),e=bs(e),t=Ss({},t,n,Ji);var a,o,s=Ss({},t.imports,n.imports,Ji),p=As(s),d=Jt(s,p),u=0,l=t.interpolate||be,c="__p += '",f=Ne((t.escape||be).source+"|"+l.source+"|"+(l===Y?le:be).source+"|"+(t.evaluate||be).source+"|$","g"),h="//# sourceURL="+(je.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++nt+"]")+"\n";e.replace(f,(function(t,r,n,i,s,p){return n||(n=i),c+=e.slice(u,p).replace(_e,nr),r&&(a=!0,c+="' +\n__e("+r+") +\n'"),s&&(o=!0,c+="';\n"+s+";\n__p += '"),n&&(c+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),u=p+t.length,t})),c+="';\n";var m=je.call(t,"variable")&&t.variable;if(m){if(de.test(m))throw new we("Invalid `variable` option passed into `_.template`")}else c="with (obj) {\n"+c+"\n}\n";c=(o?c.replace(B,""):c).replace(U,"$1").replace(z,"$1;"),c="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+c+"return __p\n}";var v=Xs((function(){return Se(p,h+"return "+c).apply(i,d)}));if(v.source=c,Yo(v))throw v;return v},Fr.times=function(e,t){if((e=ms(e))<1||e>l)return[];var r=f,n=yr(e,f);t=oa(t),e-=f;for(var i=Ht(n,t);++r<e;)t(r);return i},Fr.toFinite=hs,Fr.toInteger=ms,Fr.toLength=vs,Fr.toLower=function(e){return bs(e).toLowerCase()},Fr.toNumber=ys,Fr.toSafeInteger=function(e){return e?on(ms(e),-9007199254740991,l):0===e?e:0},Fr.toString=bs,Fr.toUpper=function(e){return bs(e).toUpperCase()},Fr.trim=function(e,t,r){if((e=bs(e))&&(r||t===i))return Kt(e);if(!e||!(t=si(t)))return e;var n=lr(e),a=lr(t);return bi(n,Zt(n,a),Xt(n,a)+1).join("")},Fr.trimEnd=function(e,t,r){if((e=bs(e))&&(r||t===i))return e.slice(0,cr(e)+1);if(!e||!(t=si(t)))return e;var n=lr(e);return bi(n,0,Xt(n,lr(t))+1).join("")},Fr.trimStart=function(e,t,r){if((e=bs(e))&&(r||t===i))return e.replace(ne,"");if(!e||!(t=si(t)))return e;var n=lr(e);return bi(n,Zt(n,lr(t))).join("")},Fr.truncate=function(e,t){var r=30,n="...";if(ts(t)){var a="separator"in t?t.separator:a;r="length"in t?ms(t.length):r,n="omission"in t?si(t.omission):n}var o=(e=bs(e)).length;if(ir(e)){var s=lr(e);o=s.length}if(r>=o)return e;var p=r-ur(n);if(p<1)return n;var d=s?bi(s,0,p).join(""):e.slice(0,p);if(a===i)return d+n;if(s&&(p+=d.length-p),os(a)){if(e.slice(p).search(a)){var u,l=d;for(a.global||(a=Ne(a.source,bs(ce.exec(a))+"g")),a.lastIndex=0;u=a.exec(l);)var c=u.index;d=d.slice(0,c===i?p:c)}}else if(e.indexOf(si(a),p)!=p){var f=d.lastIndexOf(a);f>-1&&(d=d.slice(0,f))}return d+n},Fr.unescape=function(e){return(e=bs(e))&&H.test(e)?e.replace(Q,fr):e},Fr.uniqueId=function(e){var t=++Ce;return bs(e)+t},Fr.upperCase=Js,Fr.upperFirst=Ys,Fr.each=bo,Fr.eachRight=_o,Fr.first=Wa,pp(Fr,(gp={},bn(Fr,(function(e,t){je.call(Fr.prototype,t)||(gp[t]=e)})),gp),{chain:!1}),Fr.VERSION="4.17.21",Nt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Fr[e].placeholder=Fr})),Nt(["drop","take"],(function(e,t){Br.prototype[e]=function(r){r=r===i?1:vr(ms(r),0);var n=this.__filtered__&&!t?new Br(this):this.clone();return n.__filtered__?n.__takeCount__=yr(r,n.__takeCount__):n.__views__.push({size:yr(r,f),type:e+(n.__dir__<0?"Right":"")}),n},Br.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Nt(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Br.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:oa(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Nt(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Br.prototype[e]=function(){return this[r](1).value()[0]}})),Nt(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Br.prototype[e]=function(){return this.__filtered__?new Br(this):this[r](1)}})),Br.prototype.compact=function(){return this.filter(ip)},Br.prototype.find=function(e){return this.filter(e).head()},Br.prototype.findLast=function(e){return this.reverse().find(e)},Br.prototype.invokeMap=Kn((function(e,t){return"function"==typeof e?new Br(this):this.map((function(r){return In(r,e,t)}))})),Br.prototype.reject=function(e){return this.filter($o(oa(e)))},Br.prototype.slice=function(e,t){e=ms(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Br(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=ms(t))<0?r.dropRight(-t):r.take(t-e)),r)},Br.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Br.prototype.toArray=function(){return this.take(f)},bn(Br.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),a=Fr[n?"take"+("last"==t?"Right":""):t],o=n||/^find/.test(t);a&&(Fr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,p=t instanceof Br,d=s[0],u=p||Qo(t),l=function(e){var t=a.apply(Fr,At([e],s));return n&&c?t[0]:t};u&&r&&"function"==typeof d&&1!=d.length&&(p=u=!1);var c=this.__chain__,f=!!this.__actions__.length,h=o&&!c,m=p&&!f;if(!o&&u){t=m?t:new Br(this);var v=e.apply(t,s);return v.__actions__.push({func:ho,args:[l],thisArg:i}),new qr(v,c)}return h&&m?e.apply(this,s):(v=this.thru(l),h?n?v.value()[0]:v.value():v)})})),Nt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Fr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Qo(i)?i:[],e)}return this[r]((function(r){return t.apply(Qo(r)?r:[],e)}))}})),bn(Br.prototype,(function(e,t){var r=Fr[t];if(r){var n=r.name+"";je.call(Ir,n)||(Ir[n]=[]),Ir[n].push({name:t,func:r})}})),Ir[Fi(i,2).name]=[{name:"wrapper",func:i}],Br.prototype.clone=function(){var e=new Br(this.__wrapped__);return e.__actions__=Ti(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ti(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ti(this.__views__),e},Br.prototype.reverse=function(){if(this.__filtered__){var e=new Br(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Br.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Qo(e),n=t<0,i=r?e.length:0,a=function(e,t,r){for(var n=-1,i=r.length;++n<i;){var a=r[n],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=yr(t,e+o);break;case"takeRight":e=vr(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,p=s-o,d=n?s:o-1,u=this.__iteratees__,l=u.length,c=0,f=yr(p,this.__takeCount__);if(!r||!n&&i==p&&f==p)return ci(e,this.__actions__);var h=[];e:for(;p--&&c<f;){for(var m=-1,v=e[d+=t];++m<l;){var y=u[m],g=y.iteratee,b=y.type,_=g(v);if(2==b)v=_;else if(!_){if(1==b)continue e;break e}}h[c++]=v}return h},Fr.prototype.at=mo,Fr.prototype.chain=function(){return fo(this)},Fr.prototype.commit=function(){return new qr(this.value(),this.__chain__)},Fr.prototype.next=function(){this.__values__===i&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Fr.prototype.plant=function(e){for(var t,r=this;r instanceof Lr;){var n=Va(r);n.__index__=0,n.__values__=i,t?a.__wrapped__=n:t=n;var a=n;r=r.__wrapped__}return a.__wrapped__=e,t},Fr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Br){var t=e;return this.__actions__.length&&(t=new Br(this)),(t=t.reverse()).__actions__.push({func:ho,args:[eo],thisArg:i}),new qr(t,this.__chain__)}return this.thru(eo)},Fr.prototype.toJSON=Fr.prototype.valueOf=Fr.prototype.value=function(){return ci(this.__wrapped__,this.__actions__)},Fr.prototype.first=Fr.prototype.head,Ge&&(Fr.prototype[Ge]=function(){return this}),Fr}();lt._=hr,(n=function(){return hr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},4349:function(e,t){var r,n;void 0===(n="function"==typeof(r=function(){return function(){function e(e,t){if(this.app="loki",this.options=t||{},void 0!==e&&(this.app=e),this.catalog=null,!this.checkAvailability())throw new Error("indexedDB does not seem to be supported for your environment")}function t(e){this.db=null,this.initializeLokiCatalog(e)}return e.prototype.closeDatabase=function(){this.catalog&&this.catalog.db&&(this.catalog.db.close(),this.catalog.db=null)},e.prototype.checkAvailability=function(){return!("undefined"==typeof indexedDB||!indexedDB)},e.prototype.loadDatabase=function(e,r){var n=this.app,i=this;null!==this.catalog&&null!==this.catalog.db?this.catalog.getAppKey(n,e,(function(e){if("function"==typeof r){if(0===e.id)return void r(null);r(e.val)}else console.log(e.val)})):this.catalog=new t((function(t){i.catalog=t,i.loadDatabase(e,r)}))},e.prototype.loadKey=e.prototype.loadDatabase,e.prototype.saveDatabase=function(e,r,n){var i=this.app,a=this;function o(e){e&&!0===e.success?n(null):n(new Error("Error saving database")),a.options.closeAfterSave&&a.closeDatabase()}null!==this.catalog&&null!==this.catalog.db?this.catalog.setAppKey(i,e,r,o):this.catalog=new t((function(t){a.saveDatabase(e,r,o)}))},e.prototype.saveKey=e.prototype.saveDatabase,e.prototype.deleteDatabase=function(e,r){var n=this.app,i=this;null!==this.catalog&&null!==this.catalog.db?this.catalog.getAppKey(n,e,(function(e){var t=e.id;0!==t?i.catalog.deleteAppKey(t,r):"function"==typeof r&&r({success:!0})})):this.catalog=new t((function(t){i.catalog=t,i.deleteDatabase(e,r)}))},e.prototype.deleteKey=e.prototype.deleteDatabase,e.prototype.deleteDatabasePartitions=function(e){var t=this;this.getDatabaseList((function(r){r.forEach((function(r){r.startsWith(e)&&t.deleteDatabase(r)}))}))},e.prototype.getDatabaseList=function(e){var r=this.app,n=this;null!==this.catalog&&null!==this.catalog.db?this.catalog.getAppKeys(r,(function(t){for(var r=[],n=0;n<t.length;n++)r.push(t[n].key);"function"==typeof e?e(r):r.forEach((function(e){console.log(e)}))})):this.catalog=new t((function(t){n.catalog=t,n.getDatabaseList(e)}))},e.prototype.getKeyList=e.prototype.getDatabaseList,e.prototype.getCatalogSummary=function(e){this.app;var r=this;null!==this.catalog&&null!==this.catalog.db?this.catalog.getAllKeys((function(t){for(var r,n,i,a,o,s=[],p=0;p<t.length;p++)i=(r=t[p]).app||"",a=r.key||"",o=r.val||"",n=2*i.length+2*a.length+o.length+1,s.push({app:r.app,key:r.key,size:n});"function"==typeof e?e(s):s.forEach((function(e){console.log(e)}))})):this.catalog=new t((function(t){r.catalog=t,r.getCatalogSummary(e)}))},t.prototype.initializeLokiCatalog=function(e){var t=indexedDB.open("LokiCatalog",1),r=this;t.onupgradeneeded=function(e){var t=e.target.result;if(t.objectStoreNames.contains("LokiAKV")&&t.deleteObjectStore("LokiAKV"),!t.objectStoreNames.contains("LokiAKV")){var r=t.createObjectStore("LokiAKV",{keyPath:"id",autoIncrement:!0});r.createIndex("app","app",{unique:!1}),r.createIndex("key","key",{unique:!1}),r.createIndex("appkey","appkey",{unique:!0})}},t.onsuccess=function(t){r.db=t.target.result,"function"==typeof e&&e(r)},t.onerror=function(e){throw e}},t.prototype.getAppKey=function(e,t,r){var n,i=e+","+t,a=this.db.transaction(["LokiAKV"],"readonly").objectStore("LokiAKV").index("appkey").get(i);a.onsuccess=(n=r,function(e){var t=e.target.result;null==t&&(t={id:0,success:!1}),"function"==typeof n?n(t):console.log(t)}),a.onerror=function(e){return function(t){if("function"!=typeof e)throw t;e({id:0,success:!1})}}(r)},t.prototype.getAppKeyById=function(e,t,r){this.db.transaction(["LokiAKV"],"readonly").objectStore("LokiAKV").get(e).onsuccess=function(e,t){return function(r){"function"==typeof t?t(r.target.result,e):console.log(r.target.result)}}(r,t)},t.prototype.setAppKey=function(e,t,r,n){var i,a=this.db.transaction(["LokiAKV"],"readwrite").objectStore("LokiAKV"),o=a.index("appkey"),s=e+","+t,p=o.get(s);p.onsuccess=function(i){var o=i.target.result;null==o?o={app:e,key:t,appkey:e+","+t,val:r}:o.val=r;var s,d=a.put(o);d.onerror=(s=n,function(e){"function"==typeof s?s({success:!1}):(console.error("LokiCatalog.setAppKey (set) onerror"),console.error(p.error))}),d.onsuccess=function(e){return function(t){"function"==typeof e&&e({success:!0})}}(n)},p.onerror=(i=n,function(e){"function"==typeof i?i({success:!1}):(console.error("LokiCatalog.setAppKey (get) onerror"),console.error(p.error))})},t.prototype.deleteAppKey=function(e,t){var r,n=this.db.transaction(["LokiAKV"],"readwrite").objectStore("LokiAKV").delete(e);n.onsuccess=(r=t,function(e){"function"==typeof r&&r({success:!0})}),n.onerror=function(e){return function(t){"function"==typeof e?e({success:!1}):(console.error("LokiCatalog.deleteAppKey raised onerror"),console.error(n.error))}}(t)},t.prototype.getAppKeys=function(e,t){var r,n=this.db.transaction(["LokiAKV"],"readonly").objectStore("LokiAKV").index("app"),i=IDBKeyRange.only(e),a=n.openCursor(i);a.onsuccess=function(e,t){return function(r){var n=r.target.result;if(n){var i=n.value;e.push(i),n.continue()}else"function"==typeof t?t(e):console.log(e)}}([],t),a.onerror=(r=t,function(e){"function"==typeof r?r(null):(console.error("LokiCatalog.getAppKeys raised onerror"),console.error(e))})},t.prototype.getAllKeys=function(e){var t,r=this.db.transaction(["LokiAKV"],"readonly").objectStore("LokiAKV").openCursor();r.onsuccess=function(e,t){return function(r){var n=r.target.result;if(n){var i=n.value;e.push(i),n.continue()}else"function"==typeof t?t(e):console.log(e)}}([],e),r.onerror=(t=e,function(e){"function"==typeof t&&t(null)})},e}()})?r.apply(t,[]):r)||(e.exports=n)},7979:function(e,t,r){var n,i;n=function(){return function(){"use strict";var e=Object.prototype.hasOwnProperty;function t(e){var r,i;if(Array.isArray(e)){for(i=0;i<e.length;i++)t(e[i]);n(e)}else if(null!==e&&"object"==typeof e){for(r in e)e.hasOwnProperty(r)&&t(e[r]);n(e)}}function n(e){Object.isFrozen(e)||Object.freeze(e)}function i(e){return Object.isFrozen(e)?v(e,"shallow"):e}var a={copyProperties:function(e,t){var r;for(r in e)t[r]=e[r]},resolveTransformObject:function(e,t,r){var n,i;if("number"!=typeof r&&(r=0),++r>=10)return e;for(n in e)"string"==typeof e[n]&&0===e[n].indexOf("[%lktxp]")?(i=e[n].substring(8),t.hasOwnProperty(i)&&(e[n]=t[i])):"object"==typeof e[n]&&(e[n]=a.resolveTransformObject(e[n],t,r));return e},resolveTransformParams:function(e,t){var r,n,i=[];if(void 0===t)return e;for(r=0;r<e.length;r++)n=v(e[r],"shallow-recurse-objects"),i.push(a.resolveTransformObject(n,t));return i},getIn:function(e,t,r){if(null!=e){if(!r)return e[t];if("string"==typeof t&&(t=t.split(".")),!Array.isArray(t))throw new Error("path must be a string or array. Found "+typeof t);for(var n=0,i=t.length;null!=e&&n<i;)e=e[t[n++]];return n&&n==i?e:void 0}}},o={aeq:s,lt:p,gt:d};function s(e,t){var r,n,i,a;if(e===t)return!0;if(!e||!t||!0===e||!0===t||e!=e||t!=t){switch(e){case void 0:case null:i=1;break;case!1:i=3;break;case!0:i=4;break;case"":i=5;break;default:i=e==e?9:0}switch(t){case void 0:case null:a=1;break;case!1:a=3;break;case!0:a=4;break;case"":a=5;break;default:a=t==t?9:0}if(9!==i||9!==a)return i===a}return r=Number(e),n=Number(t),r==r||n==n?r===n:(r=e.toString())==(n=t.toString())}function p(e,t,r){var n,i,a,o;if(!e||!t||!0===e||!0===t||e!=e||t!=t){switch(e){case void 0:case null:a=1;break;case!1:a=3;break;case!0:a=4;break;case"":a=5;break;default:a=e==e?9:0}switch(t){case void 0:case null:o=1;break;case!1:o=3;break;case!0:o=4;break;case"":o=5;break;default:o=t==t?9:0}if(9!==a||9!==o)return a===o?r:a<o}return n=Number(e),i=Number(t),n==n&&i==i?n<i||!(n>i)&&r:n==n&&i!=i||(i!=i||n==n)&&(e<t||!(e>t)&&(e==t?r:(n=e.toString())<(i=t.toString())||n==i&&r))}function d(e,t,r){var n,i,a,o;if(!e||!t||!0===e||!0===t||e!=e||t!=t){switch(e){case void 0:case null:a=1;break;case!1:a=3;break;case!0:a=4;break;case"":a=5;break;default:a=e==e?9:0}switch(t){case void 0:case null:o=1;break;case!1:o=3;break;case!0:o=4;break;case"":o=5;break;default:o=t==t?9:0}if(9!==a||9!==o)return a===o?r:a>o}return n=Number(e),i=Number(t),n==n&&i==i?n>i||!(n<i)&&r:(n!=n||i==i)&&(i==i&&n!=n||e>t||!(e<t)&&(e==t?r:(n=e.toString())>(i=t.toString())||n==i&&r))}function u(e,t,r){return o.aeq(e,t)?0:o.lt(e,t,!1)?r?1:-1:o.gt(e,t,!1)?r?-1:1:0}function l(e,t,r,n,i,a){var o,s=a||0,p=t[s],d=!1;if("object"==typeof e&&p in e&&(o=e[p]),s+1>=t.length)d=r(o,n,i);else if(Array.isArray(o))for(var u=0,c=o.length;u<c&&!0!==(d=l(o[u],t,r,n,i,s+1));u+=1);else d=l(o,t,r,n,i,s+1);return d}function c(t){return"string"==typeof t||Array.isArray(t)?function(e){return-1!==t.indexOf(e)}:"object"==typeof t&&null!==t?function(r){return e.call(t,r)}:null}function f(t,r,n){for(var i in r)if(e.call(r,i))return h[i](t,r[i],n);return!1}var h={$eq:function(e,t){return e===t},$aeq:function(e,t){return e==t},$ne:function(e,t){return t!=t?e==e:e!==t},$dteq:function(e,t){return o.aeq(e,t)},$gt:function(e,t){return o.gt(e,t,!1)},$gte:function(e,t){return o.gt(e,t,!0)},$lt:function(e,t){return o.lt(e,t,!1)},$lte:function(e,t){return o.lt(e,t,!0)},$jgt:function(e,t){return e>t},$jgte:function(e,t){return e>=t},$jlt:function(e,t){return e<t},$jlte:function(e,t){return e<=t},$between:function(e,t){return null!=e&&o.gt(e,t[0],!0)&&o.lt(e,t[1],!0)},$jbetween:function(e,t){return null!=e&&e>=t[0]&&e<=t[1]},$in:function(e,t){return-1!==t.indexOf(e)},$inSet:function(e,t){return t.has(e)},$nin:function(e,t){return-1===t.indexOf(e)},$keyin:function(e,t){return e in t},$nkeyin:function(e,t){return!(e in t)},$definedin:function(e,t){return void 0!==t[e]},$undefinedin:function(e,t){return void 0===t[e]},$regex:function(e,t){return t.test(e)},$containsString:function(e,t){return"string"==typeof e&&-1!==e.indexOf(t)},$containsNone:function(e,t){return!h.$containsAny(e,t)},$containsAny:function(e,t){var r=c(e);return null!==r&&(Array.isArray(t)?t.some(r):r(t))},$contains:function(e,t){var r=c(e);return null!==r&&(Array.isArray(t)?t.every(r):r(t))},$elemMatch:function(e,t){return!!Array.isArray(e)&&e.some((function(e){return Object.keys(t).every((function(r){var n=t[r];return"object"==typeof n&&n||(n={$eq:n}),-1!==r.indexOf(".")?l(e,r.split("."),f,t[r],e):f(e[r],n,e)}))}))},$type:function(e,t,r){var n=typeof e;return"object"===n&&(Array.isArray(e)?n="array":e instanceof Date&&(n="date")),"object"!=typeof t?n===t:f(n,t,r)},$finite:function(e,t){return t===isFinite(e)},$size:function(e,t,r){return!!Array.isArray(e)&&("object"!=typeof t?e.length===t:f(e.length,t,r))},$len:function(e,t,r){return"string"==typeof e&&("object"!=typeof t?e.length===t:f(e.length,t,r))},$where:function(e,t){return!0===t(e)},$not:function(e,t,r){return!f(e,t,r)},$and:function(e,t,r){for(var n=0,i=t.length;n<i;n+=1)if(!f(e,t[n],r))return!1;return!0},$or:function(e,t,r){for(var n=0,i=t.length;n<i;n+=1)if(f(e,t[n],r))return!0;return!1},$exists:function(e,t){return t?void 0!==e:void 0===e}};["$eq","$aeq","$ne","$dteq","$gt","$gte","$lt","$lte","$jgt","$jgte","$jlt","$jlte","$type"].forEach((function(e){var t=h[e];h["$"+e]=function(e,r,n){if("string"==typeof r)return t(e,n[r]);if("function"==typeof r)return t(e,r(n));throw new Error("Invalid argument to $$ matcher")}}));var m={$eq:h.$eq,$aeq:!0,$dteq:!0,$gt:!0,$gte:!0,$lt:!0,$lte:!0,$in:!0,$between:!0};function v(e,t){if(null==e)return null;var r;switch(t||"parse-stringify"){case"parse-stringify":r=JSON.parse(JSON.stringify(e));break;case"jquery-extend-deep":r=jQuery.extend(!0,{},e);break;case"shallow":r=Object.create(e.constructor.prototype),Object.keys(e).map((function(t){r[t]=e[t]}));break;case"shallow-assign":r=Object.create(e.constructor.prototype),Object.assign(r,e);break;case"shallow-recurse-objects":r=v(e,"shallow"),Object.keys(e).forEach((function(t){"object"==typeof e[t]&&"Object"===e[t].constructor.name?r[t]=v(e[t],"shallow-recurse-objects"):Array.isArray(e[t])&&(r[t]=function(e,t){if("parse-stringify"==t)return v(e,t);for(var r=[],n=0,i=e.length;n<i;n++)r[n]=v(e[n],t);return r}(e[t],"shallow-recurse-objects"))}))}return r}function y(){try{return window&&void 0!==window.localStorage&&null!==window.localStorage}catch(e){return!1}}function g(){}function b(e,t){this.filename=e||"loki.db",this.collections=[],this.databaseVersion=1.5,this.engineVersion=1.5,this.autosave=!1,this.autosaveInterval=5e3,this.autosaveHandle=null,this.throttledSaves=!0,this.options={},this.persistenceMethod=null,this.persistenceAdapter=null,this.throttledSavePending=!1,this.throttledCallbacks=[],this.verbose=!(!t||!t.hasOwnProperty("verbose"))&&t.verbose,this.events={init:[],loaded:[],flushChanges:[],close:[],changes:[],warning:[]};t&&t.hasOwnProperty("env")?this.ENV=t.env:this.ENV="undefined"!=typeof global&&(global.android||global.NSObject)?"NATIVESCRIPT":"undefined"==typeof window||"undefined"!=typeof global&&global.window&&"undefined"!=typeof process?"NODEJS":"undefined"!=typeof document?-1===document.URL.indexOf("http://")&&-1===document.URL.indexOf("https://")?"CORDOVA":"BROWSER":"CORDOVA","undefined"===this.ENV&&(this.ENV="NODEJS"),this.configureOptions(t,!0),this.on("init",this.clearChanges)}function _(e){this.hashStore={},this.options=e||{},this.options.hasOwnProperty("asyncResponses")||(this.options.asyncResponses=!1),this.options.hasOwnProperty("asyncTimeout")||(this.options.asyncTimeout=50)}function w(e,t){if(this.mode="reference",this.adapter=null,this.options=t||{},this.dbref=null,this.dbname="",this.pageIterator={},!e)throw new Error("LokiPartitioningAdapter requires a (non-reference mode) adapter on construction");if("reference"===e.mode)throw new Error("LokiPartitioningAdapter cannot be instantiated with a reference mode adapter");this.adapter=e,this.options.hasOwnProperty("paging")||(this.options.paging=!1),this.options.hasOwnProperty("pageSize")||(this.options.pageSize=26214400),this.options.hasOwnProperty("delimiter")||(this.options.delimiter="$<\n")}function S(){try{this.fs=r(7147)}catch(e){this.fs=null}}function O(){}function E(e,t){return t=t||{},this.collection=e,this.filteredrows=[],this.filterInitialized=!1,this}function N(e,t){if("$regex"===e)Array.isArray(t)?t=new RegExp(t[0],t[1]):t instanceof RegExp||(t=new RegExp(t));else if("object"==typeof t)for(var r in t)"$regex"!==r&&"object"!=typeof t[r]||(t[r]=N(r,t[r]));return t}function x(e,t,r){this.collection=e,this.name=t,this.rebuildPending=!1,this.options=r||{},this.options.hasOwnProperty("persistent")||(this.options.persistent=!1),this.options.hasOwnProperty("sortPriority")||(this.options.sortPriority="passive"),this.options.hasOwnProperty("minRebuildInterval")||(this.options.minRebuildInterval=1),this.resultset=new E(e),this.resultdata=[],this.resultsdirty=!1,this.cachedresultset=null,this.filterPipeline=[],this.collection.disableFreeze||Object.freeze(this.filterPipeline),this.sortFunction=null,this.sortCriteria=null,this.sortCriteriaSimple=null,this.sortDirty=!1,this.events={rebuild:[],filter:[],sort:[]}}function T(t,r){this.name=t,this.data=[],this.idIndex=null,this.binaryIndices={},this.constraints={unique:{},exact:{}},this.uniqueNames=[],this.transforms={},this.objType=t,this.dirty=!0,this.cachedIndex=null,this.cachedBinaryIndex=null,this.cachedData=null;var n=this;(r=r||{}).hasOwnProperty("unique")&&(Array.isArray(r.unique)||(r.unique=[r.unique]),r.unique.forEach((function(e){n.uniqueNames.push(e)}))),r.hasOwnProperty("exact")&&r.exact.forEach((function(e){n.constraints.exact[e]=new F(e)})),this.adaptiveBinaryIndices=!r.hasOwnProperty("adaptiveBinaryIndices")||r.adaptiveBinaryIndices,this.transactional=!!r.hasOwnProperty("transactional")&&r.transactional,this.cloneObjects=!!r.hasOwnProperty("clone")&&r.clone,this.cloneMethod=r.hasOwnProperty("cloneMethod")?r.cloneMethod:"parse-stringify",this.asyncListeners=!!r.hasOwnProperty("asyncListeners")&&r.asyncListeners,this.disableMeta=!!r.hasOwnProperty("disableMeta")&&r.disableMeta,this.disableChangesApi=!r.hasOwnProperty("disableChangesApi")||r.disableChangesApi,this.disableDeltaChangesApi=!r.hasOwnProperty("disableDeltaChangesApi")||r.disableDeltaChangesApi,this.disableChangesApi&&(this.disableDeltaChangesApi=!0),this.autoupdate=!!r.hasOwnProperty("autoupdate")&&r.autoupdate,this.serializableIndices=!r.hasOwnProperty("serializableIndices")||r.serializableIndices,this.disableFreeze=!r.hasOwnProperty("disableFreeze")||r.disableFreeze,this.ttl={age:null,ttlInterval:null,daemon:null},this.setTTL(r.ttl||-1,r.ttlInterval),this.maxId=0,this.DynamicViews=[],this.events={insert:[],update:[],"pre-insert":[],"pre-update":[],close:[],flushbuffer:[],error:[],delete:[],warning:[]},this.changes=[],this.dirtyIds=[];var i=[];if(r&&r.indices)if("[object Array]"===Object.prototype.toString.call(r.indices))i=r.indices;else{if("string"!=typeof r.indices)throw new TypeError("Indices needs to be a string or an array of strings");i=[r.indices]}for(var a=0;a<i.length;a++)this.ensureIndex(i[a]);function o(e,t){var r=null!==t&&"object"==typeof t?Object.keys(t):null;if(r&&r.length&&["string","boolean","number"].indexOf(typeof t)<0){for(var i={},a=0;a<r.length;a++){var s=r[a];if(t.hasOwnProperty(s))if(!e.hasOwnProperty(s)||n.uniqueNames.indexOf(s)>=0||"$loki"==s||"meta"==s)i[s]=t[s];else{var p=o(e[s],t[s]);void 0!==p&&p!={}&&(i[s]=p)}}return 0===Object.keys(i).length?void 0:i}return e===t?void 0:t}function s(){n.changes=[]}this.observerCallback=function(t){var r="function"==typeof Set?new Set:[];r.add||(r.add=function(e){return-1===this.indexOf(e)&&this.push(e),this}),t.forEach((function(e){r.add(e.object)})),r.forEach((function(t){if(!e.call(t,"$loki"))return n.removeAutoUpdateObserver(t);try{n.update(t)}catch(e){}}))},this.getChangeDelta=function(e,t){return t?o(t,e):JSON.parse(JSON.stringify(e))},this.getObjectDelta=o,this.getChanges=function(){return n.changes},this.flushChanges=s,this.setChangesApi=function(e){n.disableChangesApi=!e,e||(n.disableDeltaChangesApi=!1)},this.on("delete",(function(e){n.disableChangesApi||n.createChange(n.name,"R",e)})),this.on("warning",(function(e){n.lokiConsoleWrapper.warn(e)})),s()}function P(e){return-1!==e.indexOf(".")}function I(e){return parseFloat(e,10)}function D(e,t){return e+t}function k(e,t){return e-t}function A(e){return e.reduce(D,0)/e.length}function j(e,t,r){if(!1===r)return e[t];for(var n=t.split("."),i=e;n.length>0;)i=i[n.shift()];return i}function C(e,t,r){for(var n,i,a=0,o=e.length;a<o;){if(i=a+o>>1,0===(n=r.apply(null,[t,e[i]])))return{found:!0,index:i};n<0?o=i:a=i+1}return{found:!1,index:o}}function R(e){return function(t,r){return C(t,r,e)}}function $(){}function M(e){this.field=e,this.keyMap=Object.create(null),this.lokiMap=Object.create(null)}function F(e){this.index=Object.create(null),this.field=e}return g.prototype.events={},g.prototype.asyncListeners=!1,g.prototype.on=function(e,t){var r,n=this;return Array.isArray(e)?(e.forEach((function(e){n.on(e,t)})),t):((r=this.events[e])||(r=this.events[e]=[]),r.push(t),t)},g.prototype.emit=function(e){var t,r=this;if(!e||!this.events[e])throw new Error("No event "+e+" defined");this.events[e].length&&(t=Array.prototype.slice.call(arguments,1),this.events[e].forEach((function(e){r.asyncListeners?setTimeout((function(){e.apply(r,t)}),1):e.apply(r,t)})))},g.prototype.addListener=g.prototype.on,g.prototype.removeListener=function(e,t){var r=this;if(Array.isArray(e))e.forEach((function(e){r.removeListener(e,t)}));else if(this.events[e]){var n=this.events[e];n.splice(n.indexOf(t),1)}},b.prototype=new g,b.prototype.constructor=b,b.prototype.getIndexedAdapter=function(){return r(4349)},b.prototype.configureOptions=function(e,t){var r={fs:S,localStorage:O,memory:_};if(this.options={},this.persistenceMethod=null,this.persistenceAdapter=null,void 0!==e){if(this.options=e,this.options.hasOwnProperty("persistenceMethod")&&"function"==typeof r[e.persistenceMethod]&&(this.persistenceMethod=e.persistenceMethod,this.persistenceAdapter=new r[e.persistenceMethod]),this.options.hasOwnProperty("adapter")&&(this.persistenceMethod="adapter",this.persistenceAdapter=e.adapter,this.options.adapter=null,this.isIncremental="incremental"===this.persistenceAdapter.mode),e.autoload&&t){var n=this;setTimeout((function(){n.loadDatabase(e,e.autoloadCallback)}),1)}this.options.hasOwnProperty("autosaveInterval")&&(this.autosaveDisable(),this.autosaveInterval=parseInt(this.options.autosaveInterval,10)),this.options.hasOwnProperty("autosave")&&this.options.autosave&&(this.autosaveDisable(),this.autosave=!0,this.options.hasOwnProperty("autosaveCallback")?this.autosaveEnable(e,e.autosaveCallback):this.autosaveEnable()),this.options.hasOwnProperty("throttledSaves")&&(this.throttledSaves=this.options.throttledSaves)}this.options.hasOwnProperty("serializationMethod")||(this.options.serializationMethod="normal"),this.options.hasOwnProperty("destructureDelimiter")||(this.options.destructureDelimiter="$<\n"),null===this.persistenceAdapter&&(this.persistenceMethod={NODEJS:"fs",BROWSER:"localStorage",CORDOVA:"localStorage",MEMORY:"memory"}[this.ENV],this.persistenceMethod&&(this.persistenceAdapter=new r[this.persistenceMethod]))},b.prototype.copy=function(e){var t,r,n=new b(this.filename,{env:"NA"});if(e=e||{},n.loadJSONObject(this,{retainDirtyFlags:!0}),e.hasOwnProperty("removeNonSerializable")&&!0===e.removeNonSerializable)for(n.autosaveHandle=null,n.persistenceAdapter=null,t=n.collections.length,r=0;r<t;r++)n.collections[r].constraints=null,n.collections[r].ttl=null;return n},b.prototype.addCollection=function(e,t){var r,n=this.collections.length;if(t&&!0===t.disableMeta){if(!1===t.disableChangesApi)throw new Error("disableMeta option cannot be passed as true when disableChangesApi is passed as false");if(!1===t.disableDeltaChangesApi)throw new Error("disableMeta option cannot be passed as true when disableDeltaChangesApi is passed as false");if("number"==typeof t.ttl&&t.ttl>0)throw new Error("disableMeta option cannot be passed as true when ttl is enabled")}for(r=0;r<n;r+=1)if(this.collections[r].name===e)return this.collections[r];var i=new T(e,t);return i.isIncremental=this.isIncremental,this.collections.push(i),this.verbose&&(i.lokiConsoleWrapper=console),i},b.prototype.loadCollection=function(e){if(!e.name)throw new Error("Collection must have a name property to be loaded");this.collections.push(e)},b.prototype.getCollection=function(e){var t,r=this.collections.length;for(t=0;t<r;t+=1)if(this.collections[t].name===e)return this.collections[t];return this.emit("warning","collection "+e+" not found"),null},b.prototype.renameCollection=function(e,t){var r=this.getCollection(e);return r&&(r.name=t),r},b.prototype.listCollections=function(){for(var e=this.collections.length,t=[];e--;)t.push({name:this.collections[e].name,type:this.collections[e].objType,count:this.collections[e].data.length});return t},b.prototype.removeCollection=function(e){var t,r=this.collections.length;for(t=0;t<r;t+=1)if(this.collections[t].name===e){var n=new T(e,{}),i=this.collections[t];for(var a in i)i.hasOwnProperty(a)&&n.hasOwnProperty(a)&&(i[a]=n[a]);return void this.collections.splice(t,1)}},b.prototype.getName=function(){return this.name},b.prototype.serializeReplacer=function(e,t){switch(e){case"autosaveHandle":case"persistenceAdapter":case"constraints":case"ttl":case"lokiConsoleWrapper":return null;case"throttledSavePending":case"throttledCallbacks":return;default:return t}},b.prototype.serialize=function(e){switch((e=e||{}).hasOwnProperty("serializationMethod")||(e.serializationMethod=this.options.serializationMethod),e.serializationMethod){case"normal":default:return JSON.stringify(this,this.serializeReplacer);case"pretty":return JSON.stringify(this,this.serializeReplacer,2);case"destructured":return this.serializeDestructured()}},b.prototype.toJson=b.prototype.serialize,b.prototype.serializeDestructured=function(e){var t,r,n,i,a,o=[];if((e=e||{}).hasOwnProperty("partitioned")||(e.partitioned=!1),e.hasOwnProperty("delimited")||(e.delimited=!0),e.hasOwnProperty("delimiter")||(e.delimiter=this.options.destructureDelimiter),!0===e.partitioned&&e.hasOwnProperty("partition")&&e.partition>=0)return this.serializeCollection({delimited:e.delimited,delimiter:e.delimiter,collectionIndex:e.partition});for((a=new b(this.filename)).loadJSONObject(this),t=0;t<a.collections.length;t++)a.collections[t].data=[];if(!0===e.partitioned&&-1===e.partition)return a.serialize({serializationMethod:"normal"});for(o.push(a.serialize({serializationMethod:"normal"})),a=null,t=0;t<this.collections.length;t++)if(n=this.serializeCollection({delimited:e.delimited,delimiter:e.delimiter,collectionIndex:t}),!1===e.partitioned&&!1===e.delimited){if(!Array.isArray(n))throw new Error("a nondelimited, non partitioned collection serialization did not return an expected array");for(i=n.length,r=0;r<i;r++)o.push(n[r]),n[r]=null;o.push("")}else o.push(n);return e.partitioned?(e.delimited,o):e.delimited?(o.push(""),o.join(e.delimiter)):(o.push(""),o)},b.prototype.serializeCollection=function(e){var t,r,n=[];if((e=e||{}).hasOwnProperty("delimited")||(e.delimited=!0),!e.hasOwnProperty("collectionIndex"))throw new Error("serializeCollection called without 'collectionIndex' option");for(t=this.collections[e.collectionIndex].data.length,n=[],r=0;r<t;r++)n.push(JSON.stringify(this.collections[e.collectionIndex].data[r]));return e.delimited?(n.push(""),n.join(e.delimiter)):n},b.prototype.deserializeDestructured=function(e,t){var r,n,i,a=[],o=0,s=1,p=!1;if((t=t||{}).hasOwnProperty("partitioned")||(t.partitioned=!1),t.hasOwnProperty("delimited")||(t.delimited=!0),t.hasOwnProperty("delimiter")||(t.delimiter=this.options.destructureDelimiter),t.partitioned){if(t.hasOwnProperty("partition"))return-1===t.partition?r=JSON.parse(e[0]):this.deserializeCollection(e[t.partition+1],t);for(n=(r=JSON.parse(e[0])).collections.length,o=0;o<n;o++)r.collections[o].data=this.deserializeCollection(e[o+1],t);return r}if(t.delimited){if(a=e.split(t.delimiter),e=null,0===a.length)return null}else a=e;for(n=(r=JSON.parse(a[0])).collections.length,a[0]=null;!p;)a[s],""===a[s]?++o>n&&(p=!0):(i=JSON.parse(a[s]),r.collections[o].data.push(i)),a[s++]=null;return r},b.prototype.deserializeCollection=function(e,t){var r,n,i=[];for((t=t||{}).hasOwnProperty("partitioned")||(t.partitioned=!1),t.hasOwnProperty("delimited")||(t.delimited=!0),t.hasOwnProperty("delimiter")||(t.delimiter=this.options.destructureDelimiter),t.delimited?(i=e.split(t.delimiter)).pop():i=e,n=i.length,r=0;r<n;r++)i[r]=JSON.parse(i[r]);return i},b.prototype.loadJSON=function(e,t){var r;if(0===e.length)r={};else switch(this.options.serializationMethod){case"normal":case"pretty":default:r=JSON.parse(e);break;case"destructured":r=this.deserializeDestructured(e)}this.loadJSONObject(r,t)},b.prototype.loadJSONObject=function(e,r){var n,i,o,s,p,d,u=0,l=e.collections?e.collections.length:0;function c(e){var t,n=r[e.name];return n.proto?(t=n.inflate||a.copyProperties,function(e){var r=new n.proto;return t(e,r),r}):n.inflate}for(this.name=e.name,e.hasOwnProperty("throttledSaves")&&r&&!r.hasOwnProperty("throttledSaves")&&(this.throttledSaves=e.throttledSaves),this.collections=[];u<l;u+=1){if(n=e.collections[u],(i=this.addCollection(n.name,{disableChangesApi:n.disableChangesApi,disableDeltaChangesApi:n.disableDeltaChangesApi,disableMeta:n.disableMeta,disableFreeze:!n.hasOwnProperty("disableFreeze")||n.disableFreeze})).adaptiveBinaryIndices=!!n.hasOwnProperty("adaptiveBinaryIndices")&&!0===n.adaptiveBinaryIndices,i.transactional=n.transactional,i.asyncListeners=n.asyncListeners,i.cloneObjects=n.cloneObjects,i.cloneMethod=n.cloneMethod||"parse-stringify",i.autoupdate=n.autoupdate,i.changes=n.changes,i.dirtyIds=n.dirtyIds||[],r&&!0===r.retainDirtyFlags?i.dirty=n.dirty:i.dirty=!1,o=n.data.length,s=0,r&&r.hasOwnProperty(n.name))for(p=c(n);s<o;s++)d=p(n.data[s]),i.data[s]=d,i.addAutoUpdateObserver(d),i.disableFreeze||t(i.data[s]);else for(;s<o;s++)i.data[s]=n.data[s],i.addAutoUpdateObserver(i.data[s]),i.disableFreeze||t(i.data[s]);if(i.maxId=void 0===n.maxId?0:n.maxId,void 0!==n.binaryIndices&&(i.binaryIndices=n.binaryIndices),void 0!==n.transforms&&(i.transforms=n.transforms),i.uniqueNames=[],n.hasOwnProperty("uniqueNames")&&(i.uniqueNames=n.uniqueNames),void 0!==n.DynamicViews){for(var f=0;f<n.DynamicViews.length;f++){var h=n.DynamicViews[f],m=i.addDynamicView(h.name,h.options);m.resultdata=h.resultdata,m.resultsdirty=h.resultsdirty,m.filterPipeline=h.filterPipeline,m.sortCriteriaSimple=h.sortCriteriaSimple,m.sortCriteria=h.sortCriteria,m.sortFunction=null,m.sortDirty=h.sortDirty,i.disableFreeze||(t(m.filterPipeline),m.sortCriteriaSimple?t(m.sortCriteriaSimple):m.sortCriteria&&t(m.sortCriteria)),m.resultset.filteredrows=h.resultset.filteredrows,m.resultset.filterInitialized=h.resultset.filterInitialized,m.rematerialize({removeWhereFilters:!0})}e.databaseVersion<1.5&&(i.ensureAllIndexes(!0),i.dirty=!0)}}},b.prototype.close=function(e){this.autosave&&(this.autosaveDisable(),this.autosaveDirty()&&(this.saveDatabase(e),e=void 0)),e&&this.on("close",e),this.emit("close")},b.prototype.generateChangesNotification=function(e){function t(e){return e.name}var r=[],n=e||this.collections.map(t);return this.collections.forEach((function(e){-1!==n.indexOf(t(e))&&(r=r.concat(e.getChanges()))})),r},b.prototype.serializeChanges=function(e){return JSON.stringify(this.generateChangesNotification(e))},b.prototype.clearChanges=function(){this.collections.forEach((function(e){e.flushChanges&&e.flushChanges()}))},_.prototype.loadDatabase=function(e,t){var r=this;this.options.asyncResponses?setTimeout((function(){r.hashStore.hasOwnProperty(e)?t(r.hashStore[e].value):t(null)}),this.options.asyncTimeout):this.hashStore.hasOwnProperty(e)?t(this.hashStore[e].value):t(null)},_.prototype.saveDatabase=function(e,t,r){var n,i=this;this.options.asyncResponses?setTimeout((function(){n=i.hashStore.hasOwnProperty(e)?i.hashStore[e].savecount:0,i.hashStore[e]={savecount:n+1,lastsave:new Date,value:t},r()}),this.options.asyncTimeout):(n=this.hashStore.hasOwnProperty(e)?this.hashStore[e].savecount:0,this.hashStore[e]={savecount:n+1,lastsave:new Date,value:t},r())},_.prototype.deleteDatabase=function(e,t){this.hashStore.hasOwnProperty(e)&&delete this.hashStore[e],"function"==typeof t&&t()},w.prototype.loadDatabase=function(e,t){var r=this;this.dbname=e,this.dbref=new b(e),this.adapter.loadDatabase(e,(function(e){if(e){"string"!=typeof e&&t(new Error("LokiPartitioningAdapter received an unexpected response from inner adapter loadDatabase()"));var n=JSON.parse(e);r.dbref.loadJSONObject(n),n=null,r.dbref.collections.length,0!==r.dbref.collections.length?(r.pageIterator={collection:0,pageIndex:0},r.loadNextPartition(0,(function(){t(r.dbref)}))):t(r.dbref)}else t(e)}))},w.prototype.loadNextPartition=function(e,t){var r=this.dbname+"."+e,n=this;if(!0===this.options.paging)return this.pageIterator.pageIndex=0,void this.loadNextPage(t);this.adapter.loadDatabase(r,(function(r){var i=n.dbref.deserializeCollection(r,{delimited:!0,collectionIndex:e});n.dbref.collections[e].data=i,++e<n.dbref.collections.length?n.loadNextPartition(e,t):t()}))},w.prototype.loadNextPage=function(e){var t=this.dbname+"."+this.pageIterator.collection+"."+this.pageIterator.pageIndex,r=this;this.adapter.loadDatabase(t,(function(t){var n=t.split(r.options.delimiter);t="";var i,a=n.length,o=""===n[a-1];for(o&&(n.pop(),""===n[(a=n.length)-1]&&1===a&&(n.pop(),a=n.length)),i=0;i<a;i++)r.dbref.collections[r.pageIterator.collection].data.push(JSON.parse(n[i])),n[i]=null;n=[],o?++r.pageIterator.collection<r.dbref.collections.length?r.loadNextPartition(r.pageIterator.collection,e):e():(r.pageIterator.pageIndex++,r.loadNextPage(e))}))},w.prototype.exportDatabase=function(e,t,r){var n,i=t.collections.length;for(this.dbref=t,this.dbname=e,this.dirtyPartitions=[-1],n=0;n<i;n++)t.collections[n].dirty&&this.dirtyPartitions.push(n);this.saveNextPartition((function(e){r(e)}))},w.prototype.saveNextPartition=function(e){var t=this,r=this.dirtyPartitions.shift(),n=this.dbname+(-1===r?"":"."+r);if(this.options.paging&&-1!==r)return this.pageIterator={collection:r,docIndex:0,pageIndex:0},void this.saveNextPage((function(r){0===t.dirtyPartitions.length?e(r):t.saveNextPartition(e)}));var i=this.dbref.serializeDestructured({partitioned:!0,delimited:!0,partition:r});this.adapter.saveDatabase(n,i,(function(r){r?e(r):0===t.dirtyPartitions.length?e(null):t.saveNextPartition(e)}))},w.prototype.saveNextPage=function(e){var t=this,r=this.dbref.collections[this.pageIterator.collection],n=this.dbname+"."+this.pageIterator.collection+"."+this.pageIterator.pageIndex,i=0,a=r.data.length,o=this.options.delimiter.length,s="",p="",d=!1,u=!1,l=function(r){p="",r&&e(r),d?e(null):(t.pageIterator.pageIndex++,t.saveNextPage(e))};for(0===r.data.length&&(d=!0);;)if(d||(s=JSON.stringify(r.data[this.pageIterator.docIndex]),p+=s,i+=s.length,++this.pageIterator.docIndex>=a&&(d=!0)),i>=this.options.pageSize&&(u=!0),u&&!d||(p+=this.options.delimiter,i+=o),d||u)return void this.adapter.saveDatabase(n,p,l)},S.prototype.loadDatabase=function(e,t){var r=this;this.fs.stat(e,(function(n,i){!n&&i.isFile()?r.fs.readFile(e,{encoding:"utf8"},(function(e,r){t(e?new Error(e):r)})):t(null)}))},S.prototype.saveDatabase=function(e,t,r){var n=this,i=e+"~";this.fs.writeFile(i,t,(function(t){t?r(new Error(t)):n.fs.rename(i,e,r)}))},S.prototype.deleteDatabase=function(e,t){this.fs.unlink(e,(function(e){e?t(new Error(e)):t()}))},O.prototype.loadDatabase=function(e,t){y()?t(localStorage.getItem(e)):t(new Error("localStorage is not available"))},O.prototype.saveDatabase=function(e,t,r){y()?(localStorage.setItem(e,t),r(null)):r(new Error("localStorage is not available"))},O.prototype.deleteDatabase=function(e,t){y()?(localStorage.removeItem(e),t(null)):t(new Error("localStorage is not available"))},b.prototype.throttledSaveDrain=function(e,t){var r=this,n=(new Date).getTime();if(this.throttledSaves||e(!0),(t=t||{}).hasOwnProperty("recursiveWait")||(t.recursiveWait=!0),t.hasOwnProperty("recursiveWaitLimit")||(t.recursiveWaitLimit=!1),t.hasOwnProperty("recursiveWaitLimitDuration")||(t.recursiveWaitLimitDuration=2e3),t.hasOwnProperty("started")||(t.started=(new Date).getTime()),this.throttledSaves&&this.throttledSavePending){if(!t.recursiveWait)return void this.throttledCallbacks.push(e);this.throttledCallbacks.push((function(){return r.throttledSavePending?t.recursiveWaitLimit&&n-t.started>t.recursiveWaitLimitDuration?void e(!1):void r.throttledSaveDrain(e,t):void e(!0)}))}else e(!0)},b.prototype.loadDatabaseInternal=function(e,t){var r=t||function(e,t){if(e)throw e},n=this;null!==this.persistenceAdapter?this.persistenceAdapter.loadDatabase(this.filename,(function(t){if("string"==typeof t){var i=!1;try{n.loadJSON(t,e||{}),i=!0}catch(e){r(e)}i&&(r(null),n.emit("loaded","database "+n.filename+" loaded"))}else{if(!t)return r(null),void n.emit("loaded","empty database "+n.filename+" loaded");if(t instanceof Error)return void r(t);if("object"==typeof t)return n.loadJSONObject(t,e||{}),r(null),void n.emit("loaded","database "+n.filename+" loaded");r("unexpected adapter response : "+t)}})):r(new Error("persistenceAdapter not configured"))},b.prototype.loadDatabase=function(e,t){var r=this;this.throttledSaves?this.throttledSaveDrain((function(n){if(n)return r.throttledSavePending=!0,void r.loadDatabaseInternal(e,(function(e){0===r.throttledCallbacks.length?r.throttledSavePending=!1:r.saveDatabase(),"function"==typeof t&&t(e)}));"function"==typeof t&&t(new Error("Unable to pause save throttling long enough to read database"))}),e):this.loadDatabaseInternal(e,t)},b.prototype.saveDatabaseInternal=function(e){var t,r=e||function(e){if(e)throw e},n=this;this.persistenceAdapter?"incremental"===this.persistenceAdapter.mode?(this.ignoreAutosave=!0,this.persistenceAdapter.saveDatabase(this.filename,(function(){if(n.ignoreAutosave=!1,!t){var e=n.copy({removeNonSerializable:!0});return t=n.collections.map((function(e){return[e.dirty,e.dirtyIds]})),n.collections.forEach((function(e){e.dirty=!1,e.dirtyIds=[]})),e}r(new Error("adapter error - getLokiCopy called more than once"))}),(function(e){n.ignoreAutosave=!1,e&&t&&n.collections.forEach((function(e,r){var n=t[r];e.dirty=e.dirty||n[0],e.dirtyIds=e.dirtyIds.concat(n[1])})),r(e)}))):"reference"===this.persistenceAdapter.mode&&"function"==typeof this.persistenceAdapter.exportDatabase?this.persistenceAdapter.exportDatabase(this.filename,this.copy({removeNonSerializable:!0}),(function(e){n.autosaveClearFlags(),r(e)})):(this.autosaveClearFlags(),this.persistenceAdapter.saveDatabase(this.filename,this.serialize(),(function(e){r(e)}))):r(new Error("persistenceAdapter not configured"))},b.prototype.saveDatabase=function(e){if(this.throttledSaves)if(this.throttledSavePending)this.throttledCallbacks.push(e);else{var t=this.throttledCallbacks;this.throttledCallbacks=[],t.unshift(e),this.throttledSavePending=!0;var r=this;this.saveDatabaseInternal((function(e){r.throttledSavePending=!1,t.forEach((function(t){"function"==typeof t&&setTimeout((function(){t(e)}),1)})),r.throttledCallbacks.length>0&&r.saveDatabase()}))}else this.saveDatabaseInternal(e)},b.prototype.save=b.prototype.saveDatabase,b.prototype.deleteDatabase=function(e,t){var r=t||function(e,t){if(e)throw e};"function"!=typeof e||t||(r=e),null!==this.persistenceAdapter?this.persistenceAdapter.deleteDatabase(this.filename,(function(e){r(e)})):r(new Error("persistenceAdapter not configured"))},b.prototype.autosaveDirty=function(){for(var e=0;e<this.collections.length;e++)if(this.collections[e].dirty)return!0;return!1},b.prototype.autosaveClearFlags=function(){for(var e=0;e<this.collections.length;e++)this.collections[e].dirty=!1},b.prototype.autosaveEnable=function(e,t){this.autosave=!0;var r=5e3,n=this;void 0!==this.autosaveInterval&&null!==this.autosaveInterval&&(r=this.autosaveInterval),this.autosaveHandle=setInterval((function(){n.autosaveDirty()&&!n.ignoreAutosave&&n.saveDatabase(t)}),r)},b.prototype.autosaveDisable=function(){void 0!==this.autosaveHandle&&null!==this.autosaveHandle&&(clearInterval(this.autosaveHandle),this.autosaveHandle=null)},E.prototype.reset=function(){return this.filteredrows.length>0&&(this.filteredrows=[]),this.filterInitialized=!1,this},E.prototype.toJSON=function(){var e=this.copy();return e.collection=null,e},E.prototype.limit=function(e){this.filterInitialized||0!==this.filteredrows.length||(this.filteredrows=this.collection.prepareFullDocIndex());var t=new E(this.collection);return t.filteredrows=this.filteredrows.slice(0,e),t.filterInitialized=!0,t},E.prototype.offset=function(e){this.filterInitialized||0!==this.filteredrows.length||(this.filteredrows=this.collection.prepareFullDocIndex());var t=new E(this.collection);return t.filteredrows=this.filteredrows.slice(e),t.filterInitialized=!0,t},E.prototype.copy=function(){var e=new E(this.collection);return this.filteredrows.length>0&&(e.filteredrows=this.filteredrows.slice()),e.filterInitialized=this.filterInitialized,e},E.prototype.branch=E.prototype.copy,E.prototype.transform=function(e,t){var r,n,i=this;if("string"==typeof e&&this.collection.transforms.hasOwnProperty(e)&&(e=this.collection.transforms[e]),"object"!=typeof e||!Array.isArray(e))throw new Error("Invalid transform");for(void 0!==t&&(e=a.resolveTransformParams(e,t)),r=0;r<e.length;r++)switch((n=e[r]).type){case"find":i.find(n.value);break;case"where":i.where(n.value);break;case"simplesort":i.simplesort(n.property,n.desc||n.options);break;case"compoundsort":i.compoundsort(n.value);break;case"sort":i.sort(n.value);break;case"limit":i=i.limit(n.value);break;case"offset":i=i.offset(n.value);break;case"map":i=i.map(n.value,n.dataOptions);break;case"eqJoin":i=i.eqJoin(n.joinData,n.leftJoinKey,n.rightJoinKey,n.mapFun,n.dataOptions);break;case"mapReduce":i=i.mapReduce(n.mapFunction,n.reduceFunction);break;case"update":i.update(n.value);break;case"remove":i.remove()}return i},E.prototype.sort=function(e){this.filterInitialized||0!==this.filteredrows.length||(this.filteredrows=this.collection.prepareFullDocIndex());var t,r,n=(t=e,r=this.collection.data,function(e,n){return t(r[e],r[n])});return this.filteredrows.sort(n),this},E.prototype.simplesort=function(e,t){var r,n=10,i=this.collection.data.length,o=this.filteredrows.length,s=this.collection.binaryIndices.hasOwnProperty(e);if(void 0!==t&&!1!==t||(t={desc:!1}),!0===t&&(t={desc:!0}),0===o){if(this.filterInitialized)return this;if(this.collection.binaryIndices.hasOwnProperty(e))return this.collection.ensureIndex(e),this.filteredrows=this.collection.binaryIndices[e].values.slice(0),t.desc&&this.filteredrows.reverse(),this;this.filteredrows=this.collection.prepareFullDocIndex()}else if(!t.disableIndexIntersect&&s&&(r=i/o,t.useJavascriptSorting&&(n=6),r<=n||t.forceIndexIntersect)){var p,d=this.filteredrows,l={};for(p=0;p<o;p++)l[d[p]]=!0;var c=this.collection.binaryIndices[e].values;return this.filteredrows=c.filter((function(e){return l[e]})),t.desc&&this.filteredrows.reverse(),this}if(t.useJavascriptSorting)return this.sort((function(t,r){return t[e]===r[e]?0:t[e]>r[e]?1:t[e]<r[e]?-1:void 0}));var f,h,m,v,y,g,b=(f=e,h=t.desc,m=this.collection.data,function(e,t){return~f.indexOf(".")?(g=f.split("."),v=a.getIn(m[e],g,!0),y=a.getIn(m[t],g,!0)):(v=m[e][f],y=m[t][f]),u(v,y,h)});return this.filteredrows.sort(b),this},E.prototype.compoundsort=function(e){if(0===e.length)throw new Error("Invalid call to compoundsort, need at least one property");var t;if(1===e.length)return t=e[0],Array.isArray(t)?this.simplesort(t[0],t[1]):this.simplesort(t,!1);for(var r=0,n=e.length;r<n;r+=1)t=e[r],Array.isArray(t)||(e[r]=[t,!1]);this.filterInitialized||0!==this.filteredrows.length||(this.filteredrows=this.collection.prepareFullDocIndex());var i,o,s=(i=e,o=this.collection.data,function(e,t){return function(e,t,r){for(var n,i,o,s,p,d=0,l=0,c=e.length;l<c;l++)if(~(i=(n=e[l])[0]).indexOf(".")?(p=i.split("."),o=a.getIn(t,p,!0),s=a.getIn(r,p,!0)):(o=t[i],s=r[i]),0!==(d=u(o,s,n[1])))return d;return 0}(i,o[e],o[t])});return this.filteredrows.sort(s),this},E.prototype.findOr=function(e){for(var t=null,r=0,n=0,i=[],a=[],o=0,s=(this.count(),0),p=e.length;s<p;s++)for(n=(t=this.branch().find(e[s]).filteredrows).length,r=0;r<n;r++)void 0===a[o=t[r]]&&(a[o]=!0,i.push(o));return this.filteredrows=i,this.filterInitialized=!0,this},E.prototype.$or=E.prototype.findOr,E.prototype.findAnd=function(e){for(var t=0,r=e.length;t<r;t++){if(0===this.count())return this;this.find(e[t])}return this},E.prototype.$and=E.prototype.findAnd,E.prototype.find=function(t,r){if(0===this.collection.data.length)return this.filteredrows=[],this.filterInitialized=!0,this;var n,i,o,s,p,d,u,c=t||"getAll",f=!1,v=[],y=[],g=null;if(r=r||!1,"object"==typeof c){for(n in c)(s={})[n]=c[n],y.push(s),e.call(c,n)&&(i=n,o=c[n]);if(y.length>1)return this.find({$and:y},r)}if(!i||"getAll"===c)return r&&(this.filterInitialized?this.filteredrows=this.filteredrows.slice(0,1):(this.filteredrows=this.collection.data.length>0?[0]:[],this.filterInitialized=!0)),this;if("$and"===i||"$or"===i)return this[i](o),r&&this.filteredrows.length>1&&(this.filteredrows=this.filteredrows.slice(0,1)),this;if(null===o||"object"!=typeof o||o instanceof Date)p="$eq",d=o;else{if("object"!=typeof o)throw new Error("Do not know what you want to do.");for(u in o)if(e.call(o,u)){p=u,d=o[u];break}}"$regex"!==p&&"object"!=typeof d||(d=N(p,d));var b=-1!==i.indexOf(".");!this.filterInitialized&&this.collection.binaryIndices[i]&&m[p]&&(!0!==this.collection.adaptiveBinaryIndices&&this.collection.ensureIndex(i),f=!0,g=this.collection.binaryIndices[i]),!f&&"$in"===p&&Array.isArray(d)&&"undefined"!=typeof Set&&(d=new Set(d),p="$inSet");var _,w,S=h[p],O=this.collection.data,E=0,x=0,T=0;if(this.filterInitialized){if(x=(_=this.filteredrows).length,b){for(i=i.split("."),E=0;E<x;E++)if(l(w=O[T=_[E]],i,S,d,w)&&(v.push(T),r))return this.filteredrows=v,this}else for(E=0;E<x;E++)if(S((w=O[T=_[E]])[i],d,w)&&(v.push(T),r))return this.filteredrows=v,this}else if(f){var P=this.collection.calculateRange(p,i,d);if("$in"!==p){for(E=P[0];E<=P[1];E++)if(!0!==m[p]){if(m[p](a.getIn(O[g.values[E]],i,b),d)&&(v.push(g.values[E]),r))return this.filteredrows=v,this.filterInitialized=!0,this}else if(v.push(g.values[E]),r)return this.filteredrows=v,this.filterInitialized=!0,this}else for(E=0,x=P.length;E<x;E++)if(v.push(g.values[P[E]]),r)return this.filteredrows=v,this.filterInitialized=!0,this}else if(x=O.length,b){for(i=i.split("."),E=0;E<x;E++)if(l(w=O[E],i,S,d,w)&&(v.push(E),r))return this.filteredrows=v,this.filterInitialized=!0,this}else for(E=0;E<x;E++)if(S((w=O[E])[i],d,w)&&(v.push(E),r))return this.filteredrows=v,this.filterInitialized=!0,this;return this.filteredrows=v,this.filterInitialized=!0,this},E.prototype.where=function(e){var t,r=[];if("function"!=typeof e)throw new TypeError("Argument is not a stored view or a function");t=e;try{if(this.filterInitialized){for(var n=this.filteredrows.length;n--;)!0===t(this.collection.data[this.filteredrows[n]])&&r.push(this.filteredrows[n]);return this.filteredrows=r,this}for(var i=this.collection.data.length;i--;)!0===t(this.collection.data[i])&&r.push(i);return this.filteredrows=r,this.filterInitialized=!0,this}catch(e){throw e}},E.prototype.count=function(){return this.filterInitialized?this.filteredrows.length:this.collection.count()},E.prototype.data=function(e){var t,r,n,i,a=[],o=this.collection.data;if((e=e||{}).removeMeta&&!e.forceClones&&(e.forceClones=!0,e.forceCloneMethod=e.forceCloneMethod||"shallow"),!this.collection.disableDeltaChangesApi&&this.collection.disableFreeze&&(e.forceClones=!0,e.forceCloneMethod="parse-stringify"),!this.filterInitialized){if(0===this.filteredrows.length){if(this.collection.cloneObjects||e.forceClones){for(r=o.length,i=e.forceCloneMethod||this.collection.cloneMethod,n=0;n<r;n++)t=v(o[n],i),e.removeMeta&&(delete t.$loki,delete t.meta),a.push(t);return a}return o.slice()}this.filterInitialized=!0}var s=this.filteredrows;if(r=s.length,this.collection.cloneObjects||e.forceClones)for(i=e.forceCloneMethod||this.collection.cloneMethod,n=0;n<r;n++)t=v(o[s[n]],i),e.removeMeta&&(delete t.$loki,delete t.meta),a.push(t);else for(n=0;n<r;n++)a.push(o[s[n]]);return a},E.prototype.update=function(e){if("function"!=typeof e)throw new TypeError("Argument is not a function");this.filterInitialized||0!==this.filteredrows.length||(this.filteredrows=this.collection.prepareFullDocIndex());for(var t,r=this.filteredrows.length,n=this.collection.data,i=0;i<r;i++)this.disableFreeze&&!this.collection.cloneObjects&&this.collection.disableDeltaChangesApi?(e(n[this.filteredrows[i]]),this.collection.update(n[this.filteredrows[i]])):(e(t=v(n[this.filteredrows[i]],this.collection.cloneMethod)),this.collection.update(t));return this},E.prototype.remove=function(){return this.filterInitialized||0!==this.filteredrows.length||(this.filteredrows=this.collection.prepareFullDocIndex()),this.collection.removeBatchByPositions(this.filteredrows),this.filteredrows=[],this},E.prototype.mapReduce=function(e,t){try{return t(this.data().map(e))}catch(e){throw e}},E.prototype.eqJoin=function(e,t,r,n,i){var a,o,s,p,d=[],u=[],l="function"==typeof t,c="function"==typeof r,f={};if(a=(p=this.data(i)).length,e instanceof T)d=e.chain().data(i);else if(e instanceof E)d=e.data(i);else{if(!Array.isArray(e))throw new TypeError("joinData needs to be an array or result set");d=e}o=d.length;for(var h=0;h<o;h++)f[s=c?r(d[h]):d[h][r]]=d[h];n||(n=function(e,t){return{left:e,right:t}});for(var m=0;m<a;m++)s=l?t(p[m]):p[m][t],u.push(n(p[m],f[s]||{}));return this.collection=new T("joinData"),this.collection.insert(u),this.filteredrows=[],this.filterInitialized=!1,this},E.prototype.map=function(e,t){var r=this.data(t).map(e);return this.collection=new T("mappedData"),this.collection.insert(r),this.filteredrows=[],this.filterInitialized=!1,this},x.prototype=new g,x.prototype.constructor=x,x.prototype.getSort=function(){return this.sortFunction||this.sortCriteria||this.sortCriteriaSimple},x.prototype.rematerialize=function(e){var t,r,n;e=e||{},this.resultdata=[],this.resultsdirty=!0,this.resultset=new E(this.collection),(this.sortFunction||this.sortCriteria||this.sortCriteriaSimple)&&(this.sortDirty=!0);var i=Object.isFrozen(this.filterPipeline);if(e.hasOwnProperty("removeWhereFilters"))for(i&&(this.filterPipeline=this.filterPipeline.slice()),r=t=this.filterPipeline.length;r--;)"where"===this.filterPipeline[r].type&&(r!==this.filterPipeline.length-1&&(this.filterPipeline[r]=this.filterPipeline[this.filterPipeline.length-1]),this.filterPipeline.length--);var a=this.filterPipeline;for(this.filterPipeline=[],t=a.length,n=0;n<t;n++)this.applyFind(a[n].val,a[n].uid);return i&&Object.freeze(this.filterPipeline),this.data(),this.emit("rebuild",this),this},x.prototype.branchResultset=function(e,t){var r=this.resultset.branch();return void 0===e?r:r.transform(e,t)},x.prototype.toJSON=function(){var e=new x(this.collection,this.name,this.options);return e.resultset=this.resultset,e.resultdata=[],e.resultsdirty=!0,e.filterPipeline=this.filterPipeline,e.sortFunction=this.sortFunction,e.sortCriteria=this.sortCriteria,e.sortCriteriaSimple=this.sortCriteriaSimple||null,e.sortDirty=this.sortDirty,e.collection=null,e},x.prototype.removeFilters=function(e){e=e||{},this.rebuildPending=!1,this.resultset.reset(),this.resultdata=[],this.resultsdirty=!0,this.cachedresultset=null;var t=Object.isFrozen(this.filterPipeline),r=this.filterPipeline.length>0;this.filterPipeline=[],t&&Object.freeze(this.filterPipeline),this.sortFunction=null,this.sortCriteria=null,this.sortCriteriaSimple=null,this.sortDirty=!1,!0===e.queueSortPhase&&this.queueSortPhase(),r&&this.emit("filter")},x.prototype.applySort=function(e){return this.sortFunction=e,this.sortCriteria=null,this.sortCriteriaSimple=null,this.queueSortPhase(),this.emit("sort"),this},x.prototype.applySimpleSort=function(e,r){return this.sortCriteriaSimple={propname:e,options:r||!1},this.collection.disableFreeze||t(this.sortCriteriaSimple),this.sortCriteria=null,this.sortFunction=null,this.queueSortPhase(),this.emit("sort"),this},x.prototype.applySortCriteria=function(e){return this.sortCriteria=e,this.collection.disableFreeze||t(this.sortCriteria),this.sortCriteriaSimple=null,this.sortFunction=null,this.queueSortPhase(),this.emit("sort"),this},x.prototype.startTransaction=function(){return this.cachedresultset=this.resultset.copy(),this},x.prototype.commit=function(){return this.cachedresultset=null,this},x.prototype.rollback=function(){return this.resultset=this.cachedresultset,this.options.persistent&&(this.resultdata=this.resultset.data(),this.emit("rebuild",this)),this},x.prototype._indexOfFilterWithId=function(e){if("string"==typeof e||"number"==typeof e)for(var t=0,r=this.filterPipeline.length;t<r;t+=1)if(e===this.filterPipeline[t].uid)return t;return-1},x.prototype._addFilter=function(e){var r=Object.isFrozen(this.filterPipeline);r&&(this.filterPipeline=this.filterPipeline.slice()),this.collection.disableFreeze||t(e),this.filterPipeline.push(e),r&&Object.freeze(this.filterPipeline),this.resultset[e.type](e.val)},x.prototype.reapplyFilters=function(){this.resultset.reset(),this.cachedresultset=null,this.options.persistent&&(this.resultdata=[],this.resultsdirty=!0);var e=this.filterPipeline,t=Object.isFrozen(e);this.filterPipeline=[];for(var r=0,n=e.length;r<n;r+=1)this._addFilter(e[r]);return t&&Object.freeze(this.filterPipeline),this.sortFunction||this.sortCriteria||this.sortCriteriaSimple?this.queueSortPhase():this.queueRebuildEvent(),this.emit("filter"),this},x.prototype.applyFilter=function(e){var t=this._indexOfFilterWithId(e.uid);if(t>=0){var r=Object.isFrozen(this.filterPipeline);return r&&(this.filterPipeline=this.filterPipeline.slice()),this.filterPipeline[t]=e,r&&(n(e),Object.freeze(this.filterPipeline)),this.reapplyFilters()}return this.cachedresultset=null,this.options.persistent&&(this.resultdata=[],this.resultsdirty=!0),this._addFilter(e),this.sortFunction||this.sortCriteria||this.sortCriteriaSimple?this.queueSortPhase():this.queueRebuildEvent(),this.emit("filter"),this},x.prototype.applyFind=function(e,t){return this.applyFilter({type:"find",val:e,uid:t}),this},x.prototype.applyWhere=function(e,t){return this.applyFilter({type:"where",val:e,uid:t}),this},x.prototype.removeFilter=function(e){var t=this._indexOfFilterWithId(e);if(t<0)throw new Error("Dynamic view does not contain a filter with ID: "+e);var r=Object.isFrozen(this.filterPipeline);return r&&(this.filterPipeline=this.filterPipeline.slice()),this.filterPipeline.splice(t,1),r&&Object.freeze(this.filterPipeline),this.reapplyFilters(),this},x.prototype.count=function(){return this.resultsdirty&&(this.resultdata=this.resultset.data()),this.resultset.count()},x.prototype.data=function(e){return(this.sortDirty||this.resultsdirty)&&this.performSortPhase({suppressRebuildEvent:!0}),this.options.persistent?this.resultdata:this.resultset.data(e)},x.prototype.queueRebuildEvent=function(){if(!this.rebuildPending){this.rebuildPending=!0;var e=this;setTimeout((function(){e.rebuildPending&&(e.rebuildPending=!1,e.emit("rebuild",e))}),this.options.minRebuildInterval)}},x.prototype.queueSortPhase=function(){if(!this.sortDirty){this.sortDirty=!0;var e=this;"active"===this.options.sortPriority?setTimeout((function(){e.performSortPhase()}),this.options.minRebuildInterval):this.queueRebuildEvent()}},x.prototype.performSortPhase=function(e){(this.sortDirty||this.resultsdirty)&&(e=e||{},this.sortDirty&&(this.sortFunction?this.resultset.sort(this.sortFunction):this.sortCriteria?this.resultset.compoundsort(this.sortCriteria):this.sortCriteriaSimple&&this.resultset.simplesort(this.sortCriteriaSimple.propname,this.sortCriteriaSimple.options),this.sortDirty=!1),this.options.persistent&&(this.resultdata=this.resultset.data(),this.resultsdirty=!1),e.suppressRebuildEvent||this.emit("rebuild",this))},x.prototype.evaluateDocument=function(e,t){if(!this.resultset.filterInitialized)return this.options.persistent&&(this.resultdata=this.resultset.data()),void(this.sortFunction||this.sortCriteria||this.sortCriteriaSimple?this.queueSortPhase():this.queueRebuildEvent());var r,n=this.resultset.filteredrows,i=t?-1:n.indexOf(+e),a=n.length,o=new E(this.collection);o.filteredrows=[e],o.filterInitialized=!0;for(var s=0,p=this.filterPipeline.length;s<p;s++)o[(r=this.filterPipeline[s]).type](r.val);var d=0===o.filteredrows.length?-1:0;return-1!==i||-1!==d?-1===i&&-1!==d?(n.push(e),this.options.persistent&&this.resultdata.push(this.collection.data[e]),void(this.sortFunction||this.sortCriteria||this.sortCriteriaSimple?this.queueSortPhase():this.queueRebuildEvent())):-1!==i&&-1===d?(i<a-1?(n.splice(i,1),this.options.persistent&&this.resultdata.splice(i,1)):(n.length=a-1,this.options.persistent&&(this.resultdata.length=a-1)),void(this.sortFunction||this.sortCriteria||this.sortCriteriaSimple?this.queueSortPhase():this.queueRebuildEvent())):-1!==i&&-1!==d?(this.options.persistent&&(this.resultdata[i]=this.collection.data[e]),void(this.sortFunction||this.sortCriteria||this.sortCriteriaSimple?this.queueSortPhase():this.queueRebuildEvent())):void 0:void 0},x.prototype.removeDocument=function(e){var t,r,n,i={},a={},o=[],s=this.resultset,p=this.resultset.filteredrows,d=p.length;if(!this.resultset.filterInitialized)return this.options.persistent&&(this.resultdata=this.resultset.data()),void(this.sortFunction||this.sortCriteria||this.sortCriteriaSimple?this.queueSortPhase():this.queueRebuildEvent());for(Array.isArray(e)||(e=[e]),n=e.length,r=0;r<n;r++)i[e[r]]=!0;for(t=0;t<d;t++)i[p[t]]&&(a[t]=!0);Object.keys(a).length>0&&(this.resultset.filteredrows=this.resultset.filteredrows.filter((function(e,t){return!a[t]})),this.options.persistent&&(this.resultdata=this.resultdata.filter((function(e,t){return!a[t]}))),this.sortFunction||this.sortCriteria||this.sortCriteriaSimple?this.queueSortPhase():this.queueRebuildEvent());var u=function(e){return function(t){return t<s.filteredrows[e]}};for(d=s.filteredrows.length,t=0;t<d;t++)o=e.filter(u(t)),s.filteredrows[t]-=o.length},x.prototype.mapReduce=function(e,t){try{return t(this.data().map(e))}catch(e){throw e}},T.prototype=new g,T.prototype.contructor=T,T.prototype.createChange=function(e,t,r,n){this.changes.push({name:e,operation:t,obj:"U"!=t||this.disableDeltaChangesApi?JSON.parse(JSON.stringify(r)):this.getChangeDelta(r,n)})},T.prototype.insertMeta=function(e){var t,r;if(!this.disableMeta&&e)if(Array.isArray(e))for(t=e.length,r=0;r<t;r++)e[r].hasOwnProperty("meta")||(e[r].meta={}),e[r].meta.created=(new Date).getTime(),e[r].meta.revision=0;else e.meta||(e.meta={}),e.meta.created=(new Date).getTime(),e.meta.revision=0},T.prototype.updateMeta=function(e){return this.disableMeta||!e||(this.disableFreeze||((e=i(e)).meta=i(e.meta)),e.meta.updated=(new Date).getTime(),e.meta.revision+=1),e},T.prototype.createInsertChange=function(e){this.createChange(this.name,"I",e)},T.prototype.createUpdateChange=function(e,t){this.createChange(this.name,"U",e,t)},T.prototype.insertMetaWithChange=function(e){this.insertMeta(e),this.createInsertChange(e)},T.prototype.updateMetaWithChange=function(e,t,r){return e=this.updateMeta(e,r),this.createUpdateChange(e,t),e},T.prototype.lokiConsoleWrapper={log:function(){},warn:function(){},error:function(){}},T.prototype.addAutoUpdateObserver=function(e){this.autoupdate&&"function"==typeof Object.observe&&Object.observe(e,this.observerCallback,["add","update","delete","reconfigure","setPrototype"])},T.prototype.removeAutoUpdateObserver=function(e){this.autoupdate&&"function"==typeof Object.observe&&Object.unobserve(e,this.observerCallback)},T.prototype.addTransform=function(e,t){if(this.transforms.hasOwnProperty(e))throw new Error("a transform by that name already exists");this.transforms[e]=t},T.prototype.getTransform=function(e){return this.transforms[e]},T.prototype.setTransform=function(e,t){this.transforms[e]=t},T.prototype.removeTransform=function(e){delete this.transforms[e]},T.prototype.byExample=function(e){var t,r,n;for(t in n=[],e)e.hasOwnProperty(t)&&n.push(((r={})[t]=e[t],r));return{$and:n}},T.prototype.findObject=function(e){return this.findOne(this.byExample(e))},T.prototype.findObjects=function(e){return this.find(this.byExample(e))},T.prototype.ttlDaemonFuncGen=function(){var e=this,t=this.ttl.age;return function(){var r=Date.now();e.chain().where((function(e){var n=e.meta.updated||e.meta.created;return t<r-n})).remove()}},T.prototype.setTTL=function(e,t){e<0?clearInterval(this.ttl.daemon):(this.ttl.age=e,this.ttl.ttlInterval=t,this.ttl.daemon=setInterval(this.ttlDaemonFuncGen(),t))},T.prototype.prepareFullDocIndex=function(){for(var e=this.data.length,t=new Array(e),r=0;r<e;r+=1)t[r]=r;return t},T.prototype.configureOptions=function(e){(e=e||{}).hasOwnProperty("adaptiveBinaryIndices")&&(this.adaptiveBinaryIndices=e.adaptiveBinaryIndices,this.adaptiveBinaryIndices&&this.ensureAllIndexes())},T.prototype.ensureIndex=function(e,t){if(void 0===t&&(t=!1),null==e)throw new Error("Attempting to set index without an associated property");if((!this.binaryIndices[e]||t||this.binaryIndices[e].dirty)&&(!0!==this.adaptiveBinaryIndices||!this.binaryIndices.hasOwnProperty(e)||t)){var r={name:e,dirty:!0,values:this.prepareFullDocIndex()};this.binaryIndices[e]=r;var n,i,s,p,d,u=(n=e,i=this.data,d=!!~n.indexOf(".")&&n.split("."),function(e,t){if(d?(s=a.getIn(i[e],d,!0),p=a.getIn(i[t],d,!0)):(s=i[e][n],p=i[t][n]),s!==p){if(o.lt(s,p,!1))return-1;if(o.gt(s,p,!1))return 1}return 0});r.values.sort(u),r.dirty=!1,this.dirty=!0}},T.prototype.checkAllIndexes=function(t){var r,n=this.binaryIndices,i=[];for(r in n)e.call(n,r)&&(this.checkIndex(r,t)||i.push(r));return i},T.prototype.checkIndex=function(e,t){(t=t||{}).randomSamplingFactor&&!1!==t.randomSampling&&(t.randomSampling=!0),t.randomSamplingFactor=t.randomSamplingFactor||.1,(t.randomSamplingFactor<0||t.randomSamplingFactor>1)&&(t.randomSamplingFactor=.1);var r,n,i,o,s,p=!0;if(!this.binaryIndices.hasOwnProperty(e))throw new Error("called checkIndex on property without an index: "+e);if(this.adaptiveBinaryIndices||this.ensureIndex(e),(o=(s=this.binaryIndices[e].values).length)!==this.data.length)return t.repair&&this.ensureIndex(e,!0),!1;if(0===o)return!0;var d=-1!==e.indexOf(".");if(1===o)p=0===s[0];else if(t.randomSampling){if(h.$lte(a.getIn(this.data[s[0]],e,d),a.getIn(this.data[s[1]],e,d))||(p=!1),h.$lte(a.getIn(this.data[s[o-2]],e,d),a.getIn(this.data[s[o-1]],e,d))||(p=!1),p)for(n=Math.floor((o-1)*t.randomSamplingFactor),r=0;r<n-1;r++)if(i=Math.floor(Math.random()*(o-1)),!h.$lte(a.getIn(this.data[s[i]],e,d),a.getIn(this.data[s[i+1]],e,d))){p=!1;break}}else for(r=0;r<o-1;r++)if(!h.$lte(a.getIn(this.data[s[r]],e,d),a.getIn(this.data[s[r+1]],e,d))){p=!1;break}return!p&&t.repair&&this.ensureIndex(e,!0),p},T.prototype.getBinaryIndexValues=function(e){var t,r=this.binaryIndices[e].values,n=[];for(t=0;t<r.length;t++)n.push(a.getIn(this.data[r[t]],e,!0));return n},T.prototype.getUniqueIndex=function(e,t){var r=this.constraints.unique[e];return!r&&t?this.ensureUniqueIndex(e):r},T.prototype.ensureUniqueIndex=function(e){var t=this.constraints.unique[e];return t||-1==this.uniqueNames.indexOf(e)&&this.uniqueNames.push(e),this.constraints.unique[e]=t=new M(e),this.data.forEach((function(e){t.set(e)})),t},T.prototype.ensureAllIndexes=function(t){var r,n=this.binaryIndices;for(r in n)e.call(n,r)&&this.ensureIndex(r,t)},T.prototype.flagBinaryIndexesDirty=function(){var t,r=this.binaryIndices;for(t in r)e.call(r,t)&&(r[t].dirty=!0)},T.prototype.flagBinaryIndexDirty=function(e){this.binaryIndices[e]&&(this.binaryIndices[e].dirty=!0)},T.prototype.count=function(e){return e?this.chain().find(e).filteredrows.length:this.data.length},T.prototype.ensureId=function(){if(!this.idIndex){for(var e=this.data,t=0,r=e.length,n=new Array(r);t<r;t++)n[t]=e[t].$loki;this.idIndex=n}},T.prototype.ensureIdAsync=function(e){this.async((function(){this.ensureId()}),e)},T.prototype.addDynamicView=function(e,t){var r=new x(this,e,t);return this.DynamicViews.push(r),r},T.prototype.removeDynamicView=function(e){this.DynamicViews=this.DynamicViews.filter((function(t){return t.name!==e}))},T.prototype.getDynamicView=function(e){for(var t=0;t<this.DynamicViews.length;t++)if(this.DynamicViews[t].name===e)return this.DynamicViews[t];return null},T.prototype.findAndUpdate=function(e,t){"function"==typeof e?this.updateWhere(e,t):this.chain().find(e).update(t)},T.prototype.findAndRemove=function(e){this.chain().find(e).remove()},T.prototype.insert=function(e,t){if(!Array.isArray(e))return this.insertOne(e);var r,n=[],i=t&&!this.cloneObjects&&this.adaptiveBinaryIndices&&Object.keys(this.binaryIndices).length>0;i&&(this.adaptiveBinaryIndices=!1);try{this.emit("pre-insert",e);for(var a=0,o=e.length;a<o;a++){if(!(r=this.insertOne(e[a],!0)))return;n.push(r)}}finally{i&&(this.ensureAllIndexes(),this.adaptiveBinaryIndices=!0)}return this.emit("insert",n),1===(n=this.cloneObjects?v(n,this.cloneMethod):n).length?n[0]:n},T.prototype.insertOne=function(e,r){var n,a=null;if("object"!=typeof e?a=new TypeError("Document needs to be an object"):null===e&&(a=new TypeError("Object cannot be null")),null!==a)throw this.emit("error",a),a;var o=this.cloneObjects?v(e,this.cloneMethod):e;if(this.disableFreeze||(o=i(o)),this.disableMeta||(void 0===o.meta?o.meta={revision:0,created:0}:this.disableFreeze||(o.meta=i(o.meta))),r||this.emit("pre-insert",o),this.add(o))return this.disableChangesApi?this.insertMeta(o):this.insertMetaWithChange(o),this.disableFreeze||t(o),n=this.cloneObjects?v(o,this.cloneMethod):o,r||this.emit("insert",n),this.addAutoUpdateObserver(n),n},T.prototype.clear=function(e){var t=this;e=e||{},this.data=[],this.idIndex=null,this.cachedIndex=null,this.cachedBinaryIndex=null,this.cachedData=null,this.maxId=0,this.DynamicViews=[],this.dirty=!0,this.constraints={unique:{},exact:{}},!0===e.removeIndices?(this.binaryIndices={},this.uniqueNames=[]):Object.keys(this.binaryIndices).forEach((function(e){t.binaryIndices[e].dirty=!1,t.binaryIndices[e].values=[]}))},T.prototype.update=function(r){var n,i,a;if(Array.isArray(r)){a=r.length,(n=!this.cloneObjects&&this.adaptiveBinaryIndices&&Object.keys(this.binaryIndices).length>0)&&(this.adaptiveBinaryIndices=!1);try{for(i=0;i<a;i+=1)this.update(r[i])}finally{n&&(this.ensureAllIndexes(),this.adaptiveBinaryIndices=!0)}}else{if(!e.call(r,"$loki"))throw new Error("Trying to update unsynced document. Please save the document first by using insert() or addMany()");try{this.startTransaction();var o,s,p,d,u,l=this.get(r.$loki,!0),c=this;if(!l)throw new Error("Trying to update a document not in collection.");o=l[0],p=l[1],s=this.cloneObjects||!this.disableDeltaChangesApi&&this.disableFreeze?v(r,this.cloneMethod):r,this.emit("pre-update",r),this.uniqueNames.forEach((function(e){c.getUniqueIndex(e,!0).update(o,s)})),this.data[p]=s,s!==r&&this.addAutoUpdateObserver(r);for(var f=0;f<this.DynamicViews.length;f++)this.DynamicViews[f].evaluateDocument(p,!1);if(this.adaptiveBinaryIndices){var h=this.binaryIndices;for(d in h)this.adaptiveBinaryIndexUpdate(p,d)}else this.flagBinaryIndexesDirty();return this.idIndex[p]=s.$loki,this.isIncremental&&this.dirtyIds.push(s.$loki),this.commit(),this.dirty=!0,s=this.disableChangesApi?this.updateMeta(s):this.updateMetaWithChange(s,o),this.disableFreeze||t(s),u=this.cloneObjects?v(s,this.cloneMethod):s,this.emit("update",u,o),u}catch(e){throw this.rollback(),this.lokiConsoleWrapper.error(e.message),this.emit("error",e),e}}},T.prototype.add=function(e){if("object"!=typeof e)throw new TypeError("Object being added needs to be an object");if(void 0!==e.$loki)throw new Error("Document is already in collection, please use update()");try{this.startTransaction(),this.maxId++,isNaN(this.maxId)&&(this.maxId=this.data[this.data.length-1].$loki+1);var t=this.maxId;e.$loki=t,this.disableMeta||(e.meta.version=0);for(var r=0,n=this.uniqueNames.length;r<n;r++)this.getUniqueIndex(this.uniqueNames[r],!0).set(e);this.idIndex&&this.idIndex.push(t),this.isIncremental&&this.dirtyIds.push(t),this.data.push(e);var i=this.data.length-1,a=this.DynamicViews.length;for(r=0;r<a;r++)this.DynamicViews[r].evaluateDocument(i,!0);if(this.adaptiveBinaryIndices){var o=this.binaryIndices;for(var s in o)this.adaptiveBinaryIndexInsert(i,s)}else this.flagBinaryIndexesDirty();return this.commit(),this.dirty=!0,this.cloneObjects?v(e,this.cloneMethod):e}catch(e){throw this.rollback(),this.lokiConsoleWrapper.error(e.message),this.emit("error",e),e}},T.prototype.updateWhere=function(e,t){var r,n=this.where(e),i=0;try{for(;i<n.length;i++)r=t(n[i]),this.update(r)}catch(e){this.rollback(),this.lokiConsoleWrapper.error(e.message)}},T.prototype.removeWhere=function(e){var t;"function"==typeof e?(t=this.data.filter(e),this.remove(t)):this.chain().find(e).remove()},T.prototype.removeDataOnly=function(){this.remove(this.data.slice())},T.prototype.removeBatchByPositions=function(e){var t,r,n,i,a=e.length,o={},s=Object.keys(this.binaryIndices).length,p=Object.keys(this.constraints.unique).length,d=this.adaptiveBinaryIndices&&Object.keys(this.binaryIndices).length>0,u=this;try{for(this.startTransaction(),this.ensureId(),n=0;n<a;n++)o[this.idIndex[e[n]]]=!0;if((t=this.DynamicViews.length)>0||s>0||p>0){if(t>0)for(r=0;r<t;r++)this.DynamicViews[r].removeDocument(e);if(this.adaptiveBinaryIndices&&!d){var l,c=this.binaryIndices;for(l in c)this.adaptiveBinaryIndexRemove(e,l)}else this.flagBinaryIndexesDirty();p&&this.uniqueNames.forEach((function(t){var r=u.getUniqueIndex(t);if(r)for(n=0;n<a;n++)null!==(i=u.data[e[n]])[t]&&void 0!==i[t]&&r.remove(i[t])}))}if(!this.disableChangesApi||this.events.delete.length>1)for(n=0;n<a;n++)this.emit("delete",this.data[e[n]]);if(this.data=this.data.filter((function(e){return!o[e.$loki]})),this.isIncremental)for(n=0;n<a;n++)this.dirtyIds.push(this.idIndex[e[n]]);this.idIndex=this.idIndex.filter((function(e){return!o[e]})),this.adaptiveBinaryIndices&&d&&(this.adaptiveBinaryIndices=!1,this.ensureAllIndexes(!0),this.adaptiveBinaryIndices=!0),this.commit(),this.dirty=!0}catch(e){return this.rollback(),d&&(this.adaptiveBinaryIndices=!0),this.lokiConsoleWrapper.error(e.message),this.emit("error",e),null}},T.prototype.removeBatch=function(e){var t,r=e.length,n=this.data.length,i={},a=[];for(t=0;t<n;t++)i[this.data[t].$loki]=t;for(t=0;t<r;t++)"object"==typeof e[t]?a.push(i[e[t].$loki]):a.push(i[e[t]]);this.removeBatchByPositions(a)},T.prototype.remove=function(t){if("number"==typeof t&&(t=this.get(t)),"object"!=typeof t)throw new Error("Parameter is not an object");if(Array.isArray(t))this.removeBatch(t);else{if(!e.call(t,"$loki"))throw new Error("Object is not a document stored in the collection");try{this.startTransaction();var r=this.get(t.$loki,!0),a=r[1],o=this;this.uniqueNames.forEach((function(e){if(null!==t[e]&&void 0!==t[e]){var r=o.getUniqueIndex(e);r&&r.remove(t[e])}}));for(var s=0;s<this.DynamicViews.length;s++)this.DynamicViews[s].removeDocument(a);if(this.adaptiveBinaryIndices){var p,d=this.binaryIndices;for(p in d)this.adaptiveBinaryIndexRemove(a,p)}else this.flagBinaryIndexesDirty();return this.data.splice(a,1),this.removeAutoUpdateObserver(t),this.idIndex.splice(a,1),this.isIncremental&&this.dirtyIds.push(t.$loki),this.commit(),this.dirty=!0,this.emit("delete",r[0]),this.disableFreeze||(t=i(t)),delete t.$loki,delete t.meta,this.disableFreeze||n(t),t}catch(e){return this.rollback(),this.lokiConsoleWrapper.error(e.message),this.emit("error",e),null}}},T.prototype.get=function(e,t){this.idIndex||this.ensureId();var r=t||!1,n=this.idIndex,i=n.length-1,a=0,o=a+i>>1;if(e="number"==typeof e?e:parseInt(e,10),isNaN(e))throw new TypeError("Passed id is not an integer");for(;n[a]<n[i];)n[o=a+i>>1]<e?a=o+1:i=o;return i===a&&n[a]===e?r?[this.data[a],a]:this.data[a]:null},T.prototype.getBinaryIndexPosition=function(e,t){var r=a.getIn(this.data[e],t,!0),n=this.binaryIndices[t].values,i=this.calculateRange("$eq",t,r);if(0===i[0]&&-1===i[1])return null;for(var o=i[0],s=i[1],p=o;p<=s;p++)if(n[p]===e)return p;return null},T.prototype.adaptiveBinaryIndexInsert=function(e,t){var r=-1!==t.indexOf("."),n=this.binaryIndices[t].values,i=a.getIn(this.data[e],t,r);!0===this.serializableIndices&&i instanceof Date&&(this.data[e][t]=i.getTime(),i=a.getIn(this.data[e],t));var o=0===n.length?0:this.calculateRangeStart(t,i,!0,r);this.binaryIndices[t].values.splice(o,0,e)},T.prototype.adaptiveBinaryIndexUpdate=function(e,t){var r,n=this.binaryIndices[t].values,i=n.length;for(r=0;r<i&&n[r]!==e;r++);this.binaryIndices[t].values.splice(r,1),this.adaptiveBinaryIndexInsert(e,t)},T.prototype.adaptiveBinaryIndexRemove=function(e,t,r){var n,i,a,o,s,p,d,u=this.binaryIndices[t],l={};if(Array.isArray(e)){if(1!==(o=e.length)){for(a=0;a<o;a++)l[e[a]]=!0;if(u.values=u.values.filter((function(e){return!l[e]})),!0===r)return;var c=e.slice();for(c.sort((function(e,t){return e-t})),n=u.values.length,i=0;i<n;i++){for(s=u.values[i],p=0,a=0;a<o&&s>c[a];a++)p++;u.values[i]-=p}return}e=e[0]}if(null===(d=this.getBinaryIndexPosition(e,t)))return null;if(u.values.splice(d,1),!0!==r)for(n=u.values.length,i=0;i<n;i++)u.values[i]>e&&u.values[i]--},T.prototype.calculateRangeStart=function(e,t,r,n){var i=this.data,s=this.binaryIndices[e].values,p=0,d=s.length-1,u=0;if(0===s.length)return-1;for(a.getIn(i[s[p]],e,n),a.getIn(i[s[d]],e,n);p<d;)u=p+d>>1,o.lt(a.getIn(i[s[u]],e,n),t,!1)?p=u+1:d=u;var l=p;return o.aeq(t,a.getIn(i[s[l]],e,n))?l:o.lt(t,a.getIn(i[s[l]],e,n),!1)?r?l:l-1:r?l+1:l},T.prototype.calculateRangeEnd=function(e,t,r){var n=this.data,i=this.binaryIndices[e].values,s=0,p=i.length-1,d=0;if(0===i.length)return-1;for(a.getIn(n[i[s]],e,r),a.getIn(n[i[p]],e,r);s<p;)d=s+p>>1,o.lt(t,a.getIn(n[i[d]],e,r),!1)?p=d:s=d+1;var u=p;return o.aeq(t,a.getIn(n[i[u]],e,r))?u:o.gt(t,a.getIn(n[i[u]],e,r),!1)?u+1:o.aeq(t,a.getIn(n[i[u-1]],e,r))?u-1:u},T.prototype.calculateRange=function(e,t,r){var n,i,s,p=this.data,d=this.binaryIndices[t].values,u=d.length-1;if(0===p.length)return[0,-1];var l=-1!==t.indexOf("."),c=a.getIn(p[d[0]],t,l),f=a.getIn(p[d[u]],t,l);switch(e){case"$eq":case"$aeq":case"$dteq":if(o.lt(r,c,!1)||o.gt(r,f,!1))return[0,-1];break;case"$gt":if(o.gt(r,f,!0))return[0,-1];if(o.gt(c,r,!1))return[0,u];break;case"$gte":if(o.gt(r,f,!1))return[0,-1];if(o.gt(c,r,!0))return[0,u];break;case"$lt":if(o.lt(r,c,!0))return[0,-1];if(o.lt(f,r,!1))return[0,u];break;case"$lte":if(o.lt(r,c,!1))return[0,-1];if(o.lt(f,r,!0))return[0,u];break;case"$between":return o.gt(r[0],f,!1)||o.lt(r[1],c,!1)?[0,-1]:((n=this.calculateRangeStart(t,r[0],!1,l))<0&&n++,(s=this.calculateRangeEnd(t,r[1],l))>u&&s--,o.gt(a.getIn(p[d[n]],t,l),r[0],!0)||n++,o.lt(a.getIn(p[d[s]],t,l),r[1],!0)||s--,s<n?[0,-1]:[n,s]);case"$in":for(var h=[],m=[],v=0,y=r.length;v<y;v++)for(var g=this.calculateRange("$eq",t,r[v]),b=g[0];b<=g[1];b++)void 0===h[b]&&(h[b]=!0,m.push(b));return m}switch(e){case"$eq":case"$aeq":case"$dteq":case"$gte":case"$lt":n=this.calculateRangeStart(t,r,!1,l),i=a.getIn(p[d[n]],t,l)}switch(e){case"$eq":case"$aeq":case"$dteq":case"$lte":case"$gt":s=this.calculateRangeEnd(t,r,l),a.getIn(p[d[s]],t,l)}switch(e){case"$eq":case"$aeq":case"$dteq":return o.aeq(i,r)?[n,s]:[0,-1];case"$gt":return o.aeq(a.getIn(p[d[s]],t,l),r)?[s+1,u]:[s,u];case"$gte":return o.aeq(a.getIn(p[d[n]],t,l),r)?[n,u]:[n+1,u];case"$lt":return o.aeq(a.getIn(p[d[n]],t,l),r)?[0,n-1]:[0,n];case"$lte":return o.aeq(a.getIn(p[d[s]],t,l),r)?[0,s]:[0,s-1];default:return[0,p.length-1]}},T.prototype.by=function(e,t){var r;if(void 0===t)return r=this,function(t){return r.by(e,t)};var n=this.getUniqueIndex(e,!0).get(t);return this.cloneObjects?v(n,this.cloneMethod):n},T.prototype.findOne=function(e){e=e||{};var t=this.chain().find(e,!0).data();return Array.isArray(t)&&0===t.length?null:this.cloneObjects?v(t[0],this.cloneMethod):t[0]},T.prototype.chain=function(e,t){var r=new E(this);return void 0===e?r:r.transform(e,t)},T.prototype.find=function(e){return this.chain().find(e).data()},T.prototype.findOneUnindexed=function(e,t){for(var r=this.data.length;r--;)if(a.getIn(this.data[r],e,!0)===t)return this.data[r];return null},T.prototype.startTransaction=function(){if(this.transactional){this.cachedData=v(this.data,this.cloneMethod),this.cachedIndex=this.idIndex,this.cachedBinaryIndex=this.binaryIndices,this.cachedDirtyIds=this.dirtyIds;for(var e=0;e<this.DynamicViews.length;e++)this.DynamicViews[e].startTransaction()}},T.prototype.commit=function(){if(this.transactional){this.cachedData=null,this.cachedIndex=null,this.cachedBinaryIndex=null,this.cachedDirtyIds=null;for(var e=0;e<this.DynamicViews.length;e++)this.DynamicViews[e].commit()}},T.prototype.rollback=function(){if(this.transactional){null!==this.cachedData&&null!==this.cachedIndex&&(this.data=this.cachedData,this.idIndex=this.cachedIndex,this.binaryIndices=this.cachedBinaryIndex,this.dirtyIds=this.cachedDirtyIds);for(var e=0;e<this.DynamicViews.length;e++)this.DynamicViews[e].rollback()}},T.prototype.async=function(e,t){setTimeout((function(){if("function"!=typeof e)throw new TypeError("Argument passed for async execution is not a function");e(),t()}),0)},T.prototype.where=function(e){return this.chain().where(e).data()},T.prototype.mapReduce=function(e,t){try{return t(this.data.map(e))}catch(e){throw e}},T.prototype.eqJoin=function(e,t,r,n,i){return new E(this).eqJoin(e,t,r,n,i)},T.prototype.stages={},T.prototype.getStage=function(e){return this.stages[e]||(this.stages[e]={}),this.stages[e]},T.prototype.commitLog=[],T.prototype.stage=function(e,t){var r=JSON.parse(JSON.stringify(t));return this.getStage(e)[t.$loki]=r,r},T.prototype.commitStage=function(e,t){var r,n=this.getStage(e),i=(new Date).getTime();for(r in n)this.update(n[r]),this.commitLog.push({timestamp:i,message:t,data:JSON.parse(JSON.stringify(n[r]))});this.stages[e]={}},T.prototype.no_op=function(){},T.prototype.extract=function(e){for(var t=0,r=this.data.length,n=P(e),i=[];t<r;t+=1)i.push(j(this.data[t],e,n));return i},T.prototype.max=function(e){return Math.max.apply(null,this.extract(e))},T.prototype.min=function(e){return Math.min.apply(null,this.extract(e))},T.prototype.maxRecord=function(e){for(var t,r=0,n=this.data.length,i=P(e),a={index:0,value:void 0};r<n;r+=1)void 0!==t?t<j(this.data[r],e,i)&&(t=j(this.data[r],e,i),a.index=this.data[r].$loki):(t=j(this.data[r],e,i),a.index=this.data[r].$loki);return a.value=t,a},T.prototype.minRecord=function(e){for(var t,r=0,n=this.data.length,i=P(e),a={index:0,value:void 0};r<n;r+=1)void 0!==t?t>j(this.data[r],e,i)&&(t=j(this.data[r],e,i),a.index=this.data[r].$loki):(t=j(this.data[r],e,i),a.index=this.data[r].$loki);return a.value=t,a},T.prototype.extractNumerical=function(e){return this.extract(e).map(I).filter(Number).filter((function(e){return!isNaN(e)}))},T.prototype.avg=function(e){return A(this.extractNumerical(e))},T.prototype.stdDev=function(e){return t=this.extractNumerical(e),r=A(t),n=A(t.map((function(e){var t=e-r;return t*t}))),Math.sqrt(n);var t,r,n},T.prototype.mode=function(e){var t,r,n,i={},a=this.extract(e);for(r in a.forEach((function(e){i[e]?i[e]+=1:i[e]=1})),i)t?t<i[r]&&(n=r):(n=r,t=i[r]);return n},T.prototype.median=function(e){var t=this.extractNumerical(e);t.sort(k);var r=Math.floor(t.length/2);return t.length%2?t[r]:(t[r-1]+t[r])/2},$.prototype={keys:[],values:[],sort:function(e,t){return e<t?-1:e>t?1:0},setSort:function(e){this.bs=new R(e)},bs:function(){return new R(this.sort)},set:function(e,t){var r=this.bs(this.keys,e);r.found?this.values[r.index]=t:(this.keys.splice(r.index,0,e),this.values.splice(r.index,0,t))},get:function(e){return this.values[C(this.keys,e,this.sort).index]}},M.prototype.keyMap={},M.prototype.lokiMap={},M.prototype.set=function(e){var t=e[this.field];if(null!=t){if(this.keyMap[t])throw new Error("Duplicate key for property "+this.field+": "+t);this.keyMap[t]=e,this.lokiMap[e.$loki]=t}},M.prototype.get=function(e){return this.keyMap[e]},M.prototype.byId=function(e){return this.keyMap[this.lokiMap[e]]},M.prototype.update=function(e,t){if(this.lokiMap[e.$loki]!==t[this.field]){var r=this.lokiMap[e.$loki];this.set(t),this.keyMap[r]=void 0}else this.keyMap[e[this.field]]=t},M.prototype.remove=function(e){var t=this.keyMap[e];if(null==t)throw new Error("Key is not in unique index: "+this.field);this.keyMap[e]=void 0,this.lokiMap[t.$loki]=void 0},M.prototype.clear=function(){this.keyMap=Object.create(null),this.lokiMap=Object.create(null)},F.prototype={set:function(e,t){this.index[e]?this.index[e].push(t):this.index[e]=[t]},remove:function(e,t){var r=this.index[e];for(var n in r)r[n]==t&&r.splice(n,1);r.length<1&&(this.index[e]=void 0)},get:function(e){return this.index[e]},clear:function(e){this.index={}}},b.deepFreeze=t,b.freeze=n,b.unFreeze=i,b.LokiOps=h,b.Collection=T,b.DynamicView=x,b.Resultset=E,b.KeyValueStore=$,b.LokiMemoryAdapter=_,b.LokiPartitioningAdapter=w,b.LokiLocalStorageAdapter=O,b.LokiFsAdapter=S,b.persistenceAdapters={fs:S,localStorage:O},b.aeq=s,b.lt=p,b.gt=d,b.Comparators=o,b}()},void 0===(i=n.apply(t,[]))||(e.exports=i)},8628:e=>{var t=1e3,r=60*t,n=60*r,i=24*n;function a(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,o){o=o||{};var s,p,d=typeof e;if("string"===d&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(a){var o=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*i;case"hours":case"hour":case"hrs":case"hr":case"h":return o*n;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===d&&isFinite(e))return o.long?(s=e,(p=Math.abs(s))>=i?a(s,p,i,"day"):p>=n?a(s,p,n,"hour"):p>=r?a(s,p,r,"minute"):p>=t?a(s,p,t,"second"):s+" ms"):function(e){var a=Math.abs(e);return a>=i?Math.round(e/i)+"d":a>=n?Math.round(e/n)+"h":a>=r?Math.round(e/r)+"m":a>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2937:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.interval=t.iif=t.generate=t.fromEventPattern=t.fromEvent=t.from=t.forkJoin=t.empty=t.defer=t.connectable=t.concat=t.combineLatest=t.bindNodeCallback=t.bindCallback=t.UnsubscriptionError=t.TimeoutError=t.SequenceError=t.ObjectUnsubscribedError=t.NotFoundError=t.EmptyError=t.ArgumentOutOfRangeError=t.firstValueFrom=t.lastValueFrom=t.isObservable=t.identity=t.noop=t.pipe=t.NotificationKind=t.Notification=t.Subscriber=t.Subscription=t.Scheduler=t.VirtualAction=t.VirtualTimeScheduler=t.animationFrameScheduler=t.animationFrame=t.queueScheduler=t.queue=t.asyncScheduler=t.async=t.asapScheduler=t.asap=t.AsyncSubject=t.ReplaySubject=t.BehaviorSubject=t.Subject=t.animationFrames=t.observable=t.ConnectableObservable=t.Observable=void 0,t.filter=t.expand=t.exhaustMap=t.exhaustAll=t.exhaust=t.every=t.endWith=t.elementAt=t.distinctUntilKeyChanged=t.distinctUntilChanged=t.distinct=t.dematerialize=t.delayWhen=t.delay=t.defaultIfEmpty=t.debounceTime=t.debounce=t.count=t.connect=t.concatWith=t.concatMapTo=t.concatMap=t.concatAll=t.combineLatestWith=t.combineLatestAll=t.combineAll=t.catchError=t.bufferWhen=t.bufferToggle=t.bufferTime=t.bufferCount=t.buffer=t.auditTime=t.audit=t.config=t.NEVER=t.EMPTY=t.scheduled=t.zip=t.using=t.timer=t.throwError=t.range=t.race=t.partition=t.pairs=t.onErrorResumeNext=t.of=t.never=t.merge=void 0,t.switchMapTo=t.switchMap=t.switchAll=t.subscribeOn=t.startWith=t.skipWhile=t.skipUntil=t.skipLast=t.skip=t.single=t.shareReplay=t.share=t.sequenceEqual=t.scan=t.sampleTime=t.sample=t.refCount=t.retryWhen=t.retry=t.repeatWhen=t.repeat=t.reduce=t.raceWith=t.publishReplay=t.publishLast=t.publishBehavior=t.publish=t.pluck=t.pairwise=t.observeOn=t.multicast=t.min=t.mergeWith=t.mergeScan=t.mergeMapTo=t.mergeMap=t.flatMap=t.mergeAll=t.max=t.materialize=t.mapTo=t.map=t.last=t.isEmpty=t.ignoreElements=t.groupBy=t.first=t.findIndex=t.find=t.finalize=void 0,t.zipWith=t.zipAll=t.withLatestFrom=t.windowWhen=t.windowToggle=t.windowTime=t.windowCount=t.window=t.toArray=t.timestamp=t.timeoutWith=t.timeout=t.timeInterval=t.throwIfEmpty=t.throttleTime=t.throttle=t.tap=t.takeWhile=t.takeUntil=t.takeLast=t.take=t.switchScan=void 0;var a=r(5271);Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return a.Observable}});var o=r(3739);Object.defineProperty(t,"ConnectableObservable",{enumerable:!0,get:function(){return o.ConnectableObservable}});var s=r(2138);Object.defineProperty(t,"observable",{enumerable:!0,get:function(){return s.observable}});var p=r(4190);Object.defineProperty(t,"animationFrames",{enumerable:!0,get:function(){return p.animationFrames}});var d=r(9520);Object.defineProperty(t,"Subject",{enumerable:!0,get:function(){return d.Subject}});var u=r(8042);Object.defineProperty(t,"BehaviorSubject",{enumerable:!0,get:function(){return u.BehaviorSubject}});var l=r(216);Object.defineProperty(t,"ReplaySubject",{enumerable:!0,get:function(){return l.ReplaySubject}});var c=r(7257);Object.defineProperty(t,"AsyncSubject",{enumerable:!0,get:function(){return c.AsyncSubject}});var f=r(4502);Object.defineProperty(t,"asap",{enumerable:!0,get:function(){return f.asap}}),Object.defineProperty(t,"asapScheduler",{enumerable:!0,get:function(){return f.asapScheduler}});var h=r(4617);Object.defineProperty(t,"async",{enumerable:!0,get:function(){return h.async}}),Object.defineProperty(t,"asyncScheduler",{enumerable:!0,get:function(){return h.asyncScheduler}});var m=r(326);Object.defineProperty(t,"queue",{enumerable:!0,get:function(){return m.queue}}),Object.defineProperty(t,"queueScheduler",{enumerable:!0,get:function(){return m.queueScheduler}});var v=r(6192);Object.defineProperty(t,"animationFrame",{enumerable:!0,get:function(){return v.animationFrame}}),Object.defineProperty(t,"animationFrameScheduler",{enumerable:!0,get:function(){return v.animationFrameScheduler}});var y=r(8847);Object.defineProperty(t,"VirtualTimeScheduler",{enumerable:!0,get:function(){return y.VirtualTimeScheduler}}),Object.defineProperty(t,"VirtualAction",{enumerable:!0,get:function(){return y.VirtualAction}});var g=r(3980);Object.defineProperty(t,"Scheduler",{enumerable:!0,get:function(){return g.Scheduler}});var b=r(7215);Object.defineProperty(t,"Subscription",{enumerable:!0,get:function(){return b.Subscription}});var _=r(1403);Object.defineProperty(t,"Subscriber",{enumerable:!0,get:function(){return _.Subscriber}});var w=r(3868);Object.defineProperty(t,"Notification",{enumerable:!0,get:function(){return w.Notification}}),Object.defineProperty(t,"NotificationKind",{enumerable:!0,get:function(){return w.NotificationKind}});var S=r(5966);Object.defineProperty(t,"pipe",{enumerable:!0,get:function(){return S.pipe}});var O=r(5729);Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return O.noop}});var E=r(9144);Object.defineProperty(t,"identity",{enumerable:!0,get:function(){return E.identity}});var N=r(1211);Object.defineProperty(t,"isObservable",{enumerable:!0,get:function(){return N.isObservable}});var x=r(1263);Object.defineProperty(t,"lastValueFrom",{enumerable:!0,get:function(){return x.lastValueFrom}});var T=r(7447);Object.defineProperty(t,"firstValueFrom",{enumerable:!0,get:function(){return T.firstValueFrom}});var P=r(6809);Object.defineProperty(t,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return P.ArgumentOutOfRangeError}});var I=r(8032);Object.defineProperty(t,"EmptyError",{enumerable:!0,get:function(){return I.EmptyError}});var D=r(1137);Object.defineProperty(t,"NotFoundError",{enumerable:!0,get:function(){return D.NotFoundError}});var k=r(7392);Object.defineProperty(t,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return k.ObjectUnsubscribedError}});var A=r(6228);Object.defineProperty(t,"SequenceError",{enumerable:!0,get:function(){return A.SequenceError}});var j=r(6279);Object.defineProperty(t,"TimeoutError",{enumerable:!0,get:function(){return j.TimeoutError}});var C=r(5463);Object.defineProperty(t,"UnsubscriptionError",{enumerable:!0,get:function(){return C.UnsubscriptionError}});var R=r(1253);Object.defineProperty(t,"bindCallback",{enumerable:!0,get:function(){return R.bindCallback}});var $=r(1009);Object.defineProperty(t,"bindNodeCallback",{enumerable:!0,get:function(){return $.bindNodeCallback}});var M=r(1047);Object.defineProperty(t,"combineLatest",{enumerable:!0,get:function(){return M.combineLatest}});var F=r(79);Object.defineProperty(t,"concat",{enumerable:!0,get:function(){return F.concat}});var V=r(1663);Object.defineProperty(t,"connectable",{enumerable:!0,get:function(){return V.connectable}});var L=r(5401);Object.defineProperty(t,"defer",{enumerable:!0,get:function(){return L.defer}});var q=r(1727);Object.defineProperty(t,"empty",{enumerable:!0,get:function(){return q.empty}});var B=r(1723);Object.defineProperty(t,"forkJoin",{enumerable:!0,get:function(){return B.forkJoin}});var U=r(6216);Object.defineProperty(t,"from",{enumerable:!0,get:function(){return U.from}});var z=r(6767);Object.defineProperty(t,"fromEvent",{enumerable:!0,get:function(){return z.fromEvent}});var Q=r(4366);Object.defineProperty(t,"fromEventPattern",{enumerable:!0,get:function(){return Q.fromEventPattern}});var W=r(6103);Object.defineProperty(t,"generate",{enumerable:!0,get:function(){return W.generate}});var H=r(4468);Object.defineProperty(t,"iif",{enumerable:!0,get:function(){return H.iif}});var K=r(4449);Object.defineProperty(t,"interval",{enumerable:!0,get:function(){return K.interval}});var G=r(5847);Object.defineProperty(t,"merge",{enumerable:!0,get:function(){return G.merge}});var J=r(7423);Object.defineProperty(t,"never",{enumerable:!0,get:function(){return J.never}});var Y=r(7443);Object.defineProperty(t,"of",{enumerable:!0,get:function(){return Y.of}});var Z=r(1282);Object.defineProperty(t,"onErrorResumeNext",{enumerable:!0,get:function(){return Z.onErrorResumeNext}});var X=r(5259);Object.defineProperty(t,"pairs",{enumerable:!0,get:function(){return X.pairs}});var ee=r(1945);Object.defineProperty(t,"partition",{enumerable:!0,get:function(){return ee.partition}});var te=r(7779);Object.defineProperty(t,"race",{enumerable:!0,get:function(){return te.race}});var re=r(6971);Object.defineProperty(t,"range",{enumerable:!0,get:function(){return re.range}});var ne=r(859);Object.defineProperty(t,"throwError",{enumerable:!0,get:function(){return ne.throwError}});var ie=r(5710);Object.defineProperty(t,"timer",{enumerable:!0,get:function(){return ie.timer}});var ae=r(3687);Object.defineProperty(t,"using",{enumerable:!0,get:function(){return ae.using}});var oe=r(2042);Object.defineProperty(t,"zip",{enumerable:!0,get:function(){return oe.zip}});var se=r(3200);Object.defineProperty(t,"scheduled",{enumerable:!0,get:function(){return se.scheduled}});var pe=r(1727);Object.defineProperty(t,"EMPTY",{enumerable:!0,get:function(){return pe.EMPTY}});var de=r(7423);Object.defineProperty(t,"NEVER",{enumerable:!0,get:function(){return de.NEVER}}),i(r(9251),t);var ue=r(3782);Object.defineProperty(t,"config",{enumerable:!0,get:function(){return ue.config}});var le=r(3533);Object.defineProperty(t,"audit",{enumerable:!0,get:function(){return le.audit}});var ce=r(5188);Object.defineProperty(t,"auditTime",{enumerable:!0,get:function(){return ce.auditTime}});var fe=r(4514);Object.defineProperty(t,"buffer",{enumerable:!0,get:function(){return fe.buffer}});var he=r(2537);Object.defineProperty(t,"bufferCount",{enumerable:!0,get:function(){return he.bufferCount}});var me=r(8720);Object.defineProperty(t,"bufferTime",{enumerable:!0,get:function(){return me.bufferTime}});var ve=r(7932);Object.defineProperty(t,"bufferToggle",{enumerable:!0,get:function(){return ve.bufferToggle}});var ye=r(1445);Object.defineProperty(t,"bufferWhen",{enumerable:!0,get:function(){return ye.bufferWhen}});var ge=r(4418);Object.defineProperty(t,"catchError",{enumerable:!0,get:function(){return ge.catchError}});var be=r(4163);Object.defineProperty(t,"combineAll",{enumerable:!0,get:function(){return be.combineAll}});var _e=r(9893);Object.defineProperty(t,"combineLatestAll",{enumerable:!0,get:function(){return _e.combineLatestAll}});var we=r(7230);Object.defineProperty(t,"combineLatestWith",{enumerable:!0,get:function(){return we.combineLatestWith}});var Se=r(4554);Object.defineProperty(t,"concatAll",{enumerable:!0,get:function(){return Se.concatAll}});var Oe=r(1048);Object.defineProperty(t,"concatMap",{enumerable:!0,get:function(){return Oe.concatMap}});var Ee=r(381);Object.defineProperty(t,"concatMapTo",{enumerable:!0,get:function(){return Ee.concatMapTo}});var Ne=r(4724);Object.defineProperty(t,"concatWith",{enumerable:!0,get:function(){return Ne.concatWith}});var xe=r(4347);Object.defineProperty(t,"connect",{enumerable:!0,get:function(){return xe.connect}});var Te=r(6944);Object.defineProperty(t,"count",{enumerable:!0,get:function(){return Te.count}});var Pe=r(440);Object.defineProperty(t,"debounce",{enumerable:!0,get:function(){return Pe.debounce}});var Ie=r(8157);Object.defineProperty(t,"debounceTime",{enumerable:!0,get:function(){return Ie.debounceTime}});var De=r(1714);Object.defineProperty(t,"defaultIfEmpty",{enumerable:!0,get:function(){return De.defaultIfEmpty}});var ke=r(1030);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return ke.delay}});var Ae=r(6405);Object.defineProperty(t,"delayWhen",{enumerable:!0,get:function(){return Ae.delayWhen}});var je=r(9142);Object.defineProperty(t,"dematerialize",{enumerable:!0,get:function(){return je.dematerialize}});var Ce=r(2307);Object.defineProperty(t,"distinct",{enumerable:!0,get:function(){return Ce.distinct}});var Re=r(9131);Object.defineProperty(t,"distinctUntilChanged",{enumerable:!0,get:function(){return Re.distinctUntilChanged}});var $e=r(6659);Object.defineProperty(t,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return $e.distinctUntilKeyChanged}});var Me=r(4217);Object.defineProperty(t,"elementAt",{enumerable:!0,get:function(){return Me.elementAt}});var Fe=r(4707);Object.defineProperty(t,"endWith",{enumerable:!0,get:function(){return Fe.endWith}});var Ve=r(9276);Object.defineProperty(t,"every",{enumerable:!0,get:function(){return Ve.every}});var Le=r(337);Object.defineProperty(t,"exhaust",{enumerable:!0,get:function(){return Le.exhaust}});var qe=r(3977);Object.defineProperty(t,"exhaustAll",{enumerable:!0,get:function(){return qe.exhaustAll}});var Be=r(368);Object.defineProperty(t,"exhaustMap",{enumerable:!0,get:function(){return Be.exhaustMap}});var Ue=r(7829);Object.defineProperty(t,"expand",{enumerable:!0,get:function(){return Ue.expand}});var ze=r(2763);Object.defineProperty(t,"filter",{enumerable:!0,get:function(){return ze.filter}});var Qe=r(4106);Object.defineProperty(t,"finalize",{enumerable:!0,get:function(){return Qe.finalize}});var We=r(8759);Object.defineProperty(t,"find",{enumerable:!0,get:function(){return We.find}});var He=r(3999);Object.defineProperty(t,"findIndex",{enumerable:!0,get:function(){return He.findIndex}});var Ke=r(5194);Object.defineProperty(t,"first",{enumerable:!0,get:function(){return Ke.first}});var Ge=r(1664);Object.defineProperty(t,"groupBy",{enumerable:!0,get:function(){return Ge.groupBy}});var Je=r(3470);Object.defineProperty(t,"ignoreElements",{enumerable:!0,get:function(){return Je.ignoreElements}});var Ye=r(9549);Object.defineProperty(t,"isEmpty",{enumerable:!0,get:function(){return Ye.isEmpty}});var Ze=r(9582);Object.defineProperty(t,"last",{enumerable:!0,get:function(){return Ze.last}});var Xe=r(4338);Object.defineProperty(t,"map",{enumerable:!0,get:function(){return Xe.map}});var et=r(4791);Object.defineProperty(t,"mapTo",{enumerable:!0,get:function(){return et.mapTo}});var tt=r(9318);Object.defineProperty(t,"materialize",{enumerable:!0,get:function(){return tt.materialize}});var rt=r(7446);Object.defineProperty(t,"max",{enumerable:!0,get:function(){return rt.max}});var nt=r(4594);Object.defineProperty(t,"mergeAll",{enumerable:!0,get:function(){return nt.mergeAll}});var it=r(2735);Object.defineProperty(t,"flatMap",{enumerable:!0,get:function(){return it.flatMap}});var at=r(9010);Object.defineProperty(t,"mergeMap",{enumerable:!0,get:function(){return at.mergeMap}});var ot=r(8983);Object.defineProperty(t,"mergeMapTo",{enumerable:!0,get:function(){return ot.mergeMapTo}});var st=r(2170);Object.defineProperty(t,"mergeScan",{enumerable:!0,get:function(){return st.mergeScan}});var pt=r(3674);Object.defineProperty(t,"mergeWith",{enumerable:!0,get:function(){return pt.mergeWith}});var dt=r(1446);Object.defineProperty(t,"min",{enumerable:!0,get:function(){return dt.min}});var ut=r(2318);Object.defineProperty(t,"multicast",{enumerable:!0,get:function(){return ut.multicast}});var lt=r(3165);Object.defineProperty(t,"observeOn",{enumerable:!0,get:function(){return lt.observeOn}});var ct=r(402);Object.defineProperty(t,"pairwise",{enumerable:!0,get:function(){return ct.pairwise}});var ft=r(5658);Object.defineProperty(t,"pluck",{enumerable:!0,get:function(){return ft.pluck}});var ht=r(3881);Object.defineProperty(t,"publish",{enumerable:!0,get:function(){return ht.publish}});var mt=r(1755);Object.defineProperty(t,"publishBehavior",{enumerable:!0,get:function(){return mt.publishBehavior}});var vt=r(9801);Object.defineProperty(t,"publishLast",{enumerable:!0,get:function(){return vt.publishLast}});var yt=r(5021);Object.defineProperty(t,"publishReplay",{enumerable:!0,get:function(){return yt.publishReplay}});var gt=r(9925);Object.defineProperty(t,"raceWith",{enumerable:!0,get:function(){return gt.raceWith}});var bt=r(1678);Object.defineProperty(t,"reduce",{enumerable:!0,get:function(){return bt.reduce}});var _t=r(1194);Object.defineProperty(t,"repeat",{enumerable:!0,get:function(){return _t.repeat}});var wt=r(7085);Object.defineProperty(t,"repeatWhen",{enumerable:!0,get:function(){return wt.repeatWhen}});var St=r(7524);Object.defineProperty(t,"retry",{enumerable:!0,get:function(){return St.retry}});var Ot=r(548);Object.defineProperty(t,"retryWhen",{enumerable:!0,get:function(){return Ot.retryWhen}});var Et=r(2711);Object.defineProperty(t,"refCount",{enumerable:!0,get:function(){return Et.refCount}});var Nt=r(6577);Object.defineProperty(t,"sample",{enumerable:!0,get:function(){return Nt.sample}});var xt=r(3815);Object.defineProperty(t,"sampleTime",{enumerable:!0,get:function(){return xt.sampleTime}});var Tt=r(7250);Object.defineProperty(t,"scan",{enumerable:!0,get:function(){return Tt.scan}});var Pt=r(842);Object.defineProperty(t,"sequenceEqual",{enumerable:!0,get:function(){return Pt.sequenceEqual}});var It=r(9728);Object.defineProperty(t,"share",{enumerable:!0,get:function(){return It.share}});var Dt=r(7768);Object.defineProperty(t,"shareReplay",{enumerable:!0,get:function(){return Dt.shareReplay}});var kt=r(2445);Object.defineProperty(t,"single",{enumerable:!0,get:function(){return kt.single}});var At=r(6262);Object.defineProperty(t,"skip",{enumerable:!0,get:function(){return At.skip}});var jt=r(7397);Object.defineProperty(t,"skipLast",{enumerable:!0,get:function(){return jt.skipLast}});var Ct=r(9900);Object.defineProperty(t,"skipUntil",{enumerable:!0,get:function(){return Ct.skipUntil}});var Rt=r(1620);Object.defineProperty(t,"skipWhile",{enumerable:!0,get:function(){return Rt.skipWhile}});var $t=r(3424);Object.defineProperty(t,"startWith",{enumerable:!0,get:function(){return $t.startWith}});var Mt=r(831);Object.defineProperty(t,"subscribeOn",{enumerable:!0,get:function(){return Mt.subscribeOn}});var Ft=r(411);Object.defineProperty(t,"switchAll",{enumerable:!0,get:function(){return Ft.switchAll}});var Vt=r(7222);Object.defineProperty(t,"switchMap",{enumerable:!0,get:function(){return Vt.switchMap}});var Lt=r(6464);Object.defineProperty(t,"switchMapTo",{enumerable:!0,get:function(){return Lt.switchMapTo}});var qt=r(4434);Object.defineProperty(t,"switchScan",{enumerable:!0,get:function(){return qt.switchScan}});var Bt=r(7138);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return Bt.take}});var Ut=r(4288);Object.defineProperty(t,"takeLast",{enumerable:!0,get:function(){return Ut.takeLast}});var zt=r(7341);Object.defineProperty(t,"takeUntil",{enumerable:!0,get:function(){return zt.takeUntil}});var Qt=r(653);Object.defineProperty(t,"takeWhile",{enumerable:!0,get:function(){return Qt.takeWhile}});var Wt=r(8668);Object.defineProperty(t,"tap",{enumerable:!0,get:function(){return Wt.tap}});var Ht=r(9466);Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return Ht.throttle}});var Kt=r(9705);Object.defineProperty(t,"throttleTime",{enumerable:!0,get:function(){return Kt.throttleTime}});var Gt=r(8062);Object.defineProperty(t,"throwIfEmpty",{enumerable:!0,get:function(){return Gt.throwIfEmpty}});var Jt=r(6610);Object.defineProperty(t,"timeInterval",{enumerable:!0,get:function(){return Jt.timeInterval}});var Yt=r(6279);Object.defineProperty(t,"timeout",{enumerable:!0,get:function(){return Yt.timeout}});var Zt=r(8132);Object.defineProperty(t,"timeoutWith",{enumerable:!0,get:function(){return Zt.timeoutWith}});var Xt=r(4553);Object.defineProperty(t,"timestamp",{enumerable:!0,get:function(){return Xt.timestamp}});var er=r(2378);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return er.toArray}});var tr=r(4768);Object.defineProperty(t,"window",{enumerable:!0,get:function(){return tr.window}});var rr=r(131);Object.defineProperty(t,"windowCount",{enumerable:!0,get:function(){return rr.windowCount}});var nr=r(9579);Object.defineProperty(t,"windowTime",{enumerable:!0,get:function(){return nr.windowTime}});var ir=r(752);Object.defineProperty(t,"windowToggle",{enumerable:!0,get:function(){return ir.windowToggle}});var ar=r(582);Object.defineProperty(t,"windowWhen",{enumerable:!0,get:function(){return ar.windowWhen}});var or=r(4255);Object.defineProperty(t,"withLatestFrom",{enumerable:!0,get:function(){return or.withLatestFrom}});var sr=r(7220);Object.defineProperty(t,"zipAll",{enumerable:!0,get:function(){return sr.zipAll}});var pr=r(9287);Object.defineProperty(t,"zipWith",{enumerable:!0,get:function(){return pr.zipWith}})},7257:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncSubject=void 0;var a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._value=null,t._hasValue=!1,t._isComplete=!1,t}return i(t,e),t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t._hasValue,i=t._value,a=t.thrownError,o=t.isStopped,s=t._isComplete;r?e.error(a):(o||s)&&(n&&e.next(i),e.complete())},t.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},t.prototype.complete=function(){var t=this,r=t._hasValue,n=t._value;t._isComplete||(this._isComplete=!0,r&&e.prototype.next.call(this,n),e.prototype.complete.call(this))},t}(r(9520).Subject);t.AsyncSubject=a},8042:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.BehaviorSubject=void 0;var a=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return i(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return!r.closed&&t.next(this._value),r},t.prototype.getValue=function(){var e=this,t=e.hasError,r=e.thrownError,n=e._value;if(t)throw r;return this._throwIfClosed(),n},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(r(9520).Subject);t.BehaviorSubject=a},3868:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeNotification=t.Notification=t.NotificationKind=void 0;var n,i=r(1727),a=r(7443),o=r(859),s=r(4432);(n=t.NotificationKind||(t.NotificationKind={})).NEXT="N",n.ERROR="E",n.COMPLETE="C";var p=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return d(this,e)},e.prototype.do=function(e,t,r){var n=this,i=n.kind,a=n.value,o=n.error;return"N"===i?null==e?void 0:e(a):"E"===i?null==t?void 0:t(o):null==r?void 0:r()},e.prototype.accept=function(e,t,r){var n;return s.isFunction(null===(n=e)||void 0===n?void 0:n.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this,t=e.kind,r=e.value,n=e.error,s="N"===t?a.of(r):"E"===t?o.throwError((function(){return n})):"C"===t?i.EMPTY:0;if(!s)throw new TypeError("Unexpected notification kind "+t);return s},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}();function d(e,t){var r,n,i,a=e,o=a.kind,s=a.value,p=a.error;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(r=t.next)||void 0===r||r.call(t,s):"E"===o?null===(n=t.error)||void 0===n||n.call(t,p):null===(i=t.complete)||void 0===i||i.call(t)}t.Notification=p,t.observeNotification=d},3380:(e,t)=>{"use strict";function r(e,t,r){return{kind:e,value:t,error:r}}Object.defineProperty(t,"__esModule",{value:!0}),t.createNotification=t.nextNotification=t.errorNotification=t.COMPLETE_NOTIFICATION=void 0,t.COMPLETE_NOTIFICATION=r("C",void 0,void 0),t.errorNotification=function(e){return r("E",void 0,e)},t.nextNotification=function(e){return r("N",e,void 0)},t.createNotification=r},5271:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Observable=void 0;var n=r(1403),i=r(7215),a=r(2138),o=r(5966),s=r(3782),p=r(4432),d=r(4770),u=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var a,o=this,s=(a=e)&&a instanceof n.Subscriber||function(e){return e&&p.isFunction(e.next)&&p.isFunction(e.error)&&p.isFunction(e.complete)}(a)&&i.isSubscription(a)?e:new n.SafeSubscriber(e,t,r);return d.errorContext((function(){var e=o,t=e.operator,r=e.source;s.add(t?t.call(s,r):r?o._subscribe(s):o._trySubscribe(s))})),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=l(t))((function(t,i){var a=new n.SafeSubscriber({next:function(t){try{e(t)}catch(e){i(e),a.unsubscribe()}},error:i,complete:t});r.subscribe(a)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[a.observable]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.pipeFromArray(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=l(e))((function(e,r){var n;t.subscribe((function(e){return n=e}),(function(e){return r(e)}),(function(){return e(n)}))}))},e.create=function(t){return new e(t)},e}();function l(e){var t;return null!==(t=null!=e?e:s.config.Promise)&&void 0!==t?t:Promise}t.Observable=u},216:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ReplaySubject=void 0;var a=r(9520),o=r(1713),s=function(e){function t(t,r,n){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===n&&(n=o.dateTimestampProvider);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=r,i._timestampProvider=n,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=r===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,r),i}return i(t,e),t.prototype.next=function(t){var r=this,n=r.isStopped,i=r._buffer,a=r._infiniteTimeWindow,o=r._timestampProvider,s=r._windowTime;n||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,n=this._buffer.slice(),i=0;i<n.length&&!e.closed;i+=r?1:2)e.next(n[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,r=e._timestampProvider,n=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<n.length&&n.splice(0,n.length-a),!i){for(var o=r.now(),s=0,p=1;p<n.length&&n[p]<=o;p+=2)s=p;s&&n.splice(0,s+1)}},t}(a.Subject);t.ReplaySubject=s},3980:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Scheduler=void 0;var n=r(1713),i=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=n.dateTimestampProvider.now,e}();t.Scheduler=i},9520:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.AnonymousSubject=t.Subject=void 0;var o=r(5271),s=r(7215),p=r(7392),d=r(2447),u=r(4770),l=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return i(t,e),t.prototype.lift=function(e){var t=new c(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new p.ObjectUnsubscribedError},t.prototype.next=function(e){var t=this;u.errorContext((function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=a(t.currentObservers),o=i.next();!o.done;o=i.next())o.value.next(e)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}}}))},t.prototype.error=function(e){var t=this;u.errorContext((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}}))},t.prototype.complete=function(){var e=this;u.errorContext((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this,n=r.hasError,i=r.isStopped,a=r.observers;return n||i?s.EMPTY_SUBSCRIPTION:(this.currentObservers=null,a.push(e),new s.Subscription((function(){t.currentObservers=null,d.arrRemove(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,r=t.hasError,n=t.thrownError,i=t.isStopped;r?e.error(n):i&&e.complete()},t.prototype.asObservable=function(){var e=new o.Observable;return e.source=this,e},t.create=function(e,t){return new c(e,t)},t}(o.Observable);t.Subject=l;var c=function(e){function t(t,r){var n=e.call(this)||this;return n.destination=t,n.source=r,n}return i(t,e),t.prototype.next=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===r||r.call(t,e)},t.prototype.error=function(e){var t,r;null===(r=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===r||r.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!==(r=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==r?r:s.EMPTY_SUBSCRIPTION},t}(l);t.AnonymousSubject=c},1403:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_OBSERVER=t.SafeSubscriber=t.Subscriber=void 0;var a=r(4432),o=r(7215),s=r(3782),p=r(7234),d=r(5729),u=r(3380),l=r(8972),c=r(4770),f=function(e){function r(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,o.isSubscription(r)&&r.add(n)):n.destination=t.EMPTY_OBSERVER,n}return i(r,e),r.create=function(e,t,r){return new y(e,t,r)},r.prototype.next=function(e){this.isStopped?b(u.nextNotification(e),this):this._next(e)},r.prototype.error=function(e){this.isStopped?b(u.errorNotification(e),this):(this.isStopped=!0,this._error(e))},r.prototype.complete=function(){this.isStopped?b(u.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},r.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},r.prototype._next=function(e){this.destination.next(e)},r.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},r.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},r}(o.Subscription);t.Subscriber=f;var h=Function.prototype.bind;function m(e,t){return h.call(e,t)}var v=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){g(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){g(e)}else g(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){g(e)}},e}(),y=function(e){function t(t,r,n){var i,o,p=e.call(this)||this;return a.isFunction(t)||!t?i={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=n?n:void 0}:p&&s.config.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return p.unsubscribe()},i={next:t.next&&m(t.next,o),error:t.error&&m(t.error,o),complete:t.complete&&m(t.complete,o)}):i=t,p.destination=new v(i),p}return i(t,e),t}(f);function g(e){s.config.useDeprecatedSynchronousErrorHandling?c.captureError(e):p.reportUnhandledError(e)}function b(e,t){var r=s.config.onStoppedNotification;r&&l.timeoutProvider.setTimeout((function(){return r(e,t)}))}t.SafeSubscriber=y,t.EMPTY_OBSERVER={closed:!0,next:d.noop,error:function(e){throw e},complete:d.noop}},7215:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},a=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.isSubscription=t.EMPTY_SUBSCRIPTION=t.Subscription=void 0;var o=r(4432),s=r(5463),p=r(2447),d=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;return e.prototype.unsubscribe=function(){var e,t,r,p,d;if(!this.closed){this.closed=!0;var l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var c=n(l),f=c.next();!f.done;f=c.next())f.value.remove(this)}catch(t){e={error:t}}finally{try{f&&!f.done&&(t=c.return)&&t.call(c)}finally{if(e)throw e.error}}else l.remove(this);var h=this.initialTeardown;if(o.isFunction(h))try{h()}catch(e){d=e instanceof s.UnsubscriptionError?e.errors:[e]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var v=n(m),y=v.next();!y.done;y=v.next()){var g=y.value;try{u(g)}catch(e){d=null!=d?d:[],e instanceof s.UnsubscriptionError?d=a(a([],i(d)),i(e.errors)):d.push(e)}}}catch(e){r={error:e}}finally{try{y&&!y.done&&(p=v.return)&&p.call(v)}finally{if(r)throw r.error}}}if(d)throw new s.UnsubscriptionError(d)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)u(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(r=this._finalizers)&&void 0!==r?r:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&p.arrRemove(t,e)},e.prototype.remove=function(t){var r=this._finalizers;r&&p.arrRemove(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}();function u(e){o.isFunction(e)?e():e.unsubscribe()}t.Subscription=d,t.EMPTY_SUBSCRIPTION=d.EMPTY,t.isSubscription=function(e){return e instanceof d||e&&"closed"in e&&o.isFunction(e.remove)&&o.isFunction(e.add)&&o.isFunction(e.unsubscribe)}},3782:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.config=void 0,t.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},7447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstValueFrom=void 0;var n=r(8032),i=r(1403);t.firstValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(a,o){var s=new i.SafeSubscriber({next:function(e){a(e),s.unsubscribe()},error:o,complete:function(){r?a(t.defaultValue):o(new n.EmptyError)}});e.subscribe(s)}))}},1263:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lastValueFrom=void 0;var n=r(8032);t.lastValueFrom=function(e,t){var r="object"==typeof t;return new Promise((function(i,a){var o,s=!1;e.subscribe({next:function(e){o=e,s=!0},error:a,complete:function(){s?i(o):r?i(t.defaultValue):a(new n.EmptyError)}})}))}},3739:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectableObservable=void 0;var a=r(5271),o=r(7215),s=r(2711),p=r(5079),d=r(4024),u=function(e){function t(t,r){var n=e.call(this)||this;return n.source=t,n.subjectFactory=r,n._subject=null,n._refCount=0,n._connection=null,d.hasLift(t)&&(n.lift=t.lift),n}return i(t,e),t.prototype._subscribe=function(e){return this.getSubject().subscribe(e)},t.prototype.getSubject=function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject},t.prototype._teardown=function(){this._refCount=0;var e=this._connection;this._subject=this._connection=null,null==e||e.unsubscribe()},t.prototype.connect=function(){var e=this,t=this._connection;if(!t){t=this._connection=new o.Subscription;var r=this.getSubject();t.add(this.source.subscribe(p.createOperatorSubscriber(r,void 0,(function(){e._teardown(),r.complete()}),(function(t){e._teardown(),r.error(t)}),(function(){return e._teardown()})))),t.closed&&(this._connection=null,t=o.Subscription.EMPTY)}return t},t.prototype.refCount=function(){return s.refCount()(this)},t}(a.Observable);t.ConnectableObservable=u},1253:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallback=void 0;var n=r(6414);t.bindCallback=function(e,t,r){return n.bindCallbackInternals(!1,e,t,r)}},6414:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.bindCallbackInternals=void 0;var a=r(6551),o=r(5271),s=r(831),p=r(4666),d=r(3165),u=r(7257);t.bindCallbackInternals=function e(t,r,l,c){if(l){if(!a.isScheduler(l))return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e(t,r,c).apply(this,n).pipe(p.mapOneOrManyArgs(l))};c=l}return c?function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e(t,r).apply(this,n).pipe(s.subscribeOn(c),d.observeOn(c))}:function(){for(var e=this,a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];var p=new u.AsyncSubject,d=!0;return new o.Observable((function(o){var s=p.subscribe(o);if(d){d=!1;var u=!1,l=!1;r.apply(e,i(i([],n(a)),[function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(t){var n=e.shift();if(null!=n)return void p.error(n)}p.next(1<e.length?e:e[0]),l=!0,u&&p.complete()}])),l&&p.complete(),u=!0}return s}))}}},1009:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bindNodeCallback=void 0;var n=r(6414);t.bindNodeCallback=function(e,t,r){return n.bindCallbackInternals(!0,e,t,r)}},1047:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestInit=t.combineLatest=void 0;var n=r(5271),i=r(4744),a=r(6216),o=r(9144),s=r(4666),p=r(2619),d=r(1589),u=r(5079),l=r(5421);function c(e,t,r){return void 0===r&&(r=o.identity),function(n){f(t,(function(){for(var i=e.length,o=new Array(i),s=i,p=i,d=function(i){f(t,(function(){var d=a.from(e[i],t),l=!1;d.subscribe(u.createOperatorSubscriber(n,(function(e){o[i]=e,l||(l=!0,p--),p||n.next(r(o.slice()))}),(function(){--s||n.complete()})))}),n)},l=0;l<i;l++)d(l)}),n)}}function f(e,t,r){e?l.executeSchedule(r,e,t):t()}t.combineLatest=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=p.popScheduler(e),u=p.popResultSelector(e),l=i.argsArgArrayOrObject(e),f=l.args,h=l.keys;if(0===f.length)return a.from([],r);var m=new n.Observable(c(f,r,h?function(e){return d.createObject(h,e)}:o.identity));return u?m.pipe(s.mapOneOrManyArgs(u)):m},t.combineLatestInit=c},79:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var n=r(4554),i=r(2619),a=r(6216);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.concatAll()(a.from(e,i.popScheduler(e)))}},1663:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connectable=void 0;var n=r(9520),i=r(5271),a=r(5401),o={connector:function(){return new n.Subject},resetOnDisconnect:!0};t.connectable=function(e,t){void 0===t&&(t=o);var r=null,n=t.connector,s=t.resetOnDisconnect,p=void 0===s||s,d=n(),u=new i.Observable((function(e){return d.subscribe(e)}));return u.connect=function(){return r&&!r.closed||(r=a.defer((function(){return e})).subscribe(d),p&&r.add((function(){return d=n()}))),r},u}},5401:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defer=void 0;var n=r(5271),i=r(9451);t.defer=function(e){return new n.Observable((function(t){i.innerFrom(e()).subscribe(t)}))}},4190:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrames=void 0;var n=r(5271),i=r(1241),a=r(6741);function o(e){return new n.Observable((function(t){var r=e||i.performanceTimestampProvider,n=r.now(),o=0,s=function(){t.closed||(o=a.animationFrameProvider.requestAnimationFrame((function(i){o=0;var a=r.now();t.next({timestamp:e?a:i,elapsed:a-n}),s()})))};return s(),function(){o&&a.animationFrameProvider.cancelAnimationFrame(o)}}))}t.animationFrames=function(e){return e?o(e):s};var s=o()},1727:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.empty=t.EMPTY=void 0;var n=r(5271);t.EMPTY=new n.Observable((function(e){return e.complete()})),t.empty=function(e){return e?function(e){return new n.Observable((function(t){return e.schedule((function(){return t.complete()}))}))}(e):t.EMPTY}},1723:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.forkJoin=void 0;var n=r(5271),i=r(4744),a=r(9451),o=r(2619),s=r(5079),p=r(4666),d=r(1589);t.forkJoin=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.popResultSelector(e),u=i.argsArgArrayOrObject(e),l=u.args,c=u.keys,f=new n.Observable((function(e){var t=l.length;if(t)for(var r=new Array(t),n=t,i=t,o=function(t){var o=!1;a.innerFrom(l[t]).subscribe(s.createOperatorSubscriber(e,(function(e){o||(o=!0,i--),r[t]=e}),(function(){return n--}),void 0,(function(){n&&o||(i||e.next(c?d.createObject(c,r):r),e.complete())})))},p=0;p<t;p++)o(p);else e.complete()}));return r?f.pipe(p.mapOneOrManyArgs(r)):f}},6216:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.from=void 0;var n=r(3200),i=r(9451);t.from=function(e,t){return t?n.scheduled(e,t):i.innerFrom(e)}},6767:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o};Object.defineProperty(t,"__esModule",{value:!0}),t.fromEvent=void 0;var i=r(9451),a=r(5271),o=r(9010),s=r(8219),p=r(4432),d=r(4666),u=["addListener","removeListener"],l=["addEventListener","removeEventListener"],c=["on","off"];function f(e,t){return function(r){return function(n){return e[r](t,n)}}}t.fromEvent=function e(t,r,h,m){if(p.isFunction(h)&&(m=h,h=void 0),m)return e(t,r,h).pipe(d.mapOneOrManyArgs(m));var v=n(function(e){return p.isFunction(e.addEventListener)&&p.isFunction(e.removeEventListener)}(t)?l.map((function(e){return function(n){return t[e](r,n,h)}})):function(e){return p.isFunction(e.addListener)&&p.isFunction(e.removeListener)}(t)?u.map(f(t,r)):function(e){return p.isFunction(e.on)&&p.isFunction(e.off)}(t)?c.map(f(t,r)):[],2),y=v[0],g=v[1];if(!y&&s.isArrayLike(t))return o.mergeMap((function(t){return e(t,r,h)}))(i.innerFrom(t));if(!y)throw new TypeError("Invalid event target");return new a.Observable((function(e){var t=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1<t.length?t:t[0])};return y(t),function(){return g(t)}}))}},4366:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromEventPattern=void 0;var n=r(5271),i=r(4432),a=r(4666);t.fromEventPattern=function e(t,r,o){return o?e(t,r).pipe(a.mapOneOrManyArgs(o)):new n.Observable((function(e){var n=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return e.next(1===t.length?t[0]:t)},a=t(n);return i.isFunction(r)?function(){return r(n,a)}:void 0}))}},2160:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fromSubscribable=void 0;var n=r(5271);t.fromSubscribable=function(e){return new n.Observable((function(t){return e.subscribe(t)}))}},6103:function(e,t,r){"use strict";var n=this&&this.__generator||function(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.generate=void 0;var i=r(9144),a=r(6551),o=r(5401),s=r(8840);t.generate=function(e,t,r,p,d){var u,l,c,f;function h(){var e;return n(this,(function(n){switch(n.label){case 0:e=f,n.label=1;case 1:return t&&!t(e)?[3,4]:[4,c(e)];case 2:n.sent(),n.label=3;case 3:return e=r(e),[3,1];case 4:return[2]}}))}return 1===arguments.length?(f=(u=e).initialState,t=u.condition,r=u.iterate,l=u.resultSelector,c=void 0===l?i.identity:l,d=u.scheduler):(f=e,!p||a.isScheduler(p)?(c=i.identity,d=p):c=p),o.defer(d?function(){return s.scheduleIterable(h(),d)}:h)}},4468:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iif=void 0;var n=r(5401);t.iif=function(e,t,r){return n.defer((function(){return e()?t:r}))}},9451:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},a=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof o?o(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}},o=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.fromReadableStreamLike=t.fromAsyncIterable=t.fromIterable=t.fromPromise=t.fromArrayLike=t.fromInteropObservable=t.innerFrom=void 0;var s=r(8219),p=r(2644),d=r(5271),u=r(3292),l=r(7707),c=r(4883),f=r(6380),h=r(9266),m=r(4432),v=r(7234),y=r(2138);function g(e){return new d.Observable((function(t){var r=e[y.observable]();if(m.isFunction(r.subscribe))return r.subscribe(t);throw new TypeError("Provided object does not correctly implement Symbol.observable")}))}function b(e){return new d.Observable((function(t){for(var r=0;r<e.length&&!t.closed;r++)t.next(e[r]);t.complete()}))}function _(e){return new d.Observable((function(t){e.then((function(e){t.closed||(t.next(e),t.complete())}),(function(e){return t.error(e)})).then(null,v.reportUnhandledError)}))}function w(e){return new d.Observable((function(t){var r,n;try{for(var i=o(e),a=i.next();!a.done;a=i.next()){var s=a.value;if(t.next(s),t.closed)return}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}t.complete()}))}function S(e){return new d.Observable((function(t){(function(e,t){var r,o,s,p;return n(this,void 0,void 0,(function(){var n,d;return i(this,(function(i){switch(i.label){case 0:i.trys.push([0,5,6,11]),r=a(e),i.label=1;case 1:return[4,r.next()];case 2:if((o=i.sent()).done)return[3,4];if(n=o.value,t.next(n),t.closed)return[2];i.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return d=i.sent(),s={error:d},[3,11];case 6:return i.trys.push([6,,9,10]),o&&!o.done&&(p=r.return)?[4,p.call(r)]:[3,8];case 7:i.sent(),i.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function O(e){return S(h.readableStreamLikeToAsyncGenerator(e))}t.innerFrom=function(e){if(e instanceof d.Observable)return e;if(null!=e){if(u.isInteropObservable(e))return g(e);if(s.isArrayLike(e))return b(e);if(p.isPromise(e))return _(e);if(l.isAsyncIterable(e))return S(e);if(f.isIterable(e))return w(e);if(h.isReadableStreamLike(e))return O(e)}throw c.createInvalidObservableTypeError(e)},t.fromInteropObservable=g,t.fromArrayLike=b,t.fromPromise=_,t.fromIterable=w,t.fromAsyncIterable=S,t.fromReadableStreamLike=O},4449:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.interval=void 0;var n=r(4617),i=r(5710);t.interval=function(e,t){return void 0===e&&(e=0),void 0===t&&(t=n.asyncScheduler),e<0&&(e=0),i.timer(e,e,t)}},5847:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var n=r(4594),i=r(9451),a=r(1727),o=r(2619),s=r(6216);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=o.popScheduler(e),p=o.popNumber(e,1/0),d=e;return d.length?1===d.length?i.innerFrom(d[0]):n.mergeAll(p)(s.from(d,r)):a.EMPTY}},7423:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.never=t.NEVER=void 0;var n=r(5271),i=r(5729);t.NEVER=new n.Observable(i.noop),t.never=function(){return t.NEVER}},7443:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.of=void 0;var n=r(2619),i=r(6216);t.of=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n.popScheduler(e);return i.from(e,r)}},1282:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var n=r(1727),i=r(4764),a=r(4475);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i.onErrorResumeNext(a.argsOrArgArray(e))(n.EMPTY)}},5259:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairs=void 0;var n=r(6216);t.pairs=function(e,t){return n.from(Object.entries(e),t)}},1945:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var n=r(1574),i=r(2763),a=r(9451);t.partition=function(e,t,r){return[i.filter(t,r)(a.innerFrom(e)),i.filter(n.not(t,r))(a.innerFrom(e))]}},7779:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.raceInit=t.race=void 0;var n=r(5271),i=r(9451),a=r(4475),o=r(5079);function s(e){return function(t){for(var r=[],n=function(n){r.push(i.innerFrom(e[n]).subscribe(o.createOperatorSubscriber(t,(function(e){if(r){for(var i=0;i<r.length;i++)i!==n&&r[i].unsubscribe();r=null}t.next(e)}))))},a=0;r&&!t.closed&&a<e.length;a++)n(a)}}t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return 1===(e=a.argsOrArgArray(e)).length?i.innerFrom(e[0]):new n.Observable(s(e))},t.raceInit=s},6971:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.range=void 0;var n=r(5271),i=r(1727);t.range=function(e,t,r){if(null==t&&(t=e,e=0),t<=0)return i.EMPTY;var a=t+e;return new n.Observable(r?function(t){var n=e;return r.schedule((function(){n<a?(t.next(n++),this.schedule()):t.complete()}))}:function(t){for(var r=e;r<a&&!t.closed;)t.next(r++);t.complete()})}},859:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwError=void 0;var n=r(5271),i=r(4432);t.throwError=function(e,t){var r=i.isFunction(e)?e:function(){return e},a=function(e){return e.error(r())};return new n.Observable(t?function(e){return t.schedule(a,0,e)}:a)}},5710:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timer=void 0;var n=r(5271),i=r(4617),a=r(6551),o=r(7761);t.timer=function(e,t,r){void 0===e&&(e=0),void 0===r&&(r=i.async);var s=-1;return null!=t&&(a.isScheduler(t)?r=t:s=t),new n.Observable((function(t){var n=o.isValidDate(e)?+e-r.now():e;n<0&&(n=0);var i=0;return r.schedule((function(){t.closed||(t.next(i++),0<=s?this.schedule(void 0,s):t.complete())}),n)}))}},3687:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.using=void 0;var n=r(5271),i=r(9451),a=r(1727);t.using=function(e,t){return new n.Observable((function(r){var n=e(),o=t(n);return(o?i.innerFrom(o):a.EMPTY).subscribe(r),function(){n&&n.unsubscribe()}}))}},2042:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var a=r(5271),o=r(9451),s=r(4475),p=r(1727),d=r(5079),u=r(2619);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=u.popResultSelector(e),l=s.argsOrArgArray(e);return l.length?new a.Observable((function(e){var t=l.map((function(){return[]})),a=l.map((function(){return!1}));e.add((function(){t=a=null}));for(var s=function(s){o.innerFrom(l[s]).subscribe(d.createOperatorSubscriber(e,(function(o){if(t[s].push(o),t.every((function(e){return e.length}))){var p=t.map((function(e){return e.shift()}));e.next(r?r.apply(void 0,i([],n(p))):p),t.some((function(e,t){return!e.length&&a[t]}))&&e.complete()}}),(function(){a[s]=!0,!t[s].length&&e.complete()})))},p=0;!e.closed&&p<l.length;p++)s(p);return function(){t=a=null}})):p.EMPTY}},5079:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.OperatorSubscriber=t.createOperatorSubscriber=void 0;var a=r(1403);t.createOperatorSubscriber=function(e,t,r,n,i){return new o(e,t,r,n,i)};var o=function(e){function t(t,r,n,i,a,o){var s=e.call(this,t)||this;return s.onFinalize=a,s.shouldUnsubscribe=o,s._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,s._error=i?function(e){try{i(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,s._complete=n?function(){try{n()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,s}return i(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),!r&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(a.Subscriber);t.OperatorSubscriber=o},3533:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.audit=void 0;var n=r(4024),i=r(9451),a=r(5079);t.audit=function(e){return n.operate((function(t,r){var n=!1,o=null,s=null,p=!1,d=function(){if(null==s||s.unsubscribe(),s=null,n){n=!1;var e=o;o=null,r.next(e)}p&&r.complete()},u=function(){s=null,p&&r.complete()};t.subscribe(a.createOperatorSubscriber(r,(function(t){n=!0,o=t,s||i.innerFrom(e(t)).subscribe(s=a.createOperatorSubscriber(r,d,u))}),(function(){p=!0,(!n||!s||s.closed)&&r.complete()})))}))}},5188:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.auditTime=void 0;var n=r(4617),i=r(3533),a=r(5710);t.auditTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.audit((function(){return a.timer(e,t)}))}},4514:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffer=void 0;var n=r(4024),i=r(5729),a=r(5079);t.buffer=function(e){return n.operate((function(t,r){var n=[];return t.subscribe(a.createOperatorSubscriber(r,(function(e){return n.push(e)}),(function(){r.next(n),r.complete()}))),e.subscribe(a.createOperatorSubscriber(r,(function(){var e=n;n=[],r.next(e)}),i.noop)),function(){n=null}}))}},2537:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferCount=void 0;var i=r(4024),a=r(5079),o=r(2447);t.bufferCount=function(e,t){return void 0===t&&(t=null),t=null!=t?t:e,i.operate((function(r,i){var s=[],p=0;r.subscribe(a.createOperatorSubscriber(i,(function(r){var a,d,u,l,c=null;p++%t==0&&s.push([]);try{for(var f=n(s),h=f.next();!h.done;h=f.next())(y=h.value).push(r),e<=y.length&&(c=null!=c?c:[]).push(y)}catch(e){a={error:e}}finally{try{h&&!h.done&&(d=f.return)&&d.call(f)}finally{if(a)throw a.error}}if(c)try{for(var m=n(c),v=m.next();!v.done;v=m.next()){var y=v.value;o.arrRemove(s,y),i.next(y)}}catch(e){u={error:e}}finally{try{v&&!v.done&&(l=m.return)&&l.call(m)}finally{if(u)throw u.error}}}),(function(){var e,t;try{for(var r=n(s),a=r.next();!a.done;a=r.next()){var o=a.value;i.next(o)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}i.complete()}),void 0,(function(){s=null})))}))}},8720:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferTime=void 0;var i=r(7215),a=r(4024),o=r(5079),s=r(2447),p=r(4617),d=r(2619),u=r(5421);t.bufferTime=function(e){for(var t,r,l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];var f=null!==(t=d.popScheduler(l))&&void 0!==t?t:p.asyncScheduler,h=null!==(r=l[0])&&void 0!==r?r:null,m=l[1]||1/0;return a.operate((function(t,r){var a=[],p=!1,d=function(e){var t=e.buffer;e.subs.unsubscribe(),s.arrRemove(a,e),r.next(t),p&&l()},l=function(){if(a){var t=new i.Subscription;r.add(t);var n={buffer:[],subs:t};a.push(n),u.executeSchedule(t,f,(function(){return d(n)}),e)}};null!==h&&h>=0?u.executeSchedule(r,f,l,h,!0):p=!0,l();var c=o.createOperatorSubscriber(r,(function(e){var t,r,i=a.slice();try{for(var o=n(i),s=o.next();!s.done;s=o.next()){var p=s.value,u=p.buffer;u.push(e),m<=u.length&&d(p)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}}),(function(){for(;null==a?void 0:a.length;)r.next(a.shift().buffer);null==c||c.unsubscribe(),r.complete(),r.unsubscribe()}),void 0,(function(){return a=null}));t.subscribe(c)}))}},7932:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.bufferToggle=void 0;var i=r(7215),a=r(4024),o=r(9451),s=r(5079),p=r(5729),d=r(2447);t.bufferToggle=function(e,t){return a.operate((function(r,a){var u=[];o.innerFrom(e).subscribe(s.createOperatorSubscriber(a,(function(e){var r=[];u.push(r);var n=new i.Subscription;n.add(o.innerFrom(t(e)).subscribe(s.createOperatorSubscriber(a,(function(){d.arrRemove(u,r),a.next(r),n.unsubscribe()}),p.noop)))}),p.noop)),r.subscribe(s.createOperatorSubscriber(a,(function(e){var t,r;try{for(var i=n(u),a=i.next();!a.done;a=i.next())a.value.push(e)}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}}),(function(){for(;u.length>0;)a.next(u.shift());a.complete()})))}))}},1445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bufferWhen=void 0;var n=r(4024),i=r(5729),a=r(5079),o=r(9451);t.bufferWhen=function(e){return n.operate((function(t,r){var n=null,s=null,p=function(){null==s||s.unsubscribe();var t=n;n=[],t&&r.next(t),o.innerFrom(e()).subscribe(s=a.createOperatorSubscriber(r,p,i.noop))};p(),t.subscribe(a.createOperatorSubscriber(r,(function(e){return null==n?void 0:n.push(e)}),(function(){n&&r.next(n),r.complete()}),void 0,(function(){return n=s=null})))}))}},4418:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.catchError=void 0;var n=r(9451),i=r(5079),a=r(4024);t.catchError=function e(t){return a.operate((function(r,a){var o,s=null,p=!1;s=r.subscribe(i.createOperatorSubscriber(a,void 0,void 0,(function(i){o=n.innerFrom(t(i,e(t)(r))),s?(s.unsubscribe(),s=null,o.subscribe(a)):p=!0}))),p&&(s.unsubscribe(),s=null,o.subscribe(a))}))}},4163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineAll=void 0;var n=r(9893);t.combineAll=n.combineLatestAll},8169:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatest=void 0;var a=r(1047),o=r(4024),s=r(4475),p=r(4666),d=r(5966),u=r(2619);t.combineLatest=function e(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var l=u.popResultSelector(t);return l?d.pipe(e.apply(void 0,i([],n(t))),p.mapOneOrManyArgs(l)):o.operate((function(e,r){a.combineLatestInit(i([e],n(s.argsOrArgArray(t))))(r)}))}},9893:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestAll=void 0;var n=r(1047),i=r(7534);t.combineLatestAll=function(e){return i.joinAllInternals(n.combineLatest,e)}},7230:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.combineLatestWith=void 0;var a=r(8169);t.combineLatestWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.combineLatest.apply(void 0,i([],n(e)))}},4098:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concat=void 0;var a=r(4024),o=r(4554),s=r(2619),p=r(6216);t.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.popScheduler(e);return a.operate((function(t,a){o.concatAll()(p.from(i([t],n(e)),r)).subscribe(a)}))}},4554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatAll=void 0;var n=r(4594);t.concatAll=function(){return n.mergeAll(1)}},1048:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMap=void 0;var n=r(9010),i=r(4432);t.concatMap=function(e,t){return i.isFunction(t)?n.mergeMap(e,t,1):n.mergeMap(e,1)}},381:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.concatMapTo=void 0;var n=r(1048),i=r(4432);t.concatMapTo=function(e,t){return i.isFunction(t)?n.concatMap((function(){return e}),t):n.concatMap((function(){return e}))}},4724:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.concatWith=void 0;var a=r(4098);t.concatWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.concat.apply(void 0,i([],n(e)))}},4347:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.connect=void 0;var n=r(9520),i=r(9451),a=r(4024),o=r(2160),s={connector:function(){return new n.Subject}};t.connect=function(e,t){void 0===t&&(t=s);var r=t.connector;return a.operate((function(t,n){var a=r();i.innerFrom(e(o.fromSubscribable(a))).subscribe(n),n.add(t.subscribe(a))}))}},6944:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.count=void 0;var n=r(1678);t.count=function(e){return n.reduce((function(t,r,n){return!e||e(r,n)?t+1:t}),0)}},440:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounce=void 0;var n=r(4024),i=r(5729),a=r(5079),o=r(9451);t.debounce=function(e){return n.operate((function(t,r){var n=!1,s=null,p=null,d=function(){if(null==p||p.unsubscribe(),p=null,n){n=!1;var e=s;s=null,r.next(e)}};t.subscribe(a.createOperatorSubscriber(r,(function(t){null==p||p.unsubscribe(),n=!0,s=t,p=a.createOperatorSubscriber(r,d,i.noop),o.innerFrom(e(t)).subscribe(p)}),(function(){d(),r.complete()}),void 0,(function(){s=p=null})))}))}},8157:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.debounceTime=void 0;var n=r(4617),i=r(4024),a=r(5079);t.debounceTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.operate((function(r,n){var i=null,o=null,s=null,p=function(){if(i){i.unsubscribe(),i=null;var e=o;o=null,n.next(e)}};function d(){var r=s+e,a=t.now();if(a<r)return i=this.schedule(void 0,r-a),void n.add(i);p()}r.subscribe(a.createOperatorSubscriber(n,(function(r){o=r,s=t.now(),i||(i=t.schedule(d,e),n.add(i))}),(function(){p(),n.complete()}),void 0,(function(){o=i=null})))}))}},1714:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultIfEmpty=void 0;var n=r(4024),i=r(5079);t.defaultIfEmpty=function(e){return n.operate((function(t,r){var n=!1;t.subscribe(i.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){n||r.next(e),r.complete()})))}))}},1030:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delay=void 0;var n=r(4617),i=r(6405),a=r(5710);t.delay=function(e,t){void 0===t&&(t=n.asyncScheduler);var r=a.timer(e,t);return i.delayWhen((function(){return r}))}},6405:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.delayWhen=void 0;var n=r(79),i=r(7138),a=r(3470),o=r(4791),s=r(9010);t.delayWhen=function e(t,r){return r?function(o){return n.concat(r.pipe(i.take(1),a.ignoreElements()),o.pipe(e(t)))}:s.mergeMap((function(e,r){return t(e,r).pipe(i.take(1),o.mapTo(e))}))}},9142:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dematerialize=void 0;var n=r(3868),i=r(4024),a=r(5079);t.dematerialize=function(){return i.operate((function(e,t){e.subscribe(a.createOperatorSubscriber(t,(function(e){return n.observeNotification(e,t)})))}))}},2307:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinct=void 0;var n=r(4024),i=r(5079),a=r(5729);t.distinct=function(e,t){return n.operate((function(r,n){var o=new Set;r.subscribe(i.createOperatorSubscriber(n,(function(t){var r=e?e(t):t;o.has(r)||(o.add(r),n.next(t))}))),null==t||t.subscribe(i.createOperatorSubscriber(n,(function(){return o.clear()}),a.noop))}))}},9131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilChanged=void 0;var n=r(9144),i=r(4024),a=r(5079);function o(e,t){return e===t}t.distinctUntilChanged=function(e,t){return void 0===t&&(t=n.identity),e=null!=e?e:o,i.operate((function(r,n){var i,o=!0;r.subscribe(a.createOperatorSubscriber(n,(function(r){var a=t(r);!o&&e(i,a)||(o=!1,i=a,n.next(r))})))}))}},6659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.distinctUntilKeyChanged=void 0;var n=r(9131);t.distinctUntilKeyChanged=function(e,t){return n.distinctUntilChanged((function(r,n){return t?t(r[e],n[e]):r[e]===n[e]}))}},4217:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementAt=void 0;var n=r(6809),i=r(2763),a=r(8062),o=r(1714),s=r(7138);t.elementAt=function(e,t){if(e<0)throw new n.ArgumentOutOfRangeError;var r=arguments.length>=2;return function(p){return p.pipe(i.filter((function(t,r){return r===e})),s.take(1),r?o.defaultIfEmpty(t):a.throwIfEmpty((function(){return new n.ArgumentOutOfRangeError})))}}},4707:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.endWith=void 0;var a=r(79),o=r(7443);t.endWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return a.concat(t,o.of.apply(void 0,i([],n(e))))}}},9276:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.every=void 0;var n=r(4024),i=r(5079);t.every=function(e,t){return n.operate((function(r,n){var a=0;r.subscribe(i.createOperatorSubscriber(n,(function(i){e.call(t,i,a++,r)||(n.next(!1),n.complete())}),(function(){n.next(!0),n.complete()})))}))}},337:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaust=void 0;var n=r(3977);t.exhaust=n.exhaustAll},3977:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustAll=void 0;var n=r(368),i=r(9144);t.exhaustAll=function(){return n.exhaustMap(i.identity)}},368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.exhaustMap=void 0;var n=r(4338),i=r(9451),a=r(4024),o=r(5079);t.exhaustMap=function e(t,r){return r?function(a){return a.pipe(e((function(e,a){return i.innerFrom(t(e,a)).pipe(n.map((function(t,n){return r(e,t,a,n)})))})))}:a.operate((function(e,r){var n=0,a=null,s=!1;e.subscribe(o.createOperatorSubscriber(r,(function(e){a||(a=o.createOperatorSubscriber(r,void 0,(function(){a=null,s&&r.complete()})),i.innerFrom(t(e,n++)).subscribe(a))}),(function(){s=!0,!a&&r.complete()})))}))}},7829:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expand=void 0;var n=r(4024),i=r(7163);t.expand=function(e,t,r){return void 0===t&&(t=1/0),t=(t||0)<1?1/0:t,n.operate((function(n,a){return i.mergeInternals(n,a,e,t,void 0,!0,r)}))}},2763:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.filter=void 0;var n=r(4024),i=r(5079);t.filter=function(e,t){return n.operate((function(r,n){var a=0;r.subscribe(i.createOperatorSubscriber(n,(function(r){return e.call(t,r,a++)&&n.next(r)})))}))}},4106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.finalize=void 0;var n=r(4024);t.finalize=function(e){return n.operate((function(t,r){try{t.subscribe(r)}finally{r.add(e)}}))}},8759:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFind=t.find=void 0;var n=r(4024),i=r(5079);function a(e,t,r){var n="index"===r;return function(r,a){var o=0;r.subscribe(i.createOperatorSubscriber(a,(function(i){var s=o++;e.call(t,i,s,r)&&(a.next(n?s:i),a.complete())}),(function(){a.next(n?-1:void 0),a.complete()})))}}t.find=function(e,t){return n.operate(a(e,t,"value"))},t.createFind=a},3999:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findIndex=void 0;var n=r(4024),i=r(8759);t.findIndex=function(e,t){return n.operate(i.createFind(e,t,"index"))}},5194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.first=void 0;var n=r(8032),i=r(2763),a=r(7138),o=r(1714),s=r(8062),p=r(9144);t.first=function(e,t){var r=arguments.length>=2;return function(d){return d.pipe(e?i.filter((function(t,r){return e(t,r,d)})):p.identity,a.take(1),r?o.defaultIfEmpty(t):s.throwIfEmpty((function(){return new n.EmptyError})))}}},2735:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatMap=void 0;var n=r(9010);t.flatMap=n.mergeMap},1664:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.groupBy=void 0;var n=r(5271),i=r(9451),a=r(9520),o=r(4024),s=r(5079);t.groupBy=function(e,t,r,p){return o.operate((function(o,d){var u;t&&"function"!=typeof t?(r=t.duration,u=t.element,p=t.connector):u=t;var l=new Map,c=function(e){l.forEach(e),e(d)},f=function(e){return c((function(t){return t.error(e)}))},h=0,m=!1,v=new s.OperatorSubscriber(d,(function(t){try{var o=e(t),c=l.get(o);if(!c){l.set(o,c=p?p():new a.Subject);var y=(b=o,_=c,(w=new n.Observable((function(e){h++;var t=_.subscribe(e);return function(){t.unsubscribe(),0==--h&&m&&v.unsubscribe()}}))).key=b,w);if(d.next(y),r){var g=s.createOperatorSubscriber(c,(function(){c.complete(),null==g||g.unsubscribe()}),void 0,void 0,(function(){return l.delete(o)}));v.add(i.innerFrom(r(y)).subscribe(g))}}c.next(u?u(t):t)}catch(e){f(e)}var b,_,w}),(function(){return c((function(e){return e.complete()}))}),f,(function(){return l.clear()}),(function(){return m=!0,0===h}));o.subscribe(v)}))}},3470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ignoreElements=void 0;var n=r(4024),i=r(5079),a=r(5729);t.ignoreElements=function(){return n.operate((function(e,t){e.subscribe(i.createOperatorSubscriber(t,a.noop))}))}},9549:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=void 0;var n=r(4024),i=r(5079);t.isEmpty=function(){return n.operate((function(e,t){e.subscribe(i.createOperatorSubscriber(t,(function(){t.next(!1),t.complete()}),(function(){t.next(!0),t.complete()})))}))}},7534:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.joinAllInternals=void 0;var n=r(9144),i=r(4666),a=r(5966),o=r(9010),s=r(2378);t.joinAllInternals=function(e,t){return a.pipe(s.toArray(),o.mergeMap((function(t){return e(t)})),t?i.mapOneOrManyArgs(t):n.identity)}},9582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.last=void 0;var n=r(8032),i=r(2763),a=r(4288),o=r(8062),s=r(1714),p=r(9144);t.last=function(e,t){var r=arguments.length>=2;return function(d){return d.pipe(e?i.filter((function(t,r){return e(t,r,d)})):p.identity,a.takeLast(1),r?s.defaultIfEmpty(t):o.throwIfEmpty((function(){return new n.EmptyError})))}}},4338:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.map=void 0;var n=r(4024),i=r(5079);t.map=function(e,t){return n.operate((function(r,n){var a=0;r.subscribe(i.createOperatorSubscriber(n,(function(r){n.next(e.call(t,r,a++))})))}))}},4791:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapTo=void 0;var n=r(4338);t.mapTo=function(e){return n.map((function(){return e}))}},9318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.materialize=void 0;var n=r(3868),i=r(4024),a=r(5079);t.materialize=function(){return i.operate((function(e,t){e.subscribe(a.createOperatorSubscriber(t,(function(e){t.next(n.Notification.createNext(e))}),(function(){t.next(n.Notification.createComplete()),t.complete()}),(function(e){t.next(n.Notification.createError(e)),t.complete()})))}))}},7446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.max=void 0;var n=r(1678),i=r(4432);t.max=function(e){return n.reduce(i.isFunction(e)?function(t,r){return e(t,r)>0?t:r}:function(e,t){return e>t?e:t})}},6094:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;var a=r(4024),o=r(4475),s=r(4594),p=r(2619),d=r(6216);t.merge=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=p.popScheduler(e),u=p.popNumber(e,1/0);return e=o.argsOrArgArray(e),a.operate((function(t,a){s.mergeAll(u)(d.from(i([t],n(e)),r)).subscribe(a)}))}},4594:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeAll=void 0;var n=r(9010),i=r(9144);t.mergeAll=function(e){return void 0===e&&(e=1/0),n.mergeMap(i.identity,e)}},7163:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeInternals=void 0;var n=r(9451),i=r(5421),a=r(5079);t.mergeInternals=function(e,t,r,o,s,p,d,u){var l=[],c=0,f=0,h=!1,m=function(){!h||l.length||c||t.complete()},v=function(e){return c<o?y(e):l.push(e)},y=function(e){p&&t.next(e),c++;var u=!1;n.innerFrom(r(e,f++)).subscribe(a.createOperatorSubscriber(t,(function(e){null==s||s(e),p?v(e):t.next(e)}),(function(){u=!0}),void 0,(function(){if(u)try{c--;for(var e=function(){var e=l.shift();d?i.executeSchedule(t,d,(function(){return y(e)})):y(e)};l.length&&c<o;)e();m()}catch(e){t.error(e)}})))};return e.subscribe(a.createOperatorSubscriber(t,v,(function(){h=!0,m()}))),function(){null==u||u()}}},9010:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMap=void 0;var n=r(4338),i=r(9451),a=r(4024),o=r(7163),s=r(4432);t.mergeMap=function e(t,r,p){return void 0===p&&(p=1/0),s.isFunction(r)?e((function(e,a){return n.map((function(t,n){return r(e,t,a,n)}))(i.innerFrom(t(e,a)))}),p):("number"==typeof r&&(p=r),a.operate((function(e,r){return o.mergeInternals(e,r,t,p)})))}},8983:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeMapTo=void 0;var n=r(9010),i=r(4432);t.mergeMapTo=function(e,t,r){return void 0===r&&(r=1/0),i.isFunction(t)?n.mergeMap((function(){return e}),t,r):("number"==typeof t&&(r=t),n.mergeMap((function(){return e}),r))}},2170:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeScan=void 0;var n=r(4024),i=r(7163);t.mergeScan=function(e,t,r){return void 0===r&&(r=1/0),n.operate((function(n,a){var o=t;return i.mergeInternals(n,a,(function(t,r){return e(o,t,r)}),r,(function(e){o=e}),!1,void 0,(function(){return o=null}))}))}},3674:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mergeWith=void 0;var a=r(6094);t.mergeWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.merge.apply(void 0,i([],n(e)))}},1446:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.min=void 0;var n=r(1678),i=r(4432);t.min=function(e){return n.reduce(i.isFunction(e)?function(t,r){return e(t,r)<0?t:r}:function(e,t){return e<t?e:t})}},2318:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.multicast=void 0;var n=r(3739),i=r(4432),a=r(4347);t.multicast=function(e,t){var r=i.isFunction(e)?e:function(){return e};return i.isFunction(t)?a.connect(t,{connector:r}):function(e){return new n.ConnectableObservable(e,r)}}},3165:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observeOn=void 0;var n=r(5421),i=r(4024),a=r(5079);t.observeOn=function(e,t){return void 0===t&&(t=0),i.operate((function(r,i){r.subscribe(a.createOperatorSubscriber(i,(function(r){return n.executeSchedule(i,e,(function(){return i.next(r)}),t)}),(function(){return n.executeSchedule(i,e,(function(){return i.complete()}),t)}),(function(r){return n.executeSchedule(i,e,(function(){return i.error(r)}),t)})))}))}},4764:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.onErrorResumeNext=void 0;var a=r(4024),o=r(9451),s=r(4475),p=r(5079),d=r(5729);t.onErrorResumeNext=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=s.argsOrArgArray(e);return a.operate((function(e,t){var a=i([e],n(r)),s=function(){if(!t.closed)if(a.length>0){var e=void 0;try{e=o.innerFrom(a.shift())}catch(e){return void s()}var r=p.createOperatorSubscriber(t,void 0,d.noop,d.noop);e.subscribe(r),r.add(s)}else t.complete()};s()}))}},402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pairwise=void 0;var n=r(4024),i=r(5079);t.pairwise=function(){return n.operate((function(e,t){var r,n=!1;e.subscribe(i.createOperatorSubscriber(t,(function(e){var i=r;r=e,n&&t.next([i,e]),n=!0})))}))}},5960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partition=void 0;var n=r(1574),i=r(2763);t.partition=function(e,t){return function(r){return[i.filter(e,t)(r),i.filter(n.not(e,t))(r)]}}},5658:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pluck=void 0;var n=r(4338);t.pluck=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=e.length;if(0===r)throw new Error("list of properties cannot be empty.");return n.map((function(t){for(var n=t,i=0;i<r;i++){var a=null==n?void 0:n[e[i]];if(void 0===a)return;n=a}return n}))}},3881:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publish=void 0;var n=r(9520),i=r(2318),a=r(4347);t.publish=function(e){return e?function(t){return a.connect(e)(t)}:function(e){return i.multicast(new n.Subject)(e)}}},1755:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishBehavior=void 0;var n=r(8042),i=r(3739);t.publishBehavior=function(e){return function(t){var r=new n.BehaviorSubject(e);return new i.ConnectableObservable(t,(function(){return r}))}}},9801:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishLast=void 0;var n=r(7257),i=r(3739);t.publishLast=function(){return function(e){var t=new n.AsyncSubject;return new i.ConnectableObservable(e,(function(){return t}))}}},5021:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.publishReplay=void 0;var n=r(216),i=r(2318),a=r(4432);t.publishReplay=function(e,t,r,o){r&&!a.isFunction(r)&&(o=r);var s=a.isFunction(r)?r:void 0;return function(r){return i.multicast(new n.ReplaySubject(e,t,o),s)(r)}}},2749:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.race=void 0;var a=r(4475),o=r(9925);t.race=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.raceWith.apply(void 0,i([],n(a.argsOrArgArray(e))))}},9925:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.raceWith=void 0;var a=r(7779),o=r(4024),s=r(9144);t.raceWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length?o.operate((function(t,r){a.raceInit(i([t],n(e)))(r)})):s.identity}},1678:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reduce=void 0;var n=r(2181),i=r(4024);t.reduce=function(e,t){return i.operate(n.scanInternals(e,t,arguments.length>=2,!1,!0))}},2711:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refCount=void 0;var n=r(4024),i=r(5079);t.refCount=function(){return n.operate((function(e,t){var r=null;e._refCount++;var n=i.createOperatorSubscriber(t,void 0,void 0,void 0,(function(){if(!e||e._refCount<=0||0<--e._refCount)r=null;else{var n=e._connection,i=r;r=null,!n||i&&n!==i||n.unsubscribe(),t.unsubscribe()}}));e.subscribe(n),n.closed||(r=e.connect())}))}},1194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeat=void 0;var n=r(1727),i=r(4024),a=r(5079),o=r(9451),s=r(5710);t.repeat=function(e){var t,r,p=1/0;return null!=e&&("object"==typeof e?(t=e.count,p=void 0===t?1/0:t,r=e.delay):p=e),p<=0?function(){return n.EMPTY}:i.operate((function(e,t){var n,i=0,d=function(){if(null==n||n.unsubscribe(),n=null,null!=r){var e="number"==typeof r?s.timer(r):o.innerFrom(r(i)),p=a.createOperatorSubscriber(t,(function(){p.unsubscribe(),u()}));e.subscribe(p)}else u()},u=function(){var r=!1;n=e.subscribe(a.createOperatorSubscriber(t,void 0,(function(){++i<p?n?d():r=!0:t.complete()}))),r&&d()};u()}))}},7085:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.repeatWhen=void 0;var n=r(9520),i=r(4024),a=r(5079);t.repeatWhen=function(e){return i.operate((function(t,r){var i,o,s=!1,p=!1,d=!1,u=function(){return d&&p&&(r.complete(),!0)},l=function(){d=!1,i=t.subscribe(a.createOperatorSubscriber(r,void 0,(function(){d=!0,!u()&&(o||(o=new n.Subject,e(o).subscribe(a.createOperatorSubscriber(r,(function(){i?l():s=!0}),(function(){p=!0,u()})))),o).next()}))),s&&(i.unsubscribe(),i=null,s=!1,l())};l()}))}},7524:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retry=void 0;var n=r(4024),i=r(5079),a=r(9144),o=r(5710),s=r(9451);t.retry=function(e){var t;void 0===e&&(e=1/0);var r=(t=e&&"object"==typeof e?e:{count:e}).count,p=void 0===r?1/0:r,d=t.delay,u=t.resetOnSuccess,l=void 0!==u&&u;return p<=0?a.identity:n.operate((function(e,t){var r,n=0,a=function(){var u=!1;r=e.subscribe(i.createOperatorSubscriber(t,(function(e){l&&(n=0),t.next(e)}),void 0,(function(e){if(n++<p){var l=function(){r?(r.unsubscribe(),r=null,a()):u=!0};if(null!=d){var c="number"==typeof d?o.timer(d):s.innerFrom(d(e,n)),f=i.createOperatorSubscriber(t,(function(){f.unsubscribe(),l()}),(function(){t.complete()}));c.subscribe(f)}else l()}else t.error(e)}))),u&&(r.unsubscribe(),r=null,a())};a()}))}},548:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.retryWhen=void 0;var n=r(9520),i=r(4024),a=r(5079);t.retryWhen=function(e){return i.operate((function(t,r){var i,o,s=!1,p=function(){i=t.subscribe(a.createOperatorSubscriber(r,void 0,void 0,(function(t){o||(o=new n.Subject,e(o).subscribe(a.createOperatorSubscriber(r,(function(){return i?p():s=!0})))),o&&o.next(t)}))),s&&(i.unsubscribe(),i=null,s=!1,p())};p()}))}},6577:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sample=void 0;var n=r(4024),i=r(5729),a=r(5079);t.sample=function(e){return n.operate((function(t,r){var n=!1,o=null;t.subscribe(a.createOperatorSubscriber(r,(function(e){n=!0,o=e}))),e.subscribe(a.createOperatorSubscriber(r,(function(){if(n){n=!1;var e=o;o=null,r.next(e)}}),i.noop))}))}},3815:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sampleTime=void 0;var n=r(4617),i=r(6577),a=r(4449);t.sampleTime=function(e,t){return void 0===t&&(t=n.asyncScheduler),i.sample(a.interval(e,t))}},7250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scan=void 0;var n=r(4024),i=r(2181);t.scan=function(e,t){return n.operate(i.scanInternals(e,t,arguments.length>=2,!0))}},2181:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scanInternals=void 0;var n=r(5079);t.scanInternals=function(e,t,r,i,a){return function(o,s){var p=r,d=t,u=0;o.subscribe(n.createOperatorSubscriber(s,(function(t){var r=u++;d=p?e(d,t,r):(p=!0,t),i&&s.next(d)}),a&&function(){p&&s.next(d),s.complete()}))}}},842:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sequenceEqual=void 0;var n=r(4024),i=r(5079);t.sequenceEqual=function(e,t){return void 0===t&&(t=function(e,t){return e===t}),n.operate((function(r,n){var a={buffer:[],complete:!1},o={buffer:[],complete:!1},s=function(e){n.next(e),n.complete()},p=function(e,r){var a=i.createOperatorSubscriber(n,(function(n){var i=r.buffer,a=r.complete;0===i.length?a?s(!1):e.buffer.push(n):!t(n,i.shift())&&s(!1)}),(function(){e.complete=!0;var t=r.complete,n=r.buffer;t&&s(0===n.length),null==a||a.unsubscribe()}));return a};r.subscribe(p(a,o)),e.subscribe(p(o,a))}))}},9728:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.share=void 0;var a=r(9451),o=r(9520),s=r(1403),p=r(4024);function d(e,t){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];if(!0!==t){if(!1!==t){var o=new s.SafeSubscriber({next:function(){o.unsubscribe(),e()}});return t.apply(void 0,i([],n(r))).subscribe(o)}}else e()}t.share=function(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new o.Subject}:t,n=e.resetOnError,i=void 0===n||n,u=e.resetOnComplete,l=void 0===u||u,c=e.resetOnRefCountZero,f=void 0===c||c;return function(e){var t,n,o,u=0,c=!1,h=!1,m=function(){null==n||n.unsubscribe(),n=void 0},v=function(){m(),t=o=void 0,c=h=!1},y=function(){var e=t;v(),null==e||e.unsubscribe()};return p.operate((function(e,p){u++,h||c||m();var g=o=null!=o?o:r();p.add((function(){0!=--u||h||c||(n=d(y,f))})),g.subscribe(p),!t&&u>0&&(t=new s.SafeSubscriber({next:function(e){return g.next(e)},error:function(e){h=!0,m(),n=d(v,i,e),g.error(e)},complete:function(){c=!0,m(),n=d(v,l),g.complete()}}),a.innerFrom(e).subscribe(t))}))(e)}}},7768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.shareReplay=void 0;var n=r(216),i=r(9728);t.shareReplay=function(e,t,r){var a,o,s,p,d=!1;return e&&"object"==typeof e?(a=e.bufferSize,p=void 0===a?1/0:a,o=e.windowTime,t=void 0===o?1/0:o,d=void 0!==(s=e.refCount)&&s,r=e.scheduler):p=null!=e?e:1/0,i.share({connector:function(){return new n.ReplaySubject(p,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:d})}},2445:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.single=void 0;var n=r(8032),i=r(6228),a=r(1137),o=r(4024),s=r(5079);t.single=function(e){return o.operate((function(t,r){var o,p=!1,d=!1,u=0;t.subscribe(s.createOperatorSubscriber(r,(function(n){d=!0,e&&!e(n,u++,t)||(p&&r.error(new i.SequenceError("Too many matching values")),p=!0,o=n)}),(function(){p?(r.next(o),r.complete()):r.error(d?new a.NotFoundError("No matching values"):new n.EmptyError)})))}))}},6262:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skip=void 0;var n=r(2763);t.skip=function(e){return n.filter((function(t,r){return e<=r}))}},7397:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipLast=void 0;var n=r(9144),i=r(4024),a=r(5079);t.skipLast=function(e){return e<=0?n.identity:i.operate((function(t,r){var n=new Array(e),i=0;return t.subscribe(a.createOperatorSubscriber(r,(function(t){var a=i++;if(a<e)n[a]=t;else{var o=a%e,s=n[o];n[o]=t,r.next(s)}}))),function(){n=null}}))}},9900:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipUntil=void 0;var n=r(4024),i=r(5079),a=r(9451),o=r(5729);t.skipUntil=function(e){return n.operate((function(t,r){var n=!1,s=i.createOperatorSubscriber(r,(function(){null==s||s.unsubscribe(),n=!0}),o.noop);a.innerFrom(e).subscribe(s),t.subscribe(i.createOperatorSubscriber(r,(function(e){return n&&r.next(e)})))}))}},1620:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.skipWhile=void 0;var n=r(4024),i=r(5079);t.skipWhile=function(e){return n.operate((function(t,r){var n=!1,a=0;t.subscribe(i.createOperatorSubscriber(r,(function(t){return(n||(n=!e(t,a++)))&&r.next(t)})))}))}},3424:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startWith=void 0;var n=r(79),i=r(2619),a=r(4024);t.startWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=i.popScheduler(e);return a.operate((function(t,i){(r?n.concat(e,t,r):n.concat(e,t)).subscribe(i)}))}},831:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.subscribeOn=void 0;var n=r(4024);t.subscribeOn=function(e,t){return void 0===t&&(t=0),n.operate((function(r,n){n.add(e.schedule((function(){return r.subscribe(n)}),t))}))}},411:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchAll=void 0;var n=r(7222),i=r(9144);t.switchAll=function(){return n.switchMap(i.identity)}},7222:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMap=void 0;var n=r(9451),i=r(4024),a=r(5079);t.switchMap=function(e,t){return i.operate((function(r,i){var o=null,s=0,p=!1,d=function(){return p&&!o&&i.complete()};r.subscribe(a.createOperatorSubscriber(i,(function(r){null==o||o.unsubscribe();var p=0,u=s++;n.innerFrom(e(r,u)).subscribe(o=a.createOperatorSubscriber(i,(function(e){return i.next(t?t(r,e,u,p++):e)}),(function(){o=null,d()})))}),(function(){p=!0,d()})))}))}},6464:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchMapTo=void 0;var n=r(7222),i=r(4432);t.switchMapTo=function(e,t){return i.isFunction(t)?n.switchMap((function(){return e}),t):n.switchMap((function(){return e}))}},4434:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.switchScan=void 0;var n=r(7222),i=r(4024);t.switchScan=function(e,t){return i.operate((function(r,i){var a=t;return n.switchMap((function(t,r){return e(a,t,r)}),(function(e,t){return a=t,t}))(r).subscribe(i),function(){a=null}}))}},7138:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.take=void 0;var n=r(1727),i=r(4024),a=r(5079);t.take=function(e){return e<=0?function(){return n.EMPTY}:i.operate((function(t,r){var n=0;t.subscribe(a.createOperatorSubscriber(r,(function(t){++n<=e&&(r.next(t),e<=n&&r.complete())})))}))}},4288:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.takeLast=void 0;var i=r(1727),a=r(4024),o=r(5079);t.takeLast=function(e){return e<=0?function(){return i.EMPTY}:a.operate((function(t,r){var i=[];t.subscribe(o.createOperatorSubscriber(r,(function(t){i.push(t),e<i.length&&i.shift()}),(function(){var e,t;try{for(var a=n(i),o=a.next();!o.done;o=a.next()){var s=o.value;r.next(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}r.complete()}),void 0,(function(){i=null})))}))}},7341:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeUntil=void 0;var n=r(4024),i=r(5079),a=r(9451),o=r(5729);t.takeUntil=function(e){return n.operate((function(t,r){a.innerFrom(e).subscribe(i.createOperatorSubscriber(r,(function(){return r.complete()}),o.noop)),!r.closed&&t.subscribe(r)}))}},653:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.takeWhile=void 0;var n=r(4024),i=r(5079);t.takeWhile=function(e,t){return void 0===t&&(t=!1),n.operate((function(r,n){var a=0;r.subscribe(i.createOperatorSubscriber(n,(function(r){var i=e(r,a++);(i||t)&&n.next(r),!i&&n.complete()})))}))}},8668:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tap=void 0;var n=r(4432),i=r(4024),a=r(5079),o=r(9144);t.tap=function(e,t,r){var s=n.isFunction(e)||t||r?{next:e,error:t,complete:r}:e;return s?i.operate((function(e,t){var r;null===(r=s.subscribe)||void 0===r||r.call(s);var n=!0;e.subscribe(a.createOperatorSubscriber(t,(function(e){var r;null===(r=s.next)||void 0===r||r.call(s,e),t.next(e)}),(function(){var e;n=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()}),(function(e){var r;n=!1,null===(r=s.error)||void 0===r||r.call(s,e),t.error(e)}),(function(){var e,t;n&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)})))})):o.identity}},9466:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.defaultThrottleConfig=void 0;var n=r(4024),i=r(5079),a=r(9451);t.defaultThrottleConfig={leading:!0,trailing:!1},t.throttle=function(e,r){return void 0===r&&(r=t.defaultThrottleConfig),n.operate((function(t,n){var o=r.leading,s=r.trailing,p=!1,d=null,u=null,l=!1,c=function(){null==u||u.unsubscribe(),u=null,s&&(m(),l&&n.complete())},f=function(){u=null,l&&n.complete()},h=function(t){return u=a.innerFrom(e(t)).subscribe(i.createOperatorSubscriber(n,c,f))},m=function(){if(p){p=!1;var e=d;d=null,n.next(e),!l&&h(e)}};t.subscribe(i.createOperatorSubscriber(n,(function(e){p=!0,d=e,(!u||u.closed)&&(o?m():h(e))}),(function(){l=!0,(!(s&&p&&u)||u.closed)&&n.complete()})))}))}},9705:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttleTime=void 0;var n=r(4617),i=r(9466),a=r(5710);t.throttleTime=function(e,t,r){void 0===t&&(t=n.asyncScheduler),void 0===r&&(r=i.defaultThrottleConfig);var o=a.timer(e,t);return i.throttle((function(){return o}),r)}},8062:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throwIfEmpty=void 0;var n=r(8032),i=r(4024),a=r(5079);function o(){return new n.EmptyError}t.throwIfEmpty=function(e){return void 0===e&&(e=o),i.operate((function(t,r){var n=!1;t.subscribe(a.createOperatorSubscriber(r,(function(e){n=!0,r.next(e)}),(function(){return n?r.complete():r.error(e())})))}))}},6610:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TimeInterval=t.timeInterval=void 0;var n=r(4617),i=r(4024),a=r(5079);t.timeInterval=function(e){return void 0===e&&(e=n.asyncScheduler),i.operate((function(t,r){var n=e.now();t.subscribe(a.createOperatorSubscriber(r,(function(t){var i=e.now(),a=i-n;n=i,r.next(new o(t,a))})))}))};var o=function(e,t){this.value=e,this.interval=t};t.TimeInterval=o},6279:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=t.TimeoutError=void 0;var n=r(4617),i=r(7761),a=r(4024),o=r(9451),s=r(9876),p=r(5079),d=r(5421);function u(e){throw new t.TimeoutError(e)}t.TimeoutError=s.createErrorClass((function(e){return function(t){void 0===t&&(t=null),e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}})),t.timeout=function(e,t){var r=i.isValidDate(e)?{first:e}:"number"==typeof e?{each:e}:e,s=r.first,l=r.each,c=r.with,f=void 0===c?u:c,h=r.scheduler,m=void 0===h?null!=t?t:n.asyncScheduler:h,v=r.meta,y=void 0===v?null:v;if(null==s&&null==l)throw new TypeError("No timeout provided.");return a.operate((function(e,t){var r,n,i=null,a=0,u=function(e){n=d.executeSchedule(t,m,(function(){try{r.unsubscribe(),o.innerFrom(f({meta:y,lastValue:i,seen:a})).subscribe(t)}catch(e){t.error(e)}}),e)};r=e.subscribe(p.createOperatorSubscriber(t,(function(e){null==n||n.unsubscribe(),a++,t.next(i=e),l>0&&u(l)}),void 0,void 0,(function(){(null==n?void 0:n.closed)||null==n||n.unsubscribe(),i=null}))),!a&&u(null!=s?"number"==typeof s?s:+s-m.now():l)}))}},8132:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutWith=void 0;var n=r(4617),i=r(7761),a=r(6279);t.timeoutWith=function(e,t,r){var o,s,p;if(r=null!=r?r:n.async,i.isValidDate(e)?o=e:"number"==typeof e&&(s=e),!t)throw new TypeError("No observable provided to switch to");if(p=function(){return t},null==o&&null==s)throw new TypeError("No timeout provided.");return a.timeout({first:o,each:s,scheduler:r,with:p})}},4553:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timestamp=void 0;var n=r(1713),i=r(4338);t.timestamp=function(e){return void 0===e&&(e=n.dateTimestampProvider),i.map((function(t){return{value:t,timestamp:e.now()}}))}},2378:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var n=r(1678),i=r(4024),a=function(e,t){return e.push(t),e};t.toArray=function(){return i.operate((function(e,t){n.reduce(a,[])(e).subscribe(t)}))}},4768:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.window=void 0;var n=r(9520),i=r(4024),a=r(5079),o=r(5729);t.window=function(e){return i.operate((function(t,r){var i=new n.Subject;r.next(i.asObservable());var s=function(e){i.error(e),r.error(e)};return t.subscribe(a.createOperatorSubscriber(r,(function(e){return null==i?void 0:i.next(e)}),(function(){i.complete(),r.complete()}),s)),e.subscribe(a.createOperatorSubscriber(r,(function(){i.complete(),r.next(i=new n.Subject)}),o.noop,s)),function(){null==i||i.unsubscribe(),i=null}}))}},131:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowCount=void 0;var i=r(9520),a=r(4024),o=r(5079);t.windowCount=function(e,t){void 0===t&&(t=0);var r=t>0?t:e;return a.operate((function(t,a){var s=[new i.Subject],p=0;a.next(s[0].asObservable()),t.subscribe(o.createOperatorSubscriber(a,(function(t){var o,d;try{for(var u=n(s),l=u.next();!l.done;l=u.next())l.value.next(t)}catch(e){o={error:e}}finally{try{l&&!l.done&&(d=u.return)&&d.call(u)}finally{if(o)throw o.error}}var c=p-e+1;if(c>=0&&c%r==0&&s.shift().complete(),++p%r==0){var f=new i.Subject;s.push(f),a.next(f.asObservable())}}),(function(){for(;s.length>0;)s.shift().complete();a.complete()}),(function(e){for(;s.length>0;)s.shift().error(e);a.error(e)}),(function(){s=null})))}))}},9579:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowTime=void 0;var n=r(9520),i=r(4617),a=r(7215),o=r(4024),s=r(5079),p=r(2447),d=r(2619),u=r(5421);t.windowTime=function(e){for(var t,r,l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];var f=null!==(t=d.popScheduler(l))&&void 0!==t?t:i.asyncScheduler,h=null!==(r=l[0])&&void 0!==r?r:null,m=l[1]||1/0;return o.operate((function(t,r){var i=[],o=!1,d=function(e){var t=e.window,r=e.subs;t.complete(),r.unsubscribe(),p.arrRemove(i,e),o&&l()},l=function(){if(i){var t=new a.Subscription;r.add(t);var o=new n.Subject,s={window:o,subs:t,seen:0};i.push(s),r.next(o.asObservable()),u.executeSchedule(t,f,(function(){return d(s)}),e)}};null!==h&&h>=0?u.executeSchedule(r,f,l,h,!0):o=!0,l();var c=function(e){return i.slice().forEach(e)},v=function(e){c((function(t){var r=t.window;return e(r)})),e(r),r.unsubscribe()};return t.subscribe(s.createOperatorSubscriber(r,(function(e){c((function(t){t.window.next(e),m<=++t.seen&&d(t)}))}),(function(){return v((function(e){return e.complete()}))}),(function(e){return v((function(t){return t.error(e)}))}))),function(){i=null}}))}},752:function(e,t,r){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0}),t.windowToggle=void 0;var i=r(9520),a=r(7215),o=r(4024),s=r(9451),p=r(5079),d=r(5729),u=r(2447);t.windowToggle=function(e,t){return o.operate((function(r,o){var l=[],c=function(e){for(;0<l.length;)l.shift().error(e);o.error(e)};s.innerFrom(e).subscribe(p.createOperatorSubscriber(o,(function(e){var r=new i.Subject;l.push(r);var n,f=new a.Subscription;try{n=s.innerFrom(t(e))}catch(e){return void c(e)}o.next(r.asObservable()),f.add(n.subscribe(p.createOperatorSubscriber(o,(function(){u.arrRemove(l,r),r.complete(),f.unsubscribe()}),d.noop,c)))}),d.noop)),r.subscribe(p.createOperatorSubscriber(o,(function(e){var t,r,i=l.slice();try{for(var a=n(i),o=a.next();!o.done;o=a.next())o.value.next(e)}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}),(function(){for(;0<l.length;)l.shift().complete();o.complete()}),c,(function(){for(;0<l.length;)l.shift().unsubscribe()})))}))}},582:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.windowWhen=void 0;var n=r(9520),i=r(4024),a=r(5079),o=r(9451);t.windowWhen=function(e){return i.operate((function(t,r){var i,s,p=function(e){i.error(e),r.error(e)},d=function(){var t;null==s||s.unsubscribe(),null==i||i.complete(),i=new n.Subject,r.next(i.asObservable());try{t=o.innerFrom(e())}catch(e){return void p(e)}t.subscribe(s=a.createOperatorSubscriber(r,d,d,p))};d(),t.subscribe(a.createOperatorSubscriber(r,(function(e){return i.next(e)}),(function(){i.complete(),r.complete()}),p,(function(){null==s||s.unsubscribe(),i=null})))}))}},4255:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.withLatestFrom=void 0;var a=r(4024),o=r(5079),s=r(9451),p=r(9144),d=r(5729),u=r(2619);t.withLatestFrom=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=u.popResultSelector(e);return a.operate((function(t,a){for(var u=e.length,l=new Array(u),c=e.map((function(){return!1})),f=!1,h=function(t){s.innerFrom(e[t]).subscribe(o.createOperatorSubscriber(a,(function(e){l[t]=e,f||c[t]||(c[t]=!0,(f=c.every(p.identity))&&(c=null))}),d.noop))},m=0;m<u;m++)h(m);t.subscribe(o.createOperatorSubscriber(a,(function(e){if(f){var t=i([e],n(l));a.next(r?r.apply(void 0,i([],n(t))):t)}})))}))}},3253:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zip=void 0;var a=r(2042),o=r(4024);t.zip=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.operate((function(t,r){a.zip.apply(void 0,i([t],n(e))).subscribe(r)}))}},7220:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zipAll=void 0;var n=r(2042),i=r(7534);t.zipAll=function(e){return i.joinAllInternals(n.zip,e)}},9287:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.zipWith=void 0;var a=r(3253);t.zipWith=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a.zip.apply(void 0,i([],n(e)))}},3584:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleArray=void 0;var n=r(5271);t.scheduleArray=function(e,t){return new n.Observable((function(r){var n=0;return t.schedule((function(){n===e.length?r.complete():(r.next(e[n++]),r.closed||this.schedule())}))}))}},1659:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleAsyncIterable=void 0;var n=r(5271),i=r(5421);t.scheduleAsyncIterable=function(e,t){if(!e)throw new Error("Iterable cannot be null");return new n.Observable((function(r){i.executeSchedule(r,t,(function(){var n=e[Symbol.asyncIterator]();i.executeSchedule(r,t,(function(){n.next().then((function(e){e.done?r.complete():r.next(e.value)}))}),0,!0)}))}))}},8840:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleIterable=void 0;var n=r(5271),i=r(5686),a=r(4432),o=r(5421);t.scheduleIterable=function(e,t){return new n.Observable((function(r){var n;return o.executeSchedule(r,t,(function(){n=e[i.iterator](),o.executeSchedule(r,t,(function(){var e,t,i;try{t=(e=n.next()).value,i=e.done}catch(e){return void r.error(e)}i?r.complete():r.next(t)}),0,!0)})),function(){return a.isFunction(null==n?void 0:n.return)&&n.return()}}))}},5704:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleObservable=void 0;var n=r(9451),i=r(3165),a=r(831);t.scheduleObservable=function(e,t){return n.innerFrom(e).pipe(a.subscribeOn(t),i.observeOn(t))}},4644:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schedulePromise=void 0;var n=r(9451),i=r(3165),a=r(831);t.schedulePromise=function(e,t){return n.innerFrom(e).pipe(a.subscribeOn(t),i.observeOn(t))}},3035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduleReadableStreamLike=void 0;var n=r(1659),i=r(9266);t.scheduleReadableStreamLike=function(e,t){return n.scheduleAsyncIterable(i.readableStreamLikeToAsyncGenerator(e),t)}},3200:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scheduled=void 0;var n=r(5704),i=r(4644),a=r(3584),o=r(8840),s=r(1659),p=r(3292),d=r(2644),u=r(8219),l=r(6380),c=r(7707),f=r(4883),h=r(9266),m=r(3035);t.scheduled=function(e,t){if(null!=e){if(p.isInteropObservable(e))return n.scheduleObservable(e,t);if(u.isArrayLike(e))return a.scheduleArray(e,t);if(d.isPromise(e))return i.schedulePromise(e,t);if(c.isAsyncIterable(e))return s.scheduleAsyncIterable(e,t);if(l.isIterable(e))return o.scheduleIterable(e,t);if(h.isReadableStreamLike(e))return m.scheduleReadableStreamLike(e,t)}throw f.createInvalidObservableTypeError(e)}},4756:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.Action=void 0;var a=function(e){function t(t,r){return e.call(this)||this}return i(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(7215).Subscription);t.Action=a},5364:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameAction=void 0;var a=r(1172),o=r(6741),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=o.animationFrameProvider.requestAnimationFrame((function(){return t.flush(void 0)}))))},t.prototype.recycleAsyncId=function(t,r,n){var i;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var a=t.actions;null!=r&&(null===(i=a[a.length-1])||void 0===i?void 0:i.id)!==r&&(o.animationFrameProvider.cancelAnimationFrame(r),t._scheduled=void 0)},t}(a.AsyncAction);t.AnimationFrameAction=s},1834:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationFrameScheduler=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(6759).AsyncScheduler);t.AnimationFrameScheduler=a},3761:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapAction=void 0;var a=r(1172),o=r(6703),s=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!==n&&n>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.actions.push(this),t._scheduled||(t._scheduled=o.immediateProvider.setImmediate(t.flush.bind(t,void 0))))},t.prototype.recycleAsyncId=function(t,r,n){var i;if(void 0===n&&(n=0),null!=n?n>0:this.delay>0)return e.prototype.recycleAsyncId.call(this,t,r,n);var a=t.actions;null!=r&&(null===(i=a[a.length-1])||void 0===i?void 0:i.id)!==r&&(o.immediateProvider.clearImmediate(r),t._scheduled=void 0)},t}(a.AsyncAction);t.AsapAction=s},1386:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsapScheduler=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.flush=function(e){this._active=!0;var t=this._scheduled;this._scheduled=void 0;var r,n=this.actions;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}},t}(r(6759).AsyncScheduler);t.AsapScheduler=a},1172:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncAction=void 0;var a=r(4756),o=r(9678),s=r(2447),p=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n.pending=!1,n}return i(t,e),t.prototype.schedule=function(e,t){var r;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=null!==(r=this.id)&&void 0!==r?r:this.requestAsyncId(i,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),o.intervalProvider.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&o.intervalProvider.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,n=!1;try{this.work(e)}catch(e){n=!0,r=e||new Error("Scheduled action threw falsy error")}if(n)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,n=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,s.arrRemove(n,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(a.Action);t.AsyncAction=p},6759:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncScheduler=void 0;var a=r(3980),o=function(e){function t(t,r){void 0===r&&(r=a.Scheduler.now);var n=e.call(this,t,r)||this;return n.actions=[],n._active=!1,n}return i(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var r;this._active=!0;do{if(r=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,r){for(;e=t.shift();)e.unsubscribe();throw r}}},t}(a.Scheduler);t.AsyncScheduler=o},6354:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueAction=void 0;var a=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.scheduler=t,n.work=r,n}return i(t,e),t.prototype.schedule=function(t,r){return void 0===r&&(r=0),r>0?e.prototype.schedule.call(this,t,r):(this.delay=r,this.state=t,this.scheduler.flush(this),this)},t.prototype.execute=function(t,r){return r>0||this.closed?e.prototype.execute.call(this,t,r):this._execute(t,r)},t.prototype.requestAsyncId=function(t,r,n){return void 0===n&&(n=0),null!=n&&n>0||null==n&&this.delay>0?e.prototype.requestAsyncId.call(this,t,r,n):(t.flush(this),0)},t}(r(1172).AsyncAction);t.QueueAction=a},3144:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.QueueScheduler=void 0;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(r(6759).AsyncScheduler);t.QueueScheduler=a},8847:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.VirtualAction=t.VirtualTimeScheduler=void 0;var a=r(1172),o=r(7215),s=function(e){function t(t,r){void 0===t&&(t=p),void 0===r&&(r=1/0);var n=e.call(this,t,(function(){return n.frame}))||this;return n.maxFrames=r,n.frame=0,n.index=-1,n}return i(t,e),t.prototype.flush=function(){for(var e,t,r=this.actions,n=this.maxFrames;(t=r[0])&&t.delay<=n&&(r.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=r.shift();)t.unsubscribe();throw e}},t.frameTimeFactor=10,t}(r(6759).AsyncScheduler);t.VirtualTimeScheduler=s;var p=function(e){function t(t,r,n){void 0===n&&(n=t.index+=1);var i=e.call(this,t,r)||this;return i.scheduler=t,i.work=r,i.index=n,i.active=!0,i.index=t.index=n,i}return i(t,e),t.prototype.schedule=function(r,n){if(void 0===n&&(n=0),Number.isFinite(n)){if(!this.id)return e.prototype.schedule.call(this,r,n);this.active=!1;var i=new t(this.scheduler,this.work);return this.add(i),i.schedule(r,n)}return o.Subscription.EMPTY},t.prototype.requestAsyncId=function(e,r,n){void 0===n&&(n=0),this.delay=e.frame+n;var i=e.actions;return i.push(this),i.sort(t.sortActions),1},t.prototype.recycleAsyncId=function(e,t,r){void 0===r&&(r=0)},t.prototype._execute=function(t,r){if(!0===this.active)return e.prototype._execute.call(this,t,r)},t.sortActions=function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1},t}(a.AsyncAction);t.VirtualAction=p},6192:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrame=t.animationFrameScheduler=void 0;var n=r(5364),i=r(1834);t.animationFrameScheduler=new i.AnimationFrameScheduler(n.AnimationFrameAction),t.animationFrame=t.animationFrameScheduler},6741:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.animationFrameProvider=void 0;var a=r(7215);t.animationFrameProvider={schedule:function(e){var r=requestAnimationFrame,n=cancelAnimationFrame,i=t.animationFrameProvider.delegate;i&&(r=i.requestAnimationFrame,n=i.cancelAnimationFrame);var o=r((function(t){n=void 0,e(t)}));return new a.Subscription((function(){return null==n?void 0:n(o)}))},requestAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var a=t.animationFrameProvider.delegate;return((null==a?void 0:a.requestAnimationFrame)||requestAnimationFrame).apply(void 0,i([],n(e)))},cancelAnimationFrame:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var a=t.animationFrameProvider.delegate;return((null==a?void 0:a.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,i([],n(e)))},delegate:void 0}},4502:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=t.asapScheduler=void 0;var n=r(3761),i=r(1386);t.asapScheduler=new i.AsapScheduler(n.AsapAction),t.asap=t.asapScheduler},4617:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.async=t.asyncScheduler=void 0;var n=r(1172),i=r(6759);t.asyncScheduler=new i.AsyncScheduler(n.AsyncAction),t.async=t.asyncScheduler},1713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dateTimestampProvider=void 0,t.dateTimestampProvider={now:function(){return(t.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},6703:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.immediateProvider=void 0;var a=r(2534),o=a.Immediate.setImmediate,s=a.Immediate.clearImmediate;t.immediateProvider={setImmediate:function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var a=t.immediateProvider.delegate;return((null==a?void 0:a.setImmediate)||o).apply(void 0,i([],n(e)))},clearImmediate:function(e){var r=t.immediateProvider.delegate;return((null==r?void 0:r.clearImmediate)||s)(e)},delegate:void 0}},9678:function(e,t){"use strict";var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.intervalProvider=void 0,t.intervalProvider={setInterval:function(e,i){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];var s=t.intervalProvider.delegate;return(null==s?void 0:s.setInterval)?s.setInterval.apply(s,n([e,i],r(a))):setInterval.apply(void 0,n([e,i],r(a)))},clearInterval:function(e){var r=t.intervalProvider.delegate;return((null==r?void 0:r.clearInterval)||clearInterval)(e)},delegate:void 0}},1241:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.performanceTimestampProvider=void 0,t.performanceTimestampProvider={now:function(){return(t.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},326:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.queue=t.queueScheduler=void 0;var n=r(6354),i=r(3144);t.queueScheduler=new i.QueueScheduler(n.QueueAction),t.queue=t.queueScheduler},8972:function(e,t){"use strict";var r=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},n=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.timeoutProvider=void 0,t.timeoutProvider={setTimeout:function(e,i){for(var a=[],o=2;o<arguments.length;o++)a[o-2]=arguments[o];var s=t.timeoutProvider.delegate;return(null==s?void 0:s.setTimeout)?s.setTimeout.apply(s,n([e,i],r(a))):setTimeout.apply(void 0,n([e,i],r(a)))},clearTimeout:function(e){var r=t.timeoutProvider.delegate;return((null==r?void 0:r.clearTimeout)||clearTimeout)(e)},delegate:void 0}},5686:(e,t)=>{"use strict";function r(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.getSymbolIterator=void 0,t.getSymbolIterator=r,t.iterator=r()},2138:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0,t.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},9251:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},6809:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentOutOfRangeError=void 0;var n=r(9876);t.ArgumentOutOfRangeError=n.createErrorClass((function(e){return function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}}))},8032:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmptyError=void 0;var n=r(9876);t.EmptyError=n.createErrorClass((function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}))},2534:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TestTools=t.Immediate=void 0;var r,n=1,i={};function a(e){return e in i&&(delete i[e],!0)}t.Immediate={setImmediate:function(e){var t=n++;return i[t]=!0,r||(r=Promise.resolve()),r.then((function(){return a(t)&&e()})),t},clearImmediate:function(e){a(e)}},t.TestTools={pending:function(){return Object.keys(i).length}}},1137:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NotFoundError=void 0;var n=r(9876);t.NotFoundError=n.createErrorClass((function(e){return function(t){e(this),this.name="NotFoundError",this.message=t}}))},7392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnsubscribedError=void 0;var n=r(9876);t.ObjectUnsubscribedError=n.createErrorClass((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}))},6228:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SequenceError=void 0;var n=r(9876);t.SequenceError=n.createErrorClass((function(e){return function(t){e(this),this.name="SequenceError",this.message=t}}))},5463:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UnsubscriptionError=void 0;var n=r(9876);t.UnsubscriptionError=n.createErrorClass((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}))},2619:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.popNumber=t.popScheduler=t.popResultSelector=void 0;var n=r(4432),i=r(6551);function a(e){return e[e.length-1]}t.popResultSelector=function(e){return n.isFunction(a(e))?e.pop():void 0},t.popScheduler=function(e){return i.isScheduler(a(e))?e.pop():void 0},t.popNumber=function(e,t){return"number"==typeof a(e)?e.pop():t}},4744:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsArgArrayOrObject=void 0;var r=Array.isArray,n=Object.getPrototypeOf,i=Object.prototype,a=Object.keys;t.argsArgArrayOrObject=function(e){if(1===e.length){var t=e[0];if(r(t))return{args:t,keys:null};if((s=t)&&"object"==typeof s&&n(s)===i){var o=a(t);return{args:o.map((function(e){return t[e]})),keys:o}}}var s;return{args:e,keys:null}}},4475:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.argsOrArgArray=void 0;var r=Array.isArray;t.argsOrArgArray=function(e){return 1===e.length&&r(e[0])?e[0]:e}},2447:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrRemove=void 0,t.arrRemove=function(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},9876:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createErrorClass=void 0,t.createErrorClass=function(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},1589:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObject=void 0,t.createObject=function(e,t){return e.reduce((function(e,r,n){return e[r]=t[n],e}),{})}},4770:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.captureError=t.errorContext=void 0;var n=r(3782),i=null;t.errorContext=function(e){if(n.config.useDeprecatedSynchronousErrorHandling){var t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){var r=i,a=r.errorThrown,o=r.error;if(i=null,a)throw o}}else e()},t.captureError=function(e){n.config.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},5421:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeSchedule=void 0,t.executeSchedule=function(e,t,r,n,i){void 0===n&&(n=0),void 0===i&&(i=!1);var a=t.schedule((function(){r(),i?e.add(this.schedule(null,n)):this.unsubscribe()}),n);if(e.add(a),!i)return a}},9144:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=void 0,t.identity=function(e){return e}},8219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArrayLike=void 0,t.isArrayLike=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},7707:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=void 0;var n=r(4432);t.isAsyncIterable=function(e){return Symbol.asyncIterator&&n.isFunction(null==e?void 0:e[Symbol.asyncIterator])}},7761:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidDate=void 0,t.isValidDate=function(e){return e instanceof Date&&!isNaN(e)}},4432:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},3292:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInteropObservable=void 0;var n=r(2138),i=r(4432);t.isInteropObservable=function(e){return i.isFunction(e[n.observable])}},6380:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIterable=void 0;var n=r(5686),i=r(4432);t.isIterable=function(e){return i.isFunction(null==e?void 0:e[n.iterator])}},1211:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObservable=void 0;var n=r(5271),i=r(4432);t.isObservable=function(e){return!!e&&(e instanceof n.Observable||i.isFunction(e.lift)&&i.isFunction(e.subscribe))}},2644:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0;var n=r(4432);t.isPromise=function(e){return n.isFunction(null==e?void 0:e.then)}},9266:function(e,t,r){"use strict";var n=this&&this.__generator||function(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},i=this&&this.__await||function(e){return this instanceof i?(this.v=e,this):new i(e)},a=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,a=r.apply(e,t||[]),o=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){a[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||p(e,t)}))})}function p(e,t){try{(r=a[e](t)).value instanceof i?Promise.resolve(r.value.v).then(d,u):l(o[0][2],r)}catch(e){l(o[0][3],e)}var r}function d(e){p("next",e)}function u(e){p("throw",e)}function l(e,t){e(t),o.shift(),o.length&&p(o[0][0],o[0][1])}};Object.defineProperty(t,"__esModule",{value:!0}),t.isReadableStreamLike=t.readableStreamLikeToAsyncGenerator=void 0;var o=r(4432);t.readableStreamLikeToAsyncGenerator=function(e){return a(this,arguments,(function(){var t,r,a;return n(this,(function(n){switch(n.label){case 0:t=e.getReader(),n.label=1;case 1:n.trys.push([1,,9,10]),n.label=2;case 2:return[4,i(t.read())];case 3:return r=n.sent(),a=r.value,r.done?[4,i(void 0)]:[3,5];case 4:return[2,n.sent()];case 5:return[4,i(a)];case 6:return[4,n.sent()];case 7:return n.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))},t.isReadableStreamLike=function(e){return o.isFunction(null==e?void 0:e.getReader)}},6551:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isScheduler=void 0;var n=r(4432);t.isScheduler=function(e){return e&&n.isFunction(e.schedule)}},4024:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.operate=t.hasLift=void 0;var n=r(4432);function i(e){return n.isFunction(null==e?void 0:e.lift)}t.hasLift=i,t.operate=function(e){return function(t){if(i(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}}},4666:function(e,t,r){"use strict";var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};Object.defineProperty(t,"__esModule",{value:!0}),t.mapOneOrManyArgs=void 0;var a=r(4338),o=Array.isArray;t.mapOneOrManyArgs=function(e){return a.map((function(t){return function(e,t){return o(t)?e.apply(void 0,i([],n(t))):e(t)}(e,t)}))}},5729:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.noop=void 0,t.noop=function(){}},1574:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.not=void 0,t.not=function(e,t){return function(r,n){return!e.call(t,r,n)}}},5966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pipeFromArray=t.pipe=void 0;var n=r(9144);function i(e){return 0===e.length?n.identity:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}t.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return i(e)},t.pipeFromArray=i},7234:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportUnhandledError=void 0;var n=r(3782),i=r(8972);t.reportUnhandledError=function(e){i.timeoutProvider.setTimeout((function(){var t=n.config.onUnhandledError;if(!t)throw e;t(e)}))}},4883:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInvalidObservableTypeError=void 0,t.createInvalidObservableTypeError=function(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},9978:(e,t,r)=>{"use strict";t.UI=t.hX=void 0;r(3533),r(5188),r(4514),r(2537),r(8720),r(7932),r(1445),r(4418),r(4163),r(9893),r(8169),r(7230),r(4098),r(4554),r(1048),r(381),r(4724),r(4347),r(6944),r(440),r(8157),r(1714),r(1030),r(6405),r(9142),r(2307),r(9131),r(6659),r(4217),r(4707),r(9276),r(337),r(3977),r(368),r(7829);var n=r(2763);Object.defineProperty(t,"hX",{enumerable:!0,get:function(){return n.filter}});r(4106),r(8759),r(3999),r(5194),r(1664),r(3470),r(9549),r(9582);var i=r(4338);Object.defineProperty(t,"UI",{enumerable:!0,get:function(){return i.map}});r(4791),r(9318),r(7446),r(6094),r(4594),r(2735),r(9010),r(8983),r(2170),r(3674),r(1446),r(2318),r(3165),r(4764),r(402),r(5960),r(5658),r(3881),r(1755),r(9801),r(5021),r(2749),r(9925),r(1678),r(1194),r(7085),r(7524),r(548),r(2711),r(6577),r(3815),r(7250),r(842),r(9728),r(7768),r(2445),r(6262),r(7397),r(9900),r(1620),r(3424),r(831),r(411),r(7222),r(6464),r(4434),r(7138),r(4288),r(7341),r(653),r(8668),r(9466),r(9705),r(8062),r(6610),r(6279),r(8132),r(4553),r(2378),r(4768),r(131),r(9579),r(752),r(582),r(4255),r(3253),r(7220),r(9287)},6974:(e,t,r)=>{"use strict";const n=r(2037),i=r(6224),a=r(1875),{env:o}=process;let s;function p(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function d(e,t){if(0===s)return 0;if(a("color=16m")||a("color=full")||a("color=truecolor"))return 3;if(a("color=256"))return 2;if(e&&!t&&void 0===s)return 0;const r=s||0;if("dumb"===o.TERM)return r;if("win32"===process.platform){const e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((e=>e in o))||"codeship"===o.CI_NAME?1:r;if("TEAMCITY_VERSION"in o)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION)?1:0;if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){const e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:r}a("no-color")||a("no-colors")||a("color=false")||a("color=never")?s=0:(a("color")||a("colors")||a("color=true")||a("color=always"))&&(s=1),"FORCE_COLOR"in o&&(s="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return p(d(e,e&&e.isTTY))},stdout:p(d(!0,i.isatty(1))),stderr:p(d(!0,i.isatty(2)))}},2371:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(t.length>1){t[0]=t[0].slice(0,-1);for(var n=t.length-1,i=1;i<n;++i)t[i]=t[i].slice(1,-1);return t[n]=t[n].slice(1),t.join("")}return t[0]}function r(e){return"(?:"+e+")"}function n(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function i(e){return e.toUpperCase()}function a(e){var n="[A-Za-z]",i="[0-9]",a=t(i,"[A-Fa-f]"),o=r(r("%[EFef]"+a+"%"+a+a+"%"+a+a)+"|"+r("%[89A-Fa-f]"+a+"%"+a+a)+"|"+r("%"+a+a)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",p=t("[\\:\\/\\?\\#\\[\\]\\@]",s),d=e?"[\\uE000-\\uF8FF]":"[]",u=t(n,i,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),l=r(n+t(n,i,"[\\+\\-\\.]")+"*"),c=r(r(o+"|"+t(u,s,"[\\:]"))+"*"),f=(r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("[1-9]"+i)+"|"+i),r(r("25[0-5]")+"|"+r("2[0-4]"+i)+"|"+r("1"+i+i)+"|"+r("0?[1-9]"+i)+"|0?0?"+i)),h=r(f+"\\."+f+"\\."+f+"\\."+f),m=r(a+"{1,4}"),v=r(r(m+"\\:"+m)+"|"+h),y=r(r(m+"\\:")+"{6}"+v),g=r("\\:\\:"+r(m+"\\:")+"{5}"+v),b=r(r(m)+"?\\:\\:"+r(m+"\\:")+"{4}"+v),_=r(r(r(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+r(m+"\\:")+"{3}"+v),w=r(r(r(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+r(m+"\\:")+"{2}"+v),S=r(r(r(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+v),O=r(r(r(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+v),E=r(r(r(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),N=r(r(r(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),x=r([y,g,b,_,w,S,O,E,N].join("|")),T=r(r(u+"|"+o)+"+"),P=(r(x+"\\%25"+T),r(x+r("\\%25|\\%(?!"+a+"{2})")+T)),I=r("[vV]"+a+"+\\."+t(u,s,"[\\:]")+"+"),D=r("\\["+r(P+"|"+x+"|"+I)+"\\]"),k=r(r(o+"|"+t(u,s))+"*"),A=r(D+"|"+h+"(?!"+k+")|"+k),j=r(i+"*"),C=r(r(c+"@")+"?"+A+r("\\:"+j)+"?"),R=r(o+"|"+t(u,s,"[\\:\\@]")),$=r(R+"*"),M=r(R+"+"),F=r(r(o+"|"+t(u,s,"[\\@]"))+"+"),V=r(r("\\/"+$)+"*"),L=r("\\/"+r(M+V)+"?"),q=r(F+V),B=r(M+V),U="(?!"+R+")",z=(r(V+"|"+L+"|"+q+"|"+B+"|"+U),r(r(R+"|"+t("[\\/\\?]",d))+"*")),Q=r(r(R+"|[\\/\\?]")+"*"),W=r(r("\\/\\/"+C+V)+"|"+L+"|"+B+"|"+U),H=r(l+"\\:"+W+r("\\?"+z)+"?"+r("\\#"+Q)+"?"),K=r(r("\\/\\/"+C+V)+"|"+L+"|"+q+"|"+U),G=r(K+r("\\?"+z)+"?"+r("\\#"+Q)+"?");return r(H+"|"+G),r(l+"\\:"+W+r("\\?"+z)+"?"),r(r("\\/\\/("+r("("+c+")@")+"?("+A+")"+r("\\:("+j+")")+"?)")+"?("+V+"|"+L+"|"+B+"|"+U+")"),r("\\?("+z+")"),r("\\#("+Q+")"),r(r("\\/\\/("+r("("+c+")@")+"?("+A+")"+r("\\:("+j+")")+"?)")+"?("+V+"|"+L+"|"+q+"|"+U+")"),r("\\?("+z+")"),r("\\#("+Q+")"),r(r("\\/\\/("+r("("+c+")@")+"?("+A+")"+r("\\:("+j+")")+"?)")+"?("+V+"|"+L+"|"+B+"|"+U+")"),r("\\?("+z+")"),r("\\#("+Q+")"),r("("+c+")@"),r("\\:("+j+")"),{NOT_SCHEME:new RegExp(t("[^]",n,i,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",u,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",u,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",u,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",u,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]",d),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",u,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",u,s),"g"),UNRESERVED:new RegExp(u,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",u,p),"g"),PCT_ENCODED:new RegExp(o,"g"),IPV4ADDRESS:new RegExp("^("+h+")$"),IPV6ADDRESS:new RegExp("^\\[?("+x+")"+r(r("\\%25|\\%(?!"+a+"{2})")+"("+T+")")+"?\\]?$")}}var o=a(!1),s=a(!0),p=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done)&&(r.push(o.value),!t||r.length!==t);n=!0);}catch(e){i=!0,a=e}finally{try{!n&&s.return&&s.return()}finally{if(i)throw a}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},d=2147483647,u=36,l=/^xn--/,c=/[^\0-\x7E]/,f=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,v=String.fromCharCode;function y(e){throw new RangeError(h[e])}function g(e,t){var r=e.split("@"),n="";return r.length>1&&(n=r[0]+"@",e=r[1]),n+function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(f,".")).split("."),t).join(".")}function b(e){for(var t=[],r=0,n=e.length;r<n;){var i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){var a=e.charCodeAt(r++);56320==(64512&a)?t.push(((1023&i)<<10)+(1023&a)+65536):(t.push(i),r--)}else t.push(i)}return t}var _=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},w=function(e,t,r){var n=0;for(e=r?m(e/700):e>>1,e+=m(e/t);e>455;n+=u)e=m(e/35);return m(n+36*e/(e+38))},S=function(e){var t,r=[],n=e.length,i=0,a=128,o=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var p=0;p<s;++p)e.charCodeAt(p)>=128&&y("not-basic"),r.push(e.charCodeAt(p));for(var l=s>0?s+1:0;l<n;){for(var c=i,f=1,h=u;;h+=u){l>=n&&y("invalid-input");var v=(t=e.charCodeAt(l++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:u;(v>=u||v>m((d-i)/f))&&y("overflow"),i+=v*f;var g=h<=o?1:h>=o+26?26:h-o;if(v<g)break;var b=u-g;f>m(d/b)&&y("overflow"),f*=b}var _=r.length+1;o=w(i-c,_,0==c),m(i/_)>d-a&&y("overflow"),a+=m(i/_),i%=_,r.splice(i++,0,a)}return String.fromCodePoint.apply(String,r)},O=function(e){var t=[],r=(e=b(e)).length,n=128,i=0,a=72,o=!0,s=!1,p=void 0;try{for(var l,c=e[Symbol.iterator]();!(o=(l=c.next()).done);o=!0){var f=l.value;f<128&&t.push(v(f))}}catch(e){s=!0,p=e}finally{try{!o&&c.return&&c.return()}finally{if(s)throw p}}var h=t.length,g=h;for(h&&t.push("-");g<r;){var S=d,O=!0,E=!1,N=void 0;try{for(var x,T=e[Symbol.iterator]();!(O=(x=T.next()).done);O=!0){var P=x.value;P>=n&&P<S&&(S=P)}}catch(e){E=!0,N=e}finally{try{!O&&T.return&&T.return()}finally{if(E)throw N}}var I=g+1;S-n>m((d-i)/I)&&y("overflow"),i+=(S-n)*I,n=S;var D=!0,k=!1,A=void 0;try{for(var j,C=e[Symbol.iterator]();!(D=(j=C.next()).done);D=!0){var R=j.value;if(R<n&&++i>d&&y("overflow"),R==n){for(var $=i,M=u;;M+=u){var F=M<=a?1:M>=a+26?26:M-a;if($<F)break;var V=$-F,L=u-F;t.push(v(_(F+V%L,0))),$=m(V/L)}t.push(v(_($,0))),a=w(i,I,g==h),i=0,++g}}}catch(e){k=!0,A=e}finally{try{!D&&C.return&&C.return()}finally{if(k)throw A}}++i,++n}return t.join("")},E=function(e){return g(e,(function(e){return c.test(e)?"xn--"+O(e):e}))},N=function(e){return g(e,(function(e){return l.test(e)?S(e.slice(4).toLowerCase()):e}))},x={};function T(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function P(e){for(var t="",r=0,n=e.length;r<n;){var i=parseInt(e.substr(r+1,2),16);if(i<128)t+=String.fromCharCode(i),r+=3;else if(i>=194&&i<224){if(n-r>=6){var a=parseInt(e.substr(r+4,2),16);t+=String.fromCharCode((31&i)<<6|63&a)}else t+=e.substr(r,6);r+=6}else if(i>=224){if(n-r>=9){var o=parseInt(e.substr(r+4,2),16),s=parseInt(e.substr(r+7,2),16);t+=String.fromCharCode((15&i)<<12|(63&o)<<6|63&s)}else t+=e.substr(r,9);r+=9}else t+=e.substr(r,3),r+=3}return t}function I(e,t){function r(e){var r=P(e);return r.match(t.UNRESERVED)?r:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,r).replace(t.NOT_USERINFO,T).replace(t.PCT_ENCODED,i)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,r).toLowerCase().replace(t.NOT_HOST,T).replace(t.PCT_ENCODED,i)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,r).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,T).replace(t.PCT_ENCODED,i)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,r).replace(t.NOT_QUERY,T).replace(t.PCT_ENCODED,i)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,r).replace(t.NOT_FRAGMENT,T).replace(t.PCT_ENCODED,i)),e}function D(e){return e.replace(/^0*(.*)/,"$1")||"0"}function k(e,t){var r=e.match(t.IPV4ADDRESS)||[],n=p(r,2)[1];return n?n.split(".").map(D).join("."):e}function A(e,t){var r=e.match(t.IPV6ADDRESS)||[],n=p(r,3),i=n[1],a=n[2];if(i){for(var o=i.toLowerCase().split("::").reverse(),s=p(o,2),d=s[0],u=s[1],l=u?u.split(":").map(D):[],c=d.split(":").map(D),f=t.IPV4ADDRESS.test(c[c.length-1]),h=f?7:8,m=c.length-h,v=Array(h),y=0;y<h;++y)v[y]=l[y]||c[m+y]||"";f&&(v[h-1]=k(v[h-1],t));var g=v.reduce((function(e,t,r){if(!t||"0"===t){var n=e[e.length-1];n&&n.index+n.length===r?n.length++:e.push({index:r,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(g&&g.length>1){var _=v.slice(0,g.index),w=v.slice(g.index+g.length);b=_.join(":")+"::"+w.join(":")}else b=v.join(":");return a&&(b+="%"+a),b}return e}var j=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,C=void 0==="".match(/(){0}/)[1];function R(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r={},n=!1!==t.iri?s:o;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var i=e.match(j);if(i){C?(r.scheme=i[1],r.userinfo=i[3],r.host=i[4],r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=i[7],r.fragment=i[8],isNaN(r.port)&&(r.port=i[5])):(r.scheme=i[1]||void 0,r.userinfo=-1!==e.indexOf("@")?i[3]:void 0,r.host=-1!==e.indexOf("//")?i[4]:void 0,r.port=parseInt(i[5],10),r.path=i[6]||"",r.query=-1!==e.indexOf("?")?i[7]:void 0,r.fragment=-1!==e.indexOf("#")?i[8]:void 0,isNaN(r.port)&&(r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?i[4]:void 0)),r.host&&(r.host=A(k(r.host,n),n)),void 0!==r.scheme||void 0!==r.userinfo||void 0!==r.host||void 0!==r.port||r.path||void 0!==r.query?void 0===r.scheme?r.reference="relative":void 0===r.fragment?r.reference="absolute":r.reference="uri":r.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==r.reference&&(r.error=r.error||"URI is not a "+t.reference+" reference.");var a=x[(t.scheme||r.scheme||"").toLowerCase()];if(t.unicodeSupport||a&&a.unicodeSupport)I(r,n);else{if(r.host&&(t.domainHost||a&&a.domainHost))try{r.host=E(r.host.replace(n.PCT_ENCODED,P).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}I(r,o)}a&&a.parse&&a.parse(r,t)}else r.error=r.error||"URI can not be parsed.";return r}function $(e,t){var r=!1!==t.iri?s:o,n=[];return void 0!==e.userinfo&&(n.push(e.userinfo),n.push("@")),void 0!==e.host&&n.push(A(k(String(e.host),r),r).replace(r.IPV6ADDRESS,(function(e,t,r){return"["+t+(r?"%25"+r:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(n.push(":"),n.push(String(e.port))),n.length?n.join(""):void 0}var M=/^\.\.?\//,F=/^\/\.(\/|$)/,V=/^\/\.\.(\/|$)/,L=/^\/?(?:.|\n)*?(?=\/|$)/;function q(e){for(var t=[];e.length;)if(e.match(M))e=e.replace(M,"");else if(e.match(F))e=e.replace(F,"/");else if(e.match(V))e=e.replace(V,"/"),t.pop();else if("."===e||".."===e)e="";else{var r=e.match(L);if(!r)throw new Error("Unexpected dot segment condition");var n=r[0];e=e.slice(n.length),t.push(n)}return t.join("")}function B(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.iri?s:o,n=[],i=x[(t.scheme||e.scheme||"").toLowerCase()];if(i&&i.serialize&&i.serialize(e,t),e.host)if(r.IPV6ADDRESS.test(e.host));else if(t.domainHost||i&&i.domainHost)try{e.host=t.iri?N(e.host):E(e.host.replace(r.PCT_ENCODED,P).toLowerCase())}catch(r){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+r}I(e,r),"suffix"!==t.reference&&e.scheme&&(n.push(e.scheme),n.push(":"));var a=$(e,t);if(void 0!==a&&("suffix"!==t.reference&&n.push("//"),n.push(a),e.path&&"/"!==e.path.charAt(0)&&n.push("/")),void 0!==e.path){var p=e.path;t.absolutePath||i&&i.absolutePath||(p=q(p)),void 0===a&&(p=p.replace(/^\/\//,"/%2F")),n.push(p)}return void 0!==e.query&&(n.push("?"),n.push(e.query)),void 0!==e.fragment&&(n.push("#"),n.push(e.fragment)),n.join("")}function U(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};return arguments[3]||(e=R(B(e,r),r),t=R(B(t,r),r)),!(r=r||{}).tolerant&&t.scheme?(n.scheme=t.scheme,n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=q(t.path||""),n.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(n.userinfo=t.userinfo,n.host=t.host,n.port=t.port,n.path=q(t.path||""),n.query=t.query):(t.path?("/"===t.path.charAt(0)?n.path=q(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?n.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:n.path=t.path:n.path="/"+t.path,n.path=q(n.path)),n.query=t.query):(n.path=e.path,void 0!==t.query?n.query=t.query:n.query=e.query),n.userinfo=e.userinfo,n.host=e.host,n.port=e.port),n.scheme=e.scheme),n.fragment=t.fragment,n}function z(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:o.PCT_ENCODED,P)}var Q={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var r="https"===String(e.scheme).toLowerCase();return e.port!==(r?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},W={scheme:"https",domainHost:Q.domainHost,parse:Q.parse,serialize:Q.serialize};function H(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var K={scheme:"ws",domainHost:!0,parse:function(e,t){var r=e;return r.secure=H(r),r.resourceName=(r.path||"/")+(r.query?"?"+r.query:""),r.path=void 0,r.query=void 0,r},serialize:function(e,t){if(e.port!==(H(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var r=e.resourceName.split("?"),n=p(r,2),i=n[0],a=n[1];e.path=i&&"/"!==i?i:void 0,e.query=a,e.resourceName=void 0}return e.fragment=void 0,e}},G={scheme:"wss",domainHost:K.domainHost,parse:K.parse,serialize:K.serialize},J={},Y="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",Z="[0-9A-Fa-f]",X=r(r("%[EFef]"+Z+"%"+Z+Z+"%"+Z+Z)+"|"+r("%[89A-Fa-f]"+Z+"%"+Z+Z)+"|"+r("%"+Z+Z)),ee=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),te=new RegExp(Y,"g"),re=new RegExp(X,"g"),ne=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',ee),"g"),ie=new RegExp(t("[^]",Y,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),ae=ie;function oe(e){var t=P(e);return t.match(te)?t:e}var se={scheme:"mailto",parse:function(e,t){var r=e,n=r.to=r.path?r.path.split(","):[];if(r.path=void 0,r.query){for(var i=!1,a={},o=r.query.split("&"),s=0,p=o.length;s<p;++s){var d=o[s].split("=");switch(d[0]){case"to":for(var u=d[1].split(","),l=0,c=u.length;l<c;++l)n.push(u[l]);break;case"subject":r.subject=z(d[1],t);break;case"body":r.body=z(d[1],t);break;default:i=!0,a[z(d[0],t)]=z(d[1],t)}}i&&(r.headers=a)}r.query=void 0;for(var f=0,h=n.length;f<h;++f){var m=n[f].split("@");if(m[0]=z(m[0]),t.unicodeSupport)m[1]=z(m[1],t).toLowerCase();else try{m[1]=E(z(m[1],t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}n[f]=m.join("@")}return r},serialize:function(e,t){var r,n=e,a=null!=(r=e.to)?r instanceof Array?r:"number"!=typeof r.length||r.split||r.setInterval||r.call?[r]:Array.prototype.slice.call(r):[];if(a){for(var o=0,s=a.length;o<s;++o){var p=String(a[o]),d=p.lastIndexOf("@"),u=p.slice(0,d).replace(re,oe).replace(re,i).replace(ne,T),l=p.slice(d+1);try{l=t.iri?N(l):E(z(l,t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}a[o]=u+"@"+l}n.path=a.join(",")}var c=e.headers=e.headers||{};e.subject&&(c.subject=e.subject),e.body&&(c.body=e.body);var f=[];for(var h in c)c[h]!==J[h]&&f.push(h.replace(re,oe).replace(re,i).replace(ie,T)+"="+c[h].replace(re,oe).replace(re,i).replace(ae,T));return f.length&&(n.query=f.join("&")),n}},pe=/^([^\:]+)\:(.*)/,de={scheme:"urn",parse:function(e,t){var r=e.path&&e.path.match(pe),n=e;if(r){var i=t.scheme||n.scheme||"urn",a=r[1].toLowerCase(),o=r[2],s=i+":"+(t.nid||a),p=x[s];n.nid=a,n.nss=o,n.path=void 0,p&&(n=p.parse(n,t))}else n.error=n.error||"URN can not be parsed.";return n},serialize:function(e,t){var r=t.scheme||e.scheme||"urn",n=e.nid,i=r+":"+(t.nid||n),a=x[i];a&&(e=a.serialize(e,t));var o=e,s=e.nss;return o.path=(n||t.nid)+":"+s,o}},ue=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,le={scheme:"urn:uuid",parse:function(e,t){var r=e;return r.uuid=r.nss,r.nss=void 0,t.tolerant||r.uuid&&r.uuid.match(ue)||(r.error=r.error||"UUID is not valid."),r},serialize:function(e,t){var r=e;return r.nss=(e.uuid||"").toLowerCase(),r}};x[Q.scheme]=Q,x[W.scheme]=W,x[K.scheme]=K,x[G.scheme]=G,x[se.scheme]=se,x[de.scheme]=de,x[le.scheme]=le,e.SCHEMES=x,e.pctEncChar=T,e.pctDecChars=P,e.parse=R,e.removeDotSegments=q,e.serialize=B,e.resolveComponents=U,e.resolve=function(e,t,r){var n=function(e,t){var r=e;if(t)for(var n in t)r[n]=t[n];return r}({scheme:"null"},r);return B(U(R(e,n),R(t,n),n,!0),n)},e.normalize=function(e,t){return"string"==typeof e?e=B(R(e,t),t):"object"===n(e)&&(e=R(B(e,t),t)),e},e.equal=function(e,t,r){return"string"==typeof e?e=B(R(e,r),r):"object"===n(e)&&(e=B(e,r)),"string"==typeof t?t=B(R(t,r),r):"object"===n(t)&&(t=B(t,r)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?s.ESCAPE:o.ESCAPE,T)},e.unescapeComponent=z,Object.defineProperty(e,"__esModule",{value:!0})}(t)},4934:(e,t,r)=>{var n=r(7147),i=r(7310),a=r(2081).spawn;function o(e){"use strict";e=e||{};var t,o,s=this,p=r(3685),d=r(5687),u={},l=!1,c={"User-Agent":"node-XMLHttpRequest",Accept:"*/*"},f=Object.assign({},c),h=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","content-transfer-encoding","cookie","cookie2","date","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"],m=["TRACE","TRACK","CONNECT"],v=!1,y=!1,g=!1,b={};this.UNSENT=0,this.OPENED=1,this.HEADERS_RECEIVED=2,this.LOADING=3,this.DONE=4,this.readyState=this.UNSENT,this.onreadystatechange=null,this.responseText="",this.responseXML="",this.status=null,this.statusText=null,this.open=function(e,t,r,n,i){if(this.abort(),y=!1,g=!1,!function(e){return e&&-1===m.indexOf(e)}(e))throw new Error("SecurityError: Request method not allowed");u={method:e,url:t.toString(),async:"boolean"!=typeof r||r,user:n||null,password:i||null},_(this.OPENED)},this.setDisableHeaderCheck=function(e){l=e},this.setRequestHeader=function(e,t){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: setRequestHeader can only be called when state is OPEN");if(!function(e){return l||e&&-1===h.indexOf(e.toLowerCase())}(e))return console.warn('Refused to set unsafe header "'+e+'"'),!1;if(v)throw new Error("INVALID_STATE_ERR: send flag is true");return f[e]=t,!0},this.getResponseHeader=function(e){return"string"==typeof e&&this.readyState>this.OPENED&&o.headers[e.toLowerCase()]&&!y?o.headers[e.toLowerCase()]:null},this.getAllResponseHeaders=function(){if(this.readyState<this.HEADERS_RECEIVED||y)return"";var e="";for(var t in o.headers)"set-cookie"!==t&&"set-cookie2"!==t&&(e+=t+": "+o.headers[t]+"\r\n");return e.substr(0,e.length-2)},this.getRequestHeader=function(e){return"string"==typeof e&&f[e]?f[e]:""},this.send=function(r){if(this.readyState!=this.OPENED)throw new Error("INVALID_STATE_ERR: connection must be opened before send() is called");if(v)throw new Error("INVALID_STATE_ERR: send has already been called");var l,c=!1,h=!1,m=i.parse(u.url);switch(m.protocol){case"https:":c=!0;case"http:":l=m.hostname;break;case"file:":h=!0;break;case void 0:case"":l="localhost";break;default:throw new Error("Protocol not supported.")}if(h){if("GET"!==u.method)throw new Error("XMLHttpRequest: Only GET method is supported");if(u.async)n.readFile(unescape(m.pathname),"utf8",(function(e,t){e?s.handleError(e,e.errno||-1):(s.status=200,s.responseText=t,_(s.DONE))}));else try{this.responseText=n.readFileSync(unescape(m.pathname),"utf8"),this.status=200,_(s.DONE)}catch(e){this.handleError(e,e.errno||-1)}}else{var g=m.port||(c?443:80),b=m.pathname+(m.search?m.search:"");if(f.Host=l,c&&443===g||80===g||(f.Host+=":"+m.port),u.user){void 0===u.password&&(u.password="");var w=new Buffer(u.user+":"+u.password);f.Authorization="Basic "+w.toString("base64")}"GET"===u.method||"HEAD"===u.method?r=null:r?(f["Content-Length"]=Buffer.isBuffer(r)?r.length:Buffer.byteLength(r),f["Content-Type"]||(f["Content-Type"]="text/plain;charset=UTF-8")):"POST"===u.method&&(f["Content-Length"]=0);var S=e.agent||!1,O={host:l,port:g,path:b,method:u.method,headers:f,agent:S};if(c&&(O.pfx=e.pfx,O.key=e.key,O.passphrase=e.passphrase,O.cert=e.cert,O.ca=e.ca,O.ciphers=e.ciphers,O.rejectUnauthorized=!1!==e.rejectUnauthorized),y=!1,u.async){var E=c?d.request:p.request;v=!0,s.dispatchEvent("readystatechange");var N=function(r){if(302===(o=r).statusCode||303===o.statusCode||307===o.statusCode){u.url=o.headers.location;var n=i.parse(u.url);l=n.hostname;var a={hostname:n.hostname,port:n.port,path:n.path,method:303===o.statusCode?"GET":u.method,headers:f};return c&&(a.pfx=e.pfx,a.key=e.key,a.passphrase=e.passphrase,a.cert=e.cert,a.ca=e.ca,a.ciphers=e.ciphers,a.rejectUnauthorized=!1!==e.rejectUnauthorized),void(t=E(a,N).on("error",x)).end()}o&&o.setEncoding&&o.setEncoding("utf8"),_(s.HEADERS_RECEIVED),s.status=o.statusCode,o.on("data",(function(e){e&&(s.responseText+=e),v&&_(s.LOADING)})),o.on("end",(function(){v&&(v=!1,_(s.DONE))})),o.on("error",(function(e){s.handleError(e)}))},x=function(e){s.handleError(e)};t=E(O,N).on("error",x),e.autoUnref&&t.on("socket",(e=>{e.unref()})),r&&t.write(r),t.end(),s.dispatchEvent("loadstart")}else{var T=".node-xmlhttprequest-content-"+process.pid,P=".node-xmlhttprequest-sync-"+process.pid;n.writeFileSync(P,"","utf8");for(var I="var http = require('http'), https = require('https'), fs = require('fs');var doRequest = http"+(c?"s":"")+".request;var options = "+JSON.stringify(O)+";var responseText = '';var req = doRequest(options, function(response) {response.setEncoding('utf8');response.on('data', function(chunk) { responseText += chunk;});response.on('end', function() {fs.writeFileSync('"+T+"', 'NODE-XMLHTTPREQUEST-STATUS:' + response.statusCode + ',' + responseText, 'utf8');fs.unlinkSync('"+P+"');});response.on('error', function(error) {fs.writeFileSync('"+T+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+P+"');});}).on('error', function(error) {fs.writeFileSync('"+T+"', 'NODE-XMLHTTPREQUEST-ERROR:' + JSON.stringify(error), 'utf8');fs.unlinkSync('"+P+"');});"+(r?"req.write('"+JSON.stringify(r).slice(1,-1).replace(/'/g,"\\'")+"');":"")+"req.end();",D=a(process.argv[0],["-e",I]);n.existsSync(P););if(s.responseText=n.readFileSync(T,"utf8"),D.stdin.end(),n.unlinkSync(T),s.responseText.match(/^NODE-XMLHTTPREQUEST-ERROR:/)){var k=s.responseText.replace(/^NODE-XMLHTTPREQUEST-ERROR:/,"");s.handleError(k,503)}else s.status=s.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:([0-9]*),.*/,"$1"),s.responseText=s.responseText.replace(/^NODE-XMLHTTPREQUEST-STATUS:[0-9]*,(.*)/,"$1"),_(s.DONE)}}},this.handleError=function(e,t){this.status=t||0,this.statusText=e,this.responseText=e.stack,y=!0,_(this.DONE)},this.abort=function(){t&&(t.abort(),t=null),f=Object.assign({},c),this.responseText="",this.responseXML="",y=g=!0,this.readyState===this.UNSENT||this.readyState===this.OPENED&&!v||this.readyState===this.DONE||(v=!1,_(this.DONE)),this.readyState=this.UNSENT},this.addEventListener=function(e,t){e in b||(b[e]=[]),b[e].push(t)},this.removeEventListener=function(e,t){e in b&&(b[e]=b[e].filter((function(e){return e!==t})))},this.dispatchEvent=function(e){if("function"==typeof s["on"+e]&&(this.readyState===this.DONE?setImmediate((function(){s["on"+e]()})):s["on"+e]()),e in b)for(let t=0,r=b[e].length;t<r;t++)this.readyState===this.DONE?setImmediate((function(){b[e][t].call(s)})):b[e][t].call(s)};var _=function(e){if(!(s.readyState===e||s.readyState===s.UNSENT&&g)&&(s.readyState=e,(u.async||s.readyState<s.OPENED||s.readyState===s.DONE)&&s.dispatchEvent("readystatechange"),s.readyState===s.DONE)){let e;e=g?"abort":y?"error":"load",s.dispatchEvent(e),s.dispatchEvent("loadend")}}}e.exports=o,o.XMLHttpRequest=o},2081:e=>{"use strict";e.exports=require("child_process")},6113:e=>{"use strict";e.exports=require("crypto")},2361:e=>{"use strict";e.exports=require("events")},7147:e=>{"use strict";e.exports=require("fs")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},2037:e=>{"use strict";e.exports=require("os")},5477:e=>{"use strict";e.exports=require("punycode")},2781:e=>{"use strict";e.exports=require("stream")},4404:e=>{"use strict";e.exports=require("tls")},6224:e=>{"use strict";e.exports=require("tty")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")},2889:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FetchError:()=>f,Headers:()=>D,Request:()=>W,Response:()=>F,default:()=>Y});var n=r(2781),i=r(3685),a=r(7310),o=r(4851),s=r(5687),p=r(9796);const d=n.Readable,u=Symbol("buffer"),l=Symbol("type");class c{constructor(){this[l]="";const e=arguments[0],t=arguments[1],r=[];let n=0;if(e){const t=e,i=Number(t.length);for(let e=0;e<i;e++){const i=t[e];let a;a=i instanceof Buffer?i:ArrayBuffer.isView(i)?Buffer.from(i.buffer,i.byteOffset,i.byteLength):i instanceof ArrayBuffer?Buffer.from(i):i instanceof c?i[u]:Buffer.from("string"==typeof i?i:String(i)),n+=a.length,r.push(a)}}this[u]=Buffer.concat(r);let i=t&&void 0!==t.type&&String(t.type).toLowerCase();i&&!/[^\u0020-\u007E]/.test(i)&&(this[l]=i)}get size(){return this[u].length}get type(){return this[l]}text(){return Promise.resolve(this[u].toString())}arrayBuffer(){const e=this[u],t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return Promise.resolve(t)}stream(){const e=new d;return e._read=function(){},e.push(this[u]),e.push(null),e}toString(){return"[object Blob]"}slice(){const e=this.size,t=arguments[0],r=arguments[1];let n,i;n=void 0===t?0:t<0?Math.max(e+t,0):Math.min(t,e),i=void 0===r?e:r<0?Math.max(e+r,0):Math.min(r,e);const a=Math.max(i-n,0),o=this[u].slice(n,n+a),s=new c([],{type:arguments[2]});return s[u]=o,s}}function f(e,t,r){Error.call(this,e),this.message=e,this.type=t,r&&(this.code=this.errno=r.code),Error.captureStackTrace(this,this.constructor)}let h;Object.defineProperties(c.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}}),Object.defineProperty(c.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0}),f.prototype=Object.create(Error.prototype),f.prototype.constructor=f,f.prototype.name="FetchError";try{h=require("encoding").convert}catch(e){}const m=Symbol("Body internals"),v=n.PassThrough;function y(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.size;let a=void 0===i?0:i;var o=r.timeout;let s=void 0===o?0:o;null==e?e=null:b(e)?e=Buffer.from(e.toString()):_(e)||Buffer.isBuffer(e)||("[object ArrayBuffer]"===Object.prototype.toString.call(e)?e=Buffer.from(e):ArrayBuffer.isView(e)?e=Buffer.from(e.buffer,e.byteOffset,e.byteLength):e instanceof n||(e=Buffer.from(String(e)))),this[m]={body:e,disturbed:!1,error:null},this.size=a,this.timeout=s,e instanceof n&&e.on("error",(function(e){const r="AbortError"===e.name?e:new f(`Invalid response body while trying to fetch ${t.url}: ${e.message}`,"system",e);t[m].error=r}))}function g(){var e=this;if(this[m].disturbed)return y.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[m].disturbed=!0,this[m].error)return y.Promise.reject(this[m].error);let t=this.body;if(null===t)return y.Promise.resolve(Buffer.alloc(0));if(_(t)&&(t=t.stream()),Buffer.isBuffer(t))return y.Promise.resolve(t);if(!(t instanceof n))return y.Promise.resolve(Buffer.alloc(0));let r=[],i=0,a=!1;return new y.Promise((function(n,o){let s;e.timeout&&(s=setTimeout((function(){a=!0,o(new f(`Response timeout while trying to fetch ${e.url} (over ${e.timeout}ms)`,"body-timeout"))}),e.timeout)),t.on("error",(function(t){"AbortError"===t.name?(a=!0,o(t)):o(new f(`Invalid response body while trying to fetch ${e.url}: ${t.message}`,"system",t))})),t.on("data",(function(t){if(!a&&null!==t){if(e.size&&i+t.length>e.size)return a=!0,void o(new f(`content size at ${e.url} over limit: ${e.size}`,"max-size"));i+=t.length,r.push(t)}})),t.on("end",(function(){if(!a){clearTimeout(s);try{n(Buffer.concat(r,i))}catch(t){o(new f(`Could not create Buffer from response body for ${e.url}: ${t.message}`,"system",t))}}}))}))}function b(e){return"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&("URLSearchParams"===e.constructor.name||"[object URLSearchParams]"===Object.prototype.toString.call(e)||"function"==typeof e.sort)}function _(e){return"object"==typeof e&&"function"==typeof e.arrayBuffer&&"string"==typeof e.type&&"function"==typeof e.stream&&"function"==typeof e.constructor&&"string"==typeof e.constructor.name&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag])}function w(e){let t,r,i=e.body;if(e.bodyUsed)throw new Error("cannot clone body after it is used");return i instanceof n&&"function"!=typeof i.getBoundary&&(t=new v,r=new v,i.pipe(t),i.pipe(r),e[m].body=t,i=r),i}function S(e){return null===e?null:"string"==typeof e?"text/plain;charset=UTF-8":b(e)?"application/x-www-form-urlencoded;charset=UTF-8":_(e)?e.type||null:Buffer.isBuffer(e)||"[object ArrayBuffer]"===Object.prototype.toString.call(e)||ArrayBuffer.isView(e)?null:"function"==typeof e.getBoundary?`multipart/form-data;boundary=${e.getBoundary()}`:e instanceof n?null:"text/plain;charset=UTF-8"}function O(e){const t=e.body;return null===t?0:_(t)?t.size:Buffer.isBuffer(t)?t.length:t&&"function"==typeof t.getLengthSync&&(t._lengthRetrievers&&0==t._lengthRetrievers.length||t.hasKnownLength&&t.hasKnownLength())?t.getLengthSync():null}y.prototype={get body(){return this[m].body},get bodyUsed(){return this[m].disturbed},arrayBuffer(){return g.call(this).then((function(e){return e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}))},blob(){let e=this.headers&&this.headers.get("content-type")||"";return g.call(this).then((function(t){return Object.assign(new c([],{type:e.toLowerCase()}),{[u]:t})}))},json(){var e=this;return g.call(this).then((function(t){try{return JSON.parse(t.toString())}catch(t){return y.Promise.reject(new f(`invalid json response body at ${e.url} reason: ${t.message}`,"invalid-json"))}}))},text(){return g.call(this).then((function(e){return e.toString()}))},buffer(){return g.call(this)},textConverted(){var e=this;return g.call(this).then((function(t){return function(e,t){if("function"!=typeof h)throw new Error("The package `encoding` must be installed to use the textConverted() function");const r=t.get("content-type");let n,i,a="utf-8";return r&&(n=/charset=([^;]*)/i.exec(r)),i=e.slice(0,1024).toString(),!n&&i&&(n=/<meta.+?charset=(['"])(.+?)\1/i.exec(i)),!n&&i&&(n=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(i),n||(n=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(i),n&&n.pop()),n&&(n=/charset=(.*)/i.exec(n.pop()))),!n&&i&&(n=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(i)),n&&(a=n.pop(),"gb2312"!==a&&"gbk"!==a||(a="gb18030")),h(e,"UTF-8",a).toString()}(t,e.headers)}))}},Object.defineProperties(y.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}}),y.mixIn=function(e){for(const t of Object.getOwnPropertyNames(y.prototype))if(!(t in e)){const r=Object.getOwnPropertyDescriptor(y.prototype,t);Object.defineProperty(e,t,r)}},y.Promise=global.Promise;const E=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,N=/[^\t\x20-\x7e\x80-\xff]/;function x(e){if(e=`${e}`,E.test(e)||""===e)throw new TypeError(`${e} is not a legal HTTP header name`)}function T(e){if(e=`${e}`,N.test(e))throw new TypeError(`${e} is not a legal HTTP header value`)}function P(e,t){t=t.toLowerCase();for(const r in e)if(r.toLowerCase()===t)return r}const I=Symbol("map");class D{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(this[I]=Object.create(null),e instanceof D){const t=e.raw(),r=Object.keys(t);for(const e of r)for(const r of t[e])this.append(e,r)}else if(null==e);else{if("object"!=typeof e)throw new TypeError("Provided initializer must be an object");{const t=e[Symbol.iterator];if(null!=t){if("function"!=typeof t)throw new TypeError("Header pairs must be iterable");const r=[];for(const t of e){if("object"!=typeof t||"function"!=typeof t[Symbol.iterator])throw new TypeError("Each header pair must be iterable");r.push(Array.from(t))}for(const e of r){if(2!==e.length)throw new TypeError("Each header pair must be a name/value tuple");this.append(e[0],e[1])}}else for(const t of Object.keys(e)){const r=e[t];this.append(t,r)}}}}get(e){x(e=`${e}`);const t=P(this[I],e);return void 0===t?null:this[I][t].join(", ")}forEach(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=k(this),n=0;for(;n<r.length;){var i=r[n];const a=i[0],o=i[1];e.call(t,o,a,this),r=k(this),n++}}set(e,t){t=`${t}`,x(e=`${e}`),T(t);const r=P(this[I],e);this[I][void 0!==r?r:e]=[t]}append(e,t){t=`${t}`,x(e=`${e}`),T(t);const r=P(this[I],e);void 0!==r?this[I][r].push(t):this[I][e]=[t]}has(e){return x(e=`${e}`),void 0!==P(this[I],e)}delete(e){x(e=`${e}`);const t=P(this[I],e);void 0!==t&&delete this[I][t]}raw(){return this[I]}keys(){return j(this,"key")}values(){return j(this,"value")}[Symbol.iterator](){return j(this,"key+value")}}function k(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"key+value";const r=Object.keys(e[I]).sort();return r.map("key"===t?function(e){return e.toLowerCase()}:"value"===t?function(t){return e[I][t].join(", ")}:function(t){return[t.toLowerCase(),e[I][t].join(", ")]})}D.prototype.entries=D.prototype[Symbol.iterator],Object.defineProperty(D.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(D.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});const A=Symbol("internal");function j(e,t){const r=Object.create(C);return r[A]={target:e,kind:t,index:0},r}const C=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==C)throw new TypeError("Value of `this` is not a HeadersIterator");var e=this[A];const t=e.target,r=e.kind,n=e.index,i=k(t,r);return n>=i.length?{value:void 0,done:!0}:(this[A].index=n+1,{value:i[n],done:!1})}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));function R(e){const t=Object.assign({__proto__:null},e[I]),r=P(e[I],"Host");return void 0!==r&&(t[r]=t[r][0]),t}Object.defineProperty(C,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});const $=Symbol("Response internals"),M=i.STATUS_CODES;class F{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};y.call(this,e,t);const r=t.status||200,n=new D(t.headers);if(null!=e&&!n.has("Content-Type")){const t=S(e);t&&n.append("Content-Type",t)}this[$]={url:t.url,status:r,statusText:t.statusText||M[r],headers:n,counter:t.counter}}get url(){return this[$].url||""}get status(){return this[$].status}get ok(){return this[$].status>=200&&this[$].status<300}get redirected(){return this[$].counter>0}get statusText(){return this[$].statusText}get headers(){return this[$].headers}clone(){return new F(w(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}y.mixIn(F.prototype),Object.defineProperties(F.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}}),Object.defineProperty(F.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});const V=Symbol("Request internals"),L=a.URL||o.URL,q=a.parse,B=a.format;function U(e){return/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(e)&&(e=new L(e).toString()),q(e)}const z="destroy"in n.Readable.prototype;function Q(e){return"object"==typeof e&&"object"==typeof e[V]}class W{constructor(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Q(e)?t=U(e.url):(t=e&&e.href?U(e.href):U(`${e}`),e={});let n=r.method||e.method||"GET";if(n=n.toUpperCase(),(null!=r.body||Q(e)&&null!==e.body)&&("GET"===n||"HEAD"===n))throw new TypeError("Request with GET/HEAD method cannot have body");let i=null!=r.body?r.body:Q(e)&&null!==e.body?w(e):null;y.call(this,i,{timeout:r.timeout||e.timeout||0,size:r.size||e.size||0});const a=new D(r.headers||e.headers||{});if(null!=i&&!a.has("Content-Type")){const e=S(i);e&&a.append("Content-Type",e)}let o=Q(e)?e.signal:null;if("signal"in r&&(o=r.signal),null!=o&&!function(e){const t=e&&"object"==typeof e&&Object.getPrototypeOf(e);return!(!t||"AbortSignal"!==t.constructor.name)}(o))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[V]={method:n,redirect:r.redirect||e.redirect||"follow",headers:a,parsedURL:t,signal:o},this.follow=void 0!==r.follow?r.follow:void 0!==e.follow?e.follow:20,this.compress=void 0!==r.compress?r.compress:void 0===e.compress||e.compress,this.counter=r.counter||e.counter||0,this.agent=r.agent||e.agent}get method(){return this[V].method}get url(){return B(this[V].parsedURL)}get headers(){return this[V].headers}get redirect(){return this[V].redirect}get signal(){return this[V].signal}clone(){return new W(this)}}function H(e){Error.call(this,e),this.type="aborted",this.message=e,Error.captureStackTrace(this,this.constructor)}y.mixIn(W.prototype),Object.defineProperty(W.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0}),Object.defineProperties(W.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}}),H.prototype=Object.create(Error.prototype),H.prototype.constructor=H,H.prototype.name="AbortError";const K=a.URL||o.URL,G=n.PassThrough;function J(e,t){if(!J.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return y.Promise=J.Promise,new J.Promise((function(r,a){const o=new W(e,t),d=function(e){const t=e[V].parsedURL,r=new D(e[V].headers);if(r.has("Accept")||r.set("Accept","*/*"),!t.protocol||!t.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(t.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(e.signal&&e.body instanceof n.Readable&&!z)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let i=null;if(null==e.body&&/^(POST|PUT)$/i.test(e.method)&&(i="0"),null!=e.body){const t=O(e);"number"==typeof t&&(i=String(t))}i&&r.set("Content-Length",i),r.has("User-Agent")||r.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)"),e.compress&&!r.has("Accept-Encoding")&&r.set("Accept-Encoding","gzip,deflate");let a=e.agent;return"function"==typeof a&&(a=a(t)),r.has("Connection")||a||r.set("Connection","close"),Object.assign({},t,{method:e.method,headers:R(r),agent:a})}(o),u=("https:"===d.protocol?s:i).request,l=o.signal;let c=null;const h=function(){let e=new H("The user aborted a request.");a(e),o.body&&o.body instanceof n.Readable&&o.body.destroy(e),c&&c.body&&c.body.emit("error",e)};if(l&&l.aborted)return void h();const m=function(){h(),g()},v=u(d);let y;function g(){v.abort(),l&&l.removeEventListener("abort",m),clearTimeout(y)}l&&l.addEventListener("abort",m),o.timeout&&v.once("socket",(function(e){y=setTimeout((function(){a(new f(`network timeout at: ${o.url}`,"request-timeout")),g()}),o.timeout)})),v.on("error",(function(e){a(new f(`request to ${o.url} failed, reason: ${e.message}`,"system",e)),g()})),v.on("response",(function(e){clearTimeout(y);const t=function(e){const t=new D;for(const r of Object.keys(e))if(!E.test(r))if(Array.isArray(e[r]))for(const n of e[r])N.test(n)||(void 0===t[I][r]?t[I][r]=[n]:t[I][r].push(n));else N.test(e[r])||(t[I][r]=[e[r]]);return t}(e.headers);if(J.isRedirect(e.statusCode)){const n=t.get("Location");let i=null;try{i=null===n?null:new K(n,o.url).toString()}catch(e){if("manual"!==o.redirect)return a(new f(`uri requested responds with an invalid redirect URL: ${n}`,"invalid-redirect")),void g()}switch(o.redirect){case"error":return a(new f(`uri requested responds with a redirect, redirect mode is set to error: ${o.url}`,"no-redirect")),void g();case"manual":if(null!==i)try{t.set("Location",i)}catch(e){a(e)}break;case"follow":if(null===i)break;if(o.counter>=o.follow)return a(new f(`maximum redirect reached at: ${o.url}`,"max-redirect")),void g();const n={headers:new D(o.headers),follow:o.follow,counter:o.counter+1,agent:o.agent,compress:o.compress,method:o.method,body:o.body,signal:o.signal,timeout:o.timeout,size:o.size};if(!function(e,t){const r=new K(t).hostname,n=new K(e).hostname;return r===n||"."===r[r.length-n.length-1]&&r.endsWith(n)}(o.url,i))for(const e of["authorization","www-authenticate","cookie","cookie2"])n.headers.delete(e);return 303!==e.statusCode&&o.body&&null===O(o)?(a(new f("Cannot follow redirect with body being a readable stream","unsupported-redirect")),void g()):(303!==e.statusCode&&(301!==e.statusCode&&302!==e.statusCode||"POST"!==o.method)||(n.method="GET",n.body=void 0,n.headers.delete("content-length")),r(J(new W(i,n))),void g())}}e.once("end",(function(){l&&l.removeEventListener("abort",m)}));let n=e.pipe(new G);const i={url:o.url,status:e.statusCode,statusText:e.statusMessage,headers:t,size:o.size,timeout:o.timeout,counter:o.counter},s=t.get("Content-Encoding");if(!o.compress||"HEAD"===o.method||null===s||204===e.statusCode||304===e.statusCode)return c=new F(n,i),void r(c);const d={flush:p.Z_SYNC_FLUSH,finishFlush:p.Z_SYNC_FLUSH};if("gzip"==s||"x-gzip"==s)return n=n.pipe(p.createGunzip(d)),c=new F(n,i),void r(c);if("deflate"!=s&&"x-deflate"!=s){if("br"==s&&"function"==typeof p.createBrotliDecompress)return n=n.pipe(p.createBrotliDecompress()),c=new F(n,i),void r(c);c=new F(n,i),r(c)}else e.pipe(new G).once("data",(function(e){n=8==(15&e[0])?n.pipe(p.createInflate()):n.pipe(p.createInflateRaw()),c=new F(n,i),r(c)}))})),function(e,t){const r=t.body;null===r?e.end():_(r)?r.stream().pipe(e):Buffer.isBuffer(r)?(e.write(r),e.end()):r.pipe(e)}(v,o)}))}J.isRedirect=function(e){return 301===e||302===e||303===e||307===e||308===e},J.Promise=global.Promise;const Y=J},1143:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},1512:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true},"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')},4847:e=>{"use strict";e.exports=JSON.parse('[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]')}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var a=Object.create(null);i.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>o[e]=()=>r[e]));return o.default=()=>r,i.d(a,o),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var a={};(()=>{"use strict";i.r(a),i.d(a,{SquidProject:()=>eu,SquidService:()=>tu,executable:()=>mt,namedQuery:()=>bt,scheduler:()=>yt,secureApi:()=>ct,secureCollection:()=>ut,secureDatabase:()=>dt,secureExecutable:()=>lt,secureGraphQL:()=>ft,secureNamedQuery:()=>_t,transformCollection:()=>ht,trigger:()=>vt,webhook:()=>gt});var e,t={};i.r(t),i.d(t,{Decoder:()=>Fd,Encoder:()=>Md,PacketType:()=>$d,protocol:()=>Rd}),function(e){e.internal="internal",e.mongo="mongo",e.mysql="mysql",e.mssql="mssql",e.postgres="postgres",e.cockroach="cockroach",e.api="api",e.graphql="graphql"}(e||(e={}));const r=(e.internal,e.mysql,e.mssql,e.postgres,e.cockroach,e.mongo,e.api,e.graphql,e.mysql,e.mssql,e.postgres,e.cockroach,e.mongo,e.graphql,e.mysql,e.mssql,e.postgres,e.cockroach,e.mongo,e.internal,e.graphql,require("buffer"));var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)};function o(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var s=function(e){function t(r){var n=e.call(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return o(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"BSONError"},enumerable:!1,configurable:!0}),t}(Error),p=function(e){function t(r){var n=e.call(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return o(t,e),Object.defineProperty(t.prototype,"name",{get:function(){return"BSONTypeError"},enumerable:!1,configurable:!0}),t}(TypeError);function d(e){return e&&e.Math==Math&&e}function u(){return d("object"==typeof globalThis&&globalThis)||d("object"==typeof window&&window)||d("object"==typeof self&&self)||d("object"==typeof global&&global)||Function("return this")()}var l=function(e){var t,n="object"==typeof(t=u()).navigator&&"ReactNative"===t.navigator.product?"BSON: For React Native please polyfill crypto.getRandomValues, e.g. using: https://www.npmjs.com/package/react-native-get-random-values.":"BSON: No cryptographic implementation for random bytes present, falling back to a less secure implementation.";console.warn(n);for(var i=r.Buffer.alloc(e),a=0;a<e;++a)i[a]=Math.floor(256*Math.random());return i},c=function(){var e=void 0;try{e=i(6113).randomBytes}catch(e){}return e||l}();function f(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)}function h(e){return"object"==typeof e&&null!==e}function m(e,t){var r=!1;return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return r||(console.warn(t),r=!0),e.apply(this,n)}}function v(e){if(ArrayBuffer.isView(e))return r.Buffer.from(e.buffer,e.byteOffset,e.byteLength);if(t=e,["[object ArrayBuffer]","[object SharedArrayBuffer]"].includes(Object.prototype.toString.call(t)))return r.Buffer.from(e);var t;throw new p("Must use either Buffer or TypedArray")}var y=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|[0-9a-f]{12}4[0-9a-f]{3}[89ab][0-9a-f]{15})$/i,g=function(e){return"string"==typeof e&&y.test(e)},b=function(e){if(!g(e))throw new p('UUID string representations must be a 32 or 36 character hex string (dashes excluded/included). Format: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" or "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".');var t=e.replace(/-/g,"");return r.Buffer.from(t,"hex")},_=function(e,t){return void 0===t&&(t=!0),t?e.toString("hex",0,4)+"-"+e.toString("hex",4,6)+"-"+e.toString("hex",6,8)+"-"+e.toString("hex",8,10)+"-"+e.toString("hex",10,16):e.toString("hex")},w=(Math.pow(2,63),Math.pow(2,63),Math.pow(2,53)),S=-Math.pow(2,53),O=function(){function e(t,n){if(!(this instanceof e))return new e(t,n);if(!(null==t||"string"==typeof t||ArrayBuffer.isView(t)||t instanceof ArrayBuffer||Array.isArray(t)))throw new p("Binary can only be constructed from string, Buffer, TypedArray, or Array<number>");this.sub_type=null!=n?n:e.BSON_BINARY_SUBTYPE_DEFAULT,null==t?(this.buffer=r.Buffer.alloc(e.BUFFER_SIZE),this.position=0):("string"==typeof t?this.buffer=r.Buffer.from(t,"binary"):Array.isArray(t)?this.buffer=r.Buffer.from(t):this.buffer=v(t),this.position=this.buffer.byteLength)}return e.prototype.put=function(t){if("string"==typeof t&&1!==t.length)throw new p("only accepts single character String");if("number"!=typeof t&&1!==t.length)throw new p("only accepts single character Uint8Array or Array");var n;if((n="string"==typeof t?t.charCodeAt(0):"number"==typeof t?t:t[0])<0||n>255)throw new p("only accepts number in a valid unsigned byte range 0-255");if(this.buffer.length>this.position)this.buffer[this.position++]=n;else{var i=r.Buffer.alloc(e.BUFFER_SIZE+this.buffer.length);this.buffer.copy(i,0,0,this.buffer.length),this.buffer=i,this.buffer[this.position++]=n}},e.prototype.write=function(e,t){if(t="number"==typeof t?t:this.position,this.buffer.length<t+e.length){var n=r.Buffer.alloc(this.buffer.length+e.length);this.buffer.copy(n,0,0,this.buffer.length),this.buffer=n}ArrayBuffer.isView(e)?(this.buffer.set(v(e),t),this.position=t+e.byteLength>this.position?t+e.length:this.position):"string"==typeof e&&(this.buffer.write(e,t,e.length,"binary"),this.position=t+e.length>this.position?t+e.length:this.position)},e.prototype.read=function(e,t){return t=t&&t>0?t:this.position,this.buffer.slice(e,e+t)},e.prototype.value=function(e){return(e=!!e)&&this.buffer.length===this.position?this.buffer:e?this.buffer.slice(0,this.position):this.buffer.toString("binary",0,this.position)},e.prototype.length=function(){return this.position},e.prototype.toJSON=function(){return this.buffer.toString("base64")},e.prototype.toString=function(e){return this.buffer.toString(e)},e.prototype.toExtendedJSON=function(e){e=e||{};var t=this.buffer.toString("base64"),r=Number(this.sub_type).toString(16);return e.legacy?{$binary:t,$type:1===r.length?"0"+r:r}:{$binary:{base64:t,subType:1===r.length?"0"+r:r}}},e.prototype.toUUID=function(){if(this.sub_type===e.SUBTYPE_UUID)return new E(this.buffer.slice(0,this.position));throw new s('Binary sub_type "'.concat(this.sub_type,'" is not supported for converting to UUID. Only "').concat(e.SUBTYPE_UUID,'" is currently supported.'))},e.fromExtendedJSON=function(t,n){var i,a;if(n=n||{},"$binary"in t?n.legacy&&"string"==typeof t.$binary&&"$type"in t?(a=t.$type?parseInt(t.$type,16):0,i=r.Buffer.from(t.$binary,"base64")):"string"!=typeof t.$binary&&(a=t.$binary.subType?parseInt(t.$binary.subType,16):0,i=r.Buffer.from(t.$binary.base64,"base64")):"$uuid"in t&&(a=4,i=b(t.$uuid)),!i)throw new p("Unexpected Binary Extended JSON format ".concat(JSON.stringify(t)));return 4===a?new E(i):new e(i,a)},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){var e=this.value(!0);return'new Binary(Buffer.from("'.concat(e.toString("hex"),'", "hex"), ').concat(this.sub_type,")")},e.BSON_BINARY_SUBTYPE_DEFAULT=0,e.BUFFER_SIZE=256,e.SUBTYPE_DEFAULT=0,e.SUBTYPE_FUNCTION=1,e.SUBTYPE_BYTE_ARRAY=2,e.SUBTYPE_UUID_OLD=3,e.SUBTYPE_UUID=4,e.SUBTYPE_MD5=5,e.SUBTYPE_ENCRYPTED=6,e.SUBTYPE_COLUMN=7,e.SUBTYPE_USER_DEFINED=128,e}();Object.defineProperty(O.prototype,"_bsontype",{value:"Binary"});var E=function(e){function t(n){var i,a,o=this;if(null==n)i=t.generate();else if(n instanceof t)i=r.Buffer.from(n.buffer),a=n.__id;else if(ArrayBuffer.isView(n)&&16===n.byteLength)i=v(n);else{if("string"!=typeof n)throw new p("Argument passed in UUID constructor must be a UUID, a 16 byte Buffer or a 32/36 character hex string (dashes excluded/included, format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).");i=b(n)}return(o=e.call(this,i,4)||this).__id=a,o}return o(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this.buffer},set:function(e){this.buffer=e,t.cacheHexString&&(this.__id=_(e))},enumerable:!1,configurable:!0}),t.prototype.toHexString=function(e){if(void 0===e&&(e=!0),t.cacheHexString&&this.__id)return this.__id;var r=_(this.id,e);return t.cacheHexString&&(this.__id=r),r},t.prototype.toString=function(e){return e?this.id.toString(e):this.toHexString()},t.prototype.toJSON=function(){return this.toHexString()},t.prototype.equals=function(e){if(!e)return!1;if(e instanceof t)return e.id.equals(this.id);try{return new t(e).id.equals(this.id)}catch(e){return!1}},t.prototype.toBinary=function(){return new O(this.id,O.SUBTYPE_UUID)},t.generate=function(){var e=c(16);return e[6]=15&e[6]|64,e[8]=63&e[8]|128,r.Buffer.from(e)},t.isValid=function(e){return!!e&&(e instanceof t||("string"==typeof e?g(e):!!f(e)&&16===e.length&&64==(240&e[6])&&128==(128&e[8])))},t.createFromHexString=function(e){return new t(b(e))},t.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},t.prototype.inspect=function(){return'new UUID("'.concat(this.toHexString(),'")')},t}(O),N=function(){function e(t,r){if(!(this instanceof e))return new e(t,r);this.code=t,this.scope=r}return e.prototype.toJSON=function(){return{code:this.code,scope:this.scope}},e.prototype.toExtendedJSON=function(){return this.scope?{$code:this.code,$scope:this.scope}:{$code:this.code}},e.fromExtendedJSON=function(t){return new e(t.$code,t.$scope)},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){var e=this.toJSON();return'new Code("'.concat(String(e.code),'"').concat(e.scope?", ".concat(JSON.stringify(e.scope)):"",")")},e}();Object.defineProperty(N.prototype,"_bsontype",{value:"Code"});var x=function(){function e(t,r,n,i){if(!(this instanceof e))return new e(t,r,n,i);var a=t.split(".");2===a.length&&(n=a.shift(),t=a.shift()),this.collection=t,this.oid=r,this.db=n,this.fields=i||{}}return Object.defineProperty(e.prototype,"namespace",{get:function(){return this.collection},set:function(e){this.collection=e},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){var e=Object.assign({$ref:this.collection,$id:this.oid},this.fields);return null!=this.db&&(e.$db=this.db),e},e.prototype.toExtendedJSON=function(e){e=e||{};var t={$ref:this.collection,$id:this.oid};return e.legacy?t:(this.db&&(t.$db=this.db),t=Object.assign(t,this.fields))},e.fromExtendedJSON=function(t){var r=Object.assign({},t);return delete r.$ref,delete r.$id,delete r.$db,new e(t.$ref,t.$id,t.$db,r)},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){var e=void 0===this.oid||void 0===this.oid.toString?this.oid:this.oid.toString();return'new DBRef("'.concat(this.namespace,'", new ObjectId("').concat(String(e),'")').concat(this.db?', "'.concat(this.db,'"'):"",")")},e}();Object.defineProperty(x.prototype,"_bsontype",{value:"DBRef"});var T=void 0;try{T=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(Kt){}var P=4294967296,I=0x10000000000000000,D=I/2,k={},A={},j=function(){function e(t,r,n){if(void 0===t&&(t=0),!(this instanceof e))return new e(t,r,n);"bigint"==typeof t?Object.assign(this,e.fromBigInt(t,!!r)):"string"==typeof t?Object.assign(this,e.fromString(t,!!r)):(this.low=0|t,this.high=0|r,this.unsigned=!!n),Object.defineProperty(this,"__isLong__",{value:!0,configurable:!1,writable:!1,enumerable:!1})}return e.fromBits=function(t,r,n){return new e(t,r,n)},e.fromInt=function(t,r){var n,i,a;return r?(a=0<=(t>>>=0)&&t<256)&&(i=A[t])?i:(n=e.fromBits(t,(0|t)<0?-1:0,!0),a&&(A[t]=n),n):(a=-128<=(t|=0)&&t<128)&&(i=k[t])?i:(n=e.fromBits(t,t<0?-1:0,!1),a&&(k[t]=n),n)},e.fromNumber=function(t,r){if(isNaN(t))return r?e.UZERO:e.ZERO;if(r){if(t<0)return e.UZERO;if(t>=I)return e.MAX_UNSIGNED_VALUE}else{if(t<=-D)return e.MIN_VALUE;if(t+1>=D)return e.MAX_VALUE}return t<0?e.fromNumber(-t,r).neg():e.fromBits(t%P|0,t/P|0,r)},e.fromBigInt=function(t,r){return e.fromString(t.toString(),r)},e.fromString=function(t,r,n){if(0===t.length)throw Error("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return e.ZERO;if("number"==typeof r?(n=r,r=!1):r=!!r,(n=n||10)<2||36<n)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw Error("interior hyphen");if(0===i)return e.fromString(t.substring(1),r,n).neg();for(var a=e.fromNumber(Math.pow(n,8)),o=e.ZERO,s=0;s<t.length;s+=8){var p=Math.min(8,t.length-s),d=parseInt(t.substring(s,s+p),n);if(p<8){var u=e.fromNumber(Math.pow(n,p));o=o.mul(u).add(e.fromNumber(d))}else o=(o=o.mul(a)).add(e.fromNumber(d))}return o.unsigned=r,o},e.fromBytes=function(t,r,n){return n?e.fromBytesLE(t,r):e.fromBytesBE(t,r)},e.fromBytesLE=function(t,r){return new e(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,r)},e.fromBytesBE=function(t,r){return new e(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],r)},e.isLong=function(e){return h(e)&&!0===e.__isLong__},e.fromValue=function(t,r){return"number"==typeof t?e.fromNumber(t,r):"string"==typeof t?e.fromString(t,r):e.fromBits(t.low,t.high,"boolean"==typeof r?r:t.unsigned)},e.prototype.add=function(t){e.isLong(t)||(t=e.fromValue(t));var r=this.high>>>16,n=65535&this.high,i=this.low>>>16,a=65535&this.low,o=t.high>>>16,s=65535&t.high,p=t.low>>>16,d=0,u=0,l=0,c=0;return l+=(c+=a+(65535&t.low))>>>16,c&=65535,u+=(l+=i+p)>>>16,l&=65535,d+=(u+=n+s)>>>16,u&=65535,d+=r+o,d&=65535,e.fromBits(l<<16|c,d<<16|u,this.unsigned)},e.prototype.and=function(t){return e.isLong(t)||(t=e.fromValue(t)),e.fromBits(this.low&t.low,this.high&t.high,this.unsigned)},e.prototype.compare=function(t){if(e.isLong(t)||(t=e.fromValue(t)),this.eq(t))return 0;var r=this.isNegative(),n=t.isNegative();return r&&!n?-1:!r&&n?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},e.prototype.comp=function(e){return this.compare(e)},e.prototype.divide=function(t){if(e.isLong(t)||(t=e.fromValue(t)),t.isZero())throw Error("division by zero");if(T){if(!this.unsigned&&-2147483648===this.high&&-1===t.low&&-1===t.high)return this;var r=(this.unsigned?T.div_u:T.div_s)(this.low,this.high,t.low,t.high);return e.fromBits(r,T.get_high(),this.unsigned)}if(this.isZero())return this.unsigned?e.UZERO:e.ZERO;var n,i,a;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return e.UZERO;if(t.gt(this.shru(1)))return e.UONE;a=e.UZERO}else{if(this.eq(e.MIN_VALUE))return t.eq(e.ONE)||t.eq(e.NEG_ONE)?e.MIN_VALUE:t.eq(e.MIN_VALUE)?e.ONE:(n=this.shr(1).div(t).shl(1)).eq(e.ZERO)?t.isNegative()?e.ONE:e.NEG_ONE:(i=this.sub(t.mul(n)),a=n.add(i.div(t)));if(t.eq(e.MIN_VALUE))return this.unsigned?e.UZERO:e.ZERO;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();a=e.ZERO}for(i=this;i.gte(t);){n=Math.max(1,Math.floor(i.toNumber()/t.toNumber()));for(var o=Math.ceil(Math.log(n)/Math.LN2),s=o<=48?1:Math.pow(2,o-48),p=e.fromNumber(n),d=p.mul(t);d.isNegative()||d.gt(i);)n-=s,d=(p=e.fromNumber(n,this.unsigned)).mul(t);p.isZero()&&(p=e.ONE),a=a.add(p),i=i.sub(d)}return a},e.prototype.div=function(e){return this.divide(e)},e.prototype.equals=function(t){return e.isLong(t)||(t=e.fromValue(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&this.high===t.high&&this.low===t.low},e.prototype.eq=function(e){return this.equals(e)},e.prototype.getHighBits=function(){return this.high},e.prototype.getHighBitsUnsigned=function(){return this.high>>>0},e.prototype.getLowBits=function(){return this.low},e.prototype.getLowBitsUnsigned=function(){return this.low>>>0},e.prototype.getNumBitsAbs=function(){if(this.isNegative())return this.eq(e.MIN_VALUE)?64:this.neg().getNumBitsAbs();var t,r=0!==this.high?this.high:this.low;for(t=31;t>0&&0==(r&1<<t);t--);return 0!==this.high?t+33:t+1},e.prototype.greaterThan=function(e){return this.comp(e)>0},e.prototype.gt=function(e){return this.greaterThan(e)},e.prototype.greaterThanOrEqual=function(e){return this.comp(e)>=0},e.prototype.gte=function(e){return this.greaterThanOrEqual(e)},e.prototype.ge=function(e){return this.greaterThanOrEqual(e)},e.prototype.isEven=function(){return 0==(1&this.low)},e.prototype.isNegative=function(){return!this.unsigned&&this.high<0},e.prototype.isOdd=function(){return 1==(1&this.low)},e.prototype.isPositive=function(){return this.unsigned||this.high>=0},e.prototype.isZero=function(){return 0===this.high&&0===this.low},e.prototype.lessThan=function(e){return this.comp(e)<0},e.prototype.lt=function(e){return this.lessThan(e)},e.prototype.lessThanOrEqual=function(e){return this.comp(e)<=0},e.prototype.lte=function(e){return this.lessThanOrEqual(e)},e.prototype.modulo=function(t){if(e.isLong(t)||(t=e.fromValue(t)),T){var r=(this.unsigned?T.rem_u:T.rem_s)(this.low,this.high,t.low,t.high);return e.fromBits(r,T.get_high(),this.unsigned)}return this.sub(this.div(t).mul(t))},e.prototype.mod=function(e){return this.modulo(e)},e.prototype.rem=function(e){return this.modulo(e)},e.prototype.multiply=function(t){if(this.isZero())return e.ZERO;if(e.isLong(t)||(t=e.fromValue(t)),T){var r=T.mul(this.low,this.high,t.low,t.high);return e.fromBits(r,T.get_high(),this.unsigned)}if(t.isZero())return e.ZERO;if(this.eq(e.MIN_VALUE))return t.isOdd()?e.MIN_VALUE:e.ZERO;if(t.eq(e.MIN_VALUE))return this.isOdd()?e.MIN_VALUE:e.ZERO;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(e.TWO_PWR_24)&&t.lt(e.TWO_PWR_24))return e.fromNumber(this.toNumber()*t.toNumber(),this.unsigned);var n=this.high>>>16,i=65535&this.high,a=this.low>>>16,o=65535&this.low,s=t.high>>>16,p=65535&t.high,d=t.low>>>16,u=65535&t.low,l=0,c=0,f=0,h=0;return f+=(h+=o*u)>>>16,h&=65535,c+=(f+=a*u)>>>16,f&=65535,c+=(f+=o*d)>>>16,f&=65535,l+=(c+=i*u)>>>16,c&=65535,l+=(c+=a*d)>>>16,c&=65535,l+=(c+=o*p)>>>16,c&=65535,l+=n*u+i*d+a*p+o*s,l&=65535,e.fromBits(f<<16|h,l<<16|c,this.unsigned)},e.prototype.mul=function(e){return this.multiply(e)},e.prototype.negate=function(){return!this.unsigned&&this.eq(e.MIN_VALUE)?e.MIN_VALUE:this.not().add(e.ONE)},e.prototype.neg=function(){return this.negate()},e.prototype.not=function(){return e.fromBits(~this.low,~this.high,this.unsigned)},e.prototype.notEquals=function(e){return!this.equals(e)},e.prototype.neq=function(e){return this.notEquals(e)},e.prototype.ne=function(e){return this.notEquals(e)},e.prototype.or=function(t){return e.isLong(t)||(t=e.fromValue(t)),e.fromBits(this.low|t.low,this.high|t.high,this.unsigned)},e.prototype.shiftLeft=function(t){return e.isLong(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?e.fromBits(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):e.fromBits(0,this.low<<t-32,this.unsigned)},e.prototype.shl=function(e){return this.shiftLeft(e)},e.prototype.shiftRight=function(t){return e.isLong(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?e.fromBits(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):e.fromBits(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},e.prototype.shr=function(e){return this.shiftRight(e)},e.prototype.shiftRightUnsigned=function(t){if(e.isLong(t)&&(t=t.toInt()),0==(t&=63))return this;var r=this.high;if(t<32){var n=this.low;return e.fromBits(n>>>t|r<<32-t,r>>>t,this.unsigned)}return 32===t?e.fromBits(r,0,this.unsigned):e.fromBits(r>>>t-32,0,this.unsigned)},e.prototype.shr_u=function(e){return this.shiftRightUnsigned(e)},e.prototype.shru=function(e){return this.shiftRightUnsigned(e)},e.prototype.subtract=function(t){return e.isLong(t)||(t=e.fromValue(t)),this.add(t.neg())},e.prototype.sub=function(e){return this.subtract(e)},e.prototype.toInt=function(){return this.unsigned?this.low>>>0:this.low},e.prototype.toNumber=function(){return this.unsigned?(this.high>>>0)*P+(this.low>>>0):this.high*P+(this.low>>>0)},e.prototype.toBigInt=function(){return BigInt(this.toString())},e.prototype.toBytes=function(e){return e?this.toBytesLE():this.toBytesBE()},e.prototype.toBytesLE=function(){var e=this.high,t=this.low;return[255&t,t>>>8&255,t>>>16&255,t>>>24,255&e,e>>>8&255,e>>>16&255,e>>>24]},e.prototype.toBytesBE=function(){var e=this.high,t=this.low;return[e>>>24,e>>>16&255,e>>>8&255,255&e,t>>>24,t>>>16&255,t>>>8&255,255&t]},e.prototype.toSigned=function(){return this.unsigned?e.fromBits(this.low,this.high,!1):this},e.prototype.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(e.MIN_VALUE)){var r=e.fromNumber(t),n=this.div(r),i=n.mul(r).sub(this);return n.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var a=e.fromNumber(Math.pow(t,6),this.unsigned),o=this,s="";;){var p=o.div(a),d=(o.sub(p.mul(a)).toInt()>>>0).toString(t);if((o=p).isZero())return d+s;for(;d.length<6;)d="0"+d;s=""+d+s}},e.prototype.toUnsigned=function(){return this.unsigned?this:e.fromBits(this.low,this.high,!0)},e.prototype.xor=function(t){return e.isLong(t)||(t=e.fromValue(t)),e.fromBits(this.low^t.low,this.high^t.high,this.unsigned)},e.prototype.eqz=function(){return this.isZero()},e.prototype.le=function(e){return this.lessThanOrEqual(e)},e.prototype.toExtendedJSON=function(e){return e&&e.relaxed?this.toNumber():{$numberLong:this.toString()}},e.fromExtendedJSON=function(t,r){var n=e.fromString(t.$numberLong);return r&&r.relaxed?n.toNumber():n},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){return'new Long("'.concat(this.toString(),'"').concat(this.unsigned?", true":"",")")},e.TWO_PWR_24=e.fromInt(16777216),e.MAX_UNSIGNED_VALUE=e.fromBits(-1,-1,!0),e.ZERO=e.fromInt(0),e.UZERO=e.fromInt(0,!0),e.ONE=e.fromInt(1),e.UONE=e.fromInt(1,!0),e.NEG_ONE=e.fromInt(-1),e.MAX_VALUE=e.fromBits(-1,2147483647,!1),e.MIN_VALUE=e.fromBits(0,-2147483648,!1),e}();Object.defineProperty(j.prototype,"__isLong__",{value:!0}),Object.defineProperty(j.prototype,"_bsontype",{value:"Long"});var C=/^(\+|-)?(\d+|(\d*\.\d*))?(E|e)?([-+])?(\d+)?$/,R=/^(\+|-)?(Infinity|inf)$/i,$=/^(\+|-)?NaN$/i,M=6111,F=-6176,V=[124,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].reverse(),L=[248,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].reverse(),q=[120,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0].reverse(),B=/^([-+])?(\d+)?$/;function U(e){return!isNaN(parseInt(e,10))}function z(e){var t=j.fromNumber(1e9),r=j.fromNumber(0);if(!(e.parts[0]||e.parts[1]||e.parts[2]||e.parts[3]))return{quotient:e,rem:r};for(var n=0;n<=3;n++)r=(r=r.shiftLeft(32)).add(new j(e.parts[n],0)),e.parts[n]=r.div(t).low,r=r.modulo(t);return{quotient:e,rem:r}}function Q(e,t){throw new p('"'.concat(e,'" is not a valid Decimal128 string - ').concat(t))}var W=function(){function e(t){if(!(this instanceof e))return new e(t);if("string"==typeof t)this.bytes=e.fromString(t).bytes;else{if(!f(t))throw new p("Decimal128 must take a Buffer or string");if(16!==t.byteLength)throw new p("Decimal128 must take a Buffer of 16 bytes");this.bytes=t}}return e.fromString=function(t){var n,i=!1,a=!1,o=!1,s=0,d=0,u=0,l=0,c=0,f=[0],h=0,m=0,v=0,y=0,g=0,b=0,_=new j(0,0),w=new j(0,0),S=0;if(t.length>=7e3)throw new p(t+" not a valid Decimal128 string");var O=t.match(C),E=t.match(R),N=t.match($);if(!O&&!E&&!N||0===t.length)throw new p(t+" not a valid Decimal128 string");if(O){var x=O[2],T=O[4],P=O[5],I=O[6];T&&void 0===I&&Q(t,"missing exponent power"),T&&void 0===x&&Q(t,"missing exponent base"),void 0===T&&(P||I)&&Q(t,"missing e before exponent")}if("+"!==t[S]&&"-"!==t[S]||(i="-"===t[S++]),!U(t[S])&&"."!==t[S]){if("i"===t[S]||"I"===t[S])return new e(r.Buffer.from(i?L:q));if("N"===t[S])return new e(r.Buffer.from(V))}for(;U(t[S])||"."===t[S];)"."!==t[S]?(h<34&&("0"!==t[S]||o)&&(o||(c=d),o=!0,f[m++]=parseInt(t[S],10),h+=1),o&&(u+=1),a&&(l+=1),d+=1,S+=1):(a&&Q(t,"contains multiple periods"),a=!0,S+=1);if(a&&!d)throw new p(t+" not a valid Decimal128 string");if("e"===t[S]||"E"===t[S]){var D=t.substr(++S).match(B);if(!D||!D[2])return new e(r.Buffer.from(V));g=parseInt(D[0],10),S+=D[0].length}if(t[S])return new e(r.Buffer.from(V));if(v=0,h){if(y=h-1,1!==(s=u))for(;0===f[c+s-1];)s-=1}else v=0,y=0,f[0]=0,u=1,h=1,s=0;for(g<=l&&l-g>16384?g=F:g-=l;g>M;){if((y+=1)-v>34){if(f.join("").match(/^0+$/)){g=M;break}Q(t,"overflow")}g-=1}for(;g<F||h<u;){if(0===y&&s<h){g=F,s=0;break}if(h<u?u-=1:y-=1,g<M)g+=1;else{if(f.join("").match(/^0+$/)){g=M;break}Q(t,"overflow")}}if(y-v+1<s){var k=d;a&&(c+=1,k+=1),i&&(c+=1,k+=1);var A=parseInt(t[c+y+1],10),z=0;if(A>=5&&(z=1,5===A))for(z=f[y]%2==1?1:0,b=c+y+2;b<k;b++)if(parseInt(t[b],10)){z=1;break}if(z)for(var W=y;W>=0;W--)if(++f[W]>9&&(f[W]=0,0===W)){if(!(g<M))return new e(r.Buffer.from(i?L:q));g+=1,f[W]=1}}if(_=j.fromNumber(0),w=j.fromNumber(0),0===s)_=j.fromNumber(0),w=j.fromNumber(0);else if(y-v<17)for(W=v,w=j.fromNumber(f[W++]),_=new j(0,0);W<=y;W++)w=(w=w.multiply(j.fromNumber(10))).add(j.fromNumber(f[W]));else{for(W=v,_=j.fromNumber(f[W++]);W<=y-17;W++)_=(_=_.multiply(j.fromNumber(10))).add(j.fromNumber(f[W]));for(w=j.fromNumber(f[W++]);W<=y;W++)w=(w=w.multiply(j.fromNumber(10))).add(j.fromNumber(f[W]))}var H,K,G,J,Y=function(e,t){if(!e&&!t)return{high:j.fromNumber(0),low:j.fromNumber(0)};var r=e.shiftRightUnsigned(32),n=new j(e.getLowBits(),0),i=t.shiftRightUnsigned(32),a=new j(t.getLowBits(),0),o=r.multiply(i),s=r.multiply(a),p=n.multiply(i),d=n.multiply(a);return o=o.add(s.shiftRightUnsigned(32)),s=new j(s.getLowBits(),0).add(p).add(d.shiftRightUnsigned(32)),{high:o=o.add(s.shiftRightUnsigned(32)),low:d=s.shiftLeft(32).add(new j(d.getLowBits(),0))}}(_,j.fromString("100000000000000000"));Y.low=Y.low.add(w),K=w,((G=(H=Y.low).high>>>0)<(J=K.high>>>0)||G===J&&H.low>>>0<K.low>>>0)&&(Y.high=Y.high.add(j.fromNumber(1))),n=g+6176;var Z={low:j.fromNumber(0),high:j.fromNumber(0)};Y.high.shiftRightUnsigned(49).and(j.fromNumber(1)).equals(j.fromNumber(1))?(Z.high=Z.high.or(j.fromNumber(3).shiftLeft(61)),Z.high=Z.high.or(j.fromNumber(n).and(j.fromNumber(16383).shiftLeft(47))),Z.high=Z.high.or(Y.high.and(j.fromNumber(0x7fffffffffff)))):(Z.high=Z.high.or(j.fromNumber(16383&n).shiftLeft(49)),Z.high=Z.high.or(Y.high.and(j.fromNumber(562949953421311)))),Z.low=Y.low,i&&(Z.high=Z.high.or(j.fromString("9223372036854775808")));var X=r.Buffer.alloc(16);return S=0,X[S++]=255&Z.low.low,X[S++]=Z.low.low>>8&255,X[S++]=Z.low.low>>16&255,X[S++]=Z.low.low>>24&255,X[S++]=255&Z.low.high,X[S++]=Z.low.high>>8&255,X[S++]=Z.low.high>>16&255,X[S++]=Z.low.high>>24&255,X[S++]=255&Z.high.low,X[S++]=Z.high.low>>8&255,X[S++]=Z.high.low>>16&255,X[S++]=Z.high.low>>24&255,X[S++]=255&Z.high.high,X[S++]=Z.high.high>>8&255,X[S++]=Z.high.high>>16&255,X[S++]=Z.high.high>>24&255,new e(X)},e.prototype.toString=function(){for(var e,t=0,r=new Array(36),n=0;n<r.length;n++)r[n]=0;var i,a,o,s=0,p=!1,d={parts:[0,0,0,0]},u=[];s=0;var l=this.bytes,c=l[s++]|l[s++]<<8|l[s++]<<16|l[s++]<<24,f=l[s++]|l[s++]<<8|l[s++]<<16|l[s++]<<24,h=l[s++]|l[s++]<<8|l[s++]<<16|l[s++]<<24,m=l[s++]|l[s++]<<8|l[s++]<<16|l[s++]<<24;s=0,(new j(c,f),new j(h,m)).lessThan(j.ZERO)&&u.push("-");var v=m>>26&31;if(v>>3==3){if(30===v)return u.join("")+"Infinity";if(31===v)return"NaN";e=m>>15&16383,i=8+(m>>14&1)}else i=m>>14&7,e=m>>17&16383;var y=e-6176;if(d.parts[0]=(16383&m)+((15&i)<<14),d.parts[1]=h,d.parts[2]=f,d.parts[3]=c,0===d.parts[0]&&0===d.parts[1]&&0===d.parts[2]&&0===d.parts[3])p=!0;else for(o=3;o>=0;o--){var g=0,b=z(d);if(d=b.quotient,g=b.rem.low)for(a=8;a>=0;a--)r[9*o+a]=g%10,g=Math.floor(g/10)}if(p)t=1,r[s]=0;else for(t=36;!r[s];)t-=1,s+=1;var _=t-1+y;if(_>=34||_<=-7||y>0){if(t>34)return u.push("".concat(0)),y>0?u.push("E+".concat(y)):y<0&&u.push("E".concat(y)),u.join("");for(u.push("".concat(r[s++])),(t-=1)&&u.push("."),n=0;n<t;n++)u.push("".concat(r[s++]));u.push("E"),_>0?u.push("+".concat(_)):u.push("".concat(_))}else if(y>=0)for(n=0;n<t;n++)u.push("".concat(r[s++]));else{var w=t+y;if(w>0)for(n=0;n<w;n++)u.push("".concat(r[s++]));else u.push("0");for(u.push(".");w++<0;)u.push("0");for(n=0;n<t-Math.max(w-1,0);n++)u.push("".concat(r[s++]))}return u.join("")},e.prototype.toJSON=function(){return{$numberDecimal:this.toString()}},e.prototype.toExtendedJSON=function(){return{$numberDecimal:this.toString()}},e.fromExtendedJSON=function(t){return e.fromString(t.$numberDecimal)},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){return'new Decimal128("'.concat(this.toString(),'")')},e}();Object.defineProperty(W.prototype,"_bsontype",{value:"Decimal128"});var H=function(){function e(t){if(!(this instanceof e))return new e(t);t instanceof Number&&(t=t.valueOf()),this.value=+t}return e.prototype.valueOf=function(){return this.value},e.prototype.toJSON=function(){return this.value},e.prototype.toString=function(e){return this.value.toString(e)},e.prototype.toExtendedJSON=function(e){return e&&(e.legacy||e.relaxed&&isFinite(this.value))?this.value:Object.is(Math.sign(this.value),-0)?{$numberDouble:"-".concat(this.value.toFixed(1))}:{$numberDouble:Number.isInteger(this.value)?this.value.toFixed(1):this.value.toString()}},e.fromExtendedJSON=function(t,r){var n=parseFloat(t.$numberDouble);return r&&r.relaxed?n:new e(n)},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){var e=this.toExtendedJSON();return"new Double(".concat(e.$numberDouble,")")},e}();Object.defineProperty(H.prototype,"_bsontype",{value:"Double"});var K=function(){function e(t){if(!(this instanceof e))return new e(t);t instanceof Number&&(t=t.valueOf()),this.value=0|+t}return e.prototype.valueOf=function(){return this.value},e.prototype.toString=function(e){return this.value.toString(e)},e.prototype.toJSON=function(){return this.value},e.prototype.toExtendedJSON=function(e){return e&&(e.relaxed||e.legacy)?this.value:{$numberInt:this.value.toString()}},e.fromExtendedJSON=function(t,r){return r&&r.relaxed?parseInt(t.$numberInt,10):new e(t.$numberInt)},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){return"new Int32(".concat(this.valueOf(),")")},e}();Object.defineProperty(K.prototype,"_bsontype",{value:"Int32"});var G=function(){function e(){if(!(this instanceof e))return new e}return e.prototype.toExtendedJSON=function(){return{$maxKey:1}},e.fromExtendedJSON=function(){return new e},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){return"new MaxKey()"},e}();Object.defineProperty(G.prototype,"_bsontype",{value:"MaxKey"});var J=function(){function e(){if(!(this instanceof e))return new e}return e.prototype.toExtendedJSON=function(){return{$minKey:1}},e.fromExtendedJSON=function(){return new e},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){return"new MinKey()"},e}();Object.defineProperty(J.prototype,"_bsontype",{value:"MinKey"});var Y=new RegExp("^[0-9a-fA-F]{24}$"),Z=null,X=Symbol("id"),ee=function(){function e(t){if(!(this instanceof e))return new e(t);var n;if("object"==typeof t&&t&&"id"in t){if("string"!=typeof t.id&&!ArrayBuffer.isView(t.id))throw new p("Argument passed in must have an id that is of type string or Buffer");n="toHexString"in t&&"function"==typeof t.toHexString?r.Buffer.from(t.toHexString(),"hex"):t.id}else n=t;if(null==n||"number"==typeof n)this[X]=e.generate("number"==typeof n?n:void 0);else if(ArrayBuffer.isView(n)&&12===n.byteLength)this[X]=n instanceof r.Buffer?n:v(n);else{if("string"!=typeof n)throw new p("Argument passed in does not match the accepted types");if(12===n.length){var i=r.Buffer.from(n);if(12!==i.byteLength)throw new p("Argument passed in must be a string of 12 bytes");this[X]=i}else{if(24!==n.length||!Y.test(n))throw new p("Argument passed in must be a string of 12 bytes or a string of 24 hex characters or an integer");this[X]=r.Buffer.from(n,"hex")}}e.cacheHexString&&(this.__id=this.id.toString("hex"))}return Object.defineProperty(e.prototype,"id",{get:function(){return this[X]},set:function(t){this[X]=t,e.cacheHexString&&(this.__id=t.toString("hex"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"generationTime",{get:function(){return this.id.readInt32BE(0)},set:function(e){this.id.writeUInt32BE(e,0)},enumerable:!1,configurable:!0}),e.prototype.toHexString=function(){if(e.cacheHexString&&this.__id)return this.__id;var t=this.id.toString("hex");return e.cacheHexString&&!this.__id&&(this.__id=t),t},e.getInc=function(){return e.index=(e.index+1)%16777215},e.generate=function(t){"number"!=typeof t&&(t=Math.floor(Date.now()/1e3));var n=e.getInc(),i=r.Buffer.alloc(12);return i.writeUInt32BE(t,0),null===Z&&(Z=c(5)),i[4]=Z[0],i[5]=Z[1],i[6]=Z[2],i[7]=Z[3],i[8]=Z[4],i[11]=255&n,i[10]=n>>8&255,i[9]=n>>16&255,i},e.prototype.toString=function(e){return e?this.id.toString(e):this.toHexString()},e.prototype.toJSON=function(){return this.toHexString()},e.prototype.equals=function(t){if(null==t)return!1;if(t instanceof e)return this[X][11]===t[X][11]&&this[X].equals(t[X]);if("string"==typeof t&&e.isValid(t)&&12===t.length&&f(this.id))return t===r.Buffer.prototype.toString.call(this.id,"latin1");if("string"==typeof t&&e.isValid(t)&&24===t.length)return t.toLowerCase()===this.toHexString();if("string"==typeof t&&e.isValid(t)&&12===t.length)return r.Buffer.from(t).equals(this.id);if("object"==typeof t&&"toHexString"in t&&"function"==typeof t.toHexString){var n=t.toHexString(),i=this.toHexString().toLowerCase();return"string"==typeof n&&n.toLowerCase()===i}return!1},e.prototype.getTimestamp=function(){var e=new Date,t=this.id.readUInt32BE(0);return e.setTime(1e3*Math.floor(t)),e},e.createPk=function(){return new e},e.createFromTime=function(t){var n=r.Buffer.from([0,0,0,0,0,0,0,0,0,0,0,0]);return n.writeUInt32BE(t,0),new e(n)},e.createFromHexString=function(t){if(void 0===t||null!=t&&24!==t.length)throw new p("Argument passed in must be a single String of 12 bytes or a string of 24 hex characters");return new e(r.Buffer.from(t,"hex"))},e.isValid=function(t){if(null==t)return!1;try{return new e(t),!0}catch(e){return!1}},e.prototype.toExtendedJSON=function(){return this.toHexString?{$oid:this.toHexString()}:{$oid:this.toString("hex")}},e.fromExtendedJSON=function(t){return new e(t.$oid)},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e.prototype.inspect=function(){return'new ObjectId("'.concat(this.toHexString(),'")')},e.index=Math.floor(16777215*Math.random()),e}();Object.defineProperty(ee.prototype,"generate",{value:m((function(e){return ee.generate(e)}),"Please use the static `ObjectId.generate(time)` instead")}),Object.defineProperty(ee.prototype,"getInc",{value:m((function(){return ee.getInc()}),"Please use the static `ObjectId.getInc()` instead")}),Object.defineProperty(ee.prototype,"get_inc",{value:m((function(){return ee.getInc()}),"Please use the static `ObjectId.getInc()` instead")}),Object.defineProperty(ee,"get_inc",{value:m((function(){return ee.getInc()}),"Please use the static `ObjectId.getInc()` instead")}),Object.defineProperty(ee.prototype,"_bsontype",{value:"ObjectID"});var te=function(){function e(t,r){if(!(this instanceof e))return new e(t,r);if(this.pattern=t,this.options=(null!=r?r:"").split("").sort().join(""),-1!==this.pattern.indexOf("\0"))throw new s("BSON Regex patterns cannot contain null bytes, found: ".concat(JSON.stringify(this.pattern)));if(-1!==this.options.indexOf("\0"))throw new s("BSON Regex options cannot contain null bytes, found: ".concat(JSON.stringify(this.options)));for(var n=0;n<this.options.length;n++)if("i"!==this.options[n]&&"m"!==this.options[n]&&"x"!==this.options[n]&&"l"!==this.options[n]&&"s"!==this.options[n]&&"u"!==this.options[n])throw new s("The regular expression option [".concat(this.options[n],"] is not supported"))}return e.parseOptions=function(e){return e?e.split("").sort().join(""):""},e.prototype.toExtendedJSON=function(e){return(e=e||{}).legacy?{$regex:this.pattern,$options:this.options}:{$regularExpression:{pattern:this.pattern,options:this.options}}},e.fromExtendedJSON=function(t){if("$regex"in t){if("string"==typeof t.$regex)return new e(t.$regex,e.parseOptions(t.$options));if("BSONRegExp"===t.$regex._bsontype)return t}if("$regularExpression"in t)return new e(t.$regularExpression.pattern,e.parseOptions(t.$regularExpression.options));throw new p("Unexpected BSONRegExp EJSON object form: ".concat(JSON.stringify(t)))},e}();Object.defineProperty(te.prototype,"_bsontype",{value:"BSONRegExp"});var re=function(){function e(t){if(!(this instanceof e))return new e(t);this.value=t}return e.prototype.valueOf=function(){return this.value},e.prototype.toString=function(){return this.value},e.prototype.inspect=function(){return'new BSONSymbol("'.concat(this.value,'")')},e.prototype.toJSON=function(){return this.value},e.prototype.toExtendedJSON=function(){return{$symbol:this.value}},e.fromExtendedJSON=function(t){return new e(t.$symbol)},e.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},e}();Object.defineProperty(re.prototype,"_bsontype",{value:"Symbol"});var ne=function(e){function t(r,n){var i=this;return i instanceof t?(i=j.isLong(r)?e.call(this,r.low,r.high,!0)||this:h(r)&&void 0!==r.t&&void 0!==r.i?e.call(this,r.i,r.t,!0)||this:e.call(this,r,n,!0)||this,Object.defineProperty(i,"_bsontype",{value:"Timestamp",writable:!1,configurable:!1,enumerable:!1}),i):new t(r,n)}return o(t,e),t.prototype.toJSON=function(){return{$timestamp:this.toString()}},t.fromInt=function(e){return new t(j.fromInt(e,!0))},t.fromNumber=function(e){return new t(j.fromNumber(e,!0))},t.fromBits=function(e,r){return new t(e,r)},t.fromString=function(e,r){return new t(j.fromString(e,!0,r))},t.prototype.toExtendedJSON=function(){return{$timestamp:{t:this.high>>>0,i:this.low>>>0}}},t.fromExtendedJSON=function(e){return new t(e.$timestamp)},t.prototype[Symbol.for("nodejs.util.inspect.custom")]=function(){return this.inspect()},t.prototype.inspect=function(){return"new Timestamp({ t: ".concat(this.getHighBits(),", i: ").concat(this.getLowBits()," })")},t.MAX_VALUE=j.MAX_UNSIGNED_VALUE,t}(j);var ie=2147483647,ae=-2147483648,oe=0x8000000000000000,se=-0x8000000000000000,pe={$oid:ee,$binary:O,$uuid:O,$symbol:re,$numberInt:K,$numberDecimal:W,$numberDouble:H,$numberLong:j,$minKey:J,$maxKey:G,$regex:te,$regularExpression:te,$timestamp:ne};function de(e,t){if(void 0===t&&(t={}),"number"==typeof e){if(t.relaxed||t.legacy)return e;if(Math.floor(e)===e){if(e>=ae&&e<=ie)return new K(e);if(e>=se&&e<=oe)return j.fromNumber(e)}return new H(e)}if(null==e||"object"!=typeof e)return e;if(e.$undefined)return null;for(var r=Object.keys(e).filter((function(t){return t.startsWith("$")&&null!=e[t]})),n=0;n<r.length;n++){var i=pe[r[n]];if(i)return i.fromExtendedJSON(e,t)}if(null!=e.$date){var a=e.$date,o=new Date;return t.legacy?"number"==typeof a?o.setTime(a):"string"==typeof a&&o.setTime(Date.parse(a)):"string"==typeof a?o.setTime(Date.parse(a)):j.isLong(a)?o.setTime(a.toNumber()):"number"==typeof a&&t.relaxed&&o.setTime(a),o}if(null!=e.$code){var s=Object.assign({},e);return e.$scope&&(s.$scope=de(e.$scope)),N.fromExtendedJSON(e)}if(function(e){return h(e)&&null!=e.$id&&"string"==typeof e.$ref&&(null==e.$db||"string"==typeof e.$db)}(e)||e.$dbPointer){var p=e.$ref?e:e.$dbPointer;if(p instanceof x)return p;var d=Object.keys(p).filter((function(e){return e.startsWith("$")})),u=!0;if(d.forEach((function(e){-1===["$ref","$id","$db"].indexOf(e)&&(u=!1)})),u)return x.fromExtendedJSON(p)}return e}function ue(e){var t=e.toISOString();return 0!==e.getUTCMilliseconds()?t:t.slice(0,-5)+"Z"}function le(e,t){if(("object"==typeof e||"function"==typeof e)&&null!==e){var r=t.seenObjects.findIndex((function(t){return t.obj===e}));if(-1!==r){var n=t.seenObjects.map((function(e){return e.propertyName})),i=n.slice(0,r).map((function(e){return"".concat(e," -> ")})).join(""),a=n[r],o=" -> "+n.slice(r+1,n.length-1).map((function(e){return"".concat(e," -> ")})).join(""),d=n[n.length-1],u=" ".repeat(i.length+a.length/2),l="-".repeat(o.length+(a.length+d.length)/2-1);throw new p("Converting circular structure to EJSON:\n"+" ".concat(i).concat(a).concat(o).concat(d,"\n")+" ".concat(u,"\\").concat(l,"/"))}t.seenObjects[t.seenObjects.length-1].obj=e}if(Array.isArray(e))return function(e,t){return e.map((function(e,r){t.seenObjects.push({propertyName:"index ".concat(r),obj:null});try{return le(e,t)}finally{t.seenObjects.pop()}}))}(e,t);if(void 0===e)return null;if(e instanceof Date||h(m=e)&&"[object Date]"===Object.prototype.toString.call(m)){var c=e.getTime(),f=c>-1&&c<2534023188e5;return t.legacy?t.relaxed&&f?{$date:e.getTime()}:{$date:ue(e)}:t.relaxed&&f?{$date:ue(e)}:{$date:{$numberLong:e.getTime().toString()}}}var m;if(!("number"!=typeof e||t.relaxed&&isFinite(e))){if(Math.floor(e)===e){var v=e>=se&&e<=oe;if(e>=ae&&e<=ie)return{$numberInt:e.toString()};if(v)return{$numberLong:e.toString()}}return{$numberDouble:e.toString()}}if(e instanceof RegExp||function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}(e)){var y=e.flags;if(void 0===y){var g=e.toString().match(/[gimuy]*$/);g&&(y=g[0])}return new te(e.source,y).toExtendedJSON(t)}return null!=e&&"object"==typeof e?function(e,t){if(null==e||"object"!=typeof e)throw new s("not an object instance");var r=e._bsontype;if(void 0===r){var n={};for(var i in e){t.seenObjects.push({propertyName:i,obj:null});try{var a=le(e[i],t);"__proto__"===i?Object.defineProperty(n,i,{value:a,writable:!0,enumerable:!0,configurable:!0}):n[i]=a}finally{t.seenObjects.pop()}}return n}if(function(e){return h(e)&&Reflect.has(e,"_bsontype")&&"string"==typeof e._bsontype}(e)){var o=e;if("function"!=typeof o.toExtendedJSON){var d=fe[e._bsontype];if(!d)throw new p("Unrecognized or invalid _bsontype: "+e._bsontype);o=d(o)}return"Code"===r&&o.scope?o=new N(o.code,le(o.scope,t)):"DBRef"===r&&o.oid&&(o=new x(le(o.collection,t),le(o.oid,t),le(o.db,t),le(o.fields,t))),o.toExtendedJSON(t)}throw new s("_bsontype must be a string, but was: "+typeof r)}(e,t):e}var ce,fe={Binary:function(e){return new O(e.value(),e.sub_type)},Code:function(e){return new N(e.code,e.scope)},DBRef:function(e){return new x(e.collection||e.namespace,e.oid,e.db,e.fields)},Decimal128:function(e){return new W(e.bytes)},Double:function(e){return new H(e.value)},Int32:function(e){return new K(e.value)},Long:function(e){return j.fromBits(null!=e.low?e.low:e.low_,null!=e.low?e.high:e.high_,null!=e.low?e.unsigned:e.unsigned_)},MaxKey:function(){return new G},MinKey:function(){return new J},ObjectID:function(e){return new ee(e)},ObjectId:function(e){return new ee(e)},BSONRegExp:function(e){return new te(e.pattern,e.options)},Symbol:function(e){return new re(e.value)},Timestamp:function(e){return ne.fromBits(e.low,e.high)}};!function(e){function t(e,t){var r=Object.assign({},{relaxed:!0,legacy:!1},t);return"boolean"==typeof r.relaxed&&(r.strict=!r.relaxed),"boolean"==typeof r.strict&&(r.relaxed=!r.strict),JSON.parse(e,(function(e,t){if(-1!==e.indexOf("\0"))throw new s("BSON Document field names cannot contain null bytes, found: ".concat(JSON.stringify(e)));return de(t,r)}))}function r(e,t,r,n){null!=r&&"object"==typeof r&&(n=r,r=0),null==t||"object"!=typeof t||Array.isArray(t)||(n=t,t=void 0,r=0);var i=le(e,Object.assign({relaxed:!0,legacy:!1},n,{seenObjects:[{propertyName:"(root)",obj:null}]}));return JSON.stringify(i,t,r)}e.parse=t,e.stringify=r,e.serialize=function(e,t){return t=t||{},JSON.parse(r(e,t))},e.deserialize=function(e,r){return r=r||{},t(JSON.stringify(e),r)}}(ce||(ce={}));var he=u();he.Map?he.Map:function(){function e(e){void 0===e&&(e=[]),this._keys=[],this._values={};for(var t=0;t<e.length;t++)if(null!=e[t]){var r=e[t],n=r[0],i=r[1];this._keys.push(n),this._values[n]={v:i,i:this._keys.length-1}}}e.prototype.clear=function(){this._keys=[],this._values={}},e.prototype.delete=function(e){var t=this._values[e];return null!=t&&(delete this._values[e],this._keys.splice(t.i,1),!0)},e.prototype.entries=function(){var e=this,t=0;return{next:function(){var r=e._keys[t++];return{value:void 0!==r?[r,e._values[r].v]:void 0,done:void 0===r}}}},e.prototype.forEach=function(e,t){t=t||this;for(var r=0;r<this._keys.length;r++){var n=this._keys[r];e.call(t,this._values[n].v,n,t)}},e.prototype.get=function(e){return this._values[e]?this._values[e].v:void 0},e.prototype.has=function(e){return null!=this._values[e]},e.prototype.keys=function(){var e=this,t=0;return{next:function(){var r=e._keys[t++];return{value:void 0!==r?r:void 0,done:void 0===r}}}},e.prototype.set=function(e,t){return this._values[e]?(this._values[e].v=t,this):(this._keys.push(e),this._values[e]={v:t,i:this._keys.length-1},this)},e.prototype.values=function(){var e=this,t=0;return{next:function(){var r=e._keys[t++];return{value:void 0!==r?e._values[r].v:void 0,done:void 0===r}}}},Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!1,configurable:!0})}(),j.fromNumber(w),j.fromNumber(S),new Set(["$db","$ref","$id","$clusterTime"]);var me=new Uint8Array(8);new DataView(me.buffer,me.byteOffset,me.byteLength);var ve,ye,ge;function be(e){if(Array.isArray(e))return e.map((e=>be(e)));if("object"!=typeof e||null===e||e instanceof Date)return e;const t=Object.keys(e),r={};return t.sort().forEach((t=>{r[t]=be(e[t])})),r}function _e(e){return we(be(e))}function we(e){try{return ce.stringify(e)}catch(e){throw console.error("Unable to serialize object",e,"\n\nSTACK:",(new Error).stack),e}}function Se(e){return ce.parse(e)}function Oe(e){if(void 0===e)throw new Error("INVALID_ENCODE_VALUE");return btoa(JSON.stringify(e))}function Ee(e){return JSON.parse(atob(e))}function Ne(e){return Se(e)}function xe(...e){const[t,r,n]=e,i="object"==typeof t?t:{docId:t,collectionName:r,integrationId:n};return i.integrationId||(i.integrationId=void 0),_e(i)}r.Buffer.alloc(17825792),(ge=ve||(ve={}))[ge.CONTINUE=100]="CONTINUE",ge[ge.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",ge[ge.PROCESSING=102]="PROCESSING",ge[ge.EARLYHINTS=103]="EARLYHINTS",ge[ge.OK=200]="OK",ge[ge.CREATED=201]="CREATED",ge[ge.ACCEPTED=202]="ACCEPTED",ge[ge.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",ge[ge.NO_CONTENT=204]="NO_CONTENT",ge[ge.RESET_CONTENT=205]="RESET_CONTENT",ge[ge.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",ge[ge.AMBIGUOUS=300]="AMBIGUOUS",ge[ge.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",ge[ge.FOUND=302]="FOUND",ge[ge.SEE_OTHER=303]="SEE_OTHER",ge[ge.NOT_MODIFIED=304]="NOT_MODIFIED",ge[ge.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",ge[ge.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",ge[ge.BAD_REQUEST=400]="BAD_REQUEST",ge[ge.UNAUTHORIZED=401]="UNAUTHORIZED",ge[ge.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",ge[ge.FORBIDDEN=403]="FORBIDDEN",ge[ge.NOT_FOUND=404]="NOT_FOUND",ge[ge.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",ge[ge.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",ge[ge.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",ge[ge.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",ge[ge.CONFLICT=409]="CONFLICT",ge[ge.GONE=410]="GONE",ge[ge.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",ge[ge.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",ge[ge.PAYLOAD_TOO_LARGE=413]="PAYLOAD_TOO_LARGE",ge[ge.URI_TOO_LONG=414]="URI_TOO_LONG",ge[ge.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",ge[ge.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",ge[ge.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",ge[ge.I_AM_A_TEAPOT=418]="I_AM_A_TEAPOT",ge[ge.MISDIRECTED=421]="MISDIRECTED",ge[ge.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",ge[ge.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",ge[ge.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",ge[ge.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",ge[ge.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",ge[ge.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",ge[ge.BAD_GATEWAY=502]="BAD_GATEWAY",ge[ge.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",ge[ge.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",ge[ge.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",function(e){e.TRACE="trace",e.DEBUG="debug",e.INFO="info",e.WARN="warn",e.ERROR="error"}(ye||(ye={}));var Te=i(8784),Pe=i(2937);class Ie extends Error{constructor(e,t,r){super(e),this.statusCode=t,this.details=r}}function De(e){if(!(e instanceof Object))throw new Error("Field sort has to be an object");var t,r;Ae((t=e,r=["fieldName","asc"],!Array.isArray(t)&&[...Object.keys(t)].every((e=>r.includes(e)))),"Field sort should only contain a fieldName and asc"),Ae(ke(e.asc,"boolean")),function(e){if(!e||"string"!=typeof e)throw new Error("Field name has to be a non-empty string");if("__docId__"!==e&&!e.match(/^[a-zA-Z][a-zA-Z0-9!@#$%^&*~_]{0,49}$/))throw new Error("A Field name can contain only a-z, A-Z, 0-9,!@#$%^&*~_, starting with a letter, at least one character, and up to 50. Field name: "+e)}(e.fieldName)}function ke(e,t){return Array.isArray(e)?e.every((e=>typeof e===t)):typeof e===t}function Ae(e,t){if(e)return;const r="function"==typeof t?t():t;throw r instanceof Error?r:new Error(null!=r?r:"Assertion error")}function je(e,t){return Ae(e,t),e}function Ce(e,t){const r=t.split(".");let n,i=e;for(;i&&r.length;){const e=je(r.shift());if(!(i instanceof Object&&e in i))return;n=i[e],i=n}return n}function Re(e){return"object"==typeof e&&Reflect.getPrototypeOf(e)===Object.prototype}function $e(e,t,r){var n;const i=t.split(".");let a=e;for(;i.length;){const e=je(i.shift());if(i.length){const t=Re(a[e])&&null!==(n=Te.clone(a[e]))&&void 0!==n?n:{};a[e]=t,a=t}else a[e]=r}}function Me(e,t){var r;const n=t.split(".");let i=e;for(;n.length;){const e=je(n.shift());if(n.length){const t=Re(i[e])&&null!==(r=Te.clone(i[e]))&&void 0!==r?r:{};i[e]=t,i=t}else delete i[e]}}function Fe(e,t){switch(t.type){case"applyNumericFn":return function(e,t){if("increment"===t.fn)return null==e?t.value:e+t.value;throw new Error("Unknown numeric function: "+JSON.stringify(t))}(e,t);case"applyStringFn":return function(e,t){switch(t.fn){case"trim":return"string"!=typeof e?e:e.trim();case"extendString":return null==e?t.value:e+t.value;default:throw new Error("Unknown string function: "+JSON.stringify(t))}}(e,t);case"update":return"object"==typeof t.value?Te.cloneDeep(t.value):t.value;case"removeProperty":return;default:throw new Error("Unknown property mutation type: "+JSON.stringify(t))}}function Ve(e){return Object.entries(e.properties).sort((([e],[t])=>e.split(".").length-t.split(".").length))}function Le(e){let t=[];return(0,Pe.from)(e).pipe((0,Pe.groupBy)((e=>`${e.fullDocId.integrationId}${e.fullDocId.collectionName}/${e.fullDocId.docId}`)),(0,Pe.mergeMap)((e=>e.pipe((0,Pe.reduce)(((e,t)=>function(e,t){if("insert"===t.type)return t;if("delete"===t.type)return t;if("delete"===e.type)throw new Error("Cannot delete and then update");if(Ae("update"===t.type),"update"===e.type)return function(e,t){const r=Te.cloneDeep(e);t=Te.cloneDeep(t);for(const[e]of Ve(r)){const n=e.split(".").length;Object.entries(t.properties).some((([t])=>e.startsWith(t+".")&&n>t.split(".").length))&&delete r.properties[e]}for(const[e,n]of Ve(t))r.properties[e]=[...r.properties[e]||[],...n];return r}(e,t);const r=Te.cloneDeep(e);for(const[e,n]of Ve(t)){const t=n;for(const n of t){const t=Fe(Ce(r.properties,e),n);void 0===t?Me(r.properties,e):$e(r.properties,e,t)}}return r}(e,t)))))),(0,Pe.toArray)()).subscribe((e=>{t=e})),t}class qe{constructor(e,t,r,n){this.mutation=e,this.beforeAndAfterDocs=t,this.serverTimeStamp=r,this.auth=n}getUserAuth(){return this.auth}getMutationType(){return this.mutation.type}affectsPath(e){const t=this.beforeAndAfterDocs.before?Te.get(this.beforeAndAfterDocs.before,e):void 0,r=this.beforeAndAfterDocs.after?Te.get(this.beforeAndAfterDocs.after,e):void 0;return!Te.isEqual(t,r)}}const Be={"in:in":(e,t)=>e.every((e=>t.includes(e))),"in:not in":(e,t)=>e.every((e=>!t.includes(e))),"not in:not in":(e,t)=>t.every((t=>e.includes(t))),">:not in":(e,t)=>t.every((t=>e>=t)),">=:not in":(e,t)=>t.every((t=>e>t)),"<:not in":(e,t)=>t.every((t=>e<=t)),"<=:not in":(e,t)=>t.every((t=>e<t)),">:>":(e,t)=>e>=t,">=:>":(e,t)=>e>t,"in:>":(e,t)=>e.every((e=>e>t)),">:>=":(e,t)=>e>=t,">=:>=":(e,t)=>e>=t,"in:>=":(e,t)=>e.every((e=>e>=t)),"<:<":(e,t)=>e<=t,"<=:<":(e,t)=>e<t,"in:<":(e,t)=>e.every((e=>e<t)),"<:<=":(e,t)=>e<=t,"<=:<=":(e,t)=>e<=t,"in:<=":(e,t)=>e.every((e=>e<=t))};class Ue{constructor(e,t){this.query=e,this.auth=t,this.query=e,this.parsedConditions=this.parseConditions(this.query.conditions)}getUserAuth(){return this.auth}get integrationId(){return this.query.integrationId}get collectionName(){return this.query.collectionName}get limit(){return this.query.limit}includesSorts(e){return!e.find(((e,t)=>!(0,Te.isEqual)(this.query.sortOrder[t],e)))}matchesSorts(e){return e.length===this.query.sortOrder.length&&this.includesSorts(e)}includes(e,t,r){return this.includesCondition({fieldName:e,operator:t,value:r})}includesCondition(e){const t=this.parsedConditions.filter((t=>t.fieldName===e.fieldName));return!!t.length&&!!t.find((t=>this.evaluateIncludes(t,e)))}includesConditions(e){return this.parseConditions(e).every((e=>this.includesCondition(e)))}matchesConditions(e){const t=this.parseConditions(e);return this.parsedConditions.length===t.length&&t.every((e=>this.includesCondition(e)))}matchesQuery(e){if(e.collectionName!==this.collectionName||e.integrationId!==this.integrationId)return!1;const t=this.matchesConditions(e.conditions),r=this.matchesSorts(e.sortOrder),n=this.limit===e.limit;return t&&r&&n}isSubsetOf(e,t,r){return this.isSubsetOfCondition({fieldName:e,operator:t,value:r})}isSubsetOfCondition(e){return!!this.parsedConditions.filter((t=>t.fieldName===e.fieldName)).find((t=>this.evaluateSubset(t,e)))}isSubsetOfConditions(e){return this.parseConditions(e).every((e=>this.isSubsetOfCondition(e)))}isSubsetOfQuery(e){if(e.collectionName!==this.collectionName||e.integrationId!==this.integrationId)return!1;const t=this.isSubsetOfConditions(e.conditions),r=this.includesSorts(e.sortOrder),n=-1===e.limit||this.limit>-1&&this.limit<e.limit;return t&&r&&n}getConditionsFor(...e){return this.parsedConditions.filter((t=>e.includes(t.fieldName)))}getConditionsForField(e){return this.parsedConditions.filter((t=>t.fieldName===e))}evaluateSubset(e,t){const{operator:r,value:n}=e,{operator:i,value:a}=this.parseConditions([t])[0],o=Be[`${r}:${i}`];return!!o&&o(n,a)}evaluateIncludes(e,t){const{operator:r,value:n}=e,{operator:i,value:a}=this.parseConditions([t])[0],o=Array.isArray(n)?n.sort():n,s=Array.isArray(a)?a.sort():a;return i===r&&(0,Te.isEqual)(s,o)}parseConditions(e){const t=[],r=new Map,n=new Map;return e.forEach((e=>{switch(e.operator){case"==":case"in":r.set(e.fieldName,(r.get(e.fieldName)||[]).concat(e.value));break;case"!=":case"not in":n.set(e.fieldName,(n.get(e.fieldName)||[]).concat(e.value));break;default:t.push(e)}})),r.forEach(((e,r)=>{t.push({fieldName:r,operator:"in",value:e})})),n.forEach(((e,r)=>{t.push({fieldName:r,operator:"not in",value:e})})),t}}class ze{constructor(e,t){this.collectionName=e,this.integrationId=t,this.query={integrationId:t,collectionName:e,conditions:[],limit:-1,sortOrder:[]}}where(e,t,r){if("in"===t||"not in"===t){const n=r instanceof Array?[...r]:[r];for(const r of n)this.query.conditions.push({fieldName:e,operator:"in"===t?"==":"!=",value:r});return this}return this.query.conditions.push({fieldName:e,operator:t,value:r}),this}limit(e){return function(e){Ae(ke(e,"number")),-1!==e&&(Ae(e>0,"query limit has to be greater than 0"),Ae(Math.floor(e)===e,"query limit has to be an integer"),Ae(e<=1e3,"Limit can be maximum 1000"))}(e),Ae(-1===this.query.limit,"The limit was already set."),this.query.limit=e,this}sortBy(e,t=!0){const r={asc:t,fieldName:e};return De(r),Ae(!this.query.sortOrder.some((t=>t.fieldName===e)),`${e} already in the sort list.`),this.query.sortOrder.push(r),this}build(){const e=this.mergeConditions();return Object.assign(Object.assign({},this.query),{conditions:e})}mergeConditions(){const e=[],t=Te.groupBy(this.query.conditions||[],(e=>e.fieldName));for(const r of Object.values(t)){const t=Te.groupBy(r,(e=>e.operator));for(const[r,n]of Object.entries(t)){if("=="===r||"!="===r){e.push(...n);continue}const t=Te.sortBy(n,(e=>e.value));if(">"===r||">="===r)e.push(t[t.length-1]);else{if("<"!==r&&"<="!==r)throw new Error(`Unsupported operator ${r}`);e.push(t[0])}}}return e}}class Qe{}class We extends Qe{findQueriesForDocument(e,t,r,n){return i=this,a=void 0,s=function*(){const i=yield this.getMapping(e,r,n);return i?He(i,t):[]},new((o=void 0)||(o=Promise))((function(e,t){function r(e){try{p(s.next(e))}catch(e){t(e)}}function n(e){try{p(s.throw(e))}catch(e){t(e)}}function p(t){var i;t.done?e(t.value):(i=t.value,i instanceof o?i:new o((function(e){e(i)}))).then(r,n)}p((s=s.apply(i,a||[])).next())}));var i,a,o,s}}function He(e,t){var r;const n=e.unconditional||[],i=new Set,a=new Map;for(const[n,o]of Object.entries(e.conditional||{})){const e=Ee(n);for(const[n,s]of Object.entries(o)){const o=[],p=null!==(r=Ce(t,e))&&void 0!==r?r:null,d=Oe(p);switch(n){case"==":p&&!["string","boolean","number"].includes(typeof p)||o.push(...s[d]||[]);break;case"!=":{(s[d]||[]).forEach((e=>i.add(e)));const e=Object.entries(s).filter((([e])=>e!==d));for(const[t,r]of e)o.push(...r);break}case"<":case"<=":case">":case">=":["string","boolean","number"].includes(typeof p)&&o.push(...Object.entries(s).filter((([e])=>Ke(Ee(e),p,n))).reduce(((e,[t,r])=>(e.push(...r),e)),[]));break;default:throw new Error("Unsupported operator: "+n)}for(const e of o)a.set(e,(a.get(e)||0)+1)}}for(const[t,r]of a.entries())i.has(t)||r>=e.queriesMetadata[t].condCount&&n.push(t);return n}function Ke(e,t,r){if(null===e||null===t)return!1;switch(r){case"<":return t<e;case"<=":return t<=e;case">":return t>e;case">=":return t>=e;default:throw new Error(`Unsupported operator comparison: ${r}`)}}function Ge(e,t){return`${e}_${t}`}var Je=i(6236),Ye=i.n(Je),Ze=i(8414),Xe=i.n(Ze);i(2091);const et=new(Ye())({allErrors:!0,allowUnionTypes:!1,useDefaults:!1});function tt(e,t,r=((e,t)=>e>t?1:e<t?-1:0),n=0,i=e.length-1){if(i<n)return-1;const a=Math.trunc((n+i)/2);return 0===r(t,e[a])?a:r(t,e[a])>0?tt(e,t,r,a+1,i):tt(e,t,r,n,a-1)}function rt(e,t,r=((e,t)=>e>t?1:e<t?-1:0)){let n;for(n=e.length-1;n>=0&&r(e[n],t)>0;n--)e[n+1]=e[n];e[n+1]=t}function nt(e,t,r=((e,t)=>e>t?1:e<t?-1:0)){const n=tt(e,t,r);n>-1&&e.splice(n,1)}Xe()(et),et.addKeyword({keyword:"isDate",type:"object",validate:(e,t)=>e===t instanceof Date}),et.addKeyword({keyword:"primaryKey",validate:(e,t)=>!e||null!==t}),et.addKeyword({keyword:"insertable",validate:(e,t)=>!e||null!==t}),et.addKeyword({keyword:"deletable",validate:(e,t)=>!e||null!==t}),et.addKeyword({keyword:"applyDefaultValueOn",validate:(e,t)=>!e||["always","empty","updateOrEmpty"].includes(e)});class it{constructor(){this.locks={}}lock(...e){return t=this,r=void 0,i=function*(){if(this.canGetLock(...e))return void this.lockSync(...e);const t=Object.entries(this.locks).filter((([t])=>e.includes(t))).map((([e,t])=>t));yield(0,Pe.lastValueFrom)((0,Pe.combineLatest)(t).pipe((0,Pe.filter)((e=>!e.includes(!0))),(0,Pe.take)(1))),yield this.lock(...e)},new((n=void 0)||(n=Promise))((function(e,a){function o(e){try{p(i.next(e))}catch(e){a(e)}}function s(e){try{p(i.throw(e))}catch(e){a(e)}}function p(t){var r;t.done?e(t.value):(r=t.value,r instanceof n?r:new n((function(e){e(r)}))).then(o,s)}p((i=i.apply(t,r||[])).next())}));var t,r,n,i}release(...e){for(const t of e){const e=je(this.locks[t]);e.next(!1),e.complete(),delete this.locks[t]}}canGetLock(...e){return!e.some((e=>{var t;return null===(t=this.locks[e])||void 0===t?void 0:t.value}))}lockSync(...e){Ae(this.canGetLock(...e));for(const t of e)this.locks[t]=new Pe.BehaviorSubject(!0)}}class at extends Error{constructor(e,t){super(e),this.details=t}}const ot="internal";function st(e,t){(0,Te.mergeWith)(e,t,((e,t)=>(0,Te.isArray)(e)?e.concat(t):void 0))}const pt=new class{constructor(){this.data={databases:{},executables:{},apis:{},graphql:{},triggers:{},schedulers:{},webhooks:{},namedQueries:{}}}secureDatabase(e,t,r=ot){st(this.data,{databases:{[r]:{security:{[e]:[t]}}}})}secureCollection(e,t,r,n=ot){st(this.data,{databases:{[n]:{collections:{[e]:{security:{[t]:[r]}}}}}})}secureExecutable(e,t){st(this.data,{executables:{[e]:{security:[t]}}})}secureApi(e,t,r){st(this.data,{apis:{[t]:{[e]:{security:[r]}}}})}secureGraphQL(e,t){st(this.data,{graphql:{[e]:{security:[t]}}})}transformDatabase(e,t,r=ot){st(this.data,{databases:{[r]:{transform:{[e]:{type:e,serviceFunction:t}}}}})}transformCollection(e,t,r,n="internal"){st(this.data,{databases:{[n]:{collections:{[e]:{transform:{[t]:{type:t,serviceFunction:r}}}}}}})}executable(e){const t=e.split(":")[1];st(this.data,{executables:{[t]:{serviceFunction:e}}})}trigger(e,t,r,n=ot){Ae(!this.data.triggers[e],`Duplicate Trigger IDs: ${e}`),this.data.triggers[e]={integrationId:n,collectionName:t,functionName:r}}scheduler(e,t,r){Ae(!this.data.schedulers[e],`Duplicate Scheduler IDs: ${e}`),this.data.schedulers[e]={cronExpression:t,functionName:r}}webhook(e,t){Ae(!this.data.webhooks[e],`Duplicate Webhook IDs: ${e}`),this.data.webhooks[e]={functionName:t}}namedQuery(e,t,r){var n,i;Ae(!(null===(i=null===(n=this.data.namedQueries[e])||void 0===n?void 0:n[t])||void 0===i?void 0:i.queryString),`Duplicate Named queries: ${t}, ${e}`),st(this.data,{namedQueries:{[e]:{[t]:{queryString:r}}}})}secureNamedQuery(e,t,r){st(this.data,{namedQueries:{[e]:{[t]:{security:[r]}}}})}};function dt(e,t){return function(r,n,i){return pt.secureDatabase(e,wt(r,n),t),St(0,i,e)}}function ut(e,t,r){return function(n,i,a){return pt.secureCollection(e,t,wt(n,i),r),St(0,a,t)}}function lt(e){return function(t,r,n){return pt.secureExecutable(e,wt(t,r)),St(0,n)}}function ct(e,t){return function(r,n,i){return pt.secureApi(e,t,wt(r,n)),St(0,i)}}function ft(e){return function(t,r,n){return pt.secureGraphQL(e,wt(t,r)),St(0,n)}}function ht(e,t,r){return function(n,i,a){return pt.transformCollection(e,t,wt(n,i),r),a}}function mt(){return function(e,t,r){return pt.executable(wt(e,t)),r}}function vt(e,t,r){return function(n,i,a){return pt.trigger(e,t,wt(n,i),r),a}}function yt(e,t){return function(r,n,i){return pt.scheduler(e,t,wt(r,n)),i}}function gt(e){return function(t,r,n){return pt.webhook(e,wt(t,r)),n}}function bt(e,t){return function(r,n){const i=r[n];if("string"!=typeof i)throw new Error(`The decorated property of a named query (IntegrationId - ${e}, query name - ${t}) must be of type string. Actual type: ${typeof i}.`);pt.namedQuery(e,t,i)}}function _t(e,t){return function(r,n,i){return pt.secureNamedQuery(e,t,wt(r,n)),St(0,i)}}function wt(e,t){return`${e.constructor.name}:${t}`}function St(e,t,r){return function(e,t,n){return e.writable?{writable:!1,value:function(...t){var n,i,a,o,s;return i=this,a=void 0,s=function*(){const i=((e,t)=>"read"===r?function(e,t){return[{queryContext:new Ue(t[0].query,e.context.auth)}]}(e,t):r&&["insert","delete","update","write"].includes(r)?function(e,t){return[{mutationContext:new qe(t[0].mutation,t[0].beforeAndAfterDocs,t[0].serverTimestamp,e.context.auth)}]}(e,t):t)(this,[...t]);return{rulesPassed:a=yield null===(n=e.value)||void 0===n?void 0:n.apply(this,i),docsToHash:a?{}:void 0};var a},new((o=void 0)||(o=Promise))((function(e,t){function r(e){try{p(s.next(e))}catch(e){t(e)}}function n(e){try{p(s.throw(e))}catch(e){t(e)}}function p(t){var i;t.done?e(t.value):(i=t.value,i instanceof o?i:new o((function(e){e(i)}))).then(r,n)}p((s=s.apply(i,a||[])).next())}))}}:e}(t)}class Ot{constructor(e,t,r,n){this.collectionName=e,this.integrationId=t,this.documentReferenceFactory=r,this.queryBuilderFactory=n,this.documents=new Map}doc(e){je("string"==typeof e&&"internal"===this.integrationId||"object"==typeof e,"Invalid doc id"),"string"==typeof e&&(e={__id:e});const t=_e(e),r=xe(t,this.collectionName,this.integrationId);let n=this.documents.get(t);return n||(n=this.documentReferenceFactory.create(r,this.queryBuilderFactory),this.documents.set(t,n),n)}query(){return this.queryBuilderFactory.get(this.collectionName,this.integrationId)}joinQuery(e){return this.queryBuilderFactory.getForJoin(this.collectionName,this.integrationId,null!=e?e:this.collectionName)}}var Et=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}))};class Nt{constructor(e,t,r){this.fullDocId=e,this.dataManager=t,this.queryBuilderFactory=r}data(){return je(this.dataManager.getProperties(this.fullDocId),"CANNOT_FIND_DOCUMENT_DATA")}get(){return Et(this,void 0,void 0,(function*(){try{if(this.data())return this}catch(e){}const e=yield this.queryBuilderFactory.getForDocument(this.fullDocId).snapshot();return je(e.length<=1,"Got more than one doc for the same id:"+this.fullDocId),e.length?this:void 0}))}isDirty(){return this.dataManager.isDirty(this.fullDocId)}update(e,t){return Et(this,void 0,void 0,(function*(){const r={};Object.entries(e).forEach((([e,t])=>{const n=void 0!==t?{type:"update",value:t}:{type:"removeProperty"};r[e]=[n]}));const n={type:"update",fullDocId:Ne(this.fullDocId),properties:r};return this.dataManager.applyOutgoingMutation(n,t)}))}setInPath(e,t,r){return Et(this,void 0,void 0,(function*(){return this.update({[e]:Te.cloneDeep(t)},r)}))}deleteInPath(e,t){return Et(this,void 0,void 0,(function*(){return this.update({[e]:void 0},t)}))}insert(e,t){return Et(this,void 0,void 0,(function*(){const r=Ne(this.fullDocId),n={type:"insert",fullDocId:r,properties:Object.assign(Object.assign(Object.assign({},e),{__docId__:r.docId}),Se(r.docId))};return this.dataManager.applyOutgoingMutation(n,t)}))}delete(e){return Et(this,void 0,void 0,(function*(){const t={type:"delete",fullDocId:Ne(this.fullDocId)};return this.dataManager.applyOutgoingMutation(t,e)}))}}var xt=i(9978);class Tt{constructor(e,t,r,n={}){this.clientId=e,this.rpcManager=t,this.socketManager=r,this.apiServerUrlOverrideMapping=n,this.ongoingApiExecutions={},r.observeNotifications().pipe((0,Pe.filter)((e=>"api"===e.type)),(0,xt.UI)((e=>e))).subscribe((e=>{this.handleApiResponse(e.clientRequestId,e).then()}))}callApiAndSubscribe(e,t,r){const n=crypto.randomUUID(),i=new Pe.Subject;this.ongoingApiExecutions[n]=i;const a={integrationId:e,endpointId:t,request:r,clientId:this.clientId,clientRequestId:n,serverUrlOverride:this.apiServerUrlOverrideMapping[e]};return this.rpcManager.post("api/call",a).catch((n=>{console.error("Got error while calling API",e,t,r,n),i.error(n),i.complete()})),i.pipe((0,Pe.finalize)((()=>{delete this.ongoingApiExecutions[n]})),(0,Pe.share)())}handleApiResponse(e,t){return r=this,n=void 0,a=function*(){const r=this.ongoingApiExecutions[e];r&&(t.success?r.next(Se(t.payload)):r.error((0,Te.pick)(t,"httpStatus","payload")),r.complete())},new((i=void 0)||(i=Promise))((function(e,t){function o(e){try{p(a.next(e))}catch(e){t(e)}}function s(e){try{p(a.throw(e))}catch(e){t(e)}}function p(t){var r;t.done?e(t.value):(r=t.value,r instanceof i?r:new i((function(e){e(r)}))).then(o,s)}p((a=a.apply(r,n||[])).next())}));var r,n,i,a}}class Pt{constructor(e,t,r){this.clientId=e,this.rpcManager=t,this.socketManager=r,this.ongoingFunctionExecutions={},r.observeNotifications().pipe((0,Pe.filter)((e=>"backendFunction"===e.type)),(0,xt.UI)((e=>e))).subscribe((e=>{this.handleFunctionResponse(e.clientRequestId,e.payload)}))}executeFunctionAndSubscribe(e,...t){const r=crypto.randomUUID(),n=new Pe.Subject;this.ongoingFunctionExecutions[r]=n;const i={functionName:e,paramsArrayStr:we(t),clientId:this.clientId,clientRequestId:r};return this.rpcManager.post("backend-function/execute",i).catch((t=>{console.error("Got error while executing function",e,t),n.error(t),n.complete()})),n.pipe((0,Pe.finalize)((()=>{delete this.ongoingFunctionExecutions[r]})),(0,Pe.share)())}handleFunctionResponse(e,t){const r=this.ongoingFunctionExecutions[e];if(!r)return;const n=Se(t);n.success?r.next(n.response):(r.error(new Error(n.response)),r.complete())}}class It{constructor(e,t,r){this.clientId=e,this.rpcManager=t,this.socketManager=r,this.ongoingNamedQueryExecutions={},r.observeNotifications().pipe((0,Pe.filter)((e=>"namedQuery"===e.type)),(0,xt.UI)((e=>e))).subscribe((e=>{this.handleNamedQueryResponse(e.clientRequestId,e.payload)}))}executeNamedQueryAndSubscribe(e,t,r){const n=crypto.randomUUID(),i=new Pe.Subject;this.ongoingNamedQueryExecutions[n]=i;const a={integrationId:e,queryName:t,paramsRecordStr:we(r),clientId:this.clientId,clientRequestId:n};return this.rpcManager.post("named-query/execute",a).catch((r=>{console.error("Got error while executing named query",t,"for integration",e,r),i.error(r),i.complete()})),i.pipe((0,Pe.finalize)((()=>{delete this.ongoingNamedQueryExecutions[n]})),(0,Pe.share)())}handleNamedQueryResponse(e,t){const r=this.ongoingNamedQueryExecutions[e];if(!r)return;const n=Se(t);n.success?r.next(n.result):(r.error(new Error(n.result)),r.complete())}}class Dt{constructor(e,t){this.documentReferenceFactory=e,this.queryBuilderFactory=t,this.collections=new Map}get(e,t){let r=this.collections.get(t);r||(r=new Map,this.collections.set(t,r));let n=r.get(e);return n||(n=new Ot(e,t,this.documentReferenceFactory,this.queryBuilderFactory),r.set(e,n),n)}}var kt=i(3910),At=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}))};const jt="dataManager_runInTransaction";class Ct{constructor(e,t,r,n,i,a,o){this.dbDao=e,this.mutationSender=t,this.socketManager=r,this.querySubscriptionManager=n,this.queryBuilderFactory=i,this.lockManager=a,this.destructManager=o,this.fullDocIdToLocalTimestamp=new Map,this.batchClientRequestIds=new Set,this.docToTimestamp=new Map,this.pendingIncomingUpdates=new Map,this.pendingOutgoingMutations=new Map,this.outgoingMutationsEmpty=new Pe.BehaviorSubject(!0),this.docsToResync=[],this.handleIncomingMessages=!0,this.destructManager.registerDestructor((()=>{this.destruct()})),this.handleNotifications(),this.startDeleteExpiredTimestampsJob(),this.handleOrphanDocs(),this.outgoingMutationsEmpty.subscribe((e=>{this.querySubscriptionManager.safeToSendQueriesToServer.next(e)}))}getProperties(e){return this.dbDao.getDocumentPropertiesOrUndefined(e)}isDirty(e){var t;if(null===(t=this.pendingOutgoingMutations.get(e))||void 0===t?void 0:t.length)return!0;const r=this.docToTimestamp.get(e),n=this.fullDocIdToLocalTimestamp.has(e),i=this.fullDocIdToLocalTimestamp.get(e);return!(!n||(null==r?void 0:r.timestamp))||!!this.dbDao.isDbDifferentThanInMemory(e)||n&&i!==(null==r?void 0:r.timestamp)}runInTransaction(e,t){return At(this,void 0,void 0,(function*(){return t?(Ae(t===this.currentTransactionId,"Transaction already ended."),e(t).then((e=>Promise.resolve()))):(this.lockManager.canGetLock(jt)?this.lockManager.lockSync(jt):yield this.lockManager.lock(jt),new Promise(((t,r)=>At(this,void 0,void 0,(function*(){try{this.currentTransactionId=crypto.randomUUID();try{return yield e(this.currentTransactionId)}catch(e){console.error("error while executing callback function in transaction",e)}finally{this.finishTransaction({resolve:t,reject:r})}}catch(e){console.error("error while executing transaction",e)}finally{this.lockManager.release(jt)}})))))}))}applyOutgoingMutation(e,t){var r;return At(this,void 0,void 0,(function*(){const n=xe(e.fullDocId),i=null===(r=this.pendingOutgoingMutations.get(n))||void 0===r?void 0:r.slice(-1)[0];if(i&&!i.sentToServer)i.mutation=Le([i.mutation,e])[0];else{const t={mutation:this.removeInternalProperties(e),sentToServer:!1},r=this.pendingOutgoingMutations.get(n)||[];r.push(t),this.pendingOutgoingMutations.set(n,r)}return this.outgoingMutationsEmpty.next(!1),this.runInTransaction((()=>At(this,void 0,void 0,(function*(){const t=this.dbDao.getDocumentPropertiesOrUndefined(n),r="delete"===e.type?void 0:"update"===e.type?function(e,t){if(!e)return;const r=Object.assign({},e),n=Ve(t);for(const[e,t]of n){const n=t;for(const t of n){const n=Fe(Ce(r,e),t);void 0===n?Me(r,e):$e(r,e,n)}}return r}(t,e):Object.assign({},e.properties);this.applyLocalDbUpdateFromSnapshot(n,r)&&("insert"===e.type&&this.fullDocIdToLocalTimestamp.set(n,void 0),this.querySubscriptionManager.setClientRequestIdsForLocalDoc(n,r).forEach((e=>this.batchClientRequestIds.add(e))))}))),t)}))}runInTransactionSync(e,t){return At(this,void 0,void 0,(function*(){if(t)return Ae(t===this.currentTransactionId,"Transaction already ended."),void e(t);yield this.lockManager.lock(jt);try{this.currentTransactionId=crypto.randomUUID();try{return e(this.currentTransactionId)}catch(e){console.error("error while executing callback function in transaction",e)}finally{this.finishTransaction()}}catch(e){console.error("error while executing transaction",e)}finally{this.lockManager.release(jt)}}))}removeInternalProperties(e){if("delete"===e.type)return e;const t=Object.assign(Object.assign({},e),{properties:Object.assign({},e.properties)});return delete t.__docId__,delete t.__ts__,t}handleNotifications(){this.socketManager.observeNotifications().pipe((0,Pe.filter)((e=>"mutations"===e.type)),(0,xt.UI)((e=>e))).subscribe((e=>{this.outgoingMutationsEmpty.pipe((0,Pe.filter)(Boolean),(0,Pe.take)(1)).subscribe((()=>{this.handleIncomingMutations(e.payload)}))})),this.socketManager.observeNotifications().pipe((0,Pe.filter)((e=>"query"===e.type)),(0,xt.UI)((e=>e))).subscribe((e=>{this.outgoingMutationsEmpty.pipe((0,Pe.filter)(Boolean),(0,Pe.take)(1)).subscribe((()=>{this.handleIncomingQuerySnapshots(e.payload)}))}))}handleIncomingMutations(e){if(!this.handleIncomingMessages)return;const t=e.reduce(((e,t)=>this.querySubscriptionManager.hasOngoingQuery(t.clientRequestId)?(e[t.fullDocIdStr]={properties:t.doc,timestamp:t.mutationTimestamp},e):e),{});this.applyIncomingUpdates(t)}handleIncomingQuerySnapshots(e){if(!this.handleIncomingMessages)return;if(!this.querySubscriptionManager.hasOngoingQuery(e.clientRequestId))return;const t=this.querySubscriptionManager.getQuery(e.clientRequestId),r={};for(const n of e.docs){const e=xe(n.__docId__,t.collectionName,t.integrationId);r[e]={properties:n,timestamp:n.__ts__}}this.querySubscriptionManager.setGotResponseFromServer(e.clientRequestId),this.runInTransactionSync((t=>{this.batchClientRequestIds.add(e.clientRequestId),this.applyIncomingUpdates(r,t)&&this.querySubscriptionManager.hasSubscription(e.clientRequestId)&&this.batchClientRequestIds.delete(e.clientRequestId)})).then()}applyIncomingUpdates(e,t){let r=!1;return this.runInTransactionSync((()=>{for(const[t,n]of Object.entries(e))this.addPendingIncomingUpdate(t,n),this.pendingIncomingUpdates.get(t)||(r=!0),this.maybeApplyIncomingUpdate(t)}),t).then(),r}addPendingIncomingUpdate(e,t){const r=this.pendingIncomingUpdates.get(e);if(r&&r.timestamp>t.timestamp)return;const n=this.docToTimestamp.get(e);n&&n.timestamp>t.timestamp||this.pendingIncomingUpdates.set(e,t)}maybeApplyIncomingUpdate(e){const t=this.pendingIncomingUpdates.get(e);if(!t)return;const r=this.pendingOutgoingMutations.get(e);r&&r.length||(this.applyLocalDbUpdateFromSnapshot(e,t.properties),this.docToTimestamp.set(e,{timestamp:t.timestamp,expireTimestamp:t.properties?void 0:Date.now()+2e4}),this.fullDocIdToLocalTimestamp.set(e,t.timestamp),this.pendingIncomingUpdates.delete(e),this.querySubscriptionManager.setClientRequestIdsForLocalDoc(e,t.properties).forEach((e=>{this.batchClientRequestIds.add(e)})),t.properties&&(this.querySubscriptionManager.findQueriesForDocument(t.properties,e).length||this.removeDocumentLocally(e)))}destruct(){this.stopDeleteExpiredTimestampsJob()}stopDeleteExpiredTimestampsJob(){void 0!==this.deleteExpiredTimestampsInterval&&(clearInterval(this.deleteExpiredTimestampsInterval),this.deleteExpiredTimestampsInterval=void 0)}startDeleteExpiredTimestampsJob(){this.deleteExpiredTimestampsInterval=setInterval((()=>{const e=[...this.docToTimestamp.entries()].filter((([e,t])=>!(!t.expireTimestamp||t.expireTimestamp>Date.now())&&this.isDocumentSafeForDelete(e)));for(const[t]of e)this.docToTimestamp.delete(t),this.removeDocumentLocally(t)}),1e4)}isDocumentSafeForDelete(e){if(this.pendingIncomingUpdates.get(e))return!1;const t=this.pendingOutgoingMutations.get(e);return!(t&&t.length||this.querySubscriptionManager.hasOngoingQueryForDocId(e))}applyLocalDbUpdateFromSnapshot(e,t){const r=this.dbDao.getDocumentPropertiesOrUndefined(e);return!(!r&&!t||r===t)&&((!r||!t||_e(Object.assign(Object.assign({},t),{__ts__:void 0}))!==_e(r))&&(this.dbDao.saveDocument(e,t),!0))}finishTransaction(e){this.currentTransactionId=void 0;const t=[...this.batchClientRequestIds.values()];this.batchClientRequestIds.clear(),this.querySubscriptionManager.notifyAllSubscriptions(t),this.sendAllUnsentOutgoingMutations(e).then()}sendAllUnsentOutgoingMutations(e){return At(this,void 0,void 0,(function*(){const t=this.groupOutgoingMutationsByIntegrationId();try{yield kt.PromisePool.for(t).withConcurrency(t.length||1).handleError((e=>{throw e})).process((([e,t])=>At(this,void 0,void 0,(function*(){yield this.sendMutationsForIntegration([...t],e),this.outgoingMutationsEmpty.next(!0)})))),this.pendingOutgoingMutations.size||this.outgoingMutationsEmpty.next(!0),null==e||e.resolve()}catch(t){this.pendingOutgoingMutations.size||(this.outgoingMutationsEmpty.next(!0),yield this.resyncFailedUpdates()),null==e||e.reject(t)}}))}sendMutationsForIntegration(e,t){return At(this,void 0,void 0,(function*(){try{const r=yield this.mutationSender.sendMutations(e.map((e=>e.mutation)),t),n=Date.now();for(const t of e){const e=this.removeOutgoingMutation(t);this.isDocumentSafeForDelete(e)?(this.docToTimestamp.set(e,{timestamp:r,expireTimestamp:n+2e4}),this.removeDocumentLocally(e)):this.docToTimestamp.set(e,{timestamp:r,expireTimestamp:void 0})}}catch(t){for(const t of e){const e=this.removeOutgoingMutation(t);this.removeDocumentLocally(e),this.docsToResync.push(e)}throw t}}))}removeOutgoingMutation(e){const t=xe(e.mutation.fullDocId),r=je(this.pendingOutgoingMutations.get(t));return r.splice(r.indexOf(e),1),r.length||this.pendingOutgoingMutations.delete(t),t}resyncFailedUpdates(){var e,t;return At(this,void 0,void 0,(function*(){const r=[...this.docsToResync];this.docsToResync.splice(0);for(const n of r){this.docToTimestamp.set(n,{timestamp:null!==(t=null===(e=this.docToTimestamp.get(n))||void 0===e?void 0:e.timestamp)&&void 0!==t?t:0,expireTimestamp:Date.now()+2e4});try{je((yield this.queryBuilderFactory.getForDocument(n).snapshot()).length<=1,"Got more than one doc for the same id:"+n)}catch(e){this.querySubscriptionManager.errorOutAllQueries(n,e)}}}))}groupOutgoingMutationsByIntegrationId(){const e={};for(const[t,r]of[...this.pendingOutgoingMutations.entries()]){const t=r[r.length-1];if(t&&!t.sentToServer){const r=t.mutation.fullDocId.integrationId;(e[r]||(e[r]=[])).push(t),t.sentToServer=!0}}return Object.entries(e)}handleOrphanDocs(){this.querySubscriptionManager.onOrphanDocuments.subscribe((e=>{for(const t of e)this.isDocumentSafeForDelete(t)&&this.removeDocumentLocally(t)}))}removeDocumentLocally(e){this.dbDao.removeDocumentFromDb(e),this.fullDocIdToLocalTimestamp.delete(e);const t=this.docToTimestamp.get(e);t&&(t.expireTimestamp=Date.now()+2e4)}}var Rt=i(7979),$t=i.n(Rt);class Mt{constructor(){this.dbIdToDoc=new Map,this.fullDocIdToDbId=new Map,this.db=new($t())("SquidData",{persistenceMethod:"memory"})}saveDocument(e,t){let r=this.fullDocIdToDbId.get(e);const n=Ne(e),i=this.getDbIdToDocForCollection(n.collectionName,n.integrationId),a=this.getDbCollection(n.collectionName,n.integrationId);if((void 0!==r?a.get(r):void 0)||(r=void 0),void 0===r&&!t)return;if(void 0!==r){if(t){const e=a.get(r).meta,n=a.update(Object.assign({$loki:r,meta:e},(0,Te.cloneDeep)(t)));return i[r]=this.convertToDocType(n),r}return a.remove(a.get(r)),this.fullDocIdToDbId.delete(e),void delete i[r]}const o=a.insertOne(t);return r=o.$loki,i[r]=this.convertToDocType(o),this.fullDocIdToDbId.set(e,r),r}removeDocumentFromDb(e){const t=this.fullDocIdToDbId.get(e);if(void 0===t)return;const r=Ne(e),n=this.getDbCollection(r.collectionName,r.integrationId),i=n.get(t);i&&n.remove(i)}isDbDifferentThanInMemory(e){const t=this.fullDocIdToDbId.get(e);if(void 0===t)return!1;const r=Ne(e);return!this.getDbCollection(r.collectionName,r.integrationId).get(t)}getDocumentProperties(e){return je(this.getDocumentPropertiesOrUndefined(e))}getDocumentPropertiesOrUndefined(e){const{collectionName:t,integrationId:r}=Ne(e),n=`${t}_${r}`,i=this.fullDocIdToDbId.get(e);if(void 0!==i)return je(this.dbIdToDoc.get(n))[i]}executeQuery(e){var t;const r=e.collectionName,n=e.integrationId,i={},a=[],o=[];for(const t of e.conditions)(["==","!="].includes(t.operator)?a:o).push(t);this.applyEqualityConditions(a,i);for(const e of o)Object.assign(i,this.convertToLokiCondition(e));let s=this.getDbCollection(r,n).chain().find(i);(null===(t=e.sortOrder)||void 0===t?void 0:t.length)&&(s=s.compoundsort(e.sortOrder.map((e=>[e.fieldName,!e.asc]))));const p=e.limit>0?e.limit:1e3;return s=s.limit(p),s.data().map((e=>je(this.getDbIdToDocForCollection(r,n)[e.$loki],"Document not in local db")))}convertToDocType(e){const t=Object.assign({},e);return delete t.$loki,delete t.meta,delete t.__ts__,t}convertToLokiCondition(e){const t={};switch(e.operator){case"==":t[e.fieldName]=e.value;break;case"<":t[e.fieldName]={$lt:e.value};break;case"<=":t[e.fieldName]={$lte:e.value};break;case">":t[e.fieldName]={$gt:e.value};break;case">=":t[e.fieldName]={$gte:e.value};break;case"!=":t[e.fieldName]={$ne:e.value};break;default:throw new Error(`Unknown operator ${e.operator}`)}return t}getDbCollection(e,t){var r;const n=`${t}_${e}`;return null!==(r=this.db.getCollection(n))&&void 0!==r?r:this.db.addCollection(n)}getDbIdToDocForCollection(e,t){const r=`${e}_${t}`;return this.dbIdToDoc.get(r)||je(this.dbIdToDoc.set(r,{}).get(r))}applyEqualityConditions(e,t){const r={};for(const t of e){r[t.operator]||(r[t.operator]={});const e=r[t.operator][t.fieldName]||[];e.push(t.value),r[t.operator][t.fieldName]=e}for(const[e,n]of Object.entries(r))for(const[r,i]of Object.entries(n)){const n=[{["=="===e?"$in":"$nin"]:i}];void 0!==i.find((e=>null===e))&&n.push({$exists:"!="===e}),t[r]={$or:n}}}}class Ft{constructor(){this.destructors=[],this.isDestructed=!1}registerDestructor(e){this.destructors.push(e)}destruct(){return e=this,t=void 0,n=function*(){if(this.isDestructed)return;this.isDestructed=!0;let e=this.destructors.shift();for(;e;){try{yield e()}catch(e){console.error("Error while destructing Squid",e)}e=this.destructors.shift()}},new((r=void 0)||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}));var e,t,r,n}}class Vt{create(e,t){return new Nt(e,je(this.dataManager,"dataManager not found"),t)}setDataManager(e){this.dataManager=e}}var Lt=function(e,t){return Lt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Lt(e,t)};function qt(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}Lt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var Bt=function(){return Bt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},Bt.apply(this,arguments)};function Ut(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function zt(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}))}function Qt(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(p){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,p])}}}function Wt(e,t,r){if(r||2===arguments.length)for(var n,i=0,a=t.length;i<a;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create;var Ht="Invariant Violation",Kt=Object.setPrototypeOf,Gt=void 0===Kt?function(e,t){return e.__proto__=t,e}:Kt,Jt=function(e){function t(r){void 0===r&&(r=Ht);var n=e.call(this,"number"==typeof r?Ht+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=Ht,Gt(n,t.prototype),n}return qt(t,e),t}(Error);function Yt(e,t){if(!e)throw new Jt(t)}var Zt=["debug","log","warn","error","silent"],Xt=Zt.indexOf("log");function er(e){return function(){if(Zt.indexOf(e)>=Xt){var t=console[e]||console.log;return t.apply(console,arguments)}}}function tr(e){try{return e()}catch(e){}}!function(e){e.debug=er("debug"),e.log=er("log"),e.warn=er("warn"),e.error=er("error")}(Yt||(Yt={}));const rr=tr((function(){return globalThis}))||tr((function(){return window}))||tr((function(){return self}))||tr((function(){return global}))||tr((function(){return tr.constructor("return this")()}));var nr="__",ir=[nr,nr].join("DEV");const ar=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(rr,ir,{value:"production"!==tr((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),rr[ir]}}();function or(e){try{return e()}catch(e){}}var sr=or((function(){return globalThis}))||or((function(){return window}))||or((function(){return self}))||or((function(){return global}))||or((function(){return or.constructor("return this")()})),pr=!1;function dr(e,t){if(!Boolean(e))throw new Error(t)}function ur(e){return lr(e,[])}function lr(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:lr(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const r=Math.min(10,e.length),n=e.length-r,i=[];for(let n=0;n<r;++n)i.push(lr(e[n],t));return 1===n?i.push("... 1 more item"):n>1&&i.push(`... ${n} more items`),"["+i.join(", ")+"]"}(e,r);return function(e,t){const r=Object.entries(e);if(0===r.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const n=r.map((([e,r])=>e+": "+lr(r,t)));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}!sr||or((function(){return"production"}))||or((function(){return process}))||(Object.defineProperty(sr,"process",{value:{env:{NODE_ENV:"production"}},configurable:!0,enumerable:!1,writable:!0}),pr=!0);class cr{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||dr(!1,`Body must be a string. Received: ${ur(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||dr(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||dr(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function hr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mr(e,t,r){return t&&hr(e.prototype,t),r&&hr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}pr&&(delete sr.process,pr=!1),__DEV__?Yt("boolean"==typeof ar,ar):Yt("boolean"==typeof ar,39);var vr=function(){return"function"==typeof Symbol},yr=function(e){return vr()&&Boolean(Symbol[e])},gr=function(e){return yr(e)?Symbol[e]:"@@"+e};vr()&&!yr("observable")&&(Symbol.observable=Symbol("observable"));var br=gr("iterator"),_r=gr("observable"),wr=gr("species");function Sr(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function Or(e){var t=e.constructor;return void 0!==t&&null===(t=t[wr])&&(t=void 0),void 0!==t?t:jr}function Er(e){return e instanceof jr}function Nr(e){Nr.log?Nr.log(e):setTimeout((function(){throw e}))}function xr(e){Promise.resolve().then((function(){try{e()}catch(e){Nr(e)}}))}function Tr(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=Sr(t,"unsubscribe");r&&r.call(t)}}catch(e){Nr(e)}}function Pr(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function Ir(e,t,r){e._state="running";var n=e._observer;try{var i=Sr(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(Pr(e),!i)throw r;i.call(n,r);break;case"complete":Pr(e),i&&i.call(n)}}catch(e){Nr(e)}"closed"===e._state?Tr(e):"running"===e._state&&(e._state="ready")}function Dr(e,t,r){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void xr((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(Ir(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)}))):void Ir(e,t,r);e._queue.push({type:t,value:r})}}var kr=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new Ar(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(Pr(this),Tr(this))},mr(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),Ar=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){Dr(this._subscription,"next",e)},t.error=function(e){Dr(this._subscription,"error",e)},t.complete=function(){Dr(this._subscription,"complete")},mr(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),jr=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new kr(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(r,n){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,a)}catch(e){n(e),i.unsubscribe()}},error:n,complete:r});else n(new TypeError(e+" is not a function"));function a(){i.unsubscribe(),r()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(Or(this))((function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})}))},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(Or(this))((function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})}))},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var r=Or(this),n=arguments.length>1,i=!1,a=arguments[1],o=a;return new r((function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=Or(this);return new i((function(t){var n,a=0;return function e(o){n=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){a===r.length?(n=void 0,t.complete()):e(i.from(r[a++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var r=Or(this);return new r((function(n){var i=[],a=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var a=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(a);e>=0&&i.splice(e,1),o()}});i.push(a)},error:function(e){n.error(e)},complete:function(){o()}});function o(){a.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),a.unsubscribe()}}))},t[_r]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=Sr(t,_r);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return Er(i)&&i.constructor===r?i:new r((function(e){return i.subscribe(e)}))}if(yr("iterator")&&(n=Sr(t,br)))return new r((function(e){xr((function(){if(!e.closed){for(var r,i=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return fr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.call(t));!(r=i()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){xr((function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i="function"==typeof this?this:e;return new i((function(e){xr((function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}}))}))},mr(e,null,[{key:wr,get:function(){return this}}]),e}();function Cr(e){return null!==e&&"object"==typeof e}function Rr(e,t){var r=t,n=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new Jt("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new Jt(44);"FragmentDefinition"===e.kind&&n.push(e)})),void 0===r&&(__DEV__?Yt(1===n.length,"Found ".concat(n.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):Yt(1===n.length,45),r=n[0].name.value),Bt(Bt({},e),{definitions:Wt([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function $r(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function Mr(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return __DEV__?Yt(n,"No fragment named ".concat(r)):Yt(n,46),n||null;default:return null}}function Fr(e){return{__ref:String(e)}}function Vr(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function Lr(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var i={};r.fields.map((function(e){return Lr(i,e.name,e.value,n)})),e[t.value]=i}else if(function(e){return"Variable"===e.kind}(r)){var a=(n||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return Lr(r,t,e,n),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw __DEV__?new Jt('The inline argument "'.concat(t.value,'" of kind "').concat(r.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new Jt(55);e[t.value]=null}}vr()&&Object.defineProperty(jr,Symbol("extensions"),{value:{symbol:_r,hostReportError:Nr},configurable:!0});var qr=["connection","include","skip","client","rest","export"],Br=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),"".concat(r.connection.key,"(").concat(Ur(i),")")}return r.connection.key}var a=e;if(t){var o=Ur(t);a+="(".concat(o,")")}return r&&Object.keys(r).forEach((function(e){-1===qr.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@".concat(e,"(").concat(Ur(r[e]),")"):a+="@".concat(e))})),a}),{setStringify:function(e){var t=Ur;return Ur=e,t}}),Ur=function(e){return JSON.stringify(e,zr)};function zr(e,t){return Cr(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function Qr(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return Lr(r,n,i,t)})),r}return null}function Wr(e){return e.alias?e.alias.value:e.name.value}function Hr(e,t,r){if("string"==typeof e.__typename)return e.__typename;for(var n=0,i=t.selections;n<i.length;n++){var a=i[n];if(Kr(a)){if("__typename"===a.name.value)return e[Wr(a)]}else{var o=Hr(e,Mr(a,r).selectionSet,r);if("string"==typeof o)return o}}}function Kr(e){return"Field"===e.kind}function Gr(e){return"InlineFragment"===e.kind}function Jr(e){__DEV__?Yt(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):Yt(e&&"Document"===e.kind,47);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new Jt('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new Jt(48);return e}));return __DEV__?Yt(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):Yt(t.length<=1,49),e}function Yr(e){return Jr(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function Zr(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function Xr(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function en(e){var t=Yr(e);return __DEV__?Yt(t&&"query"===t.operation,"Must contain a query definition."):Yt(t&&"query"===t.operation,50),t}function tn(e){var t;Jr(e);for(var r=0,n=e.definitions;r<n.length;r++){var i=n[r];if("OperationDefinition"===i.kind){var a=i.operation;if("query"===a||"mutation"===a||"subscription"===a)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw __DEV__?new Jt("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new Jt(54)}function rn(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach((function(e){e.defaultValue&&Lr(t,e.variable.name,e.defaultValue)})),t}function nn(e,t){return t?t(e):jr.of()}function an(e){return"function"==typeof e?new pn(e):e}function on(e){return e.request.length<=1}var sn=function(e){function t(t,r){var n=e.call(this,t)||this;return n.link=r,n}return qt(t,e),t}(Error),pn=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return jr.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(an).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var i=an(r),a=an(n||new e(nn));return on(i)&&on(a)?new e((function(e){return t(e)?i.request(e)||jr.of():a.request(e)||jr.of()})):new e((function(e,r){return t(e)?i.request(e,r)||jr.of():a.request(e,r)||jr.of()}))},e.execute=function(e,t){return e.request(function(e,t){var r=Bt({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r=Bt(Bt({},r),"function"==typeof e?e(r):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return Bt({},r)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?Zr(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(t.indexOf(i)<0)throw __DEV__?new Jt("illegal argument: ".concat(i)):new Jt(27)}return e}(t))))||jr.of()},e.concat=function(t,r){var n=an(t);if(on(n))return __DEV__&&Yt.warn(new sn("You are calling concat on a terminating link, which will have no effect",n)),n;var i=an(r);return on(i)?new e((function(e){return n.request(e,(function(e){return i.request(e)||jr.of()}))||jr.of()})):new e((function(e,t){return n.request(e,(function(e){return i.request(e,t)||jr.of()}))||jr.of()}))},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(nn)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new Jt("request is not implemented"):new Jt(22)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),dn=pn.execute;class un{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class ln{constructor(e,t,r,n,i,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}const cn={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},fn=new Set(Object.keys(cn));function hn(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&fn.has(t)}var mn,vn,yn;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(mn||(mn={})),(yn=vn||(vn={})).NAME="Name",yn.DOCUMENT="Document",yn.OPERATION_DEFINITION="OperationDefinition",yn.VARIABLE_DEFINITION="VariableDefinition",yn.SELECTION_SET="SelectionSet",yn.FIELD="Field",yn.ARGUMENT="Argument",yn.FRAGMENT_SPREAD="FragmentSpread",yn.INLINE_FRAGMENT="InlineFragment",yn.FRAGMENT_DEFINITION="FragmentDefinition",yn.VARIABLE="Variable",yn.INT="IntValue",yn.FLOAT="FloatValue",yn.STRING="StringValue",yn.BOOLEAN="BooleanValue",yn.NULL="NullValue",yn.ENUM="EnumValue",yn.LIST="ListValue",yn.OBJECT="ObjectValue",yn.OBJECT_FIELD="ObjectField",yn.DIRECTIVE="Directive",yn.NAMED_TYPE="NamedType",yn.LIST_TYPE="ListType",yn.NON_NULL_TYPE="NonNullType",yn.SCHEMA_DEFINITION="SchemaDefinition",yn.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",yn.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",yn.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",yn.FIELD_DEFINITION="FieldDefinition",yn.INPUT_VALUE_DEFINITION="InputValueDefinition",yn.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",yn.UNION_TYPE_DEFINITION="UnionTypeDefinition",yn.ENUM_TYPE_DEFINITION="EnumTypeDefinition",yn.ENUM_VALUE_DEFINITION="EnumValueDefinition",yn.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",yn.DIRECTIVE_DEFINITION="DirectiveDefinition",yn.SCHEMA_EXTENSION="SchemaExtension",yn.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",yn.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",yn.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",yn.UNION_TYPE_EXTENSION="UnionTypeExtension",yn.ENUM_TYPE_EXTENSION="EnumTypeExtension",yn.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension";const gn=Object.freeze({});function bn(e,t,r=cn){const n=new Map;for(const e of Object.values(vn))n.set(e,_n(t,e));let i,a,o,s=Array.isArray(e),p=[e],d=-1,u=[],l=e;const c=[],f=[];do{d++;const e=d===p.length,y=e&&0!==u.length;if(e){if(a=0===f.length?void 0:c[c.length-1],l=o,o=f.pop(),y)if(s){l=l.slice();let e=0;for(const[t,r]of u){const n=t-e;null===r?(l.splice(n,1),e++):l[n]=r}}else{l=Object.defineProperties({},Object.getOwnPropertyDescriptors(l));for(const[e,t]of u)l[e]=t}d=i.index,p=i.keys,u=i.edits,s=i.inArray,i=i.prev}else if(o){if(a=s?d:p[d],l=o[a],null==l)continue;c.push(a)}let g;if(!Array.isArray(l)){var h,m;hn(l)||dr(!1,`Invalid AST Node: ${ur(l)}.`);const r=e?null===(h=n.get(l.kind))||void 0===h?void 0:h.leave:null===(m=n.get(l.kind))||void 0===m?void 0:m.enter;if(g=null==r?void 0:r.call(t,l,a,o,c,f),g===gn)break;if(!1===g){if(!e){c.pop();continue}}else if(void 0!==g&&(u.push([a,g]),!e)){if(!hn(g)){c.pop();continue}l=g}}var v;void 0===g&&y&&u.push([a,l]),e?c.pop():(i={inArray:s,index:d,keys:p,edits:u,prev:i},s=Array.isArray(l),p=s?l:null!==(v=r[l.kind])&&void 0!==v?v:[],d=-1,u=[],o&&f.push(o),o=l)}while(void 0!==i);return 0!==u.length?u[u.length-1][1]:e}function _n(e,t){const r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}function wn(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];return e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,n=e.name.value;__DEV__?Yt(r&&1===r.length,"Incorrect number of arguments for the @".concat(n," directive.")):Yt(r&&1===r.length,41);var i=r[0];__DEV__?Yt(i.name&&"if"===i.name.value,"Invalid argument for the @".concat(n," directive.")):Yt(i.name&&"if"===i.name.value,42);var a=i.value;__DEV__?Yt(a&&("Variable"===a.kind||"BooleanValue"===a.kind),"Argument for the @".concat(n," directive must be a variable or a boolean value.")):Yt(a&&("Variable"===a.kind||"BooleanValue"===a.kind),43),t.push({directive:e,ifArgument:i})}})),t}(r).every((function(e){var r=e.directive,n=e.ifArgument,i=!1;return"Variable"===n.value.kind?(i=t&&t[n.value.name.value],__DEV__?Yt(void 0!==i,"Invalid variable referenced in @".concat(r.name.value," directive.")):Yt(void 0!==i,40)):i=n.value.value,"skip"===r.name.value?!i:i}))}function Sn(e,t,r){var n=new Set(e),i=n.size;return bn(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return gn}}),r?!n.size:n.size<i}function On(e){return e&&Sn(["client","export"],e,!0)}var En=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=__DEV__?new Jt("Network request failed. ".concat(t," is not serializable: ").concat(e.message)):new Jt(24);throw n.parseError=e,n}return r},Nn="function"==typeof WeakMap&&"ReactNative"!==tr((function(){return navigator.product})),xn="function"==typeof WeakSet,Tn="function"==typeof Symbol&&"function"==typeof Symbol.for,Pn=Tn&&Symbol.asyncIterator;function In(e){var t={next:function(){return e.read()}};return Pn&&(t[Symbol.asyncIterator]=function(){return this}),t}function Dn(e){var t,r,n,i,a=e;if(e.body&&(a=e.body),i=a,Pn&&i[Symbol.asyncIterator])return function(e){var t,r=e[Symbol.asyncIterator]();return(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t}(a);if(function(e){return!!e.getReader}(a))return In(a.getReader());if(function(e){return!!e.stream}(a))return In(a.stream().getReader());if(function(e){return!!e.arrayBuffer}(a))return t=a.arrayBuffer(),r=!1,n={next:function(){return r?Promise.resolve({value:void 0,done:!0}):(r=!0,new Promise((function(e,r){t.then((function(t){e({value:t,done:!1})})).catch(r)})))}},Pn&&(n[Symbol.asyncIterator]=function(){return this}),n;if(function(e){return!!e.pipe}(a))return function(e){var t=null,r=null,n=!1,i=[],a=[];function o(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,a.slice().forEach((function(t){t[1](e)})),!t||t()}function p(){n=!0,a.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",s),e.removeListener("end",p),e.removeListener("finish",p),e.removeListener("close",p)},e.on("data",o),e.on("error",s),e.on("end",p),e.on("finish",p),e.on("close",p);var d={next:function(){return new Promise((function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void a.push([e,t])}))}};return Pn&&(d[Symbol.asyncIterator]=function(){return this}),d}(a);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}tr((function(){return window.document.createElement})),tr((function(){return navigator.userAgent.indexOf("jsdom")>=0}));var kn=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},An=Object.prototype.hasOwnProperty;function jn(e){var t={};return e.split("\n").forEach((function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}})),t}function Cn(e,t){e.status>=300&&kn(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function Rn(e,t){var r,n;"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&(null===(r=t.next)||void 0===r||r.call(t,e.result)),null===(n=t.error)||void 0===n||n.call(t,e))}function $n(e){return 9===e||32===e}function Mn(e){return e>=48&&e<=57}function Fn(e){return e>=97&&e<=122||e>=65&&e<=90}function Vn(e){return Fn(e)||95===e}function Ln(e){var t;let r=Number.MAX_SAFE_INTEGER,n=null,i=-1;for(let t=0;t<e.length;++t){var a;const o=e[t],s=qn(o);s!==o.length&&(n=null!==(a=n)&&void 0!==a?a:t,i=t,0!==t&&s<r&&(r=s))}return e.map(((e,t)=>0===t?e:e.slice(r))).slice(null!==(t=n)&&void 0!==t?t:0,i+1)}function qn(e){let t=0;for(;t<e.length&&$n(e.charCodeAt(t));)++t;return t}const Bn=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Un(e){return zn[e.charCodeAt(0)]}const zn=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];function Qn(e){return bn(e,Wn)}const Wn={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Hn(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=Gn("(",Hn(e.variableDefinitions,", "),")"),r=Hn([e.operation,Hn([e.name,t]),Hn(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+Gn(" = ",r)+Gn(" ",Hn(n," "))},SelectionSet:{leave:({selections:e})=>Kn(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){const a=Gn("",e,": ")+t;let o=a+Gn("(",Hn(r,", "),")");return o.length>80&&(o=a+Gn("(\n",Jn(Hn(r,"\n")),"\n)")),Hn([o,Hn(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Gn(" ",Hn(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>Hn(["...",Gn("on ",e),Hn(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${Gn("(",Hn(r,", "),")")} on ${t} ${Gn("",Hn(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?function(e,t){const r=e.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),i=1===n.length,a=n.length>1&&n.slice(1).every((e=>0===e.length||$n(e.charCodeAt(0)))),o=r.endsWith('\\"""'),s=e.endsWith('"')&&!o,p=e.endsWith("\\"),d=s||p,u=!i||e.length>70||d||a||o;let l="";const c=i&&$n(e.charCodeAt(0));return(u&&!c||a)&&(l+="\n"),l+=r,(u||d)&&(l+="\n"),'"""'+l+'"""'}(e):`"${e.replace(Bn,Un)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Hn(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Hn(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Gn("(",Hn(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>Gn("",e,"\n")+Hn(["schema",Hn(t," "),Kn(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>Gn("",e,"\n")+Hn(["scalar",t,Hn(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>Gn("",e,"\n")+Hn(["type",t,Gn("implements ",Hn(r," & ")),Hn(n," "),Kn(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>Gn("",e,"\n")+t+(Yn(r)?Gn("(\n",Jn(Hn(r,"\n")),"\n)"):Gn("(",Hn(r,", "),")"))+": "+n+Gn(" ",Hn(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>Gn("",e,"\n")+Hn([t+": "+r,Gn("= ",n),Hn(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>Gn("",e,"\n")+Hn(["interface",t,Gn("implements ",Hn(r," & ")),Hn(n," "),Kn(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>Gn("",e,"\n")+Hn(["union",t,Hn(r," "),Gn("= ",Hn(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>Gn("",e,"\n")+Hn(["enum",t,Hn(r," "),Kn(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>Gn("",e,"\n")+Hn([t,Hn(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>Gn("",e,"\n")+Hn(["input",t,Hn(r," "),Kn(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>Gn("",e,"\n")+"directive @"+t+(Yn(r)?Gn("(\n",Jn(Hn(r,"\n")),"\n)"):Gn("(",Hn(r,", "),")"))+(n?" repeatable":"")+" on "+Hn(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Hn(["extend schema",Hn(e," "),Kn(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Hn(["extend scalar",e,Hn(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>Hn(["extend type",e,Gn("implements ",Hn(t," & ")),Hn(r," "),Kn(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>Hn(["extend interface",e,Gn("implements ",Hn(t," & ")),Hn(r," "),Kn(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>Hn(["extend union",e,Hn(t," "),Gn("= ",Hn(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>Hn(["extend enum",e,Hn(t," "),Kn(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>Hn(["extend input",e,Hn(t," "),Kn(r)]," ")}};function Hn(e,t=""){var r;return null!==(r=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==r?r:""}function Kn(e){return Gn("{\n",Jn(Hn(e,"\n")),"\n}")}function Gn(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function Jn(e){return Gn(" ",e.replace(/\n/g,"\n "))}function Yn(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var Zn={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Xn=function(e,t){return t(e)};function ei(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},a={};r.forEach((function(e){i=Bt(Bt(Bt({},i),e.options),{headers:Bt(Bt({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),a=Bt(Bt({},a),e.http)})),i.headers&&(i.headers=ti(i.headers,a.preserveHeaderCase));var o=e.operationName,s=e.extensions,p=e.variables,d=e.query,u={operationName:o,variables:p};return a.includeExtensions&&(u.extensions=s),a.includeQuery&&(u.query=t(d,Qn)),{options:i,body:u}}function ti(e,t){if(!t){var r=Object.create(null);return Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]=e[t]})),r}var n=Object.create(null);Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}}));var i=Object.create(null);return Object.keys(n).forEach((function(e){i[n[e].originalName]=n[e].value})),i}function ri(e){return new jr((function(t){t.error(e)}))}var ni=tr((function(){return fetch})),ii=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,a=void 0===i?Xn:i,o=e.includeExtensions,s=e.preserveHeaderCase,p=e.useGETForQueries,d=e.includeUnusedVariables,u=void 0!==d&&d,l=Ut(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw __DEV__?new Jt("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new Jt(23)}(n||ni);var c={http:{includeExtensions:o,preserveHeaderCase:s},options:l.fetchOptions,credentials:l.credentials,headers:l.headers};return new pn((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,r),i=e.getContext(),o={};if(i.clientAwareness){var s=i.clientAwareness,d=s.name,l=s.version;d&&(o["apollographql-client-name"]=d),l&&(o["apollographql-client-version"]=l)}var f,h=Bt(Bt({},o),i.headers),m={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:h},v=ei(e,a,Zn,c,m),y=v.options,g=v.body;if(g.variables&&!u){var b=new Set(Object.keys(g.variables));bn(e.query,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&b.delete(e.name.value)}}),b.size&&(g.variables=Bt({},g.variables),b.forEach((function(e){delete g.variables[e]})))}if(!y.signal){var _=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),w=_.controller,S=_.signal;(f=w)&&(y.signal=S)}if(p&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(y.method="GET"),Sn(["defer"],e.query)&&(y.headers=y.headers||{},y.headers.accept="multipart/mixed; deferSpec=20220824, application/json"),"GET"===y.method){var O=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=En(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var a=void 0;try{a=En(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",a)}var o="",s=e,p=e.indexOf("#");-1!==p&&(o=e.substr(p),s=e.substr(0,p));var d=-1===s.indexOf("?")?"?":"&";return{newURI:s+d+r.join("&")+o}}(t,g),E=O.newURI,N=O.parseError;if(N)return ri(N);t=E}else try{y.body=En(g,"Payload")}catch(N){return ri(N)}return new jr((function(r){return(n||tr((function(){return fetch}))||ni)(t,y).then((function(t){var n;e.setContext({response:t});var i=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?function(e,t){var r,n,i;return zt(this,void 0,void 0,(function(){var a,o,s,p,d,u,l,c,f,h,m,v,y,g,b,_,w,S,O,E;return Qt(this,(function(N){switch(N.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");a=new TextDecoder("utf-8"),o=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),s="boundary=",p=(null==o?void 0:o.includes(s))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(s))+s.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",d="--".concat(p),u="",l=Dn(e),c=!0,N.label=1;case 1:return c?[4,l.next()]:[3,3];case 2:for(f=N.sent(),h=f.value,m=f.done,v="string"==typeof h?h:a.decode(h),c=!m,y=(u+=v).indexOf(d);y>-1;){if(g=void 0,E=[u.slice(0,y),u.slice(y+d.length)],u=E[1],(g=E[0]).trim()){if(b=g.indexOf("\r\n\r\n"),_=jn(g.slice(0,b)),(w=_["content-type"])&&-1===w.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");S=g.slice(b);try{O=Cn(e,S.replace("\r\n","")),(Object.keys(O).length>1||"data"in O||"incremental"in O||"errors"in O)&&(null===(n=t.next)||void 0===n||n.call(t,O))}catch(e){Rn(e,t)}}y=u.indexOf(d)}return[3,1];case 3:return null===(i=t.complete)||void 0===i||i.call(t),[2]}}))}))}(t,r):function(e,t,r){var n;(n=t,function(e){return e.text().then((function(t){return Cn(e,t)})).then((function(t){return e.status>=300&&kn(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||An.call(t,"data")||An.call(t,"errors")||kn(e,t,"Server response was missing for query '".concat(Array.isArray(n)?n.map((function(e){return e.operationName})):n.operationName,"'.")),t}))})(e).then((function(e){var t,n;null===(t=r.next)||void 0===t||t.call(r,e),null===(n=r.complete)||void 0===n||n.call(r)})).catch((function(e){return Rn(e,r)}))}(t,e,r)})).catch((function(e){return Rn(e,r)})),function(){f&&f.abort()}}))}))},ai=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,ii(t).request)||this;return r.options=t,r}return qt(t,e),t}(pn),oi=Object.prototype,si=oi.toString,pi=oi.hasOwnProperty,di=Function.prototype.toString,ui=new Map;function li(e,t){try{return ci(e,t)}finally{ui.clear()}}function ci(e,t){if(e===t)return!0;var r,n,i,a=si.call(e);if(a!==si.call(t))return!1;switch(a){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(vi(e,t))return!0;var o=fi(e),s=fi(t),p=o.length;if(p!==s.length)return!1;for(var d=0;d<p;++d)if(!pi.call(t,o[d]))return!1;for(d=0;d<p;++d){var u=o[d];if(!ci(e[u],t[u]))return!1}return!0;case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e=="".concat(t);case"[object Map]":case"[object Set]":if(e.size!==t.size)return!1;if(vi(e,t))return!0;for(var l=e.entries(),c="[object Map]"===a;;){var f=l.next();if(f.done)break;var h=f.value,m=h[0],v=h[1];if(!t.has(m))return!1;if(c&&!ci(v,t.get(m)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":var y=e.byteLength;if(y===t.byteLength)for(;y--&&e[y]===t[y];);return-1===y;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var g=di.call(e);return g===di.call(t)&&(n=mi,!((i=(r=g).length-n.length)>=0&&r.indexOf(n,i)===i))}return!1}function fi(e){return Object.keys(e).filter(hi,e)}function hi(e){return void 0!==this[e]}var mi="{ [native code] }";function vi(e,t){var r=ui.get(e);if(r){if(r.has(t))return!0}else ui.set(e,r=new Set);return r.add(t),!1}function yi(e){return Array.isArray(e)&&e.length>0}var gi=Object.prototype.hasOwnProperty;function bi(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return _i(e)}function _i(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new Si,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var wi=function(e,t,r){return this.merge(e[r],t[r])},Si=function(){function e(e){void 0===e&&(e=wi),this.reconciler=e,this.isObject=Cr,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return Cr(t)&&Cr(e)?(Object.keys(t).forEach((function(i){if(gi.call(e,i)){var a=e[i];if(t[i]!==a){var o=r.reconciler.apply(r,Wt([e,t,i],n,!1));o!==a&&((e=r.shallowCopyForMerge(e))[i]=o)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return Cr(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):Bt({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function Oi(e){return"incremental"in e}function Ei(e,t){var r=e,n=new Si;return Oi(t)&&yi(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,a=i.length-1;a>=0;--a){var o=i[a],s=isNaN(+o)?{}:[];s[o]=t,t=s}r=n.merge(r,t)})),r}var Ni=function(){return Object.create(null)},xi=Array.prototype,Ti=xi.forEach,Pi=xi.slice,Ii=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=Ni),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return Ti.call(e,(function(e){return t=t.getChildTrie(e)})),t.data||(t.data=this.makeData(Pi.call(e)))},e.prototype.getChildTrie=function(t){var r=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=r.get(t);return n||r.set(t,n=new e(this.weakness,this.makeData)),n},e}();function Di(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];void 0!==n&&(r[t]=n)}))})),r}var ki=Object.prototype.hasOwnProperty;function Ai(e){return null==e}var ji=Array.isArray;function Ci(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=Ai(n)?Ai(i)?void 0:{_id:i}:{id:n}),Ai(n)&&!Ai(i)&&(n=i),!Ai(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var Ri={dataIdFromObject:Ci,addTypename:!0,resultCaching:!0,canonizeResults:!1};function $i(e){var t=e.canonizeResults;return void 0===t?Ri.canonizeResults:t}var Mi=/^[_a-z][_0-9a-z]*/i;function Fi(e){var t=e.match(Mi);return t?t[0]:e}function Vi(e,t,r){return!!Cr(t)&&(ji(t)?t.every((function(t){return Vi(e,t,r)})):e.selections.every((function(e){if(Kr(e)&&wn(e,r)){var n=Wr(e);return ki.call(t,n)&&(!e.selectionSet||Vi(e.selectionSet,t[n],r))}return!0})))}function Li(e){return Cr(e)&&!Vr(e)&&!ji(e)}function qi(e,t){var r=$r(Xr(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var Bi,Ui,zi=function(){function e(){this.known=new(xn?WeakSet:Set),this.pool=new Ii(Nn),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return Cr(e)&&this.known.has(e)},e.prototype.pass=function(e){if(Cr(e)){var t=function(e){return Cr(e)?ji(e)?e.slice(0):Bt({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(Cr(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(s=this.pool.lookupArray(n)).array||(this.known.add(s.array=n),__DEV__&&Object.freeze(n)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),a=[i],o=this.sortedKeys(e);a.push(o.json);var s,p=a.length;if(o.sorted.forEach((function(r){a.push(t.admit(e[r]))})),!(s=this.pool.lookupArray(a)).object){var d=s.object=Object.create(i);this.known.add(d),o.sorted.forEach((function(e,t){d[e]=a[p+t]})),__DEV__&&Object.freeze(d)}return s.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),Qi=Object.assign((function(e){if(Cr(e)){void 0===Bi&&Wi();var t=Bi.admit(e),r=Ui.get(t);return void 0===r&&Ui.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:Wi});function Wi(){Bi=new zi,Ui=new(Nn?WeakMap:Map)}function Hi(e,t,r){return new jr((function(n){var i=n.next,a=n.error,o=n.complete,s=0,p=!1,d={then:function(e){return new Promise((function(t){return t(e())}))}};function u(e,t){return e?function(t){++s;var r=function(){return e(t)};d=d.then(r,r).then((function(e){--s,i&&i.call(n,e),p&&l.complete()}),(function(e){throw--s,e})).catch((function(e){a&&a.call(n,e)}))}:function(e){return t&&t.call(n,e)}}var l={next:u(t,i),error:u(r,a),complete:function(){p=!0,s||o&&o.call(n)}},c=e.subscribe(l);return function(){return c.unsubscribe()}}))}function Ki(e){return yi(Gi(e))}function Gi(e){var t=yi(e.errors)?e.errors.slice(0):[];return Oi(e)&&yi(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}function Ji(e,t,r){var n=0;return e.forEach((function(r,i){t.call(this,r,i,e)&&(e[n++]=r)}),r),e.length=n,e}var Yi={kind:"Field",name:{kind:"Name",value:"__typename"}};function Zi(e,t){return!e||e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&Zi(t[e.name.value],t)}))}function Xi(e){return Zi(Yr(e)||function(e){__DEV__?Yt("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):Yt("Document"===e.kind,51),__DEV__?Yt(e.definitions.length<=1,"Fragment must have exactly one definition."):Yt(e.definitions.length<=1,52);var t=e.definitions[0];return __DEV__?Yt("FragmentDefinition"===t.kind,"Must be a fragment definition."):Yt("FragmentDefinition"===t.kind,53),t}(e),$r(Xr(e)))?null:e}function ea(e){return function(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function ta(e,t){var r=Object.create(null),n=[],i=Object.create(null),a=[],o=Xi(bn(t,{Variable:{enter:function(e,t,n){"VariableDefinition"!==n.kind&&(r[e.name.value]=!0)}},Field:{enter:function(t){if(e&&t.directives&&e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(ea(e)))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&n.push({name:e.value.name.value})})),t.selectionSet&&ia(t.selectionSet).forEach((function(e){a.push({name:e.name.value})})),null}},FragmentSpread:{enter:function(e){i[e.name.value]=!0}},Directive:{enter:function(t){if(ea(e)(t))return null}}}));return o&&Ji(n,(function(e){return!!e.name&&!r[e.name]})).length&&(o=function(e,t){var r=function(e){return function(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return Xi(bn(t,{OperationDefinition:{enter:function(t){return Bt(Bt({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){if(e.some((function(e){return e.remove}))){var n=0;if(t.arguments&&t.arguments.forEach((function(e){r(e)&&(n+=1)})),1===n)return null}}},Argument:{enter:function(e){if(r(e))return null}}}))}(n,o)),o&&Ji(a,(function(e){return!!e.name&&!i[e.name]})).length&&(o=function(e,t){function r(t){if(e.some((function(e){return e.name===t.name.value})))return null}return Xi(bn(t,{FragmentSpread:{enter:r},FragmentDefinition:{enter:r}}))}(a,o)),o}var ra=Object.assign((function(e){return bn(e,{SelectionSet:{enter:function(e,t,r){if(!r||"OperationDefinition"!==r.kind){var n=e.selections;if(n&&!n.some((function(e){return Kr(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=r;if(!(Kr(i)&&i.directives&&i.directives.some((function(e){return"export"===e.name.value}))))return Bt(Bt({},e),{selections:Wt(Wt([],n,!0),[Yi],!1)})}}}}})}),{added:function(e){return e===Yi}}),na={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&Yt.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function ia(e){var t=[];return e.selections.forEach((function(e){(Kr(e)||Gr(e))&&e.selectionSet?ia(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function aa(e){return"query"===tn(e).operation?e:bn(e,{OperationDefinition:{enter:function(e){return Bt(Bt({},e),{operation:"query"})}}})}var oa=new Map;function sa(e){var t=oa.get(e)||1;return oa.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function pa(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function da(e){function t(t){Object.defineProperty(e,t,{value:jr})}return Tn&&Symbol.species&&t(Symbol.species),t("@@species"),e}function ua(e){return e&&"function"==typeof e.then}var la=function(e){function t(t){var r=e.call(this,(function(e){return r.addObserver(e),function(){return r.removeObserver(e)}}))||this;return r.observers=new Set,r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),pa(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),pa(r.observers,"error",e))},complete:function(){var e=r.sub;if(null!==e){var t=r.sources.shift();t?ua(t)?t.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=t.subscribe(r.handlers):(e&&setTimeout((function(){return e.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),pa(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch((function(e){})),"function"==typeof t&&(t=[new jr(t)]),ua(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return qt(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach((function(r){return r(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(r,n){t||(t=!0,e(r,n))}))},t}(jr);da(la);var ca,fa=function(e){function t(r){var n,i,a=r.graphQLErrors,o=r.clientErrors,s=r.networkError,p=r.errorMessage,d=r.extraInfo,u=e.call(this,p)||this;return u.name="ApolloError",u.graphQLErrors=a||[],u.clientErrors=o||[],u.networkError=s||null,u.message=p||(i="",(yi((n=u).graphQLErrors)||yi(n.clientErrors))&&(n.graphQLErrors||[]).concat(n.clientErrors||[]).forEach((function(e){var t=e?e.message:"Error message not found.";i+="".concat(t,"\n")})),n.networkError&&(i+="".concat(n.networkError.message,"\n")),i=i.replace(/\n$/,"")),u.extraInfo=d,u.__proto__=t.prototype,u}return qt(t,e),t}(Error);function ha(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(ca||(ca={}));var ma=Object.prototype.toString;function va(e){return ya(e)}function ya(e,t){switch(ma.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=ya(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach((function(r){n[r]=ya(e[r],t)})),n;default:return e}}var ga=Object.assign,ba=Object.hasOwnProperty,_a=function(e){function t(t){var r=t.queryManager,n=t.queryInfo,i=t.options,a=e.call(this,(function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=Sa)}catch(e){}var r=!a.observers.size;a.observers.add(e);var n=a.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(n.result),r&&a.reobserve().catch((function(){})),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}}))||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=n,a.queryManager=r,a.isTornDown=!1;var o=r.defaultOptions.watchQuery,s=(void 0===o?{}:o).fetchPolicy,p=void 0===s?"cache-first":s,d=i.fetchPolicy,u=void 0===d?p:d,l=i.initialFetchPolicy,c=void 0===l?"standby"===u?p:u:l;a.options=Bt(Bt({},i),{initialFetchPolicy:c,fetchPolicy:u}),a.queryId=n.queryId||r.generateQueryId();var f=Yr(a.query);return a.queryName=f&&f.name&&f.name.value,a}return qt(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||ca.ready,n=Bt(Bt({},t),{loading:ha(r),networkStatus:r}),i=this.options.fetchPolicy,a=void 0===i?"cache-first":i;if("network-only"===a||"no-cache"===a||"standby"===a||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var o=this.queryInfo.getDiff();(o.complete||this.options.returnPartialData)&&(n.data=o.result),li(n.data,{})&&(n.data=void 0),o.complete?(delete n.partial,!o.complete||n.networkStatus!==ca.loading||"cache-first"!==a&&"cache-only"!==a||(n.networkStatus=ca.ready,n.loading=!1)):n.partial=!0,!__DEV__||o.complete||this.options.partialRefetch||n.loading||n.data||n.error||Oa(o.missing)}return e&&this.updateLastResult(n),n},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||!li(this.last.result,e)||t&&!li(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||li(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},n=this.options.fetchPolicy;if(r.fetchPolicy="cache-and-network"===n?n:"no-cache"===n?"no-cache":"network-only",__DEV__&&e&&ba.call(e,"variables")){var i=en(this.query),a=i.variableDefinitions;a&&a.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&Yt.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=i.name)||void 0===t?void 0:t.value)||JSON.stringify(i),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!li(this.options.variables,e)&&(r.variables=this.options.variables=Bt(Bt({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,ca.refetch)},t.prototype.fetchMore=function(e){var t=this,r=Bt(Bt({},e.query?e:Bt(Bt(Bt(Bt({},this.options),{query:this.query}),e),{variables:Bt(Bt({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),n=this.queryManager.generateQueryId(),i=this.queryInfo,a=i.networkStatus;i.networkStatus=ca.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var o=new Set;return this.queryManager.fetchQuery(n,r,ca.fetchMore).then((function(s){return t.queryManager.removeQuery(n),i.networkStatus===ca.fetchMore&&(i.networkStatus=a),t.queryManager.cache.batch({update:function(n){var i=e.updateQuery;i?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return i(e,{fetchMoreResult:s.data,variables:r.variables})})):n.writeQuery({query:r.query,variables:r.variables,data:s.data})},onWatchUpdated:function(e){o.add(e.query)}}),s})).finally((function(){o.has(t.query)||wa(t)}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var i=t.variables;return n(e,{subscriptionData:r,variables:i})}))},error:function(t){e.onError?e.onError(t):__DEV__&&Yt.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return li(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},ca.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,a=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:a}):t.fetchPolicy="variables-changed"===e?a:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r){if(!t||t.interval!==r){__DEV__?Yt(r,"Attempted to start a polling query without a polling interval."):Yt(r,13),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&(ha(e.queryInfo.networkStatus)?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},ca.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};i()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=Bt(Bt({},this.last),{result:this.queryManager.assumeImmutableResults?e:va(e),variables:t}),yi(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var r=this;this.isTornDown=!1;var n=t===ca.refetch||t===ca.fetchMore||t===ca.poll,i=this.options.variables,a=this.options.fetchPolicy,o=Di(this.options,e||{}),s=n?o:ga(this.options,o);n||(this.updatePolling(),e&&e.variables&&!li(e.variables,i)&&"standby"!==s.fetchPolicy&&s.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=ca.setVariables)));var p=s.variables&&Bt({},s.variables),d=this.fetch(s,t),u={next:function(e){r.reportResult(e,p)},error:function(e){r.reportError(e,p)}};return n||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=u),d.addObserver(u),d.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError();(r||this.isDifferentFromLastResult(e,t))&&((r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),pa(this.observers,"next",e))},t.prototype.reportError=function(e,t){var r=Bt(Bt({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:ca.error,loading:!1});this.updateLastResult(r,t),pa(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(jr);function wa(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=n,"function"==typeof n?n.apply(this,arguments):r}}):e.reobserve()}function Sa(e){__DEV__&&Yt.error("Unhandled error",e.message,e.stack)}function Oa(e){__DEV__&&e&&__DEV__&&Yt.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}function Ea(e){return e.kind===vn.FIELD||e.kind===vn.FRAGMENT_SPREAD||e.kind===vn.INLINE_FRAGMENT}da(_a);var Na=null,xa={},Ta=1;function Pa(e){try{return e()}catch(e){}}var Ia="@wry/context:Slot",Da=Pa((function(){return globalThis}))||Pa((function(){return global}))||Object.create(null),ka=Da[Ia]||Array[Ia]||function(e){try{Object.defineProperty(Da,Ia,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(function(){function e(){this.id=["slot",Ta++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return e.prototype.hasValue=function(){for(var e=Na;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===xa)break;return e!==Na&&(Na.slots[this.id]=t),!0}return Na&&(Na.slots[this.id]=xa),!1},e.prototype.getValue=function(){if(this.hasValue())return Na.slots[this.id]},e.prototype.withValue=function(e,t,r,n){var i,a=((i={__proto__:null})[this.id]=e,i),o=Na;Na={parent:o,slots:a};try{return t.apply(n,r)}finally{Na=o}},e.bind=function(e){var t=Na;return function(){var r=Na;try{return Na=t,e.apply(this,arguments)}finally{Na=r}}},e.noContext=function(e,t,r){if(!Na)return e.apply(r,t);var n=Na;try{return Na=null,e.apply(r,t)}finally{Na=n}},e}());function Aa(){}ka.bind,ka.noContext;var ja,Ca=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=Aa),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),Ra=new ka,$a=Object.prototype.hasOwnProperty,Ma=void 0===(ja=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:ja;function Fa(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var Va=[];function La(e,t){if(!e)throw new Error(t||"assertion failure")}function qa(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var Ba=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!Qa(this))return Ua(this),this.value[0]},e.prototype.recompute=function(e){return La(!this.recomputing,"already recomputing"),Ua(this),Qa(this)?function(e,t){return Za(e),Ra.withValue(e,za,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{Fa(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){e.dirty=!1,Qa(e)||Ha(e)}(e),qa(e.value)}(this,e):qa(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,Wa(this),Fa(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),Za(this),Ka(this,(function(t,r){t.setDirty(),Xa(t,e)}))},e.prototype.forget=function(){this.dispose()},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=Va.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(Ma(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),Va.push(this.deps),this.deps=null)},e.count=0,e}();function Ua(e){var t=Ra.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),Qa(e)?Ga(t,e):Ja(t,e),t}function za(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function Qa(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function Wa(e){Ka(e,Ga)}function Ha(e){Ka(e,Ja)}function Ka(e,t){var r=e.parents.size;if(r)for(var n=Ma(e.parents),i=0;i<r;++i)t(n[i],e)}function Ga(e,t){La(e.childValues.has(t)),La(Qa(t));var r=!Qa(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=Va.pop()||new Set;e.dirtyChildren.add(t),r&&Wa(e)}function Ja(e,t){La(e.childValues.has(t)),La(!Qa(t));var r,n,i,a=e.childValues.get(t);0===a.length?e.childValues.set(t,t.value.slice(0)):(r=a,n=t.value,(i=r.length)>0&&i===n.length&&r[i-1]===n[i-1]||e.setDirty()),Ya(e,t),Qa(e)||Ha(e)}function Ya(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(Va.length<100&&Va.push(r),e.dirtyChildren=null))}function Za(e){e.childValues.size>0&&e.childValues.forEach((function(t,r){Xa(e,r)})),e.forgetDeps(),La(null===e.dirtyChildren)}function Xa(e,t){t.parents.delete(e),e.childValues.delete(t),Ya(e,t)}var eo={setDirty:!0,dispose:!0,forget:!0};function to(e){var t=new Map,r=e&&e.subscribe;function n(e){var n=Ra.getValue();if(n){var i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(Fa(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){var n=t.get(e);if(n){var i=r&&$a.call(eo,r)?r:"setDirty";Ma(n).forEach((function(e){return e[i]()})),t.delete(e),Fa(n)}},n}function ro(){var e=new Ii("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}ro();var no=new Set;function io(e,t){void 0===t&&(t=Object.create(null));var r=new Ca(t.max||Math.pow(2,16),(function(e){return e.dispose()})),n=t.keyArgs,i=t.makeCacheKey||ro(),a=function(){var a=i.apply(null,n?n.apply(null,arguments):arguments);if(void 0===a)return e.apply(null,arguments);var o=r.get(a);o||(r.set(a,o=new Ba(e)),o.subscribe=t.subscribe,o.forget=function(){return r.delete(a)});var s=o.recompute(Array.prototype.slice.call(arguments));return r.set(a,o),no.add(r),Ra.hasValue()||(no.forEach((function(e){return e.clean()})),no.clear()),s};function o(e){var t=r.get(e);t&&t.setDirty()}function s(e){var t=r.get(e);if(t)return t.peek()}function p(e){return r.delete(e)}return Object.defineProperty(a,"size",{get:function(){return r.map.size},configurable:!1,enumerable:!1}),a.dirtyKey=o,a.dirty=function(){o(i.apply(null,arguments))},a.peekKey=s,a.peek=function(){return s(i.apply(null,arguments))},a.forgetKey=p,a.forget=function(){return p(i.apply(null,arguments))},a.makeCacheKey=i,a.getKey=n?function(){return i.apply(null,n.apply(null,arguments))}:i,Object.freeze(a)}var ao=new ka,oo=new WeakMap;function so(e){var t=oo.get(e);return t||oo.set(e,t={vars:new Set,dep:to()}),t}function po(e){so(e).vars.forEach((function(t){return t.forgetCache(e)}))}function uo(e){var t=new Set,r=new Set,n=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach((function(e){so(e).dep.dirty(n),lo(e)}));var o=Array.from(r);r.clear(),o.forEach((function(t){return t(e)}))}}else{var s=ao.getValue();s&&(i(s),so(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),so(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}function lo(e){e.broadcastWatches&&e.broadcastWatches()}var co=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=bi(t.resolvers,e)})):this.resolvers=bi(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,a=e.onlyRunForcedResolvers,o=void 0!==a&&a;return zt(this,void 0,void 0,(function(){return Qt(this,(function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,o).then((function(e){return Bt(Bt({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Sn(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return function(e){Jr(e);var t=ta([{test:function(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=bn(t,{FragmentDefinition:{enter:function(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return Kr(e)&&"__typename"===e.name.value})))return null}}})),t}(e)},e.prototype.prepareContext=function(e){var t=this.cache;return Bt(Bt({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),zt(this,void 0,void 0,(function(){return Qt(this,(function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return Bt(Bt({},t),e.exportedVariables)}))]:[2,Bt({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return bn(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return gn}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:aa(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,i,a){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===a&&(a=!1),zt(this,void 0,void 0,(function(){var o,s,p,d,u,l,c,f,h,m;return Qt(this,(function(v){return o=tn(e),s=Xr(e),p=$r(s),d=this.collectSelectionsToResolve(o,p),u=o.operation,l=u?u.charAt(0).toUpperCase()+u.slice(1):"Query",f=(c=this).cache,h=c.client,m={fragmentMap:p,context:Bt(Bt({},r),{cache:f,client:h}),variables:n,fragmentMatcher:i,defaultOperationType:l,exportedVariables:{},selectionsToResolve:d,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(o.selectionSet,!1,t,m).then((function(e){return{result:e,exportedVariables:m.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,n){return zt(this,void 0,void 0,(function(){var i,a,o,s,p,d=this;return Qt(this,(function(u){return i=n.fragmentMap,a=n.context,o=n.variables,s=[r],p=function(e){return zt(d,void 0,void 0,(function(){var p,d;return Qt(this,(function(u){return(t||n.selectionsToResolve.has(e))&&wn(e,o)?Kr(e)?[2,this.resolveField(e,t,r,n).then((function(t){var r;void 0!==t&&s.push(((r={})[Wr(e)]=t,r))}))]:(Gr(e)?p=e:(p=i[e.name.value],__DEV__?Yt(p,"No fragment named ".concat(e.name.value)):Yt(p,11)),p&&p.typeCondition&&(d=p.typeCondition.name.value,n.fragmentMatcher(r,d,a))?[2,this.resolveSelectionSet(p.selectionSet,t,r,n).then((function(e){s.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(p)).then((function(){return _i(s)}))]}))}))},e.prototype.resolveField=function(e,t,r,n){return zt(this,void 0,void 0,(function(){var i,a,o,s,p,d,u,l,c,f=this;return Qt(this,(function(h){return i=n.variables,a=e.name.value,o=Wr(e),s=a!==o,p=r[o]||r[a],d=Promise.resolve(p),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(u=r.__typename||n.defaultOperationType,(l=this.resolvers&&this.resolvers[u])&&(c=l[s?a:o])&&(d=Promise.resolve(ao.withValue(this.cache,c,[r,Qr(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,d.then((function(r){var i,a;if(void 0===r&&(r=p),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)}))})),!e.selectionSet)return r;if(null==r)return r;var o=null!==(a=null===(i=e.directives)||void 0===i?void 0:i.some((function(e){return"client"===e.name.value})))&&void 0!==a&&a;return Array.isArray(r)?f.resolveSubSelectedArray(e,t||o,r,n):e.selectionSet?f.resolveSelectionSet(e.selectionSet,t||o,r,n):void 0}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var a=new Set;n.set(i,a),bn(i,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach((function(e){r(e)&&Ea(e)&&a.add(e)}))},FragmentSpread:function(n,i,o,s,p){var d=t[n.name.value];__DEV__?Yt(d,"No fragment named ".concat(n.name.value)):Yt(d,12);var u=e(d);u.size>0&&(p.forEach((function(e){r(e)&&Ea(e)&&a.add(e)})),a.add(n),u.forEach((function(e){a.add(e)})))}})}return n.get(i)}(e)},e}(),fo=new(Nn?WeakMap:Map);function ho(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return fo.set(e,(fo.get(e)+1)%1e15),r.apply(this,arguments)})}function mo(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var vo=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;fo.has(r)||(fo.set(r,0),ho(r,"evict"),ho(r,"modify"),ho(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||ca.loading;return this.variables&&this.networkStatus!==ca.loading&&!li(this.variables,e.variables)&&(t=ca.setVariables),li(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){mo(this),this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&li(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(t);return this.updateLastDiff(n,t),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||li(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():wa(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;mo(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(ha(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=Bt(Bt({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&li(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===fo.get(this.cache)&&li(t,r.variables)&&li(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,a=new Si,o=yi(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&yi(e.incremental)){var s=Ei(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var p=this.getDiff();e.data=a.merge(p.result,e.data)}this.graphQLErrors=o,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(yo(e,r.errorPolicy)?this.cache.performTransaction((function(a){if(i.shouldWrite(e,r.variables))a.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:fo.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var o=i.getDiffOptions(r.variables),s=a.diff(o);i.stopped||i.updateWatch(r.variables),i.updateLastDiff(s,o),s.complete&&(e.data=s.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=ca.ready},e.prototype.markError=function(e){return this.networkStatus=ca.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function yo(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!Ki(e);return!n&&r&&e.data&&(n=!0),n}var go=Object.prototype.hasOwnProperty,bo=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.queryDeduplication,a=void 0!==i&&i,o=e.onBroadcast,s=e.ssrMode,p=void 0!==s&&s,d=e.clientAwareness,u=void 0===d?{}:d,l=e.localState,c=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(Nn?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=a,this.clientAwareness=u,this.localState=l||new co({cache:t}),this.ssrMode=p,this.assumeImmutableResults=!!c,(this.onBroadcast=o)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches(__DEV__?new Jt("QueryManager stopped while query was in flight"):new Jt(14))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,n=e.mutation,i=e.variables,a=e.optimisticResponse,o=e.updateQueries,s=e.refetchQueries,p=void 0===s?[]:s,d=e.awaitRefetchQueries,u=void 0!==d&&d,l=e.update,c=e.onQueryUpdated,f=e.fetchPolicy,h=void 0===f?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":f,m=e.errorPolicy,v=void 0===m?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":m,y=e.keepRootFields,g=e.context;return zt(this,void 0,void 0,(function(){var e,t,r,s,d,f;return Qt(this,(function(m){switch(m.label){case 0:return __DEV__?Yt(n,"mutation option is required. You must specify your GraphQL document in the mutation option."):Yt(n,15),__DEV__?Yt("network-only"===h||"no-cache"===h,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):Yt("network-only"===h||"no-cache"===h,16),e=this.generateMutationId(),t=this.transform(n),r=t.document,s=t.hasClientExports,n=this.cache.transformForLink(r),i=this.getVariables(n,i),s?[4,this.localState.addExportedVariables(n,i,g)]:[3,2];case 1:i=m.sent(),m.label=2;case 2:return d=this.mutationStore&&(this.mutationStore[e]={mutation:n,variables:i,loading:!0,error:null}),a&&this.markMutationOptimistic(a,{mutationId:e,document:n,variables:i,fetchPolicy:h,errorPolicy:v,context:g,updateQueries:o,update:l,keepRootFields:y}),this.broadcastQueries(),f=this,[2,new Promise((function(t,r){return Hi(f.getObservableFromLink(n,Bt(Bt({},g),{optimisticResponse:a}),i,!1),(function(t){if(Ki(t)&&"none"===v)throw new fa({graphQLErrors:Gi(t)});d&&(d.loading=!1,d.error=null);var r=Bt({},t);return"function"==typeof p&&(p=p(r)),"ignore"===v&&Ki(r)&&delete r.errors,f.markMutationResult({mutationId:e,result:r,document:n,variables:i,fetchPolicy:h,errorPolicy:v,context:g,update:l,updateQueries:o,awaitRefetchQueries:u,refetchQueries:p,removeOptimistic:a?e:void 0,onQueryUpdated:c,keepRootFields:y})})).subscribe({next:function(e){f.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){d&&(d.loading=!1,d.error=t),a&&f.cache.removeOptimistic(e),f.broadcastQueries(),r(t instanceof fa?t:new fa({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],a="no-cache"===e.fetchPolicy;if(!a&&yo(n,e.errorPolicy)){if(Oi(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),Oi(n)&&yi(n.incremental)){var o=t.diff({id:"ROOT_MUTATION",query:this.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;o.result&&(s=Ei(o.result,n)),void 0!==s&&(n.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var p=e.updateQueries;p&&this.queries.forEach((function(e,a){var o=e.observableQuery,s=o&&o.queryName;if(s&&go.call(p,s)){var d=p[s],u=r.queries.get(a),l=u.document,c=u.variables,f=t.diff({query:l,variables:c,returnPartialData:!0,optimistic:!1}),h=f.result;if(f.complete&&h){var m=d(h,{mutationResult:n,queryName:l&&Zr(l)||void 0,queryVariables:c});m&&i.push({result:m,dataId:"ROOT_QUERY",query:l,variables:c})}}}))}if(i.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var d=[];if(this.refetchQueries({updateCache:function(t){a||i.forEach((function(e){return t.write(e)}));var o,s=e.update,p=!(Oi(o=n)||function(e){return"hasNext"in e&&"data"in e}(o))||Oi(n)&&!n.hasNext;if(s){if(!a){var d=t.diff({id:"ROOT_MUTATION",query:r.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});d.complete&&("incremental"in(n=Bt(Bt({},n),{data:d.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}p&&s(t,n,{context:e.context,variables:e.variables})}a||e.keepRootFields||!p||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return d.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(d).then((function(){return n}))}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult(Bt(Bt({},t),{result:{data:n}}),e)}catch(e){__DEV__&&Yt.error(e)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),n=ta([na],Jr(r)),i=this.localState.clientQuery(r),a=n&&this.localState.serverQuery(n),o={document:r,hasClientExports:On(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:i,serverQuery:a,defaultVars:rn(Yr(r)),asQuery:Bt(Bt({},r),{definitions:r.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?Bt(Bt({},e),{operation:"query"}):e}))})},s=function(e){e&&!t.has(e)&&t.set(e,o)};s(e),s(r),s(i),s(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return Bt(Bt({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=Bt(Bt({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new vo(this),r=new _a({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:r.query,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?Yt(e.query,"query option is required. You must specify your GraphQL document in the query option."):Yt(e.query,17),__DEV__?Yt("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):Yt("Document"===e.query.kind,18),__DEV__?Yt(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):Yt(!e.returnPartialData,19),__DEV__?Yt(!e.pollInterval,"pollInterval option only supported on watchQuery."):Yt(!e.pollInterval,20),this.fetchQuery(t,e).finally((function(){return r.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new Jt("Store reset while query was in flight (not completed in link chain)"):new Jt(21)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=ca.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Set;return Array.isArray(e)&&e.forEach((function(e){var r;"string"==typeof e?n.set(e,!1):Cr(r=e)&&"Document"===r.kind&&Array.isArray(r.definitions)?n.set(t.transform(e).document,!1):Cr(e)&&e.query&&i.add(e)})),this.queries.forEach((function(t,i){var a=t.observableQuery,o=t.document;if(a){if("all"===e)return void r.set(i,a);var s=a.queryName;if("standby"===a.options.fetchPolicy||"active"===e&&!a.hasObservers())return;("active"===e||s&&n.has(s)||o&&n.has(o))&&(r.set(i,a),s&&n.set(s,!0),o&&n.set(o,!0))}})),i.size&&i.forEach((function(e){var n=sa("legacyOneTimeQuery"),i=t.getQuery(n).init({document:e.query,variables:e.variables}),a=new _a({queryManager:t,queryInfo:i,options:Bt(Bt({},e),{fetchPolicy:"network-only"})});Yt(a.queryId===n),i.setObservableQuery(a),r.set(n,a)})),__DEV__&&n.size&&n.forEach((function(e,t){e||__DEV__&&Yt.warn("Unknown query ".concat("string"==typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,i){var a=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==a&&"cache-only"!==a)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,a=e.variables,o=e.context,s=void 0===o?{}:o;r=this.transform(r).document,a=this.getVariables(r,a);var p=function(e){return t.getObservableFromLink(r,s,e).map((function(a){if("no-cache"!==n&&(yo(a,i)&&t.cache.write({query:r,result:a.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),Ki(a))throw new fa({graphQLErrors:a.errors});return a}))};if(this.transform(r).hasClientExports){var d=this.localState.addExportedVariables(r,a,s).then(p);return new jr((function(e){var t=null;return d.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return p(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n){var i,a,o=this;void 0===n&&(n=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var s=this.transform(e).serverQuery;if(s){var p=this.inFlightLinkObservables,d=this.link,u={query:s,variables:r,operationName:Zr(s)||void 0,context:this.prepareContext(Bt(Bt({},t),{forceFetch:!n}))};if(t=u.context,n){var l=p.get(s)||new Map;p.set(s,l);var c=Qi(r);if(!(a=l.get(c))){var f=new la([dn(d,u)]);l.set(c,a=f),f.beforeNext((function(){l.delete(c)&&l.size<1&&p.delete(s)}))}}else a=new la([dn(d,u)])}else a=new la([jr.of({data:{}})]),t=this.prepareContext(t);var h=this.transform(e).clientQuery;return h&&(a=Hi(a,(function(e){return o.localState.runResolvers({document:h,remoteResult:e,context:t,variables:r})}))),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(this.transform(e.document).document);return Hi(this.getObservableFromLink(i,r.context,r.variables),(function(a){var o=Gi(a),s=o.length>0;if(n>=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new fa({graphQLErrors:o}));e.markResult(a,i,r,t),e.markReady()}var p={data:a.data,loading:!1,networkStatus:ca.ready};return s&&"ignore"!==r.errorPolicy&&(p.errors=o,p.networkStatus=ca.error),p}),(function(t){var r=t.hasOwnProperty("graphQLErrors")?t:new fa({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchQueryObservable=function(e,t,r){var n=this;void 0===r&&(r=ca.loading);var i=this.transform(t.query).document,a=this.getVariables(i,t.variables),o=this.getQuery(e),s=this.defaultOptions.watchQuery,p=t.fetchPolicy,d=void 0===p?s&&s.fetchPolicy||"cache-first":p,u=t.errorPolicy,l=void 0===u?s&&s.errorPolicy||"none":u,c=t.returnPartialData,f=void 0!==c&&c,h=t.notifyOnNetworkStatusChange,m=void 0!==h&&h,v=t.context,y=void 0===v?{}:v,g=Object.assign({},t,{query:i,variables:a,fetchPolicy:d,errorPolicy:l,returnPartialData:f,notifyOnNetworkStatusChange:m,context:y}),b=function(e){g.variables=e;var i=n.fetchQueryByPolicy(o,g,r);return"standby"!==g.fetchPolicy&&i.length>0&&o.observableQuery&&o.observableQuery.applyNextFetchPolicy("after-fetch",t),i},_=function(){return n.fetchCancelFns.delete(e)};this.fetchCancelFns.set(e,(function(e){_(),setTimeout((function(){return w.cancel(e)}))}));var w=new la(this.transform(g.query).hasClientExports?this.localState.addExportedVariables(g.query,g.variables,g.context).then(b):b(g.variables));return w.promise.then(_,_),w},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,a=void 0!==i&&i,o=e.removeOptimistic,s=void 0===o?a?sa("refetchQueries"):void 0:o,p=e.onQueryUpdated,d=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){d.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var u=new Map;return r&&this.cache.batch({update:r,optimistic:a&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof vo&&e.watcher.observableQuery;if(n){if(p){d.delete(n.queryId);var i=p(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&u.set(n,i),i}null!==p&&d.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),d.size&&d.forEach((function(e,r){var n,i=e.oq,a=e.lastDiff,o=e.diff;if(p){if(!o){var s=i.queryInfo;s.reset(),o=s.getDiff()}n=p(i,o,a)}p&&!0!==n||(n=i.refetch()),!1!==n&&u.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),s&&this.cache.removeOptimistic(s),u},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,a=t.variables,o=t.fetchPolicy,s=t.refetchWritePolicy,p=t.errorPolicy,d=t.returnPartialData,u=t.context,l=t.notifyOnNetworkStatusChange,c=e.networkStatus;e.init({document:this.transform(i).document,variables:a,networkStatus:r});var f=function(){return e.getDiff(a)},h=function(t,r){void 0===r&&(r=e.networkStatus||ca.loading);var o=t.result;!__DEV__||d||li(o,{})||Oa(t.missing);var s=function(e){return jr.of(Bt({data:e,loading:ha(r),networkStatus:r},t.complete?null:{partial:!0}))};return o&&n.transform(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:o},context:u,variables:a,onlyRunForcedResolvers:!0}).then((function(e){return s(e.data||void 0)})):"none"===p&&r===ca.refetch&&Array.isArray(t.missing)?s(void 0):s(o)},m="no-cache"===o?0:r===ca.refetch&&"merge"!==s?1:2,v=function(){return n.getResultsFromLink(e,m,{variables:a,context:u,fetchPolicy:o,errorPolicy:p})},y=l&&"number"==typeof c&&c!==r&&ha(r);switch(o){default:case"cache-first":return(g=f()).complete?[h(g,e.markReady())]:d||y?[h(g),v()]:[v()];case"cache-and-network":var g;return(g=f()).complete||d||y?[h(g),v()]:[v()];case"cache-only":return[h(f(),e.markReady())];case"network-only":return y?[h(f()),v()]:[v()];case"no-cache":return y?[h(e.getDiff()),v()]:[v()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new vo(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Bt(Bt({},t),{clientAwareness:this.clientAwareness})},e}();function _o(e,t){return Di(e,t,t.variables&&{variables:Bt(Bt({},e&&e.variables),t.variables)})}var wo=!1,So=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.credentials,i=e.headers,a=e.cache,o=e.ssrMode,s=void 0!==o&&o,p=e.ssrForceFetchDelay,d=void 0===p?0:p,u=e.connectToDevTools,l=void 0===u?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:u,c=e.queryDeduplication,f=void 0===c||c,h=e.defaultOptions,m=e.assumeImmutableResults,v=void 0!==m&&m,y=e.resolvers,g=e.typeDefs,b=e.fragmentMatcher,_=e.name,w=e.version,S=e.link;if(S||(S=r?new ai({uri:r,credentials:n,headers:i}):pn.empty()),!a)throw __DEV__?new Jt("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new Jt(9);if(this.link=S,this.cache=a,this.disableNetworkFetches=s||d>0,this.queryDeduplication=f,this.defaultOptions=h||Object.create(null),this.typeDefs=g,d&&setTimeout((function(){return t.disableNetworkFetches=!1}),d),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),l&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!wo&&l&&__DEV__&&(wo=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var O=window.navigator,E=O&&O.userAgent,N=void 0;"string"==typeof E&&(E.indexOf("Chrome/")>-1?N="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":E.indexOf("Firefox/")>-1&&(N="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),N&&__DEV__&&Yt.log("Download the Apollo DevTools for a better development experience: "+N)}this.version="3.7.6",this.localState=new co({cache:a,client:this,resolvers:y,fragmentMatcher:b}),this.queryManager=new bo({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:f,ssrMode:s,clientAwareness:{name:_,version:w},localState:this.localState,assumeImmutableResults:v,onBroadcast:l?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=_o(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Bt(Bt({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=_o(this.defaultOptions.query,e)),__DEV__?Yt("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):Yt("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Bt(Bt({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=_o(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return dn(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((function(e,t){r.push(t),n.push(e)}));var i=Promise.all(n);return i.queries=r,i.results=n,i.catch((function(e){__DEV__&&Yt.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(e))})),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),Oo=function(){function e(){this.getFragmentDoc=io(Rr)}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(Bt(Bt({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(Bt(Bt({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=Ut(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,a=Ut(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),i=t(n);return null==i?n:(r.writeQuery(Bt(Bt({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),i=t(n);return null==i?n:(r.writeFragment(Bt(Bt({},e),{data:i})),i)}})},e}(),Eo=function(e){function t(r,n,i,a){var o,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=a,Array.isArray(s.path)){s.missing=s.message;for(var p=s.path.length-1;p>=0;--p)s.missing=((o={})[s.path[p]]=s.missing,o)}else s.missing=s.path;return s.__proto__=t.prototype,s}return qt(t,e),t}(Error);function No(e){return __DEV__&&(t=e,(r=new Set([t])).forEach((function(e){Cr(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(t){Cr(e[t])&&r.add(e[t])}))}))),e;var t,r}var xo=Object.create(null),To=function(){return xo},Po=Object.create(null),Io=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return No(Vr(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Vr(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Fr(e);if(Vr(e))return e;var n=r.policies.identify(e)[0];if(n){var i=Fr(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return Bt({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),ki.call(this.data,e)){var r=this.data[e];if(r&&ki.call(r,t))return r[t]}return"__typename"===t&&ki.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof jo?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),ki.call(this.data,e)?this.data[e]:this instanceof jo?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;Vr(e)&&(e=e.__ref),Vr(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){__DEV__?Yt("string"==typeof r,"store.merge expects a string ID"):Yt("string"==typeof r,1);var o=new Si(Ro).merge(i,a);if(this.data[r]=o,o!==i&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(a).forEach((function(e){if(!i||i[e]!==o[e]){s[e]=1;var t=Fi(e);t===e||n.policies.hasKeyArgs(o.__typename,t)||(s[t]=1),void 0!==o[e]||n instanceof jo||delete o[e]}})),!s.__typename||i&&i.__typename||this.policies.rootTypenamesById[r]!==o.__typename||delete s.__typename,Object.keys(s).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),a=!1,o=!0,s={DELETE:xo,INVALIDATE:Po,isReference:Vr,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||Fr(e)}:t,{store:r})}};if(Object.keys(n).forEach((function(p){var d=Fi(p),u=n[p];if(void 0!==u){var l="function"==typeof t?t:t[p]||t[d];if(l){var c=l===To?xo:l(No(u),Bt(Bt({},s),{fieldName:d,storeFieldName:p,storage:r.getStorage(e,p)}));c===Po?r.group.dirty(e,p):(c===xo&&(c=void 0),c!==u&&(i[p]=c,a=!0,u=c))}void 0!==u&&(o=!1)}})),a)return this.merge(e,i),o&&(this instanceof jo?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var a=this.getFieldValue(i,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:a,fieldName:t,args:r}):t;return this.modify(e,o?((n={})[o]=To,n):To)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(ki.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof jo&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach((function(t){ki.call(e.policies.rootTypenamesById,t)||r.push(t)})),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(r){e&&ki.call(e,r)||t.delete(r)})),e){var r=e.__META,n=Ut(e,["__META"]);Object.keys(n).forEach((function(e){t.merge(e,n[e])})),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof jo?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){ki.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof jo;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!ki.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){Vr(e)&&(t[e.__ref]=!0),Cr(e)&&Object.keys(e).forEach((function(t){var r=e[t];Cr(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Do=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?to():null,this.keyMaker=new Ii(Nn)},e.prototype.depend=function(e,t){if(this.d){this.d(ko(e,t));var r=Fi(t);r!==t&&this.d(ko(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(ko(e,t),"__exists"===t?"forget":"setDirty")},e}();function ko(e,t){return t+"#"+e}function Ao(e,t){$o(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,a=t.seed,o=e.call(this,r,new Do(i))||this;return o.stump=new Co(o),o.storageTrie=new Ii(Nn),a&&o.replace(a),o}return qt(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(Io||(Io={}));var jo=function(e){function t(t,r,n,i){var a=e.call(this,r.policies,i)||this;return a.id=t,a.parent=r,a.replay=n,a.group=i,n(a),a}return qt(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){li(n[r],i[r])||t.group.dirty(e,r)})):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return Bt(Bt({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return ki.call(this.data,t)?Bt(Bt({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Io),Co=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new Do(t.group.caching,t.group))||this}return qt(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(jo);function Ro(e,t,r){var n=e[r],i=t[r];return li(n,i)?n:i}function $o(e){return!!(e instanceof Io&&e.group.caching)}function Mo(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Fo=function(){function e(e){var t=this;this.knownResults=new(Nn?WeakMap:Map),this.config=Di(e,{addTypename:!1!==e.addTypename,canonizeResults:$i(e)}),this.canon=e.canon||new zi,this.executeSelectionSet=io((function(e){var r,n=e.context.canonizeResults,i=Mo(e);i[3]=!n;var a=(r=t.executeSelectionSet).peek.apply(r,i);return a?n?Bt(Bt({},a),{result:t.canon.admit(a.result)}):a:(Ao(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:Mo,makeCacheKey:function(e,t,r,n){if($o(r.store))return r.store.makeCacheKey(e,Vr(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=io((function(e){return Ao(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if($o(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new zi},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,n=e.rootId,i=void 0===n?"ROOT_QUERY":n,a=e.variables,o=e.returnPartialData,s=void 0===o||o,p=e.canonizeResults,d=void 0===p?this.config.canonizeResults:p,u=this.config.cache.policies;a=Bt(Bt({},rn(en(r))),a);var l,c=Fr(i),f=this.executeSelectionSet({selectionSet:tn(r).selectionSet,objectOrReference:c,enclosingRef:c,context:Bt({store:t,query:r,policies:u,variables:a,varString:Qi(a),canonizeResults:d},qi(r,this.config.fragments))});if(f.missing&&(l=[new Eo(Vo(f.missing),f.missing,r,a)],!s))throw l[0];return{result:f.result,complete:!l,missing:l}},e.prototype.isFresh=function(e,t,r,n){if($o(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,i=e.enclosingRef,a=e.context;if(Vr(n)&&!a.policies.rootTypenamesById[n.__ref]&&!a.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var o,s=a.variables,p=a.policies,d=a.store.getFieldValue(n,"__typename"),u=[],l=new Si;function c(e,t){var r;return e.missing&&(o=l.merge(o,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof d&&!p.rootIdsByTypename[d]&&u.push({__typename:d});var f=new Set(r.selections);f.forEach((function(e){var r,h;if(wn(e,s))if(Kr(e)){var m=p.readField({fieldName:e.name.value,field:e,variables:a.variables,from:n},a),v=Wr(e);void 0===m?ra.added(e)||(o=l.merge(o,((r={})[v]="Can't find field '".concat(e.name.value,"' on ").concat(Vr(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):ji(m)?m=c(t.executeSubSelectedArray({field:e,array:m,enclosingRef:i,context:a}),v):e.selectionSet?null!=m&&(m=c(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:Vr(m)?m:i,context:a}),v)):a.canonizeResults&&(m=t.canon.pass(m)),void 0!==m&&u.push(((h={})[v]=m,h))}else{var y=Mr(e,a.lookupFragment);if(!y&&e.kind===vn.FRAGMENT_SPREAD)throw __DEV__?new Jt("No fragment named ".concat(e.name.value)):new Jt(5);y&&p.fragmentMatches(y,d)&&y.selectionSet.selections.forEach(f.add,f)}}));var h={result:_i(u),missing:o},m=a.canonizeResults?this.canon.admit(h):No(h);return m.result&&this.knownResults.set(m.result,r),m},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,a=e.enclosingRef,o=e.context,s=new Si;function p(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(o.store.canRead)),i=i.map((function(e,t){return null===e?null:ji(e)?p(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:o}),t):n.selectionSet?p(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:Vr(e)?e:a,context:o}),t):(__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){Cr(r)&&(__DEV__?Yt(!Vr(r),"Missing selection set for object of type ".concat(function(e,t){return Vr(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,r)," returned for query field ").concat(t.name.value)):Yt(!Vr(r),6),Object.values(r).forEach(n.add,n))}))}}(o.store,n,e),e)})),{result:o.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function Vo(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(e){return e}}var Lo=Object.create(null);function qo(e){var t=JSON.stringify(e);return Lo[t]||(Lo[t]=Object.create(null))}function Bo(e){var t=qo(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=zo(e,(function(e){var i=Ho(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&ki.call(t,e[0])&&(i=Ho(t,e,Wo)),__DEV__?Yt(void 0!==i,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):Yt(void 0!==i,2),i}));return"".concat(r.typename,":").concat(JSON.stringify(i))})}function Uo(e){var t=qo(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,a=r.fieldName,o=zo(e,(function(e){var r=e[0],a=r.charAt(0);if("@"!==a)if("$"!==a){if(t)return Ho(t,e)}else{var o=r.slice(1);if(i&&ki.call(i,o)){var s=e.slice(0);return s[0]=o,Ho(i,s)}}else if(n&&yi(n.directives)){var p=r.slice(1),d=n.directives.find((function(e){return e.name.value===p})),u=d&&Qr(d,i);return u&&Ho(u,e.slice(1))}})),s=JSON.stringify(o);return(t||"{}"!==s)&&(a+=":"+s),a})}function zo(e,t){var r=new Si;return Qo(e).reduce((function(e,n){var i,a=t(n);if(void 0!==a){for(var o=n.length-1;o>=0;--o)(i={})[n[o]]=a,a=i;e=r.merge(e,a)}return e}),Object.create(null))}function Qo(e){var t=qo(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,i){ji(t)?(Qo(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),ji(e[i+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function Wo(e,t){return e[t]}function Ho(e,t,r){return r=r||Wo,Ko(t.reduce((function e(t,n){return ji(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function Ko(e){return Cr(e)?ji(e)?e.map(Ko):zo(Object.keys(e).sort(),(function(t){return Ho(e,t)})):e}function Go(e){return void 0!==e.args?e.args:e.field?Qr(e.field,e.variables):null}Br.setStringify(Qi);var Jo=function(){},Yo=function(e,t){return t.fieldName},Zo=function(e,t,r){return(0,r.mergeObjects)(e,t)},Xo=function(e,t){return t},es=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=Bt({dataIdFromObject:Ci},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,n=this,i=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a,o=t&&t.storeObject||e,s=Bt(Bt({},t),{typename:i,storeObject:o,readField:t&&t.readField||function(){var e=rs(arguments,o);return n.readField(e,{store:n.cache.data,variables:e.variables})}}),p=i&&this.getTypePolicy(i),d=p&&p.keyFn||this.config.dataIdFromObject;d;){var u=d(e,s);if(!ji(u)){a=u;break}d=Bo(u)}return a=a?String(a):void 0,s.keyObject?[a,s.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var n=e[r],i=n.queryType,a=n.mutationType,o=n.subscriptionType,s=Ut(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),o&&t.setRootTypename("Subscription",r),ki.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?Zo:!1===t?Xo:e.merge}o(n,t.merge),n.keyFn=!1===i?Jo:ji(i)?Bo(i):"function"==typeof i?i:n.keyFn,a&&Object.keys(a).forEach((function(t){var n=r.getFieldPolicy(e,t,!0),i=a[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,p=i.read,d=i.merge;n.keyFn=!1===s?Yo:ji(s)?Uo(s):"function"==typeof s?s:n.keyFn,"function"==typeof p&&(n.read=p),o(n,d)}n.read&&n.merge&&(n.keyFn=n.keyFn||Yo)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(__DEV__?Yt(!n||n===e,"Cannot change root ".concat(e," __typename more than once")):Yt(!n||n===e,3),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(Mi);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!ki.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);n&&n.size&&n.forEach((function(e){var n=t.getTypePolicy(e),i=n.fields,a=Ut(n,["fields"]);Object.assign(r,a),Object.assign(r.fields,i)}))}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var o=this.getSupertypeSet(t,!0),s=[o],p=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},d=!(!r||!this.fuzzySubtypes.size),u=!1,l=0;l<s.length;++l){var c=s[l];if(c.has(a))return o.has(a)||(u&&__DEV__&&Yt.warn("Inferring subtype ".concat(t," of supertype ").concat(a)),o.add(a)),!0;c.forEach(p),d&&l===s.length-1&&Vi(e.selectionSet,r,n)&&(d=!1,u=!0,this.fuzzySubtypes.forEach((function(e,r){var n=t.match(e);n&&n[0]===t&&p(r)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!(!r||!r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),a=i&&i.keyFn;if(a&&r)for(var o={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=Go(e);a;){var p=a(s,o);if(!ji(p)){t=p||n;break}a=Uo(p)}return void 0===t&&(t=e.field?function(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,a=n.value;return Lr(r[e.name.value],i,a,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return Lr(n,r,i,t)}))),Br(e.name.value,n,r)}(e.field,e.variables):Br(n,Go(e))),!1===t?n:n===Fi(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),a=Fi(i),o=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,a,!1),p=s&&s.read;if(p){var d=ts(this,r,e,t,t.store.getStorage(Vr(r)?r.__ref:r,i));return ao.withValue(this.cache,p,[o,d])}return o}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var a=r.field,o=r.typename,s=r.merge;return s===Zo?ns(n.store)(e,t):s===Xo?t:(n.overwrite&&(e=void 0),s(e,t,ts(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:n.variables},n,i||Object.create(null))))},e}();function ts(e,t,r,n,i){var a=e.getStoreFieldName(r),o=Fi(a),s=r.variables||n.variables,p=n.store,d=p.toReference,u=p.canRead;return{args:Go(r),field:r.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:Vr,toReference:d,storage:i,cache:e.cache,canRead:u,readField:function(){return e.readField(rs(arguments,t,s),n)},mergeObjects:ns(n.store)}}function rs(e,t,r){var n,i,a,o=e[0],s=e[1],p=e.length;return"string"==typeof o?n={fieldName:o,from:p>1?s:t}:(n=Bt({},o),ki.call(n,"from")||(n.from=t)),__DEV__&&void 0===n.from&&__DEV__&&Yt.warn("Undefined 'from' passed to readField with arguments ".concat((i=Array.from(e),a=sa("stringifyForDisplay"),JSON.stringify(i,(function(e,t){return void 0===t?a:t})).split(JSON.stringify(a)).join("<undefined>")))),void 0===n.variables&&(n.variables=r),n}function ns(e){return function(t,r){if(ji(t)||ji(r))throw __DEV__?new Jt("Cannot automatically merge arrays"):new Jt(4);if(Cr(t)&&Cr(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if(Vr(t)&&Li(r))return e.merge(t.__ref,r),t;if(Li(t)&&Vr(r))return e.merge(t,r.__ref),r;if(Li(t)&&Li(r))return Bt(Bt({},t),r)}return r}}function is(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:Bt(Bt({},e),{clientOnly:t,deferred:r})),i}var as=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,a=t.dataId,o=t.variables,s=t.overwrite,p=Yr(n),d=new Si;o=Bt(Bt({},rn(p)),o);var u=Bt(Bt({store:e,written:Object.create(null),merge:function(e,t){return d.merge(e,t)},variables:o,varString:Qi(o)},qi(n,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),l=this.processSelectionSet({result:i||Object.create(null),dataId:a,selectionSet:p.selectionSet,mergeTree:{map:new Map},context:u});if(!Vr(l))throw __DEV__?new Jt("Could not identify object ".concat(JSON.stringify(i))):new Jt(7);return u.incomingById.forEach((function(t,n){var i=t.storeObject,a=t.mergeTree,o=t.fieldNodeSet,s=Fr(n);if(a&&a.map.size){var p=r.applyMerges(a,s,i,u);if(Vr(p))return;i=p}if(__DEV__&&!u.overwrite){var d=Object.create(null);o.forEach((function(e){e.selectionSet&&(d[e.name.value]=!0)})),Object.keys(i).forEach((function(e){(function(e){return!0===d[Fi(e)]})(e)&&!function(e){var t=a&&a.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},a=i(e);if(a){var o=i(t);if(o&&!Vr(a)&&!li(a,o)&&!Object.keys(a).every((function(e){return void 0!==n.getFieldValue(o,e)}))){var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),p=Fi(r),d="".concat(s,".").concat(p);if(!ls.has(d)){ls.add(d);var u=[];ji(a)||ji(o)||[a,o].forEach((function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||u.includes(t)||u.push(t)})),__DEV__&&Yt.warn("Cache data may be lost when replacing the ".concat(p," field of a ").concat(s," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(u.length?"either ensure all objects of type "+u.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(d," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(a).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(o).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(s,i,e,u.store)}))}e.merge(n,i)})),e.retain(l.__ref),l},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,a=e.context,o=e.mergeTree,s=this.cache.policies,p=Object.create(null),d=r&&s.rootTypenamesById[r]||Hr(n,i,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"==typeof d&&(p.__typename=d);var u=function(){var e=rs(arguments,p,a.variables);if(Vr(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var r=s.readField(Bt(Bt({},e),{from:t.storeObject}),a);if(void 0!==r)return r}}return s.readField(e,a)},l=new Set;this.flattenFields(i,n,a,d).forEach((function(e,r){var i,a=Wr(r),c=n[a];if(l.add(r),void 0!==c){var f=s.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:e.variables}),h=ss(o,f),m=t.processFieldValue(c,r,r.selectionSet?is(e,!1,!1):e,h),v=void 0;r.selectionSet&&(Vr(m)||Li(m))&&(v=u("__typename",m));var y=s.getMergeFunction(d,r.name.value,v);y?h.info={field:r,typename:d,merge:y}:us(o,f),p=e.merge(p,((i={})[f]=m,i))}else!__DEV__||e.clientOnly||e.deferred||ra.added(r)||s.getReadFunction(d,r.name.value)||__DEV__&&Yt.error("Missing field '".concat(Wr(r),"' while writing result ").concat(JSON.stringify(n,null,2)).substring(0,1e3))}));try{var c=s.identify(n,{typename:d,selectionSet:i,fragmentMap:a.fragmentMap,storeObject:p,readField:u}),f=c[0],h=c[1];r=r||f,h&&(p=a.merge(p,h))}catch(e){if(!r)throw e}if("string"==typeof r){var m=Fr(r),v=a.written[r]||(a.written[r]=[]);if(v.indexOf(i)>=0)return m;if(v.push(i),this.reader&&this.reader.isFresh(n,m,i,a))return m;var y=a.incomingById.get(r);return y?(y.storeObject=a.merge(y.storeObject,p),y.mergeTree=ps(y.mergeTree,o),l.forEach((function(e){return y.fieldNodeSet.add(e)}))):a.incomingById.set(r,{storeObject:p,mergeTree:ds(o)?void 0:o,fieldNodeSet:l}),m}return p},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?ji(e)?e.map((function(e,a){var o=i.processFieldValue(e,t,r,ss(n,a));return us(n,a),o})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):__DEV__?va(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=Hr(t,e,r.fragmentMap));var i=new Map,a=this.cache.policies,o=new Ii(!1);return function e(s,p){var d=o.lookup(s,p.clientOnly,p.deferred);d.visited||(d.visited=!0,s.selections.forEach((function(o){if(wn(o,r.variables)){var s=p.clientOnly,d=p.deferred;if(s&&d||!yi(o.directives)||o.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=Qr(e,r.variables);n&&!1===n.if||(d=!0)}})),Kr(o)){var u=i.get(o);u&&(s=s&&u.clientOnly,d=d&&u.deferred),i.set(o,is(r,s,d))}else{var l=Mr(o,r.lookupFragment);if(!l&&o.kind===vn.FRAGMENT_SPREAD)throw __DEV__?new Jt("No fragment named ".concat(o.name.value)):new Jt(8);l&&a.fragmentMatches(l,n,t,r.variables)&&e(l.selectionSet,is(r,s,d))}}})))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var a,o=this;if(e.map.size&&!Vr(r)){var s,p=ji(r)||!Vr(t)&&!Li(t)?void 0:t,d=r;p&&!i&&(i=[Vr(p)?p.__ref:p]);var u=function(e,t){return ji(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=u(p,t),a=u(d,t);if(void 0!==a){i&&i.push(t);var l=o.applyMerges(e,r,a,n,i);l!==a&&(s=s||new Map).set(t,l),i&&Yt(i.pop()===t)}})),s&&(r=ji(d)?d.slice(0):Bt({},d),s.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(a=n.store).getStorage.apply(a,i)):r},e}(),os=[];function ss(e,t){var r=e.map;return r.has(t)||r.set(t,os.pop()||{map:new Map}),r.get(t)}function ps(e,t){if(e===t||!t||ds(t))return e;if(!e||ds(e))return t;var r=e.info&&t.info?Bt(Bt({},e.info),t.info):e.info||t.info,n=e.map.size&&t.map.size,i={info:r,map:n?new Map:e.map.size?e.map:t.map};if(n){var a=new Set(t.map.keys());e.map.forEach((function(e,r){i.map.set(r,ps(e,t.map.get(r))),a.delete(r)})),a.forEach((function(r){i.map.set(r,ps(t.map.get(r),e.map.get(r)))}))}return i}function ds(e){return!e||!(e.info||e.map.size)}function us(e,t){var r=e.map,n=r.get(t);n&&ds(n)&&(os.push(n),r.delete(t))}var ls=new Set,cs=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=uo,r.txCount=0,r.config=function(e){return Di(Ri,e)}(t),r.addTypename=!!r.config.addTypename,r.policies=new es({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return qt(t,e),t.prototype.init=function(){var e=this.data=new Io.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new as(this,this.storeReader=new Fo({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:$i(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=io((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if($o(r)){var n=e.optimistic,i=e.id,a=e.variables;return r.makeCacheKey(e.query,e.callback,Qi({optimistic:n,id:i,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore(Bt(Bt({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(e){if(e instanceof Eo)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(ki.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore(Bt(Bt({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||function(e){so(e).vars.forEach((function(t){return t.attachCache(e)}))}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&po(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){Qi.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(Vr(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){__DEV__&&Yt.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(ki.call(e,"id"))return!1;e=Bt(Bt({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),Qi.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),po(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,n=e.update,i=e.optimistic,a=void 0===i||i,o=e.removeOptimistic,s=e.onWatchUpdated,p=function(e){var i=r,a=i.data,o=i.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=a,r.optimisticData=o}},d=new Set;return s&&!this.txCount&&this.broadcastWatches(Bt(Bt({},e),{onWatchUpdated:function(e){return d.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,p):!1===a?p(this.data):p(),"string"==typeof o&&(this.optimisticData=this.optimisticData.removeLayer(o)),s&&d.size?(this.broadcastWatches(Bt(Bt({},e),{onWatchUpdated:function(e,t){var r=s.call(this,e,t);return!1!==r&&d.delete(e),r}})),d.size&&d.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=ra(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.transformForLink=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&li(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(Oo);function fs(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const hs=/\r\n|[\n\r]/g;function ms(e,t){let r=0,n=1;for(const i of e.body.matchAll(hs)){if("number"==typeof i.index||fs(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function vs(e){return ys(e.source,ms(e.source,e.start))}function ys(e,t){const r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,a=e.locationOffset.line-1,o=t.line+a,s=1===t.line?r:0,p=t.column+s,d=`${e.name}:${o}:${p}\n`,u=n.split(/\r\n|[\n\r]/g),l=u[i];if(l.length>120){const e=Math.floor(p/80),t=p%80,r=[];for(let e=0;e<l.length;e+=80)r.push(l.slice(e,e+80));return d+gs([[`${o} |`,r[0]],...r.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",r[e+1]]])}return d+gs([[o-1+" |",u[i-1]],[`${o} |`,l],["|","^".padStart(p)],[`${o+1} |`,u[i+1]]])}function gs(e){const t=e.filter((([e,t])=>void 0!==t)),r=Math.max(...t.map((([e])=>e.length)));return t.map((([e,t])=>e.padStart(r)+(t?" "+t:""))).join("\n")}class bs extends Error{constructor(e,...t){var r,n,i;const{nodes:a,source:o,positions:s,path:p,originalError:d,extensions:u}=function(e){const t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=p?p:void 0,this.originalError=null!=d?d:void 0,this.nodes=_s(Array.isArray(a)?a:a?[a]:void 0);const l=_s(null===(r=this.nodes)||void 0===r?void 0:r.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!=o?o:null==l||null===(n=l[0])||void 0===n?void 0:n.source,this.positions=null!=s?s:null==l?void 0:l.map((e=>e.start)),this.locations=s&&o?s.map((e=>ms(o,e))):null==l?void 0:l.map((e=>ms(e.source,e.start)));const c="object"==typeof(f=null==d?void 0:d.extensions)&&null!==f?null==d?void 0:d.extensions:void 0;var f;this.extensions=null!==(i=null!=u?u:c)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,bs):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(const t of this.nodes)t.loc&&(e+="\n\n"+vs(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+ys(this.source,t);return e}toJSON(){const e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function _s(e){return void 0===e||0===e.length?void 0:e}function ws(e,t,r){return new bs(`Syntax Error: ${r}`,{source:e,positions:[t]})}var Ss,Os,Es;!function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(Ss||(Ss={})),(Es=Os||(Os={})).SOF="<SOF>",Es.EOF="<EOF>",Es.BANG="!",Es.DOLLAR="$",Es.AMP="&",Es.PAREN_L="(",Es.PAREN_R=")",Es.SPREAD="...",Es.COLON=":",Es.EQUALS="=",Es.AT="@",Es.BRACKET_L="[",Es.BRACKET_R="]",Es.BRACE_L="{",Es.PIPE="|",Es.BRACE_R="}",Es.NAME="Name",Es.INT="Int",Es.FLOAT="Float",Es.STRING="String",Es.BLOCK_STRING="BlockString",Es.COMMENT="Comment";class Ns{constructor(e){const t=new ln(Os.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==Os.EOF)do{if(e.next)e=e.next;else{const t=As(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===Os.COMMENT);return e}}function xs(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function Ts(e,t){return Ps(e.charCodeAt(t))&&Is(e.charCodeAt(t+1))}function Ps(e){return e>=55296&&e<=56319}function Is(e){return e>=56320&&e<=57343}function Ds(e,t){const r=e.source.body.codePointAt(t);if(void 0===r)return Os.EOF;if(r>=32&&r<=126){const e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function ks(e,t,r,n,i){const a=e.line,o=1+r-e.lineStart;return new ln(t,r,n,a,o,i)}function As(e,t){const r=e.source.body,n=r.length;let i=t;for(;i<n;){const t=r.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===r.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return js(e,i);case 33:return ks(e,Os.BANG,i,i+1);case 36:return ks(e,Os.DOLLAR,i,i+1);case 38:return ks(e,Os.AMP,i,i+1);case 40:return ks(e,Os.PAREN_L,i,i+1);case 41:return ks(e,Os.PAREN_R,i,i+1);case 46:if(46===r.charCodeAt(i+1)&&46===r.charCodeAt(i+2))return ks(e,Os.SPREAD,i,i+3);break;case 58:return ks(e,Os.COLON,i,i+1);case 61:return ks(e,Os.EQUALS,i,i+1);case 64:return ks(e,Os.AT,i,i+1);case 91:return ks(e,Os.BRACKET_L,i,i+1);case 93:return ks(e,Os.BRACKET_R,i,i+1);case 123:return ks(e,Os.BRACE_L,i,i+1);case 124:return ks(e,Os.PIPE,i,i+1);case 125:return ks(e,Os.BRACE_R,i,i+1);case 34:return 34===r.charCodeAt(i+1)&&34===r.charCodeAt(i+2)?Bs(e,i):$s(e,i)}if(Mn(t)||45===t)return Cs(e,i,t);if(Vn(t))return Us(e,i);throw ws(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":xs(t)||Ts(r,i)?`Unexpected character: ${Ds(e,i)}.`:`Invalid character: ${Ds(e,i)}.`)}return ks(e,Os.EOF,n,n)}function js(e,t){const r=e.source.body,n=r.length;let i=t+1;for(;i<n;){const e=r.charCodeAt(i);if(10===e||13===e)break;if(xs(e))++i;else{if(!Ts(r,i))break;i+=2}}return ks(e,Os.COMMENT,t,i,r.slice(t+1,i))}function Cs(e,t,r){const n=e.source.body;let i=t,a=r,o=!1;if(45===a&&(a=n.charCodeAt(++i)),48===a){if(a=n.charCodeAt(++i),Mn(a))throw ws(e.source,i,`Invalid number, unexpected digit after 0: ${Ds(e,i)}.`)}else i=Rs(e,i,a),a=n.charCodeAt(i);if(46===a&&(o=!0,a=n.charCodeAt(++i),i=Rs(e,i,a),a=n.charCodeAt(i)),69!==a&&101!==a||(o=!0,a=n.charCodeAt(++i),43!==a&&45!==a||(a=n.charCodeAt(++i)),i=Rs(e,i,a),a=n.charCodeAt(i)),46===a||Vn(a))throw ws(e.source,i,`Invalid number, expected digit but got: ${Ds(e,i)}.`);return ks(e,o?Os.FLOAT:Os.INT,t,i,n.slice(t,i))}function Rs(e,t,r){if(!Mn(r))throw ws(e.source,t,`Invalid number, expected digit but got: ${Ds(e,t)}.`);const n=e.source.body;let i=t+1;for(;Mn(n.charCodeAt(i));)++i;return i}function $s(e,t){const r=e.source.body,n=r.length;let i=t+1,a=i,o="";for(;i<n;){const n=r.charCodeAt(i);if(34===n)return o+=r.slice(a,i),ks(e,Os.STRING,t,i+1,o);if(92!==n){if(10===n||13===n)break;if(xs(n))++i;else{if(!Ts(r,i))throw ws(e.source,i,`Invalid character within String: ${Ds(e,i)}.`);i+=2}}else{o+=r.slice(a,i);const t=117===r.charCodeAt(i+1)?123===r.charCodeAt(i+2)?Ms(e,i):Fs(e,i):qs(e,i);o+=t.value,i+=t.size,a=i}}throw ws(e.source,i,"Unterminated string.")}function Ms(e,t){const r=e.source.body;let n=0,i=3;for(;i<12;){const e=r.charCodeAt(t+i++);if(125===e){if(i<5||!xs(n))break;return{value:String.fromCodePoint(n),size:i}}if(n=n<<4|Ls(e),n<0)break}throw ws(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+i)}".`)}function Fs(e,t){const r=e.source.body,n=Vs(r,t+2);if(xs(n))return{value:String.fromCodePoint(n),size:6};if(Ps(n)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){const e=Vs(r,t+8);if(Is(e))return{value:String.fromCodePoint(n,e),size:12}}throw ws(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}function Vs(e,t){return Ls(e.charCodeAt(t))<<12|Ls(e.charCodeAt(t+1))<<8|Ls(e.charCodeAt(t+2))<<4|Ls(e.charCodeAt(t+3))}function Ls(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function qs(e,t){const r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"\t",size:2}}throw ws(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}function Bs(e,t){const r=e.source.body,n=r.length;let i=e.lineStart,a=t+3,o=a,s="";const p=[];for(;a<n;){const n=r.charCodeAt(a);if(34===n&&34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)){s+=r.slice(o,a),p.push(s);const n=ks(e,Os.BLOCK_STRING,t,a+3,Ln(p).join("\n"));return e.line+=p.length-1,e.lineStart=i,n}if(92!==n||34!==r.charCodeAt(a+1)||34!==r.charCodeAt(a+2)||34!==r.charCodeAt(a+3))if(10!==n&&13!==n)if(xs(n))++a;else{if(!Ts(r,a))throw ws(e.source,a,`Invalid character within String: ${Ds(e,a)}.`);a+=2}else s+=r.slice(o,a),p.push(s),13===n&&10===r.charCodeAt(a+1)?a+=2:++a,s="",o=a,i=a;else s+=r.slice(o,a),o=a+1,a+=4}throw ws(e.source,a,"Unterminated string.")}function Us(e,t){const r=e.source.body,n=r.length;let i=t+1;for(;i<n&&(Fn(a=r.charCodeAt(i))||Mn(a)||95===a);)++i;var a;return ks(e,Os.NAME,t,i,r.slice(t,i))}class zs{constructor(e,t={}){const r=function(e){return e instanceof cr}(e)?e:new cr(e);this._lexer=new Ns(r),this._options=t,this._tokenCounter=0}parseName(){const e=this.expectToken(Os.NAME);return this.node(e,{kind:vn.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:vn.DOCUMENT,definitions:this.many(Os.SOF,this.parseDefinition,Os.EOF)})}parseDefinition(){if(this.peek(Os.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===Os.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw ws(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(Os.BRACE_L))return this.node(e,{kind:vn.OPERATION_DEFINITION,operation:mn.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let r;return this.peek(Os.NAME)&&(r=this.parseName()),this.node(e,{kind:vn.OPERATION_DEFINITION,operation:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(Os.NAME);switch(e.value){case"query":return mn.QUERY;case"mutation":return mn.MUTATION;case"subscription":return mn.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(Os.PAREN_L,this.parseVariableDefinition,Os.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:vn.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(Os.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(Os.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(Os.DOLLAR),this.node(e,{kind:vn.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:vn.SELECTION_SET,selections:this.many(Os.BRACE_L,this.parseSelection,Os.BRACE_R)})}parseSelection(){return this.peek(Os.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let r,n;return this.expectOptionalToken(Os.COLON)?(r=t,n=this.parseName()):n=t,this.node(e,{kind:vn.FIELD,alias:r,name:n,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(Os.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(Os.PAREN_L,t,Os.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,r=this.parseName();return this.expectToken(Os.COLON),this.node(t,{kind:vn.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(Os.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(Os.NAME)?this.node(e,{kind:vn.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:vn.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:vn.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:vn.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case Os.BRACKET_L:return this.parseList(e);case Os.BRACE_L:return this.parseObject(e);case Os.INT:return this.advanceLexer(),this.node(t,{kind:vn.INT,value:t.value});case Os.FLOAT:return this.advanceLexer(),this.node(t,{kind:vn.FLOAT,value:t.value});case Os.STRING:case Os.BLOCK_STRING:return this.parseStringLiteral();case Os.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:vn.BOOLEAN,value:!0});case"false":return this.node(t,{kind:vn.BOOLEAN,value:!1});case"null":return this.node(t,{kind:vn.NULL});default:return this.node(t,{kind:vn.ENUM,value:t.value})}case Os.DOLLAR:if(e){if(this.expectToken(Os.DOLLAR),this._lexer.token.kind===Os.NAME){const e=this._lexer.token.value;throw ws(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:vn.STRING,value:e.value,block:e.kind===Os.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:vn.LIST,values:this.any(Os.BRACKET_L,(()=>this.parseValueLiteral(e)),Os.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:vn.OBJECT,fields:this.any(Os.BRACE_L,(()=>this.parseObjectField(e)),Os.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,r=this.parseName();return this.expectToken(Os.COLON),this.node(t,{kind:vn.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(Os.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(Os.AT),this.node(t,{kind:vn.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(Os.BRACKET_L)){const r=this.parseTypeReference();this.expectToken(Os.BRACKET_R),t=this.node(e,{kind:vn.LIST_TYPE,type:r})}else t=this.parseNamedType();return this.expectOptionalToken(Os.BANG)?this.node(e,{kind:vn.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:vn.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(Os.STRING)||this.peek(Os.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const r=this.parseConstDirectives(),n=this.many(Os.BRACE_L,this.parseOperationTypeDefinition,Os.BRACE_R);return this.node(e,{kind:vn.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(Os.COLON);const r=this.parseNamedType();return this.node(e,{kind:vn.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:vn.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:vn.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:a})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(Os.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(Os.BRACE_L,this.parseFieldDefinition,Os.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(Os.COLON);const i=this.parseTypeReference(),a=this.parseConstDirectives();return this.node(e,{kind:vn.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:a})}parseArgumentDefs(){return this.optionalMany(Os.PAREN_L,this.parseInputValueDef,Os.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(Os.COLON);const n=this.parseTypeReference();let i;this.expectOptionalToken(Os.EQUALS)&&(i=this.parseConstValueLiteral());const a=this.parseConstDirectives();return this.node(e,{kind:vn.INPUT_VALUE_DEFINITION,description:t,name:r,type:n,defaultValue:i,directives:a})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),a=this.parseFieldsDefinition();return this.node(e,{kind:vn.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:a})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:vn.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(Os.EQUALS)?this.delimitedMany(Os.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:vn.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(Os.BRACE_L,this.parseEnumValueDefinition,Os.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:vn.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw ws(this._lexer.source,this._lexer.token.start,`${Qs(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:vn.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(Os.BRACE_L,this.parseInputValueDef,Os.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===Os.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),r=this.optionalMany(Os.BRACE_L,this.parseOperationTypeDefinition,Os.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:vn.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:vn.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:vn.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:vn.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:vn.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:vn.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:vn.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(Os.AT);const r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(e,{kind:vn.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:a})}parseDirectiveLocations(){return this.delimitedMany(Os.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(Ss,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new un(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw ws(this._lexer.source,t.start,`Expected ${Ws(e)}, found ${Qs(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==Os.NAME||t.value!==e)throw ws(this._lexer.source,t.start,`Expected "${e}", found ${Qs(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===Os.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!=e?e:this._lexer.token;return ws(this._lexer.source,t.start,`Unexpected ${Qs(t)}.`)}any(e,t,r){this.expectToken(e);const n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);const n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);const r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==Os.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw ws(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function Qs(e){const t=e.value;return Ws(e.kind)+(null!=t?` "${t}"`:"")}function Ws(e){return function(e){return e===Os.BANG||e===Os.DOLLAR||e===Os.AMP||e===Os.PAREN_L||e===Os.PAREN_R||e===Os.SPREAD||e===Os.COLON||e===Os.EQUALS||e===Os.AT||e===Os.BRACKET_L||e===Os.BRACKET_R||e===Os.BRACE_L||e===Os.PIPE||e===Os.BRACE_R}(e)?`"${e}"`:e}var Hs=new Map,Ks=new Map,Gs=!0,Js=!1;function Ys(e){return e.replace(/[\s,]+/g," ").trim()}function Zs(e){var t,r,n,i=Ys(e);if(!Hs.has(i)){var a=function(e,t){return new zs(e,t).parseDocument()}(e,{experimentalFragmentVariables:Js,allowLegacyFragmentVariables:Js});if(!a||"Document"!==a.kind)throw new Error("Not a valid GraphQL document.");Hs.set(i,function(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(r){var n=e[r];n&&"object"==typeof n&&t.add(n)}))}));var r=e.loc;return r&&(delete r.startToken,delete r.endToken),e}((t=a,r=new Set,n=[],t.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var t=e.name.value,i=Ys((o=e.loc).source.body.substring(o.start,o.end)),a=Ks.get(t);a&&!a.has(i)?Gs&&console.warn("Warning: fragment with name "+t+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||Ks.set(t,a=new Set),a.add(i),r.has(i)||(r.add(i),n.push(e))}else n.push(e);var o})),Bt(Bt({},t),{definitions:n}))))}return Hs.get(i)}function Xs(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach((function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]})),Zs(n)}var ep,tp=Xs;(ep=Xs||(Xs={})).gql=tp,ep.resetCaches=function(){Hs.clear(),Ks.clear()},ep.disableFragmentWarnings=function(){Gs=!1},ep.enableExperimentalFragmentVariables=function(){Js=!0},ep.disableExperimentalFragmentVariables=function(){Js=!1},Xs.default=Xs;var rp=i(5699),np=i.n(rp),ip=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}))};class ap{constructor(e,t){this.rpcManager=e;const r=`${t}/graphql`;this.client=new So({link:new ai({uri:`${this.rpcManager.getEndpoint()}${r}`,headers:this.rpcManager.getStaticHeaders(),fetch:np()}),cache:new cs})}query(e){return ip(this,void 0,void 0,(function*(){return(yield this.client.query({query:Xs`
9
+ ${e.query}
10
+ `,variables:e.variables})).data}))}mutate(e){return ip(this,void 0,void 0,(function*(){return(yield this.client.mutate({mutation:Xs`
11
+ ${e.query}
12
+ `})).data}))}}class op{constructor(e){this.rpcManager=e,this.clientsMap=new Map}get(e){let t=this.clientsMap.get(e);return t||(t=new ap(this.rpcManager,e),this.clientsMap.set(e,t),t)}}var sp;class pp{constructor(e,t,r,n){this.clientId=e,this.rpcManager=t,this.lockManager=r,this.querySubscriptionManager=n}sendMutations(e,t){return r=this,n=void 0,a=function*(){const r=Le(e),n=r.map((e=>`sendMutation_${xe(e.fullDocId)}`));yield this.lockManager.lock(...n),yield this.querySubscriptionManager.waitForAllQueriesToFinish();try{const e={clientId:this.clientId,mutations:r,integrationId:t};return(yield this.rpcManager.post("mutation/mutate",e)).timestamp}finally{this.lockManager.release(...n)}},new((i=void 0)||(i=Promise))((function(e,t){function o(e){try{p(a.next(e))}catch(e){t(e)}}function s(e){try{p(a.throw(e))}catch(e){t(e)}}function p(t){var r;t.done?e(t.value):(r=t.value,r instanceof i?r:new i((function(e){e(r)}))).then(o,s)}p((a=a.apply(r,n||[])).next())}));var r,n,i,a}}class dp{constructor(e,t){this.querySubscriptionManager=e,this.documentReferenceFactory=t}getForDocument(e){const{collectionName:t,integrationId:r,docId:n}=Ne(e),i=Se(n),a=this.get(t,r);return Object.entries(i).forEach((([e,t])=>{a.where(e,"==",t)})),a}get(e,t){return new up(e,t,this.querySubscriptionManager,this.documentReferenceFactory,e,!1,this)}getForJoin(e,t,r){return new up(e,t,this.querySubscriptionManager,this.documentReferenceFactory,r,!0,this)}}class up{constructor(e,t,r,n,i,a,o){this.collectionName=e,this.integrationId=t,this.querySubscriptionManager=r,this.documentReferenceFactory=n,this.alias=i,this.supportsJoin=a,this.queryBuilderFactory=o,this.joins={},this.joinConditions={},this.simpleQueryBuilder=new ze(e,t)}where(e,t,r){return this.simpleQueryBuilder.where(e,t,r),this}limit(e){return this.simpleQueryBuilder.limit(e),this}sortBy(e,t=!0){return this.simpleQueryBuilder.sortBy(e),this}join(e,t,r){Ae(e.supportsJoin,'When joining, the join query has to use "joinQuery" in order to provide an alias.');const n={leftFieldName:t,rightFieldName:r,leftAlias:this.alias};this.joins[e.alias]=e.build(),Object.entries(e.joins).forEach((([e,t])=>{this.joins[e]=t}));for(const[t,r]of Object.entries(e.joinConditions))this.joinConditions[t]=r;return this.joinConditions[e.alias]=n,this}snapshot(){return(0,Pe.firstValueFrom)(this.snapshots(!1))}snapshots(e=!0){return this.querySubscriptionManager.processQuery(this.build(),this.alias||this.collectionName,Te.cloneDeep(this.joins),Te.cloneDeep(this.joinConditions),e).pipe((0,xt.UI)((e=>e.map((e=>{const t={};for(const[r,n]of Object.entries(e)){const e=r===this.alias?this.collectionName:this.joins[r].collectionName,i=r===this.alias?this.integrationId:this.joins[r].integrationId,a=n?xe(n.__docId__,e,i):void 0;t[r]=a?this.documentReferenceFactory.create(a,this.queryBuilderFactory):void 0}return t})))),(0,xt.UI)((e=>this.supportsJoin?e:Object.values(e).map((e=>e[this.alias])))))}changes(){let e;Ae(!this.supportsJoin,"Cannot listen on changes in join mode.");let t=new Set;return this.snapshots().pipe((0,xt.UI)((r=>{const n={inserts:[],deletes:[],updates:[]};if(e){for(const i of r){const r=i.fullDocId,a=i.data();if(t.has(a))delete e[r],t.delete(a);else if(e[r]){n.updates.push(i);const a=e[r];delete e[r],t.delete(a)}else n.inserts.push(i)}for(const e of t)n.deletes.push(e)}else n.inserts=r;e={},t=new Set;for(const n of r){const r=n.data();e[n.fullDocId]=r,t.add(r)}return n})))}build(){return this.simpleQueryBuilder.build()}}function lp(e){return[sp.SET_PATH,sp.DELETE_PATH].includes(e.type)}function cp(e){return e.type===sp.BATCH_ACTION}function fp(e){const t=[];if(lp(e))t.push(e);else if(cp(e))for(const r of e.payload)t.push(...fp(r));return t}function hp(e,t){return vp(e,t)}function mp(e){return"object"==typeof e}function vp(e,t){let r=e;if(lp(t))r=function(e,t,r=[]){switch(t.type){case sp.DELETE_PATH:return yp(e,t.path);case sp.SET_PATH:const n=t;return function(e,t,r,n){return gp(e,t,r,n)}(e,t.path,r,n.payload);case sp.BATCH_ACTION:throw new Error("Unsupported")}}(e,t,[]);else{if(!cp(t))throw new Error(`Invalid action type: ${t.type}`);r=t.payload.reduce(((e,t)=>vp(e,t)),e)}return r}function yp(e,t){if(!t.length)throw new Error("can not delete an empty path");const r=t[0];if(1===t.length)return function(e,t){if(e instanceof Array)throw new Error("Cannot remove an item from an array");const r=Object.assign({},e);return delete r[t],r}(e,r);const n=t.slice(1),i=_p(e,r);if(!i)return e;if(!mp(i))throw new Error("Cannot delete from a non object state.");const a=yp(i,n);return a===i?e:bp(e,r,a)}function gp(e,t,r,n){if(!t.length){if(mp(n))return n;throw new Error("Relative path cannot be of length 0 when the new value is not an object.")}const i=t[0],a=[...r,i];if(1===t.length)return bp(e,i,n);const o=t.slice(1),s=_p(e,i);return void 0!==s&&mp(s)?bp(e,i,gp(s,o,a,n)):gp(e=bp(e,i,{}),t,r,n)}function bp(e,t,r){return(e=Object.assign({},e))[t]=r,e}function _p(e,t){return e instanceof Array?e[function(e){const t=Number(e);if(isNaN(t))throw new Error(`The value is not a number: Actual: ${e}`);return Math.floor(t)}(t)]:e[t]}!function(e){e.DELETE_PATH="DELETE_PATH",e.SET_PATH="SET_PATH",e.BATCH_ACTION="BATCH_ACTION"}(sp||(sp={}));class wp{constructor(){this.root=new Sp}getOrCreatePathTrieNode(e,t){let r=this.root;for(const t of e)r.children.get(t)||r.children.set(t,new Sp),r=r.children.get(t);return void 0!==t&&(r.nodeData=t),r}getPathTrieNode(e){let t=this.root;for(const r of e){if(!t)return;t=t.children.get(r)}return t}getPathTrie(e){let t=this.root;for(const r of e){if(!t)return;t=t.children.get(r)}if(t){const e=new wp;return e.root=t,e}}iterateBfs(e){this.iterateInternal(this.root,e,[])}removeNode(e){e.length||(this.root=new Sp);const t=[this.root];for(const r of e){const e=t[t.length-1].children.get(r);if(!e)throw new Error("Node does not exist");t.push(e)}for(let r=t.length-1;r>0;r--){const n=t[r],i=e[r-1];if((n.nodeData||n.children.size)&&r!==t.length-1)break;t[r-1].children.delete(i)}}clearNodeData(e){const t=this.getPathTrieNode(e);t&&(t.nodeData=void 0,t.children.size||this.removeNode(e))}getNodeList(e){const t=[];let r=this.root;for(const n of e){if(!r)return t;t.push(r),r=r.children.get(n)}return t}iterateInternal(e,t,r){if(!1!==t(e.nodeData,r))for(const[n,i]of e.children)this.iterateInternal(i,t,r.concat(n))}}class Sp{constructor(){this.children=new Map([])}}class Op{constructor(){this.subscriptionsTree=new wp,this.state={},this.batchCount=0,this.batchedActions=[]}dispatch(e){this.batchCount>0&&this.batchedActions.push(e),this.state=hp(this.state,e),0===this.batchCount&&this.dispatchSubscriptions(e)}runInBatch(e){this.batchCount++;try{e()}finally{if(this.batchCount--,0===this.batchCount&&this.batchedActions.length){const e={type:sp.BATCH_ACTION,payload:[...this.batchedActions]};this.batchedActions.splice(0),this.dispatch(e)}}}observePath(e,t){return new Pe.Observable((r=>{const n=this.getOrCreateSubjectForPath(e);r.next(this.getStateInPath(e));const i=n.pipe((0,xt.hX)((e=>{if(!t)return!0;const r=new wp,n=t();for(const e of n)r.getOrCreatePathTrieNode(e,!0);const i=fp(e.action).map((e=>e.path));let a=!1;for(const e of i)if(0===r.getNodeList(e).length){a=!0;break}return a})),(0,xt.UI)((e=>e.data))).subscribe(r);return()=>{i.unsubscribe(),n.observed||(n.complete(),this.subscriptionsTree.clearNodeData(e))}}))}setKeyInPath(e,t,r,n=!1){this.setInPath([...e,t],r,n)}setPartial(e,t,r=!1){let n=this.getStateInPath(e);n||(n={}),this.setInPath(e,Object.assign(Object.assign({},n),t),r)}setInPath(e,t,r=!1){if(r&&this.getStateInPath(e)===t)return;const n={type:sp.SET_PATH,path:e,payload:t};this.dispatch(n)}pushToArray(e,t){let r=this.getStateInPath(e);r=r?[...r]:[],r.push(t),this.setInPath(e,r)}deletePath(e){const t={type:sp.DELETE_PATH,path:e};this.dispatch(t)}getState(){return this.state}getStateInPath(e){return Ep(this.state,e)}destroy(){this.subscriptionsTree.iterateBfs((e=>{e&&e.subject&&e.subject.complete()}))}getOrCreateSubjectForPath(e){const t=this.subscriptionsTree.getOrCreatePathTrieNode(e);t.nodeData||(t.nodeData=new Np);const r=t.nodeData;return r.subject||(r.subject=new Pe.Subject),r.subject}dispatchSubscriptions(e){const t=function(e,t){const r=new wp;for(const n of fp(e)){let e=r.getOrCreatePathTrieNode(n.path);if(!t||e.nodeData)continue;let i=t.getPathTrieNode(n.path);if(i){const t=[[e,i]];for(;t.length;){const r=t.shift();if(e=r[0],i=r[1],!e.nodeData){for(const[r,n]of i.children)e.children.get(r)||e.children.set(r,new Sp),t.push([e.children.get(r),n]);e.nodeData=!0}}}}return r}(e,this.subscriptionsTree);t.iterateBfs(((t,r)=>{const n=this.subscriptionsTree.getPathTrieNode(r);n&&n.nodeData&&n.nodeData.subject.next({action:e,data:Ep(this.getState(),r)})}))}}function Ep(e,t){let r=e;for(const e of t){if(null==r)return;if(!mp(r))throw new Error("result must be a state object");r=r[e]}return r}class Np{}var xp=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}))};const Tp="client";class Pp{constructor(e,t,r,n){this.rpcManager=e,this.clientId=t,this.dbDao=r,this.destructManager=n,this.safeToSendQueriesToServer=new Pe.BehaviorSubject(!0),this.onOrphanDocuments=new Pe.Subject,this.ongoingQueries=new Map,this.inflightQueriesCount=new Pe.BehaviorSubject(0),this.clientRequestIdToLocalDocuments=new Map,this.localDocumentToClientRequestIds=new Map,this.queryMappingManager=new Ip,this.destructManager.registerDestructor((()=>{this.destruct()}))}hasOngoingQuery(e){return this.ongoingQueries.has(e)}getQuery(e){return je(this.ongoingQueries.get(e)).query}setGotResponseFromServer(e){je(this.ongoingQueries.get(e)).gotResponseFromServer=!0}findQueriesForDocument(e,t){const{collectionName:r,integrationId:n}=Ne(t),i=this.queryMappingManager.getMapping(Tp,r,n);return i?He(i,e):[]}setClientRequestIdsForLocalDoc(e,t){const r=this.localDocumentToClientRequestIds.get(e)||new Set,n=new Set(t?this.findQueriesForDocument(t,e).map((e=>function(e){const t=e.split("_");return{clientId:t[0],clientRequestId:t[1]}}(e).clientRequestId)):[]),i=new Set([...r,...n]);for(const t of[...r]){if(n.has(t))continue;r.delete(t);const i=this.clientRequestIdToLocalDocuments.get(t);i&&(i.delete(e),i.size||this.clientRequestIdToLocalDocuments.delete(t)),r.size||this.localDocumentToClientRequestIds.delete(e)}for(const t of n){let r=this.localDocumentToClientRequestIds.get(e);r||(r=new Set,this.localDocumentToClientRequestIds.set(e,r)),r.add(t);let n=this.clientRequestIdToLocalDocuments.get(t);n||(n=new Set,this.clientRequestIdToLocalDocuments.set(t,n)),n.add(e)}return[...i]}errorOutAllQueries(e,t){const r=this.localDocumentToClientRequestIds.get(e)||new Set;for(const e of r){const r=this.ongoingQueries.get(e);r&&r.subject.error(t)}}notifyAllSubscriptions(e){const t=new Set;for(const r of e){const e=this.ongoingQueries.get(r);if(!e)continue;if(!e.gotResponseFromServer||!e.activated)continue;const n=this.dbDao.executeQuery(e.query);let i=!1;for(const t of e.supportedQueries)i=i||this.updateOngoingQueryWithNewDataFromSupportingQuery(n,t);let a=e;for(;!a.allObservables;)a=je(null==a?void 0:a.supportingOngoingQuery);i&&t.add(a),e.subject.next(n)}for(const e of t){const t=this.collectAllObservables(e);je(e.allObservables).next(t)}}processQuery(e,t,r,n,i){const a=this.createOngoingQueryGraph(e,t,r,n,i,!0);this.sendQueryToServer(a),a.allObservables=new Pe.ReplaySubject(1);const o=a.allObservables.pipe((0,Pe.switchMap)((e=>(0,Pe.combineLatest)(e).pipe((0,xt.UI)((e=>this.joinResults(e,n,a)))))),(0,xt.hX)((()=>this.allOngoingQueriesGotServerResult(a))),(0,Pe.startWith)(void 0),(0,Pe.pairwise)(),(0,xt.hX)((([e,t])=>!Te.isEqual(e,t))),(0,xt.UI)((([e,t])=>t)),i?(0,Pe.tap)():(0,Pe.take)(1),(0,Pe.finalize)((()=>{var e;a.subject.complete(),this.completeAllSupportedQueries(a),null===(e=a.allObservables)||void 0===e||e.complete()}))),s=this.collectAllObservables(a);return a.allObservables.next(s),o}hasOngoingQueryForDocId(e){const t=this.localDocumentToClientRequestIds.get(e);return!!t&&!!t.size}removeClientRequestId(e){const t=this.clientRequestIdToLocalDocuments.get(e);if(!t)return;this.clientRequestIdToLocalDocuments.delete(e);const r=[];for(const n of t){const t=je(this.localDocumentToClientRequestIds.get(n));t.delete(e),t.size||(this.localDocumentToClientRequestIds.delete(n),r.push(n))}r.length&&this.onOrphanDocuments.next(r),this.ongoingQueries.delete(e)}waitForAllQueriesToFinish(){return xp(this,void 0,void 0,(function*(){return(0,Pe.firstValueFrom)(this.inflightQueriesCount.pipe((0,xt.hX)((e=>0===e)))).then((()=>{}))}))}registerQueryFinalizer(e){const t=e.clientRequestId,r=Ge(this.clientId,t);e.subject.pipe((0,Pe.finalize)((()=>{if(this.queryMappingManager.removeQuery(t,r).then(),this.ongoingQueries.delete(t),e.subscribe&&!e.isEmptyForJoin&&e.activated){const r={clientId:this.clientId,clientRequestId:t};this.rpcManager.post("query/unsubscribe",r).catch((t=>{console.error("Got error while unsubscribing from query",e.query,t)}))}this.removeClientRequestId(t)}))).subscribe({error:()=>{}})}createOngoingQueryGraph(e,t,r,n,i,a,o={}){if(o[t])return o[t];const s=crypto.randomUUID(),p=[],d={clientRequestId:s,activated:a,alias:t,query:e,subscribe:i,subject:new Pe.ReplaySubject(1),supportedQueries:p,supportingOngoingQuery:void 0,joinCondition:void 0,gotResponseFromServer:!1,isEmptyForJoin:!1};this.registerQueryFinalizer(d),this.ongoingQueries.set(s,d),o[t]=d;for(const[e,a]of Object.entries(n)){const s=a.leftAlias;if(s!==t&&e!==t)continue;const u=s===t?e:s;if(s===t){const e=this.createOngoingQueryGraph(r[u],u,r,n,i,!1,o);e.joinCondition=a,p.push(e)}else d.supportingOngoingQuery=this.createOngoingQueryGraph(r[u],u,r,n,i,!1,o)}return d}collectAllObservables(e,t=[]){if(e.isEmptyForJoin)return t;const r=e.alias;t.push(e.subject.pipe((0,xt.UI)((e=>({docs:e,alias:r})))));for(const r of e.supportedQueries)this.collectAllObservables(r,t);return t}joinResults(e,t,r){const n=[],i=e.reduce(((e,t)=>(e[t.alias]?e[t.alias].push(...t.docs):e[t.alias]=[...t.docs],e)),{});i[r.alias].forEach((e=>{n.push({[r.alias]:e})}));const a=this.getOngoingQueriesBfs(r),o=new Set;for(let e=1;e<a.length;e++){const r=a[e].alias;o.has(r)||(o.add(r),this.join(n,r,i[r],t))}return n}join(e,t,r,n){var i;if(!e.length)return;const a=Object.keys(e[0]),o=n[t];if(!o||!a.includes(o.leftAlias))return;const s=new Map;(r||[]).forEach((e=>{const t=e[o.rightFieldName];s.has(t)||s.set(t,[]),je(s.get(t)).push(e)}));for(const r of[...e]){const n=s.get(null===(i=r[o.leftAlias])||void 0===i?void 0:i[o.leftFieldName])||[];if(n.length)for(const i of n)r[t]?e.push(Object.assign(Object.assign({},r),{[t]:i})):r[t]=i;else r[t]||(r[t]=void 0)}}getOngoingQueriesBfs(e){const t=[],r=[e];for(;r.length;){const e=je(r.shift());e.isEmptyForJoin||(t.push(e),r.push(...e.supportedQueries))}return t}updateOngoingQueryWithNewDataFromSupportingQuery(e,t){var r;const n=je(t.joinCondition),i=t.query;if(t.activated){const a=je(null===(r=t.supportingOngoingQuery)||void 0===r?void 0:r.supportedQueries).filter((e=>e.alias===t.alias)),o=new Set(e.map((e=>{var t;return null!==(t=e[n.leftFieldName])&&void 0!==t?t:null})));for(const e of a)e.query.conditions.filter((e=>e.fieldName===n.rightFieldName)).forEach((e=>{o.delete(e.value)}));if(0===o.size)return!1;const s=Te.cloneDeep(i);s.conditions=s.conditions.filter((e=>e.fieldName!==n.rightFieldName)),[...o].forEach((e=>{s.conditions.push({fieldName:n.rightFieldName,operator:"==",value:e})}));const p=Object.assign(Object.assign({},t),{query:s,activated:!0,gotResponseFromServer:!1,subject:new Pe.ReplaySubject(1),clientRequestId:crypto.randomUUID(),isEmptyForJoin:!1});return this.registerQueryFinalizer(p),this.ongoingQueries.set(p.clientRequestId,p),je(t.supportingOngoingQuery).supportedQueries.push(p),this.sendQueryToServer(p),!0}{const r=e.map((e=>{var t;return{fieldName:n.rightFieldName,operator:"==",value:null!==(t=e[n.leftFieldName])&&void 0!==t?t:null}}));return t.activated=!0,r.length?(i.conditions.push(...r),this.sendQueryToServer(t)):t.isEmptyForJoin=!0,!0}}allOngoingQueriesGotServerResult(e){return!!e.isEmptyForJoin||!!e.gotResponseFromServer&&(!e.supportedQueries.length||e.supportedQueries.every((e=>this.allOngoingQueriesGotServerResult(e))))}completeAllSupportedQueries(e){const t=[...e.supportedQueries||[]];for(;t.length;){const e=je(t.shift());t.push(...e.supportedQueries||[]),e.subject.complete()}}destruct(){var e;this.safeToSendQueriesToServer.next(!1),this.safeToSendQueriesToServer.complete();const t=[...this.ongoingQueries.values()];for(const r of t)r.subject.complete(),null===(e=r.allObservables)||void 0===e||e.complete()}hasSubscription(e){var t;return!!(null===(t=this.ongoingQueries.get(e))||void 0===t?void 0:t.subscribe)}sendQueryToServer(e){const t=e.query,r=e.clientRequestId,n={query:t,clientRequestId:r,subscribe:e.subscribe,clientId:this.clientId},i=Ge(this.clientId,r);this.queryMappingManager.addQuery(Tp,t,i).then(),this.ongoingQueries.set(r,e),this.safeToSendQueriesToServer.pipe((0,xt.hX)(Boolean),(0,Pe.take)(1)).subscribe((()=>{e.subject.closed||(this.inflightQueriesCount.next(this.inflightQueriesCount.value+1),this.rpcManager.post("query/query",n).catch((t=>{e.subject.error(t)})).finally((()=>{this.inflightQueriesCount.next(this.inflightQueriesCount.value-1)})))}))}}class Ip extends We{constructor(){super(...arguments),this.stateService=new Op,this.querySubscriptionIdToQuery={}}addQuery(e,t,r){return xp(this,void 0,void 0,(function*(){this.stateService.runInBatch((()=>{let e=0;const n=new Set;for(const i of t.conditions){const a=this.getConditionStatePath(t,i),o=[...this.stateService.getStateInPath(a)||[]];if(rt(o,r),["==","!="].includes(i.operator)){const t=Oe(i.fieldName);n.has(t)||(e++,n.add(t))}else e++;this.stateService.setInPath(a,o)}if(!t.conditions.length){const e=["queryMapping",t.collectionName,t.integrationId,"mapping","unconditional"],n=[...this.stateService.getStateInPath(e)||[]];rt(n,r),this.stateService.setInPath(e,n)}this.stateService.setInPath([...this.getQueryMetadataStatePath(t,r),"condCount"],e)})),this.querySubscriptionIdToQuery[r]=t}))}removeQuery(e,t){return xp(this,void 0,void 0,(function*(){const e=this.querySubscriptionIdToQuery[t];if(e)return this.stateService.runInBatch((()=>{for(const r of e.conditions){const n=this.getConditionStatePath(e,r),i=[...this.stateService.getStateInPath(n)||[]];nt(i,t),i.length?this.stateService.setInPath(n,i):this.stateService.deletePath(n)}if(!e.conditions.length){const r=["queryMapping",e.collectionName,e.integrationId,"mapping","unconditional"],n=[...this.stateService.getStateInPath(r)||[]];nt(n,t),this.stateService.setInPath(r,n)}this.stateService.deletePath(this.getQueryMetadataStatePath(e,t))})),e}))}getMapping(e,t,r){return this.stateService.getStateInPath(["queryMapping",t,r,"mapping"])}getQueryMetadataStatePath(e,t){return["queryMapping",e.collectionName,e.integrationId,"mapping","queriesMetadata",`${t}`]}getConditionStatePath(e,t){const r=Oe(t.fieldName),n=Oe(t.value);return["queryMapping",e.collectionName,e.integrationId,"mapping","conditional",`${r}`,`${t.operator}`,`${n}`]}}var Dp=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}))};class kp{constructor(e,t,r,n){this.rpcEndpoint=e,this.socketManager=t,this.staticHeaders={},this.onGoingRpcsCounter=new Pe.BehaviorSubject(0),Ae(e,"Http endpoint must be provided."),n&&this.setStaticHeader("Authorization",`ApiKey ${n}`),this.rpcEndpoint.endsWith("/")||(this.rpcEndpoint+="/"),r.registerDestructor((()=>Dp(this,void 0,void 0,(function*(){yield(0,Pe.firstValueFrom)(this.onGoingRpcsCounter.pipe((0,Pe.filter)((e=>0===e))))}))))}setStaticHeader(e,t){this.staticHeaders[e]=t}deleteStaticHeader(e){delete this.staticHeaders[e]}getEndpoint(){return this.rpcEndpoint}getStaticHeaders(){return this.staticHeaders}post(e,t){return Dp(this,void 0,void 0,(function*(){yield(0,Pe.firstValueFrom)(this.socketManager.observeConnectionReady().pipe((0,Pe.filter)(Boolean)));let r={"Content-Type":"application/json"};Object.keys(this.staticHeaders)&&(r=Object.assign(Object.assign({},r),this.staticHeaders)),this.onGoingRpcsCounter.next(this.onGoingRpcsCounter.value+1);try{const n=yield fetch(`${this.rpcEndpoint}${e}`,{method:"POST",body:we(t),headers:r});let i;try{i=yield n.text()}catch(e){i="Cannot read body"}if(!n.ok)throw new Ap(n.status,n.statusText,n.headers,n.url,i);try{return JSON.parse(i)}catch(e){return i}}finally{this.onGoingRpcsCounter.next(this.onGoingRpcsCounter.value-1)}}))}}class Ap extends Error{constructor(e,t,r,n,i){super(`RPC error ${e} ${t} calling ${n}: ${i}`),this.statusCode=e,this.statusText=t,this.headers=r,this.url=n,this.body=i}}const jp=Object.create(null);jp.open="0",jp.close="1",jp.ping="2",jp.pong="3",jp.message="4",jp.upgrade="5",jp.noop="6";const Cp=Object.create(null);Object.keys(jp).forEach((e=>{Cp[jp[e]]=e}));const Rp={type:"error",data:"parser error"},$p=({type:e,data:t},r,n)=>{if(t instanceof ArrayBuffer||ArrayBuffer.isView(t)){const e=(e=>Buffer.isBuffer(e)?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength))(t);return n(((e,t)=>t?e:"b"+e.toString("base64"))(e,r))}return n(jp[e]+(t||""))},Mp=(e,t)=>{const r=Buffer.isBuffer(e);return"arraybuffer"===t&&r?Fp(e):e},Fp=e=>{const t=new ArrayBuffer(e.length),r=new Uint8Array(t);for(let t=0;t<e.length;t++)r[t]=e[t];return t},Vp=(e,t)=>{if("string"!=typeof e)return{type:"message",data:Mp(e,t)};const r=e.charAt(0);if("b"===r){const r=Buffer.from(e.substring(1),"base64");return{type:"message",data:Mp(r,t)}}return Cp[r]?e.length>1?{type:Cp[r],data:e.substring(1)}:{type:Cp[r]}:Rp},Lp=String.fromCharCode(30);function qp(e){if(e)return function(e){for(var t in qp.prototype)e[t]=qp.prototype[t];return e}(e)}qp.prototype.on=qp.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},qp.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},qp.prototype.off=qp.prototype.removeListener=qp.prototype.removeAllListeners=qp.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<n.length;i++)if((r=n[i])===t||r.fn===t){n.splice(i,1);break}return 0===n.length&&delete this._callbacks["$"+e],this},qp.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){n=0;for(var i=(r=r.slice(0)).length;n<i;++n)r[n].apply(this,t)}return this},qp.prototype.emitReserved=qp.prototype.emit,qp.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},qp.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Bp=global;function Up(e,...t){return t.reduce(((t,r)=>(e.hasOwnProperty(r)&&(t[r]=e[r]),t)),{})}const zp=setTimeout,Qp=clearTimeout;function Wp(e,t){t.useNativeTimers?(e.setTimeoutFn=zp.bind(Bp),e.clearTimeoutFn=Qp.bind(Bp)):(e.setTimeoutFn=setTimeout.bind(Bp),e.clearTimeoutFn=clearTimeout.bind(Bp))}var Hp=i(1314);const Kp=Hp("engine.io-client:transport");class Gp extends Error{constructor(e,t,r){super(e),this.description=t,this.context=r,this.type="TransportError"}}class Jp extends qp{constructor(e){super(),this.writable=!1,Wp(this,e),this.opts=e,this.query=e.query,this.readyState="",this.socket=e.socket}onError(e,t,r){return super.emitReserved("error",new Gp(e,t,r)),this}open(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState?this.write(e):Kp("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=Vp(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}}const Yp="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Zp={};let Xp,ed=0,td=0;function rd(e){let t="";do{t=Yp[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function nd(){const e=rd(+new Date);return e!==Xp?(ed=0,Xp=e):e+"."+rd(ed++)}for(;td<64;td++)Zp[Yp[td]]=td;function id(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}var ad=i(4934);const od=ad||i.t(ad,2),sd=Hp("engine.io-client:polling");function pd(){}const dd=null!=new od({xdomain:!1}).responseType;class ud extends qp{constructor(e,t){super(),Wp(this,t),this.opts=t,this.method=t.method||"GET",this.uri=e,this.async=!1!==t.async,this.data=void 0!==t.data?t.data:null,this.create()}create(){const e=Up(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const t=this.xhr=new od(e);try{sd("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0);for(let e in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(e)&&t.setRequestHeader(e,this.opts.extraHeaders[e])}}catch(e){}if("POST"===this.method)try{t.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{t.setRequestHeader("Accept","*/*")}catch(e){}"withCredentials"in t&&(t.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(t.timeout=this.opts.requestTimeout),t.onreadystatechange=()=>{4===t.readyState&&(200===t.status||1223===t.status?this.onLoad():this.setTimeoutFn((()=>{this.onError("number"==typeof t.status?t.status:0)}),0))},sd("xhr data %s",this.data),t.send(this.data)}catch(e){return void this.setTimeoutFn((()=>{this.onError(e)}),0)}"undefined"!=typeof document&&(this.index=ud.requestsCount++,ud.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(void 0!==this.xhr&&null!==this.xhr){if(this.xhr.onreadystatechange=pd,e)try{this.xhr.abort()}catch(e){}"undefined"!=typeof document&&delete ud.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}function ld(){for(let e in ud.requests)ud.requests.hasOwnProperty(e)&&ud.requests[e].abort()}ud.requestsCount=0,ud.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",ld):"function"==typeof addEventListener&&addEventListener("onpagehide"in Bp?"pagehide":"unload",ld,!1)),i(4291),i(1938),i(7204);var cd=i(4965);i(6574);const fd=cd,hd=process.nextTick,md=Hp("engine.io-client:websocket"),vd="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),yd={websocket:class extends Jp{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),t=this.opts.protocols,r=vd?{}:Up(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=new fd(e,t,r)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType||"nodebuffer",this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const r=e[t],n=t===e.length-1;$p(r,this.supportsBinary,(e=>{const t={};r.options&&(t.compress=r.options.compress),this.opts.perMessageDeflate&&("string"==typeof e?Buffer.byteLength(e):e.length)<this.opts.perMessageDeflate.threshold&&(t.compress=!1);try{this.ws.send(e,t)}catch(e){md("websocket closed before onclose event")}n&&hd((()=>{this.writable=!0,this.emitReserved("drain")}),this.setTimeoutFn)}))}}doClose(){void 0!==this.ws&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const t=this.opts.secure?"wss":"ws";let r="";this.opts.port&&("wss"===t&&443!==Number(this.opts.port)||"ws"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=nd()),this.supportsBinary||(e.b64=1);const n=id(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(n.length?"?"+n:"")}check(){return!!fd}},polling:class extends Jp{constructor(e){if(super(e),this.polling=!1,"undefined"!=typeof location){const t="https:"===location.protocol;let r=location.port;r||(r=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||r!==e.port,this.xs=e.secure!==t}const t=e&&e.forceBase64;this.supportsBinary=dd&&!t}get name(){return"polling"}doOpen(){this.poll()}pause(e){this.readyState="pausing";const t=()=>{sd("paused"),this.readyState="paused",e()};if(this.polling||!this.writable){let e=0;this.polling&&(sd("we are currently polling - waiting to pause"),e++,this.once("pollComplete",(function(){sd("pre-pause polling complete"),--e||t()}))),this.writable||(sd("we are currently writing - waiting to pause"),e++,this.once("drain",(function(){sd("pre-pause writing complete"),--e||t()})))}else t()}poll(){sd("polling"),this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){sd("polling got data %s",e),((e,t)=>{const r=e.split(Lp),n=[];for(let e=0;e<r.length;e++){const i=Vp(r[e],t);if(n.push(i),"error"===i.type)break}return n})(e,this.socket.binaryType).forEach((e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState?this.poll():sd('ignoring poll - transport state "%s"',this.readyState))}doClose(){const e=()=>{sd("writing close packet"),this.write([{type:"close"}])};"open"===this.readyState?(sd("transport open - closing"),e()):(sd("transport not open - deferring close"),this.once("open",e))}write(e){this.writable=!1,((e,t)=>{const r=e.length,n=new Array(r);let i=0;e.forEach(((e,a)=>{$p(e,!1,(e=>{n[a]=e,++i===r&&t(n.join(Lp))}))}))})(e,(e=>{this.doWrite(e,(()=>{this.writable=!0,this.emitReserved("drain")}))}))}uri(){let e=this.query||{};const t=this.opts.secure?"https":"http";let r="";!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=nd()),this.supportsBinary||e.sid||(e.b64=1),this.opts.port&&("https"===t&&443!==Number(this.opts.port)||"http"===t&&80!==Number(this.opts.port))&&(r=":"+this.opts.port);const n=id(e);return t+"://"+(-1!==this.opts.hostname.indexOf(":")?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(n.length?"?"+n:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new ud(this.uri(),e)}doWrite(e,t){const r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",((e,t)=>{this.onError("xhr post error",e,t)}))}doPoll(){sd("xhr poll");const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",((e,t)=>{this.onError("xhr poll error",e,t)})),this.pollXhr=e}}},gd=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,bd=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function _d(e){const t=e,r=e.indexOf("["),n=e.indexOf("]");-1!=r&&-1!=n&&(e=e.substring(0,r)+e.substring(r,n).replace(/:/g,";")+e.substring(n,e.length));let i=gd.exec(e||""),a={},o=14;for(;o--;)a[bd[o]]=i[o]||"";return-1!=r&&-1!=n&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){const r=t.replace(/\/{2,9}/g,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1),"/"==t.slice(-1)&&r.splice(r.length-1,1),r}(0,a.path),a.queryKey=function(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,(function(e,t,n){t&&(r[t]=n)})),r}(0,a.query),a}const wd=Hp("engine.io-client:socket");class Sd extends qp{constructor(e,t={}){super(),e&&"object"==typeof e&&(t=e,e=null),e?(e=_d(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=_d(t.host).host),Wp(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=t.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},t),this.opts.path=this.opts.path.replace(/\/$/,"")+"/","string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},r=e.split("&");for(let e=0,n=r.length;e<n;e++){let n=r[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return t}(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,"function"==typeof addEventListener&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(e){wd('creating transport "%s"',e);const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const r=Object.assign({},this.opts.transportOptions[e],this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return wd("options: %j",r),new yd[e](r)}open(){let e;if(this.opts.rememberUpgrade&&Sd.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length)return void this.setTimeoutFn((()=>{this.emitReserved("error","No transports available")}),0);e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(e){return wd("error while creating transport: %s",e),this.transports.shift(),void this.open()}e.open(),this.setTransport(e)}setTransport(e){wd("setting transport %s",e.name),this.transport&&(wd("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",(e=>this.onClose("transport close",e)))}probe(e){wd('probing transport "%s"',e);let t=this.createTransport(e),r=!1;Sd.priorWebsocketSuccess=!1;const n=()=>{r||(wd('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(n=>{if(!r)if("pong"===n.type&&"probe"===n.data){if(wd('probe transport "%s" pong',e),this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;Sd.priorWebsocketSuccess="websocket"===t.name,wd('pausing current transport "%s"',this.transport.name),this.transport.pause((()=>{r||"closed"!==this.readyState&&(wd("changing transport and sending upgrade packet"),d(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())}))}else{wd('probe transport "%s" failed',e);const r=new Error("probe error");r.transport=t.name,this.emitReserved("upgradeError",r)}})))};function i(){r||(r=!0,d(),t.close(),t=null)}const a=r=>{const n=new Error("probe error: "+r);n.transport=t.name,i(),wd('probe transport "%s" failed because of error: %s',e,r),this.emitReserved("upgradeError",n)};function o(){a("transport closed")}function s(){a("socket closed")}function p(e){t&&e.name!==t.name&&(wd('"%s" works - aborting "%s"',e.name,t.name),i())}const d=()=>{t.removeListener("open",n),t.removeListener("error",a),t.removeListener("close",o),this.off("close",s),this.off("upgrading",p)};t.once("open",n),t.once("error",a),t.once("close",o),this.once("close",s),this.once("upgrading",p),t.open()}onOpen(){if(wd("socket open"),this.readyState="open",Sd.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush(),"open"===this.readyState&&this.opts.upgrade&&this.transport.pause){wd("starting upgrade probes");let e=0;const t=this.upgrades.length;for(;e<t;e++)this.probe(this.upgrades[e])}}onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(wd('socket receive: type "%s", data "%s"',e.type,e.data),this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":const t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}else wd('packet received with socket readyState "%s"',this.readyState)}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn((()=>{this.onClose("ping timeout")}),this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this.getWritablePackets();wd("flushing %d packets in socket",e.length),this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let r=0;r<this.writeBuffer.length;r++){const n=this.writeBuffer[r].data;if(n&&(e+="string"==typeof(t=n)?function(e){let t=0,r=0;for(let n=0,i=e.length;n<i;n++)t=e.charCodeAt(n),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(n++,r+=4);return r}(t):Math.ceil(1.33*(t.byteLength||t.size))),r>0&&e>this.maxPayload)return wd("only send %d out of %d packets",r,this.writeBuffer.length),this.writeBuffer.slice(0,r);e+=2}var t;return wd("payload size is %d (max: %d)",e,this.maxPayload),this.writeBuffer}write(e,t,r){return this.sendPacket("message",e,t,r),this}send(e,t,r){return this.sendPacket("message",e,t,r),this}sendPacket(e,t,r,n){if("function"==typeof t&&(n=t,t=void 0),"function"==typeof r&&(n=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;const i={type:e,data:t,options:r};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),n&&this.once("flush",n),this.flush()}close(){const e=()=>{this.onClose("forced close"),wd("socket closing - telling transport to close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},r=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",(()=>{this.upgrading?r():e()})):this.upgrading?r():e()),this}onError(e){wd("socket error %j",e),Sd.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(wd('socket close with reason: "%s"',e),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),"function"==typeof removeEventListener&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const t=[];let r=0;const n=e.length;for(;r<n;r++)~this.transports.indexOf(e[r])&&t.push(e[r]);return t}}Sd.protocol=4,Sd.protocol;const Od=Hp("socket.io-client:url"),Ed="function"==typeof ArrayBuffer,Nd=Object.prototype.toString,xd="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Nd.call(Blob),Td="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===Nd.call(File);function Pd(e){return Ed&&(e instanceof ArrayBuffer||(e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||xd&&e instanceof Blob||Td&&e instanceof File}function Id(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,r=e.length;t<r;t++)if(Id(e[t]))return!0;return!1}if(Pd(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return Id(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&Id(e[t]))return!0;return!1}function Dd(e){const t=[],r=e.data,n=e;return n.data=kd(r,t),n.attachments=t.length,{packet:n,buffers:t}}function kd(e,t){if(!e)return e;if(Pd(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}if(Array.isArray(e)){const r=new Array(e.length);for(let n=0;n<e.length;n++)r[n]=kd(e[n],t);return r}if("object"==typeof e&&!(e instanceof Date)){const r={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=kd(e[n],t));return r}return e}function Ad(e,t){return e.data=jd(e.data,t),delete e.attachments,e}function jd(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=jd(e[r],t);else if("object"==typeof e)for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=jd(e[r],t));return e}const Cd=Hp("socket.io-parser"),Rd=5;var $d;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}($d||($d={}));class Md{constructor(e){this.replacer=e}encode(e){return Cd("encoding packet %j",e),e.type!==$d.EVENT&&e.type!==$d.ACK||!Id(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===$d.EVENT?$d.BINARY_EVENT:$d.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==$d.BINARY_EVENT&&e.type!==$d.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),Cd("encoded %j as %s",e,t),t}encodeAsBinary(e){const t=Dd(e),r=this.encodeAsString(t.packet),n=t.buffers;return n.unshift(r),n}}class Fd extends qp{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const r=t.type===$d.BINARY_EVENT;r||t.type===$d.BINARY_ACK?(t.type=r?$d.EVENT:$d.ACK,this.reconstructor=new Vd(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!Pd(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const r={type:Number(e.charAt(0))};if(void 0===$d[r.type])throw new Error("unknown packet type "+r.type);if(r.type===$d.BINARY_EVENT||r.type===$d.BINARY_ACK){const n=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const i=e.substring(n,t);if(i!=Number(i)||"-"!==e.charAt(t))throw new Error("Illegal attachments");r.attachments=Number(i)}if("/"===e.charAt(t+1)){const n=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(n,t)}else r.nsp="/";const n=e.charAt(t+1);if(""!==n&&Number(n)==n){const n=t+1;for(;++t;){const r=e.charAt(t);if(null==r||Number(r)!=r){--t;break}if(t===e.length)break}r.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){const n=this.tryParse(e.substr(t));if(!Fd.isPayloadValid(r.type,n))throw new Error("invalid payload");r.data=n}return Cd("decoded %s as %j",e,r),r}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case $d.CONNECT:return"object"==typeof t;case $d.DISCONNECT:return void 0===t;case $d.CONNECT_ERROR:return"string"==typeof t||"object"==typeof t;case $d.EVENT:case $d.BINARY_EVENT:return Array.isArray(t)&&t.length>0;case $d.ACK:case $d.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Vd{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=Ad(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}function Ld(e,t,r){return e.on(t,r),function(){e.off(t,r)}}const qd=Hp("socket.io-client:socket"),Bd=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Ud extends qp{constructor(e,t,r){super(),this.connected=!1,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,r&&r.auth&&(this.auth=r.auth),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[Ld(e,"open",this.onopen.bind(this)),Ld(e,"packet",this.onpacket.bind(this)),Ld(e,"error",this.onerror.bind(this)),Ld(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){if(Bd.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');t.unshift(e);const r={type:$d.EVENT,data:t,options:{}};if(r.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++;qd("emitting packet with ack id %d",e);const n=t.pop();this._registerAckCallback(e,n),r.id=e}const n=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return!this.flags.volatile||n&&this.connected?this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r):qd("discard packet as the transport is not currently writable"),this.flags={},this}_registerAckCallback(e,t){const r=this.flags.timeout;if(void 0===r)return void(this.acks[e]=t);const n=this.io.setTimeoutFn((()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&(qd("removing packet with ack id %d from the buffer",e),this.sendBuffer.splice(t,1));qd("event with ack id %d has timed out after %d ms",e,r),t.call(this,new Error("operation has timed out"))}),r);this.acks[e]=(...e)=>{this.io.clearTimeoutFn(n),t.apply(this,[null,...e])}}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){qd("transport is open - connecting"),"function"==typeof this.auth?this.auth((e=>{this.packet({type:$d.CONNECT,data:e})})):this.packet({type:$d.CONNECT,data:this.auth})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){qd("close (%s)",e),this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case $d.CONNECT:if(e.data&&e.data.sid){const t=e.data.sid;this.onconnect(t)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case $d.EVENT:case $d.BINARY_EVENT:this.onevent(e);break;case $d.ACK:case $d.BINARY_ACK:this.onack(e);break;case $d.DISCONNECT:this.ondisconnect();break;case $d.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];qd("emitting event %j",t),null!=e.id&&(qd("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const r of t)r.apply(this,e)}super.emit.apply(this,e)}ack(e){const t=this;let r=!1;return function(...n){r||(r=!0,qd("sending ack %j",n),t.packet({type:$d.ACK,id:e,data:n}))}}onack(e){const t=this.acks[e.id];"function"==typeof t?(qd("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):qd("bad ack %s",e.id)}onconnect(e){qd("socket connected with id %s",e),this.id=e,this.connected=!0,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach((e=>this.emitEvent(e))),this.receiveBuffer=[],this.sendBuffer.forEach((e=>{this.notifyOutgoingListeners(e),this.packet(e)})),this.sendBuffer=[]}ondisconnect(){qd("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach((e=>e())),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(qd("performing disconnect (%s)",this.nsp),this.packet({type:$d.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const r of t)r.apply(this,e.data)}}}function zd(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}zd.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-r:e+r}return 0|Math.min(e,this.max)},zd.prototype.reset=function(){this.attempts=0},zd.prototype.setMin=function(e){this.ms=e},zd.prototype.setMax=function(e){this.max=e},zd.prototype.setJitter=function(e){this.jitter=e};const Qd=Hp("socket.io-client:manager");class Wd extends qp{constructor(e,r){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(r=e,e=void 0),(r=r||{}).path=r.path||"/socket.io",this.opts=r,Wp(this,r),this.reconnection(!1!==r.reconnection),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=r.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new zd({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==r.timeout?2e4:r.timeout),this._readyState="closed",this.uri=e;const i=r.parser||t;this.encoder=new i.Encoder,this.decoder=new i.Decoder,this._autoConnect=!1!==r.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(Qd("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;Qd("opening %s",this.uri),this.engine=new Sd(this.uri,this.opts);const t=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const n=Ld(t,"open",(function(){r.onopen(),e&&e()})),i=Ld(t,"error",(t=>{Qd("error"),r.cleanup(),r._readyState="closed",this.emitReserved("error",t),e?e(t):r.maybeReconnectOnOpen()}));if(!1!==this._timeout){const e=this._timeout;Qd("connect attempt will timeout after %d",e),0===e&&n();const r=this.setTimeoutFn((()=>{Qd("connect attempt timed out after %d",e),n(),t.close(),t.emit("error",new Error("timeout"))}),e);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}return this.subs.push(n),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){Qd("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Ld(e,"ping",this.onping.bind(this)),Ld(e,"data",this.ondata.bind(this)),Ld(e,"error",this.onerror.bind(this)),Ld(e,"close",this.onclose.bind(this)),Ld(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){hd((()=>{this.emitReserved("packet",e)}),this.setTimeoutFn)}onerror(e){Qd("error",e),this.emitReserved("error",e)}socket(e,t){let r=this.nsps[e];return r||(r=new Ud(this,e,t),this.nsps[e]=r),r}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return void Qd("socket %s is still active, skipping close",e);this._close()}_packet(e){Qd("writing packet %j",e);const t=this.encoder.encode(e);for(let r=0;r<t.length;r++)this.engine.write(t[r],e.options)}cleanup(){Qd("cleanup"),this.subs.forEach((e=>e())),this.subs.length=0,this.decoder.destroy()}_close(){Qd("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(e,t){Qd("closed due to %s",e),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)Qd("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();Qd("will wait %dms before reconnect attempt",t),this._reconnecting=!0;const r=this.setTimeoutFn((()=>{e.skipReconnect||(Qd("attempting reconnect"),this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open((t=>{t?(Qd("reconnect attempt error"),e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):(Qd("reconnect success"),e.onreconnect())})))}),t);this.opts.autoUnref&&r.unref(),this.subs.push((function(){clearTimeout(r)}))}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Hd=Hp("socket.io-client"),Kd={};function Gd(e,t){"object"==typeof e&&(t=e,e=void 0);const r=function(e,t="",r){let n=e;r=r||"undefined"!=typeof location&&location,null==e&&(e=r.protocol+"//"+r.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?r.protocol+e:r.host+e),/^(https?|wss?):\/\//.test(e)||(Od("protocol-less url %s",e),e=void 0!==r?r.protocol+"//"+e:"https://"+e),Od("parse %s",e),n=_d(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const i=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port+t,n.href=n.protocol+"://"+i+(r&&r.port===n.port?"":":"+n.port),n}(e,(t=t||{}).path||"/socket.io"),n=r.source,i=r.id,a=r.path,o=Kd[i]&&a in Kd[i].nsps;let s;return t.forceNew||t["force new connection"]||!1===t.multiplex||o?(Hd("ignoring socket cache for %s",n),s=new Wd(n,t)):(Kd[i]||(Hd("new io instance for %s",n),Kd[i]=new Wd(n,t)),s=Kd[i]),r.query&&!t.query&&(t.query=r.queryKey),s.socket(r.path,t)}Object.assign(Gd,{Manager:Wd,Socket:Ud,io:Gd,connect:Gd});const Jd=e=>e();var Yd=function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}))};class Zd{constructor(e,t,r=Jd,n){this.clientId=e,this.socketIoEndpoint=t,this.messageNotificationWrapper=r,this.destructManager=n,this.webSocketObserver=new Pe.Subject,this.allMessagesObserver=new Pe.Subject,this.connectionReady=new Pe.BehaviorSubject(!1),this.seenMessageIds=new Set,this.firstConnection=!0,this.destructManager.registerDestructor((()=>Yd(this,void 0,void 0,(function*(){yield this.destruct()})))),this.setupMessageAcknowledgments(),this.connect()}observeNotifications(){return this.webSocketObserver.asObservable()}observeConnectionReady(){return this.connectionReady.asObservable().pipe((0,Pe.distinctUntilChanged)())}sendMessage(e){(0,Pe.firstValueFrom)(this.connectionReady.pipe((0,Pe.filter)(Boolean))).then((()=>{je(this.socket).emit("message",e)}))}connect(){this.socket=Gd(this.socketIoEndpoint,{query:{clientId:this.clientId},reconnectionDelay:5e3,transports:["polling"]}),this.socket.on("connect",(()=>{})),this.socket.on("disconnect",((e,t)=>{this.connectionReady.next(!1)})),this.socket.on("connectionReady",(()=>{this.connectionReady.next(!0),this.firstConnection||this.sendMessage({type:"catchup"}),this.firstConnection=!1})),this.socket.on("message",(e=>{const t=Se(e);for(const e of t)this.allMessagesObserver.next(e),this.seenMessageIds.has(e.messageId)||(this.seenMessageIds.add(e.messageId),this.messageNotificationWrapper((()=>{this.webSocketObserver.next(e)})))}))}setupMessageAcknowledgments(){const e=new Pe.Subject;this.allMessagesObserver.subscribe((t=>{(null==t?void 0:t.messageId)&&e.next(t.messageId)}));const t=[];e.pipe((0,Pe.tap)((e=>t.push(e))),(0,Pe.debounceTime)(100)).subscribe((()=>Yd(this,void 0,void 0,(function*(){const e=[...t.splice(0)];this.sendMessage({type:"acknowledge",payload:e})}))))}destruct(){var e;return Yd(this,void 0,void 0,(function*(){this.sendMessage({type:"kill"}),this.connectionReady.next(!1),yield(0,Pe.firstValueFrom)((0,Pe.timer)(0)),null===(e=this.socket)||void 0===e||e.disconnect(),this.webSocketObserver.complete(),this.allMessagesObserver.complete()}))}}class Xd{constructor(e){var t;this.destructManager=new Ft,Ae(e.appId,"APP_ID_MUST_BE_PROVIDED");const r=new URL(null!==(t=e.baseUrl)&&void 0!==t?t:"http://local.squidcloud.io:8000");r.host=`${e.appId}.${r.host}`;const n=r.toString();this.clientId=crypto.randomUUID(),this.socketManager=new Zd(this.clientId,n,e.messageNotificationWrapper,this.destructManager),this.rpcManager=new kp(n,this.socketManager,this.destructManager,e.apiKey),this.dbDao=new Mt,this.lockManager=new it,this.documentReferenceFactory=new Vt,this.querySubscriptionManager=new Pp(this.rpcManager,this.clientId,this.dbDao,this.destructManager);const i=new pp(this.clientId,this.rpcManager,this.lockManager,this.querySubscriptionManager);this.queryBuilderFactory=new dp(this.querySubscriptionManager,this.documentReferenceFactory),this.collectionReferenceFactory=new Dt(this.documentReferenceFactory,this.queryBuilderFactory),this.dataManager=new Ct(this.dbDao,i,this.socketManager,this.querySubscriptionManager,this.queryBuilderFactory,this.lockManager,this.destructManager),this.documentReferenceFactory.setDataManager(this.dataManager),this.backendFunctionManager=new Pt(this.clientId,this.rpcManager,this.socketManager),this.namedQueryManager=new It(this.clientId,this.rpcManager,this.socketManager),this.apiManager=new Tt(this.clientId,this.rpcManager,this.socketManager,e.apiServerUrlOverrideMapping),this.graphqlClientFactory=new op(this.rpcManager)}static getInstance(e){const t=_e(e);let r=Xd.squidInstancesMap.get(t);return r||(r=new Xd(e),Xd.squidInstancesMap.set(t,r),r)}static getInstances(){return Array.from(Xd.squidInstancesMap.values())}setAuthIdToken(e){e?this.rpcManager.setStaticHeader("Authorization",`Bearer ${e}`):this.rpcManager.deleteStaticHeader("Authorization")}collection(e,t="internal"){return this.collectionReferenceFactory.get(e,t)}runInTransaction(e){return this.dataManager.runInTransaction(e)}executeFunction(e,...t){return(0,Pe.firstValueFrom)(this.backendFunctionManager.executeFunctionAndSubscribe(e,...t))}executeNamedQuery(e,t,r){return(0,Pe.firstValueFrom)(this.namedQueryManager.executeNamedQueryAndSubscribe(e,t,r))}callApi(e,t,r={}){return(0,Pe.firstValueFrom)(this.apiManager.callApiAndSubscribe(e,t,r))}graphql(e){return this.graphqlClientFactory.get(e)}destruct(){return e=this,t=void 0,n=function*(){return this.destructManager.destruct()},new((r=void 0)||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}));var e,t,r,n}}Xd.squidInstancesMap=new Map;class eu{metadata(){return pt.data}cleanup(){return e=this,t=void 0,n=function*(){for(const e of Xd.getInstances())yield e.destruct()},new((r=void 0)||(r=Promise))((function(i,a){function o(e){try{p(n.next(e))}catch(e){a(e)}}function s(e){try{p(n.throw(e))}catch(e){a(e)}}function p(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}p((n=n.apply(e,t||[])).next())}));var e,t,r,n}}class tu{constructor(e){this.secrets=e.secrets,this.backendApiKey=e.backendApiKey,this.logger=e.logger,this.context=e.context}get squid(){return Xd.getInstance({appId:this.context.appId,apiKey:this.backendApiKey,baseUrl:process.env.SQUID_BASE_URL})}}})();var o=exports;for(var s in a)o[s]=a[s];a.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})})();