diff --git a/README.md b/README.md index 1b3e7df..c3d992d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -![Completion](https://img.shields.io/badge/completion-19%25-orange) ![Help Wanted](https://img.shields.io/badge/%20-help--wanted-%23159818) ![Version 0.9.3](https://img.shields.io/badge/stable-v0.9.4-green) ![Version 0.9.3](https://img.shields.io/badge/dev-v0.9.5-blue) ![Sponsors](https://img.shields.io/badge/sponsors-1-orange) +![Completion](https://img.shields.io/badge/completion-21%25-orange) ![Help Wanted](https://img.shields.io/badge/%20-help--wanted-%23159818) ![Version 0.9.3](https://img.shields.io/badge/stable-v0.9.4-green) ![Version 0.9.3](https://img.shields.io/badge/dev-v0.9.5-blue) ![Sponsors](https://img.shields.io/badge/sponsors-1-orange) -## qDesk +## qD > Cross-Platform Trustless Social Network ![Screenshot](https://github.com/QuestNetwork/qd-messages-ts/raw/0.9.3/doc/images/0.9.3.png?raw=true) @@ -8,37 +8,37 @@ >In case you are experiencing connectivity issues, on the app you can try using different [star node configurations](#troubleshooting) in Settings > IPFS. ## Description -qDesk is an example app for our JavaScript p2p library [Quest OS](https://github.com/QuestNetwork/quest-os-js) with cool open source modules like [qDesk Messages](https://github.com/QuestNetwork/qd-messages-ts) and [qDesk Social](https://github.com/QuestNetwork/qd-social-ts), as well as the upcoming [qDesk Markets](https://github.com/QuestNetwork/qd-market-ts), [qDesk News](https://github.com/QuestNetwork/qd-news-ts) and [qDesk Games](https://github.com/QuestNetwork/qd-games-ts). +qD is an example app for our JavaScript p2p library [qOS](quest-os-js) with cool open source modules such as [qD Messages](https://github.com/QuestNetwork/qd-messages-ts) and [qD Social](https://github.com/QuestNetwork/qd-social-ts) and the upcoming [qD Vibes](https://github.com/QuestNetwork/qd-vibes-ts), [qD Markets](https://github.com/QuestNetwork/qd-market-ts), [qD News](https://github.com/QuestNetwork/qd-news-ts), [qD Apps](qd-apps-ts), [qD Games](https://github.com/QuestNetwork/qd-games-ts) and [qD Calendar](https://github.com/QuestNetwork/qd-calendar-ts). -We have chosen Angular/Electron as an example environment because we believe it offers the best accessibility for developers coming from any other language/framework. It is already being used in Python on PyQt5 and we aim to provide the underlying library in Go and wherever possible in Rust as well. - -qDesk makes it possible to build custom, secure and decentralized social networks in less than 20 days. +qD makes it possible to build custom, secure and decentralized social networks in less than 20 days. Our quest network aims to allow the creation and (distributed) completion of quests supported by a feature rich decentralized social network. -0.9.5+ allow to connect qDesk Social profiles to Twitter without sharing information with Twitter as an additional layer of verification. It is planned to add passive verification for a custom list of external networks to verify the peer identities. +0.9.5+ allow to connect qD Social profiles to Twitter without sharing information with Twitter as an additional layer of verification. It is planned to add passive verification for a custom list of external networks to verify the peer identities. + +1.0.0+ complies with privacy regulations and can be used for confidential information as a production social network worldwide. -1.0.0+ complies with privacy regulations and can be used for confidential information as a production social network for enterprises worldwide. +We have chosen Angular/Electron as an example environment because we believe it offers the best accessibility for developers coming from any other language/framework. The Quest Network is already being used in Python on PyQt5 and we aim to provide the underlying library in Go and wherever possible in Rust as well. -This app is built on [Quest OS](https://github.com/QuestNetwork/quest-os-js) which makes use of the [Interplanetary Filesystem](https://ipfs.io), [IPFS GossipSub](https://blog.ipfs.io/2020-05-20-gossipsub-v1.1/) and [IPFS DAGs](https://docs.ipfs.io/concepts/merkle-dag/). +This app is built on [qOS](https://github.com/QuestNetwork/quest-os-js) which makes use of the [Interplanetary Filesystem](https://ipfs.io), [IPFS GossipSub](https://blog.ipfs.io/2020-05-20-gossipsub-v1.1/) and [IPFS DAGs](https://docs.ipfs.io/concepts/merkle-dag/). -Look what other people have built with qDesk: [Awesome Quest Network dApps](https://github.com/QuestNetwork/awesome/blob/master/README.md)! +Look what other people have built with qD: [Awesome Quest Network dApps](https://github.com/QuestNetwork/awesome/blob/master/README.md)! -qDesk allows to lazy load modules. +qD allows to lazy load modules. ## Security ![Completion 1.0.0](https://img.shields.io/badge/OAEP-4096%20Bit-green) ![EC](https://img.shields.io/badge/EC-P‐521-green) ![AES](https://img.shields.io/badge/AES-256%20Bit-yellow) -[Quest OS](https://github.com/QuestNetwork/quest-os-js) uses [4096 Bit RSA-OAEP](https://en.wikipedia.org/wiki/RSA_(cryptosystem)#Operation) encryption, [256 Bit AES-CBC](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard) encryption and [NIST P-521 EC](https://en.wikipedia.org/wiki/Elliptic-curve_cryptography#Fast_reduction_(NIST_curves)) signatures. +[qOS](https://github.com/QuestNetwork/quest-os-js) uses [4096 Bit RSA-OAEP](https://en.wikipedia.org/wiki/RSA_(cryptosystem)#Operation) encryption, [256 Bit AES-CBC](https://en.wikipedia.org/wiki/Advanced_Encryption_Standard) encryption and [NIST P-521 EC](https://en.wikipedia.org/wiki/Elliptic-curve_cryptography#Fast_reduction_(NIST_curves)) signatures. ## Download | Version | Linux | Mac | Windows | |---------:|------------------------------|------------------------------|------------------------------| -| 0.9.4 | [qDesk-0.9.4.AppImage](https://github.com/QuestNetwork/qDesk/releases/download/0.9.4/qDesk-0.9.4.AppImage) | [qDesk-0.9.4.dmg](https://github.com/QuestNetwork/qDesk/releases/download/0.9.4/qDesk-0.9.4.dmg) | No Official Build | -| 0.9.3-rc1 | [q-desk-0.9.3.AppImage](https://github.com/QuestNetwork/qDesk/releases/download/0.9.3-rc1/q-desk-0.9.3.AppImage) | [q-desk-0.9.3.dmg](https://github.com/QuestNetwork/qDesk/releases/download/0.9.3-rc1/q-desk-0.9.3.dmg) | No Official Build | +| 0.9.4 | [qDesk-0.9.4.AppImage](https://github.com/QuestNetwork/qD/releases/download/0.9.4/qD-0.9.4.AppImage) | [qDesk-0.9.4.dmg](https://github.com/QuestNetwork/qD/releases/download/0.9.4/qD-0.9.4.dmg) | No Official Build | +| 0.9.3-rc1 | [q-desk-0.9.3.AppImage](https://github.com/QuestNetwork/qD/releases/download/0.9.3-rc1/q-desk-0.9.3.AppImage) | [q-desk-0.9.3.dmg](https://github.com/QuestNetwork/qD/releases/download/0.9.3-rc1/q-desk-0.9.3.dmg) | No Official Build | | 0.9.2 | [quest-messenger-0.9.2.AppImage](https://github.com/QuestNetwork/qd-messages-ts/releases/download/0.9.2/quest-messenger-0.9.2.AppImage) | [quest-messenger-0.9.2.dmg](https://github.com/QuestNetwork/qd-messages-ts/releases/download/0.9.2/quest-messenger-0.9.2.dmg) | No Official Build | | 0.9.1 | [quest-messenger-0.9.1.AppImage](https://github.com/QuestNetwork/qd-messages-ts/releases/download/0.9.1/quest-messenger-0.9.1.AppImage) | [quest-messenger-0.9.1.dmg](https://github.com/QuestNetwork/qd-messages-ts/releases/download/0.9.1/quest-messenger-0.9.1.dmg) | No Official Build | @@ -48,10 +48,10 @@ If you want anything else, you'll have to build from sources and probably fix so ## Web Demo -Try our example application live in your browser. We recommend Chrome & Firefox. - **0.9.4** +Try our example application live in your browser. We recommend Chrome & Firefox. + https://gateway.pinata.cloud/ipfs/QmZNvMbTPCEW1vebsEc5L2dx18PeYCKgwP5oMCVREkmr3p/ @@ -66,7 +66,7 @@ http://ipfs.infura.io/ipfs/QmZNvMbTPCEW1vebsEc5L2dx18PeYCKgwP5oMCVREkmr3p/ **0.9.3-rc1** - + https://gateway.pinata.cloud/ipfs/QmTSuYWm2LXyYndEq2W62raSpjjUioSoSW3otSJRFQ1wra/ @@ -92,33 +92,33 @@ Please consider supporting us, so that we can build a non-profit for this projec | Ethereum| Bitcoin | |---|---| | `0xBC2A050E7B87610Bc29657e7e7901DdBA6f2D34E` | `bc1qujrqa3s34r5h0exgmmcuf8ejhyydm8wwja4fmq` | -| | | +| | | ## Development -### Planning +### Planning See our [Kanban](https://github.com/orgs/QuestNetwork/projects/1) for the development of 0.9.5, feel free to add or pick up features! ### Prerequisites -1.) +1.) Clone & Checkout essential repositories: ``` -git clone https://github.com/QuestNetwork/qd-social-ts && git clone https://github.com/QuestNetwork/qd-messages-ts && git clone https://github.com/QuestNetwork/qDesk && cd qd-social-ts && git checkout 0.9.3 && cd .. && cd qd-messages-ts && git checkout 0.9.3-rc1 && cd .. && cd qDesk && git checkout 0.9.3-rc1 && cd .. +git clone https://github.com/QuestNetwork/qd-social-ts && git clone https://github.com/QuestNetwork/qd-messages-ts && git clone https://github.com/QuestNetwork/qD && cd qd-social-ts && git checkout 0.9.4 && cd .. && cd qd-messages-ts && git checkout 0.9.4 && cd .. && cd qD && git checkout 0.9.4 && cd .. ``` -OR +OR Clone & Checkout all repositories on the latest dev branch: -``` -git clone https://github.com/QuestNetwork/qDesk && cd qDesk && git checkout 0.9.4 && npm run q-dev && cd .. +``` +git clone https://github.com/QuestNetwork/qD && cd qD && git checkout 0.9.5-dev && npm run q-dev && cd .. ```` -2.) Install Dependencies & Enter qDesk Repository: +2.) Install Dependencies & Enter qD Repository: ``` -cd quest-utilities-js && npm install && cd .. && cd quest-crypto-js && npm install && cd .. && cd quest-os-js && npm install && cd .. && cd qd-social-ts && npm run inst && cd .. && cd qd-messages-ts && npm run inst && cd .. && cd qDesk && npm run inst +cd quest-utilities-js && npm install && cd .. && cd quest-crypto-js && npm install && cd .. && cd quest-os-js && npm install && cd .. && cd qd-social-ts && npm run inst && cd .. && cd qd-messages-ts && npm run inst && cd .. && cd qD && npm run inst ``` ### Commands @@ -136,7 +136,7 @@ To The same directory you're cloning this repository to. **Build For Mac** ``` sed -i 's/"@questnetwork\/q-desk"/"q-desk"/g' package.json -&& npm run mac && +&& npm run mac && sed -i 's/"q-desk"/"@questnetwork\/q-desk"/g' package.json ``` Builds MacOS DMG and .app files to ``dist/`` and ``dist/mac`` @@ -178,8 +178,6 @@ If you have trouble getting the directory discovered by gateways, you can try `` Keep in mind that the bundled web application is >14MB alone without assets, please be patient until we have a preloader. - - We added an example ```swarm.json``` to the ```src/app``` folder with an example node to make reproduction easier, but we strongly recommend to use our [Quest CLI](https://github.com/QuestNetwork/quest-cli) to test and build the app. Pro Tip: Put a file in your `/bin` that runs the quest-cli like so `node /path/to/quest-cli/index.js` from any folder on your system. It's much nicer! @@ -204,50 +202,74 @@ Pro Tip: Put a file in your `/bin` that runs the quest-cli like so `node /path/t - App is now modular, makes building add-ons easy - Drive Lock Fixed - Offer "LocalStorage" As A Storage Container On The Web To Stay Signed In -- [qDesk Messages](https://github.com/QuestNetwork/qd-messages-ts) -- [qDesk Social](https://github.com/QuestNetwork/quest-social-js) +- [qD Messages \[Beta\]](https://github.com/QuestNetwork/qd-messages-ts) +- [qD Social \[Beta\]](https://github.com/QuestNetwork/qd-social-js) **0.9.4** -- Encrypt Settings/Message History Files +- Encrypt Account - Change Swarm Peers In The Browser -- [Quest Network Coral Process](https://github.com/QuestNetwork/quest-coral-js) +- [Quest Coral Module](https://github.com/QuestNetwork/quest-coral-js) - Additional Peering, option to pull from GitHub. - Module Upgrades +**0.9.5** +- Account Name For Additional Security & Hashing +- qD redirects to the originally requested URI after signIn +- New Help Link + ## Roadmap **0.9.5** +- [Quest Quorum Module](https://github.com/QuestNetwork/quest-quorum-js) +- [qD Games \[Beta\]](https://github.com/QuestNetwork/qd-games-ts) (for free items) +- [qD Apps \[Beta\]](https://github.com/QuestNetwork/qd-apps-ts) (for free items) - More Message Types And Inline Previews - Native Audio/Video **0.9.6** -- [qDesk Markets](https://github.com/QuestNetwork/qd-market-ts) -- [qDesk News](https://github.com/QuestNetwork/qd-news-ts) +- [qD Apps \[Beta\]](https://github.com/QuestNetwork/qd-apps-ts) (for paid items) +- [qD Games \[Beta\]](https://github.com/QuestNetwork/qd-games-ts) (for paid items) +- [qD Market \[Beta\]](https://github.com/QuestNetwork/qd-market-ts) +- Ethereum Payment Integration Beta **0.9.7** +- [qD News \[Beta\]](https://github.com/QuestNetwork/qd-news-ts) +- Quest Worker To Render `.blend` Files And Earn Rewards - Add Custom Themes By Pasting CSS Into The Built-In Theme Editor - Import/Export Themes - Light Mode +- Unlimited Custom Emojis **0.9.8** - Badges For Notifications - Desktop Notifications **0.9.9** -- [qDesk Games](https://github.com/QuestNetwork/qd-games-ts) -- Ethereum Payment Integration Beta +- Additional Patch +- [qD Vibes \[Beta\]](https://github.com/QuestNetwork/qd-vibes-ts) **1.0.0** +- Polkadot Integration Beta +- [qD Quests \[Beta\]](https://github.com/QuestNetwork/qd-quest-ts) +- [qD Calendar \[Beta\]](https://github.com/QuestNetwork/qd-calendar-ts) personal & shared calendars. Add events from other modules on qD. +- [qD Messages \[Stable\]](https://github.com/QuestNetwork/qd-messages-ts) +- [qD Social \[Stable\]](https://github.com/QuestNetwork/qd-social-js) +- [qD Apps \[Stable\]](https://github.com/QuestNetwork/qd-apps-ts) - Fork into [Vibenarium](https://github.com/Vibenarium/vibenarium-platform) -- Dynamic Swarm Peer List Also On The Web (add and remove bootstrap peers) - Third Party Dependencies Audited, Security Issues Fixed -- Complies with privacy laws -- Unlimited Custom Emojis -- Quest Network Calendar App Plugin (for shared calendars) +- Complies with global privacy laws **2.0.0** +- [qD Calendar \[Stable\]](https://github.com/QuestNetwork/qd-calendar-ts) +- [qD Market \[Stable\]](https://github.com/QuestNetwork/qd-market-ts) +- [qD Vibes \[Stable\]](https://github.com/QuestNetwork/qd-vibes-ts) - Ethereum Payment Integration Finalized +**3.0.0** +- [qD Quests \[Stable\]](https://github.com/QuestNetwork/qd-quest-ts) +- [qD Games \[Stable\]](https://github.com/QuestNetwork/qd-games-ts) +- Polkadot Integration Finalized + **4.0.0** - [OpenAI GPT3](https://en.wikipedia.org/wiki/GPT-3) Integration For Suggestions, AutoRespond And Completion @@ -257,9 +279,9 @@ Pro Tip: Put a file in your `/bin` that runs the quest-cli like so `node /path/t # Troubleshooting **:warning: Messages are not being delivered || Participants won't update || Can't join channels**
->Solution: qDesk ``^0.9.4`` go to ``Settings > IPFS`` and either download an example swarm peer list from GitHub (https://github.com/QuestNetwork/qDesk/blob/0.9.4/src/app/swarm.json) or enter your own. +>Solution: qD ``^0.9.4`` go to ``Settings > IPFS`` and either download an example swarm peer list from GitHub (https://github.com/QuestNetwork/qD/blob/0.9.4/src/app/swarm.json) or enter your own. -If your problem is not solved here, please file an [issue](https://github.com/QuestNetwork/qDesk/issues/new) on GitHub. +If your problem is not solved here, please file an [issue](https://github.com/QuestNetwork/qD/issues/new) on GitHub. ## License diff --git a/custom-webpack.config.js b/custom-webpack.config.js index cc31e53..2d16544 100644 --- a/custom-webpack.config.js +++ b/custom-webpack.config.js @@ -7,6 +7,7 @@ const webpack = require('webpack') module.exports = { // target: 'node', node: { + fs: "empty", crypto: false, path: true, os: true, diff --git a/dist_archive/ipfs/0.9.4/1-es2015.39151510bab8ca25866a.js b/dist_archive/ipfs/0.9.4/1-es2015.39151510bab8ca25866a.js new file mode 100644 index 0000000..08e3603 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/1-es2015.39151510bab8ca25866a.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+vv6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e,t){t?this.decodedInformation=null:(this.finished=e,this.decodedInformation=t)}return e.prototype.getDecodedInformation=function(){return this.decodedInformation},e.prototype.isFinished=function(){return this.finished},e}()},"+zZg":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){this.segmentCount=-1,this.fileSize=-1,this.timestamp=-1,this.checksum=-1}return e.prototype.getSegmentIndex=function(){return this.segmentIndex},e.prototype.setSegmentIndex=function(e){this.segmentIndex=e},e.prototype.getFileId=function(){return this.fileId},e.prototype.setFileId=function(e){this.fileId=e},e.prototype.getOptionalData=function(){return this.optionalData},e.prototype.setOptionalData=function(e){this.optionalData=e},e.prototype.isLastSegment=function(){return this.lastSegment},e.prototype.setLastSegment=function(e){this.lastSegment=e},e.prototype.getSegmentCount=function(){return this.segmentCount},e.prototype.setSegmentCount=function(e){this.segmentCount=e},e.prototype.getSender=function(){return this.sender||null},e.prototype.setSender=function(e){this.sender=e},e.prototype.getAddressee=function(){return this.addressee||null},e.prototype.setAddressee=function(e){this.addressee=e},e.prototype.getFileName=function(){return this.fileName},e.prototype.setFileName=function(e){this.fileName=e},e.prototype.getFileSize=function(){return this.fileSize},e.prototype.setFileSize=function(e){this.fileSize=e},e.prototype.getChecksum=function(){return this.checksum},e.prototype.setChecksum=function(e){this.checksum=e},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.setTimestamp=function(e){this.timestamp=e},e}()},"/07r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("5Bsn"),r=n("GY/I"),a=n("AuZS");t.default=function(){function e(){}return e.castAsNonUtf8Char=function(e,t){void 0===t&&(t=null);var n=t?t.getName():this.ISO88591;return a.default.decode(new Uint8Array([e]),n)},e.guessEncoding=function(t,n){if(null!=n&&void 0!==n.get(i.default.CHARACTER_SET))return n.get(i.default.CHARACTER_SET).toString();for(var r=t.length,a=!0,o=!0,s=!0,u=0,F=0,d=0,h=0,f=0,l=0,c=0,m=0,g=0,p=0,w=0,y=t.length>3&&239===t[0]&&187===t[1]&&191===t[2],E=0;E0?0==(128&D)?s=!1:u--:0!=(128&D)&&(0==(64&D)?s=!1:(u++,0==(32&D)?F++:(u++,0==(16&D)?d++:(u++,0==(8&D)?h++:s=!1))))),a&&(D>127&&D<160?a=!1:D>159&&(D<192||215===D||247===D)&&w++),o&&(f>0?D<64||127===D||D>252?o=!1:f--:128===D||160===D||D>239?o=!1:D>160&&D<224?(l++,m=0,++c>g&&(g=c)):D>127?(f++,c=0,++m>p&&(p=m)):(c=0,m=0))}return s&&u>0&&(s=!1),o&&f>0&&(o=!1),s&&(y||F+d+h>0)?e.UTF8:o&&(e.ASSUME_SHIFT_JIS||g>=3||p>=3)?e.SHIFT_JIS:a&&o?2===g&&2===l||10*w>=r?e.SHIFT_JIS:e.ISO88591:a?e.ISO88591:o?e.SHIFT_JIS:s?e.UTF8:e.PLATFORM_DEFAULT_ENCODING},e.format=function(e){for(var t=[],n=1;n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("PnHe");t.default=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n,a){var o,s,u,F;if(t.length!==n.getTotalCodewords())throw new r.default;var d=n.getECBlocksForLevel(a),h=0,f=d.getECBlocks();try{for(var l=i(f),c=l.next();!c.done;c=l.next())h+=(y=c.value).getCount()}catch(B){o={error:B}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}var m=new Array(h),g=0;try{for(var p=i(f),w=p.next();!w.done;w=p.next())for(var y=w.value,E=0;E=0&&m[b].codewords.length!==C;)b--;b++;var k=C-d.getECCodewordsPerBlock(),v=0;for(E=0;E=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("u2rX"),a=n("zKBm"),o=n("bJYy"),s=n("PRO/"),u=n("snnL"),F=n("wXP5");t.default=function(){function e(){this.decodeMiddleCounters=[0,0,0,0],this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,n,i){var a=this.decodeRowStringBuffer,u=this.decodeMiddle(n,i,a),F=a.toString(),d=e.parseExtensionString(F),h=[new s.default((i[0]+i[1])/2,t),new s.default(u,t)],f=new o.default(F,null,0,h,r.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=d&&f.putAllMetadata(d),f},e.prototype.decodeMiddle=function(e,t,n){var r,o,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var u=e.getSize(),d=t[1],h=0,f=0;f<2&&d=10&&(h|=1<<1-f),1!==f&&(d=e.getNextSet(d),d=e.getNextUnset(d))}if(2!==n.length)throw new F.default;if(parseInt(n.toString())%4!==h)throw new F.default;return d},e.parseExtensionString=function(e){return 2!==e.length?null:new Map([[u.default.ISSUE_NUMBER,parseInt(e)]])},e}()},"0xeO":function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("lbVw"),a=n("ji7Q"),o=n("gt76"),s=n("FWOh"),u=n("hkAl"),F=n("PnHe");t.default=function(){function e(e,t){for(var n,r,a=[],o=2;o40)throw new F.default;return e.VERSIONS[t-1]},e.decodeVersionInformation=function(t){for(var n=Number.MAX_SAFE_INTEGER,i=0,r=0;r6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t},e.prototype.toString=function(){return""+this.versionNumber},e.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),e.VERSIONS=[new e(1,new Int32Array(0),new o.default(7,new s.default(1,19)),new o.default(10,new s.default(1,16)),new o.default(13,new s.default(1,13)),new o.default(17,new s.default(1,9))),new e(2,Int32Array.from([6,18]),new o.default(10,new s.default(1,34)),new o.default(16,new s.default(1,28)),new o.default(22,new s.default(1,22)),new o.default(28,new s.default(1,16))),new e(3,Int32Array.from([6,22]),new o.default(15,new s.default(1,55)),new o.default(26,new s.default(1,44)),new o.default(18,new s.default(2,17)),new o.default(22,new s.default(2,13))),new e(4,Int32Array.from([6,26]),new o.default(20,new s.default(1,80)),new o.default(18,new s.default(2,32)),new o.default(26,new s.default(2,24)),new o.default(16,new s.default(4,9))),new e(5,Int32Array.from([6,30]),new o.default(26,new s.default(1,108)),new o.default(24,new s.default(2,43)),new o.default(18,new s.default(2,15),new s.default(2,16)),new o.default(22,new s.default(2,11),new s.default(2,12))),new e(6,Int32Array.from([6,34]),new o.default(18,new s.default(2,68)),new o.default(16,new s.default(4,27)),new o.default(24,new s.default(4,19)),new o.default(28,new s.default(4,15))),new e(7,Int32Array.from([6,22,38]),new o.default(20,new s.default(2,78)),new o.default(18,new s.default(4,31)),new o.default(18,new s.default(2,14),new s.default(4,15)),new o.default(26,new s.default(4,13),new s.default(1,14))),new e(8,Int32Array.from([6,24,42]),new o.default(24,new s.default(2,97)),new o.default(22,new s.default(2,38),new s.default(2,39)),new o.default(22,new s.default(4,18),new s.default(2,19)),new o.default(26,new s.default(4,14),new s.default(2,15))),new e(9,Int32Array.from([6,26,46]),new o.default(30,new s.default(2,116)),new o.default(22,new s.default(3,36),new s.default(2,37)),new o.default(20,new s.default(4,16),new s.default(4,17)),new o.default(24,new s.default(4,12),new s.default(4,13))),new e(10,Int32Array.from([6,28,50]),new o.default(18,new s.default(2,68),new s.default(2,69)),new o.default(26,new s.default(4,43),new s.default(1,44)),new o.default(24,new s.default(6,19),new s.default(2,20)),new o.default(28,new s.default(6,15),new s.default(2,16))),new e(11,Int32Array.from([6,30,54]),new o.default(20,new s.default(4,81)),new o.default(30,new s.default(1,50),new s.default(4,51)),new o.default(28,new s.default(4,22),new s.default(4,23)),new o.default(24,new s.default(3,12),new s.default(8,13))),new e(12,Int32Array.from([6,32,58]),new o.default(24,new s.default(2,92),new s.default(2,93)),new o.default(22,new s.default(6,36),new s.default(2,37)),new o.default(26,new s.default(4,20),new s.default(6,21)),new o.default(28,new s.default(7,14),new s.default(4,15))),new e(13,Int32Array.from([6,34,62]),new o.default(26,new s.default(4,107)),new o.default(22,new s.default(8,37),new s.default(1,38)),new o.default(24,new s.default(8,20),new s.default(4,21)),new o.default(22,new s.default(12,11),new s.default(4,12))),new e(14,Int32Array.from([6,26,46,66]),new o.default(30,new s.default(3,115),new s.default(1,116)),new o.default(24,new s.default(4,40),new s.default(5,41)),new o.default(20,new s.default(11,16),new s.default(5,17)),new o.default(24,new s.default(11,12),new s.default(5,13))),new e(15,Int32Array.from([6,26,48,70]),new o.default(22,new s.default(5,87),new s.default(1,88)),new o.default(24,new s.default(5,41),new s.default(5,42)),new o.default(30,new s.default(5,24),new s.default(7,25)),new o.default(24,new s.default(11,12),new s.default(7,13))),new e(16,Int32Array.from([6,26,50,74]),new o.default(24,new s.default(5,98),new s.default(1,99)),new o.default(28,new s.default(7,45),new s.default(3,46)),new o.default(24,new s.default(15,19),new s.default(2,20)),new o.default(30,new s.default(3,15),new s.default(13,16))),new e(17,Int32Array.from([6,30,54,78]),new o.default(28,new s.default(1,107),new s.default(5,108)),new o.default(28,new s.default(10,46),new s.default(1,47)),new o.default(28,new s.default(1,22),new s.default(15,23)),new o.default(28,new s.default(2,14),new s.default(17,15))),new e(18,Int32Array.from([6,30,56,82]),new o.default(30,new s.default(5,120),new s.default(1,121)),new o.default(26,new s.default(9,43),new s.default(4,44)),new o.default(28,new s.default(17,22),new s.default(1,23)),new o.default(28,new s.default(2,14),new s.default(19,15))),new e(19,Int32Array.from([6,30,58,86]),new o.default(28,new s.default(3,113),new s.default(4,114)),new o.default(26,new s.default(3,44),new s.default(11,45)),new o.default(26,new s.default(17,21),new s.default(4,22)),new o.default(26,new s.default(9,13),new s.default(16,14))),new e(20,Int32Array.from([6,34,62,90]),new o.default(28,new s.default(3,107),new s.default(5,108)),new o.default(26,new s.default(3,41),new s.default(13,42)),new o.default(30,new s.default(15,24),new s.default(5,25)),new o.default(28,new s.default(15,15),new s.default(10,16))),new e(21,Int32Array.from([6,28,50,72,94]),new o.default(28,new s.default(4,116),new s.default(4,117)),new o.default(26,new s.default(17,42)),new o.default(28,new s.default(17,22),new s.default(6,23)),new o.default(30,new s.default(19,16),new s.default(6,17))),new e(22,Int32Array.from([6,26,50,74,98]),new o.default(28,new s.default(2,111),new s.default(7,112)),new o.default(28,new s.default(17,46)),new o.default(30,new s.default(7,24),new s.default(16,25)),new o.default(24,new s.default(34,13))),new e(23,Int32Array.from([6,30,54,78,102]),new o.default(30,new s.default(4,121),new s.default(5,122)),new o.default(28,new s.default(4,47),new s.default(14,48)),new o.default(30,new s.default(11,24),new s.default(14,25)),new o.default(30,new s.default(16,15),new s.default(14,16))),new e(24,Int32Array.from([6,28,54,80,106]),new o.default(30,new s.default(6,117),new s.default(4,118)),new o.default(28,new s.default(6,45),new s.default(14,46)),new o.default(30,new s.default(11,24),new s.default(16,25)),new o.default(30,new s.default(30,16),new s.default(2,17))),new e(25,Int32Array.from([6,32,58,84,110]),new o.default(26,new s.default(8,106),new s.default(4,107)),new o.default(28,new s.default(8,47),new s.default(13,48)),new o.default(30,new s.default(7,24),new s.default(22,25)),new o.default(30,new s.default(22,15),new s.default(13,16))),new e(26,Int32Array.from([6,30,58,86,114]),new o.default(28,new s.default(10,114),new s.default(2,115)),new o.default(28,new s.default(19,46),new s.default(4,47)),new o.default(28,new s.default(28,22),new s.default(6,23)),new o.default(30,new s.default(33,16),new s.default(4,17))),new e(27,Int32Array.from([6,34,62,90,118]),new o.default(30,new s.default(8,122),new s.default(4,123)),new o.default(28,new s.default(22,45),new s.default(3,46)),new o.default(30,new s.default(8,23),new s.default(26,24)),new o.default(30,new s.default(12,15),new s.default(28,16))),new e(28,Int32Array.from([6,26,50,74,98,122]),new o.default(30,new s.default(3,117),new s.default(10,118)),new o.default(28,new s.default(3,45),new s.default(23,46)),new o.default(30,new s.default(4,24),new s.default(31,25)),new o.default(30,new s.default(11,15),new s.default(31,16))),new e(29,Int32Array.from([6,30,54,78,102,126]),new o.default(30,new s.default(7,116),new s.default(7,117)),new o.default(28,new s.default(21,45),new s.default(7,46)),new o.default(30,new s.default(1,23),new s.default(37,24)),new o.default(30,new s.default(19,15),new s.default(26,16))),new e(30,Int32Array.from([6,26,52,78,104,130]),new o.default(30,new s.default(5,115),new s.default(10,116)),new o.default(28,new s.default(19,47),new s.default(10,48)),new o.default(30,new s.default(15,24),new s.default(25,25)),new o.default(30,new s.default(23,15),new s.default(25,16))),new e(31,Int32Array.from([6,30,56,82,108,134]),new o.default(30,new s.default(13,115),new s.default(3,116)),new o.default(28,new s.default(2,46),new s.default(29,47)),new o.default(30,new s.default(42,24),new s.default(1,25)),new o.default(30,new s.default(23,15),new s.default(28,16))),new e(32,Int32Array.from([6,34,60,86,112,138]),new o.default(30,new s.default(17,115)),new o.default(28,new s.default(10,46),new s.default(23,47)),new o.default(30,new s.default(10,24),new s.default(35,25)),new o.default(30,new s.default(19,15),new s.default(35,16))),new e(33,Int32Array.from([6,30,58,86,114,142]),new o.default(30,new s.default(17,115),new s.default(1,116)),new o.default(28,new s.default(14,46),new s.default(21,47)),new o.default(30,new s.default(29,24),new s.default(19,25)),new o.default(30,new s.default(11,15),new s.default(46,16))),new e(34,Int32Array.from([6,34,62,90,118,146]),new o.default(30,new s.default(13,115),new s.default(6,116)),new o.default(28,new s.default(14,46),new s.default(23,47)),new o.default(30,new s.default(44,24),new s.default(7,25)),new o.default(30,new s.default(59,16),new s.default(1,17))),new e(35,Int32Array.from([6,30,54,78,102,126,150]),new o.default(30,new s.default(12,121),new s.default(7,122)),new o.default(28,new s.default(12,47),new s.default(26,48)),new o.default(30,new s.default(39,24),new s.default(14,25)),new o.default(30,new s.default(22,15),new s.default(41,16))),new e(36,Int32Array.from([6,24,50,76,102,128,154]),new o.default(30,new s.default(6,121),new s.default(14,122)),new o.default(28,new s.default(6,47),new s.default(34,48)),new o.default(30,new s.default(46,24),new s.default(10,25)),new o.default(30,new s.default(2,15),new s.default(64,16))),new e(37,Int32Array.from([6,28,54,80,106,132,158]),new o.default(30,new s.default(17,122),new s.default(4,123)),new o.default(28,new s.default(29,46),new s.default(14,47)),new o.default(30,new s.default(49,24),new s.default(10,25)),new o.default(30,new s.default(24,15),new s.default(46,16))),new e(38,Int32Array.from([6,32,58,84,110,136,162]),new o.default(30,new s.default(4,122),new s.default(18,123)),new o.default(28,new s.default(13,46),new s.default(32,47)),new o.default(30,new s.default(48,24),new s.default(14,25)),new o.default(30,new s.default(42,15),new s.default(32,16))),new e(39,Int32Array.from([6,26,54,82,110,138,166]),new o.default(30,new s.default(20,117),new s.default(4,118)),new o.default(28,new s.default(40,47),new s.default(7,48)),new o.default(30,new s.default(43,24),new s.default(22,25)),new o.default(30,new s.default(10,15),new s.default(67,16))),new e(40,Int32Array.from([6,30,58,86,114,142,170]),new o.default(30,new s.default(19,118),new s.default(6,119)),new o.default(28,new s.default(18,47),new s.default(31,48)),new o.default(30,new s.default(34,24),new s.default(34,25)),new o.default(30,new s.default(20,15),new s.default(61,16)))],e}()},"126u":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e){this.newPosition=e}return e.prototype.getNewPosition=function(){return this.newPosition},e}()},"1Jy0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PnHe");t.default=function(){function e(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}return e.prototype.getBitOffset=function(){return this.bitOffset},e.prototype.getByteOffset=function(){return this.byteOffset},e.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new i.default(""+e);var t=0,n=this.bitOffset,r=this.byteOffset,a=this.bytes;if(n>0){var o=8-n,s=e>8-s<<(u=o-s))>>u,e-=s,8===(n+=s)&&(n=0,r++)}if(e>0){for(;e>=8;)t=t<<8|255&a[r],r++,e-=8;var u;e>0&&(t=t<>(u=8-e)<>u,n+=e)}return this.bitOffset=n,this.byteOffset=r,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}()},"1Jy4":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("u2rX"),o=n("5Bsn"),s=n("bJYy"),u=n("PRO/"),F=n("6s9M"),d=n("wXP5"),h=n("hkAl"),f=n("aLHR");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.findStartPattern=function(e){for(var n=e.getSize(),i=e.getNextSet(0),r=0,a=[0,0,0,0,0,0],o=i,s=!1,u=i;u=0&&e.isRange(Math.max(0,o-(u-o)/2),o,!1))return[o,u,f];o+=a[0]+a[1],a.splice(0,2),a[r-1]=0,a[r]=0,r--}else r++;a[r]=1,s=!s}throw new d.default},t.decodeCode=function(e,n,i){F.default.recordPattern(e,i,n);for(var r=t.MAX_AVG_VARIANCE,a=-1,o=0;o=0)return a;throw new d.default},t.prototype.decodeRow=function(e,n,i){var r,F=i&&!0===i.get(o.default.ASSUME_GS1),l=t.findStartPattern(n),c=l[2],m=0,g=new Uint8Array(20);switch(g[m++]=c,c){case t.CODE_START_A:r=t.CODE_CODE_A;break;case t.CODE_START_B:r=t.CODE_CODE_B;break;case t.CODE_START_C:r=t.CODE_CODE_C;break;default:throw new h.default}for(var p=!1,w=!1,y="",E=l[0],D=l[1],_=[0,0,0,0,0,0],C=0,b=0,k=c,v=0,A=!0,N=!1,B=!1;!p;){var S=w;switch(w=!1,C=b,b=t.decodeCode(n,_,D),g[m++]=b,b!==t.CODE_STOP&&(A=!0),b!==t.CODE_STOP&&(k+=++v*b),E=D,D+=_.reduce((function(e,t){return e+t}),0),b){case t.CODE_START_A:case t.CODE_START_B:case t.CODE_START_C:throw new h.default}switch(r){case t.CODE_CODE_A:if(b<64)y+=String.fromCharCode(B===N?" ".charCodeAt(0)+b:" ".charCodeAt(0)+b+128),B=!1;else if(b<96)y+=String.fromCharCode(B===N?b-64:b+64),B=!1;else switch(b!==t.CODE_STOP&&(A=!1),b){case t.CODE_FNC_1:F&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_A:!N&&B?(N=!0,B=!1):N&&B?(N=!1,B=!1):B=!0;break;case t.CODE_SHIFT:w=!0,r=t.CODE_CODE_B;break;case t.CODE_CODE_B:r=t.CODE_CODE_B;break;case t.CODE_CODE_C:r=t.CODE_CODE_C;break;case t.CODE_STOP:p=!0}break;case t.CODE_CODE_B:if(b<96)y+=String.fromCharCode(B===N?" ".charCodeAt(0)+b:" ".charCodeAt(0)+b+128),B=!1;else switch(b!==t.CODE_STOP&&(A=!1),b){case t.CODE_FNC_1:F&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_B:!N&&B?(N=!0,B=!1):N&&B?(N=!1,B=!1):B=!0;break;case t.CODE_SHIFT:w=!0,r=t.CODE_CODE_A;break;case t.CODE_CODE_A:r=t.CODE_CODE_A;break;case t.CODE_CODE_C:r=t.CODE_CODE_C;break;case t.CODE_STOP:p=!0}break;case t.CODE_CODE_C:if(b<100)b<10&&(y+="0"),y+=b;else switch(b!==t.CODE_STOP&&(A=!1),b){case t.CODE_FNC_1:F&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case t.CODE_CODE_A:r=t.CODE_CODE_A;break;case t.CODE_CODE_B:r=t.CODE_CODE_B;break;case t.CODE_STOP:p=!0}}S&&(r=r===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var I=D-E;if(D=n.getNextUnset(D),!n.isRange(D,Math.min(n.getSize(),D+(D-E)/2),!1))throw new d.default;if((k-=v*C)%103!==C)throw new f.default;var O=y.length;if(0===O)throw new d.default;O>0&&A&&(y=y.substring(0,r===t.CODE_CODE_C?O-2:O-1));for(var T=(l[1]+l[0])/2,M=E+I/2,R=g.length,P=new Uint8Array(R),x=0;x=0&&this.structuredAppendSequenceNumber>=0},e.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},e.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},e}();t.default=i},"37vj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PRO/");t.default=function(){function e(e,t,n,r,a){this.value=e,this.startEnd=t,this.value=e,this.startEnd=t,this.resultPoints=new Array,this.resultPoints.push(new i.default(n,a)),this.resultPoints.push(new i.default(r,a))}return e.prototype.getValue=function(){return this.value},e.prototype.getStartEnd=function(){return this.startEnd},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.equals=function(t){return t instanceof e&&this.value===t.value},e.prototype.hashCode=function(){return this.value},e}()},"3aqw":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VideoInputDevice=function(){function e(e,t,n){this.deviceId=e,this.label=t,this.kind="videoinput",this.groupId=n||void 0}return e.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},e}()},"4LZe":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("v7Zz");t.default=function(e){function t(t){var n=e.call(this,t.getWidth(),t.getHeight())||this;return n.delegate=t,n}return r(t,e),t.prototype.getRow=function(e,t){for(var n=this.delegate.getRow(e,t),i=this.getWidth(),r=0;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("Ebdo"),u=n("wXP5");t.default=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=[0,0,0,0],t}return r(t,e),t.prototype.decodeMiddle=function(e,n,i){var r,o,u,F,d=this.decodeMiddleCounters;d[0]=0,d[1]=0,d[2]=0,d[3]=0;for(var h=e.getSize(),f=n[1],l=0,c=0;c<6&&f=10&&(l|=1<<5-c)}for(i=t.determineFirstDigit(i,l),f=s.default.findGuardPattern(e,f,!0,s.default.MIDDLE_PATTERN,new Array(s.default.MIDDLE_PATTERN.length).fill(0))[1],c=0;c<6&&f=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("wXP5"),u=n("bJYy"),F=n("a66B"),d=n("QAkY"),h=n("5z/U"),f=n("37vj"),l=n("SuXt"),c=n("8GM3"),m=n("RqQj"),g=n("quKB"),p=n("hj6Y"),w=n("poFM");t.default=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.pairs=new Array(t.MAX_PAIRS),n.rows=new Array,n.startEnd=[2],n}return r(t,e),t.prototype.decodeRow=function(e,n,i){this.pairs.length=0,this.startFromEven=!1;try{return t.constructResult(this.decodeRow2pairs(e,n))}catch(r){console.log(r)}return this.pairs.length=0,this.startFromEven=!0,t.constructResult(this.decodeRow2pairs(e,n))},t.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},t.prototype.decodeRow2pairs=function(e,t){for(var n,i=!1;!i;)try{this.pairs.push(this.retrieveNextPair(t,this.pairs,e))}catch(a){if(!this.pairs.length)throw new a;i=!0}if(this.checkChecksum())return this.pairs;if(n=!!this.rows.length,this.storeRow(e,!1),n){var r=this.checkRowsBoolean(!1);if(null!=r)return r;if(null!=(r=this.checkRowsBoolean(!0)))return r}throw new s.default},t.prototype.checkRowsBoolean=function(e){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,e&&(this.rows=this.rows.reverse());var t=null;try{t=this.checkRows(new Array,0)}catch(n){console.log(n)}return e&&(this.rows=this.rows.reverse()),t},t.prototype.checkRows=function(e,n){for(var i,r,o=n;os.length)){for(var u=!0,F=0;Fe){a=o.isEquivalent(this.pairs);break}r=o.isEquivalent(this.pairs),i++}a||r||t.isPartialRow(this.pairs,this.rows)||(this.rows.push(i,new g.default(this.pairs,e,n)),this.removePartialRows(this.pairs,this.rows))},t.prototype.removePartialRows=function(e,t){var n,i,r,o,s,u;try{for(var F=a(t),d=F.next();!d.done;d=F.next()){var h=d.value;if(h.getPairs().length!==e.length)try{for(var f=a(h.getPairs()),l=f.next();!l.done;l=f.next()){var c=l.value;try{for(var g=a(e),p=g.next();!p.done&&!m.default.equals(c,p.value);p=g.next());}catch(w){s={error:w}}finally{try{p&&!p.done&&(u=g.return)&&u.call(g)}finally{if(s)throw s.error}}}}catch(y){r={error:y}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}}}catch(E){n={error:E}}finally{try{d&&!d.done&&(i=F.return)&&i.call(F)}finally{if(n)throw n.error}}},t.isPartialRow=function(e,t){var n,i,r,o,s,u;try{for(var F=a(t),d=F.next();!d.done;d=F.next()){var h=d.value,f=!0;try{for(var l=a(e),c=l.next();!c.done;c=l.next()){var m=c.value,g=!1;try{for(var p=a(h.getPairs()),w=p.next();!w.done;w=p.next())if(m.equals(w.value)){g=!0;break}}catch(y){s={error:y}}finally{try{w&&!w.done&&(u=p.return)&&u.call(p)}finally{if(s)throw s.error}}if(!g){f=!1;break}}}catch(E){r={error:E}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(f)return!0}}catch(D){n={error:D}}finally{try{d&&!d.done&&(i=F.return)&&i.call(F)}finally{if(n)throw n.error}}return!1},t.prototype.getRows=function(){return this.rows},t.constructResult=function(e){var t=p.default.buildBitArray(e),n=c.createDecoder(t).parseInformation(),i=e[0].getFinderPattern().getResultPoints(),r=e[e.length-1].getFinderPattern().getResultPoints();return new u.default(n,null,null,[i[0],i[1],r[0],r[1]],o.default.RSS_EXPANDED,null)},t.prototype.checkChecksum=function(){var e=this.pairs.get(0),t=e.getLeftChar(),n=e.getRightChar();if(null==n)return!1;for(var i=n.getChecksumPortion(),r=2,a=1;a=0?i:this.isEmptyPair(n)?0:n[n.length-1].getFinderPattern().getStartEnd()[1];var u=n.length%2!=0;this.startFromEven&&(u=!u);for(var F=!1;a=0&&!e.get(s);)s--;s++,r=this.startEnd[0]-s,a=s,o=this.startEnd[1]}else a=this.startEnd[0],r=(o=e.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var u,F=this.getDecodeFinderCounters();w.default.arraycopy(F,0,F,1,F.length-1),F[0]=r;try{u=this.parseFinderValue(F,t.FINDER_PATTERNS)}catch(d){return null}return new f.default(u,[a,o],a,o,n)},t.prototype.decodeDataCharacter=function(e,n,i,r){for(var a=this.getDataCharacterCounters(),o=0;o.3)throw new s.default;var g=this.getOddCounts(),p=this.getEvenCounts(),w=this.getOddRoundingErrors(),y=this.getEvenRoundingErrors();for(u=0;u8){if(E>8.7)throw new s.default;D=8}var _=u/2;0==(1&u)?(g[_]=D,w[_]=E-D):(p[_]=D,y[_]=E-D)}this.adjustOddEvenCounts(17);var C=4*n.getValue()+(i?0:2)+(r?0:1)-1,b=0,k=0;for(u=g.length-1;u>=0;u--)t.isNotA1left(n,i,r)&&(k+=g[u]*t.WEIGHTS[C][2*u]),b+=g[u];var v=0;for(u=p.length-1;u>=0;u--)t.isNotA1left(n,i,r)&&(v+=p[u]*t.WEIGHTS[C][2*u+1]);var A=k+v;if(0!=(1&b)||b>13||b<4)throw new s.default;var N=(13-b)/2,B=t.SYMBOL_WIDEST[N],S=9-B,I=l.default.getRSSvalue(g,B,!0),O=l.default.getRSSvalue(p,S,!1);return new h.default(I*t.EVEN_TOTAL_SUBSET[N]+O+t.GSUM[N],A)},t.isNotA1left=function(e,t,n){return!(0==e.getValue()&&t&&n)},t.prototype.adjustOddEvenCounts=function(e){var n=F.default.sum(new Int32Array(this.getOddCounts())),i=F.default.sum(new Int32Array(this.getEvenCounts())),r=!1,a=!1;n>13?a=!0:n<4&&(r=!0);var o=!1,u=!1;i>13?u=!0:i<4&&(o=!0);var d=n+i-e,h=1==(1&n),f=0==(1&i);if(1==d)if(h){if(f)throw new s.default;a=!0}else{if(!f)throw new s.default;u=!0}else if(-1==d)if(h){if(f)throw new s.default;r=!0}else{if(!f)throw new s.default;o=!0}else{if(0!=d)throw new s.default;if(h){if(!f)throw new s.default;n32*this.bits.length){var n=e.makeArray(t);i.default.arraycopy(this.bits,0,n,0,this.bits.length),this.bits=n}},e.prototype.get=function(e){return 0!=(this.bits[Math.floor(e/32)]&1<<(31&e))},e.prototype.set=function(e){this.bits[Math.floor(e/32)]|=1<<(31&e)},e.prototype.flip=function(e){this.bits[Math.floor(e/32)]^=1<<(31&e)},e.prototype.getNextSet=function(e){var t=this.size;if(e>=t)return t;var n=this.bits,i=Math.floor(e/32),a=n[i];a&=~((1<<(31&e))-1);for(var o=n.length;0===a;){if(++i===o)return t;a=n[i]}var s=32*i+r.default.numberOfTrailingZeros(a);return s>t?t:s},e.prototype.getNextUnset=function(e){var t=this.size;if(e>=t)return t;var n=this.bits,i=Math.floor(e/32),a=~n[i];a&=~((1<<(31&e))-1);for(var o=n.length;0===a;){if(++i===o)return t;a=~n[i]}var s=32*i+r.default.numberOfTrailingZeros(a);return s>t?t:s},e.prototype.setBulk=function(e,t){this.bits[Math.floor(e/32)]=t},e.prototype.setRange=function(e,t){if(tthis.size)throw new o.default;if(t!==e){t--;for(var n=Math.floor(e/32),i=Math.floor(t/32),r=this.bits,a=n;a<=i;a++)r[a]|=(2<<(an?0:31&e))}},e.prototype.clear=function(){for(var e=this.bits.length,t=this.bits,n=0;nthis.size)throw new o.default;if(t===e)return!0;t--;for(var i=Math.floor(e/32),r=Math.floor(t/32),a=this.bits,s=i;s<=r;s++){var u=(2<<(si?0:31&e))&4294967295;if((a[s]&u)!==(n?u:0))return!1}return!0},e.prototype.appendBit=function(e){this.ensureCapacity(this.size+1),e&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},e.prototype.appendBits=function(e,t){if(t<0||t>32)throw new o.default("Num bits must be between 0 and 32");this.ensureCapacity(this.size+t);for(var n=t;n>0;n--)this.appendBit(1==(e>>n-1&1))},e.prototype.appendBitArray=function(e){var t=e.size;this.ensureCapacity(this.size+t);for(var n=0;n>1&1431655765|(1431655765&a)<<1)>>2&858993459|(858993459&a)<<2)>>4&252645135|(252645135&a)<<4)>>8&16711935|(16711935&a)<<8)>>16&65535|(65535&a)<<16}if(this.size!==32*n){var o=32*n-this.size,s=e[0]>>>o;for(r=1;r>>o}e[n-1]=s}this.bits=e},e.makeArray=function(e){return new Int32Array(Math.floor((e+31)/32))},e.prototype.equals=function(t){return t instanceof e&&this.size===t.size&&a.default.equals(this.bits,t.bits)},e.prototype.hashCode=function(){return 31*this.size+a.default.hashCode(this.bits)},e.prototype.toString=function(){for(var e="",t=0,n=this.size;t>(h?8:5));n=h?F:15;for(var l=Math.trunc(F/2),c=0;c=F)break;try{d=e.getBlackRow(g,d)}catch(D){continue}for(var p=function(e){if(1===e&&(d.reverse(),t&&!0===t.get(r.default.NEED_RESULT_POINT_CALLBACK))){var n=new Map;t.forEach((function(e,t){return n.set(t,e)})),n.delete(r.default.NEED_RESULT_POINT_CALLBACK),t=n}try{var i=w.decodeRow(g,d,t);if(1===e){i.putMetadata(a.default.ORIENTATION,180);var s=i.getResultPoints();null!==s&&(s[0]=new o.default(u-s[0].getX()-1,s[0].getY()),s[1]=new o.default(u-s[1].getX()-1,s[1].getY()))}return{value:i}}catch(F){}},w=this,y=0;y<2;y++){var E=p(y);if("object"==typeof E)return E.value}}throw new s.default},e.recordPattern=function(e,t,n){for(var i=n.length,r=0;r=a)throw new s.default;for(var o=!e.get(t),u=0,F=t;F0&&r>=0;)t.get(--n)!==a&&(r--,a=!a);if(r>=0)throw new s.default;e.recordPattern(t,n+1,i)},e.patternMatchVariance=function(e,t,n){for(var i=e.length,r=0,a=0,o=0;oh?d-h:h-d;if(f>n)return Number.POSITIVE_INFINITY;u+=f}return u/r},e}()},"7RB1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.numberOfTrailingZeros=function(e){var t;if(0===e)return 32;var n=31;return 0!=(t=e<<16)&&(n-=16,e=t),0!=(t=e<<8)&&(n-=8,e=t),0!=(t=e<<4)&&(n-=4,e=t),0!=(t=e<<2)&&(n-=2,e=t),n-(e<<1>>>31)},e.numberOfLeadingZeros=function(e){if(0===e)return 32;var t=1;return e>>>16==0&&(t+=16,e<<=16),e>>>24==0&&(t+=8,e<<=8),e>>>28==0&&(t+=4,e<<=4),e>>>30==0&&(t+=2,e<<=2),t-(e>>>31)},e.toHexString=function(e){return e.toString(16)},e.toBinaryString=function(e){return String(parseInt(String(e),2))},e.bitCount=function(e){return e=(e=(858993459&(e-=e>>>1&1431655765))+(e>>>2&858993459))+(e>>>4)&252645135,63&(e+=e>>>8)+(e>>>16)},e.truncDivision=function(e,t){return Math.trunc(e/t)},e.parseInt=function(e,t){return void 0===t&&(t=void 0),parseInt(e,t)},e.MIN_VALUE_32_BITS=-2147483648,e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}()},"7stF":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("5Bsn"),u=n("6s9M"),F=n("4lAJ"),d=n("9Fcx"),h=n("wXP5");t.default=function(e){function t(t){var n=e.call(this)||this,i=null==t?null:t.get(s.default.POSSIBLE_FORMATS),r=[];return null!=i&&(i.indexOf(o.default.EAN_13)>-1&&r.push(new F.default),i.indexOf(o.default.EAN_8)>-1&&r.push(new d.default)),0===r.length&&(r.push(new F.default),r.push(new d.default)),n.readers=r,n}return r(t,e),t.prototype.decodeRow=function(e,t,n){var i,r;try{for(var o=a(this.readers),s=o.next();!s.done;s=o.next()){var u=s.value;try{return u.decodeRow(e,t,n)}catch(F){}}}catch(d){i={error:d}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}throw new h.default},t.prototype.reset=function(){var e,t;try{for(var n=a(this.readers),i=n.next();!i.done;i=n.next())i.value.reset()}catch(r){e={error:r}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t}(u.default)},"8GM3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("OlRx"),r=n("UsHn"),a=n("XBzc"),o=n("kQks"),s=n("v2o+"),u=n("kPel"),F=n("SP87"),d=n("m5uk"),h=n("gKQZ");t.createDecoder=function(e){try{if(e.get(1))return new a.default(e);if(!e.get(2))return new o.default(e);switch(r.default.extractNumericValueFromBitArray(e,1,4)){case 4:return new s.default(e);case 5:return new u.default(e)}switch(r.default.extractNumericValueFromBitArray(e,1,5)){case 12:return new F.default(e);case 13:return new d.default(e)}switch(r.default.extractNumericValueFromBitArray(e,1,7)){case 56:return new h.default(e,"310","11");case 57:return new h.default(e,"320","11");case 58:return new h.default(e,"310","13");case 59:return new h.default(e,"320","13");case 60:return new h.default(e,"310","15");case 61:return new h.default(e,"320","15");case 62:return new h.default(e,"310","17");case 63:return new h.default(e,"320","17")}}catch(t){throw console.log(t),new i.default("unknown decoder: "+e)}}},"8YcI":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Tdgg"),r=n("bJYy"),a=n("u2rX"),o=n("5Bsn"),s=n("snnL"),u=n("lbVw"),F=n("xY9F"),d=n("poFM"),h=n("wXP5");t.default=function(){function e(){this.decoder=new i.default}return e.prototype.decode=function(t,n){var i,u;if(void 0===n&&(n=null),null!=n&&n.has(o.default.PURE_BARCODE)){var h=e.extractPureBits(t.getBlackMatrix());i=this.decoder.decode(h),u=e.NO_POINTS}else{var f=new F.default(t.getBlackMatrix()).detect();i=this.decoder.decode(f.getBits()),u=f.getPoints()}var l=i.getRawBytes(),c=new r.default(i.getText(),l,8*l.length,u,a.default.DATA_MATRIX,d.default.currentTimeMillis()),m=i.getByteSegments();null!=m&&c.putMetadata(s.default.BYTE_SEGMENTS,m);var g=i.getECLevel();return null!=g&&c.putMetadata(s.default.ERROR_CORRECTION_LEVEL,g),c},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null==t||null==n)throw new h.default;var i=this.moduleSize(t,e),r=t[1],a=t[0],o=(n[0]-a+1)/i,s=(n[1]-r+1)/i;if(o<=0||s<=0)throw new h.default;var F=i/2;r+=F,a+=F;for(var d=new u.default(o,s),f=0;f=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("mbx9"),a=n("5i/S"),o=n("GY/I"),s=n("KuZJ"),u=n("ceyu"),F=n("emVd"),d=n("0xeO"),h=n("eIH0"),f=n("eIWv"),l=n("ypeO"),c=n("qkEA"),m=n("AuZS"),g=n("wYZs"),p=n("jLlG"),w=function(){function e(){}return e.calculateMaskPenalty=function(e){return h.default.applyMaskPenaltyRule1(e)+h.default.applyMaskPenaltyRule2(e)+h.default.applyMaskPenaltyRule3(e)+h.default.applyMaskPenaltyRule4(e)},e.encode=function(t,n,i){void 0===i&&(i=null);var s=e.DEFAULT_BYTE_MODE_ENCODING,u=null!==i&&void 0!==i.get(r.default.CHARACTER_SET);u&&(s=i.get(r.default.CHARACTER_SET).toString());var h=this.chooseMode(t,s),m=new a.default;if(h===F.default.BYTE&&(u||e.DEFAULT_BYTE_MODE_ENCODING!==s)){var g=o.default.getCharacterSetECIByName(s);void 0!==g&&this.appendECI(g,m)}this.appendModeInfo(h,m);var w,y=new a.default;if(this.appendBytes(t,h,y,s),null!==i&&void 0!==i.get(r.default.QR_VERSION)){var E=Number.parseInt(i.get(r.default.QR_VERSION).toString(),10);w=d.default.getVersionForNumber(E);var D=this.calculateBitsNeeded(h,m,y,w);if(!this.willFit(D,w,n))throw new p.default("Data too big for requested version")}else w=this.recommendVersion(n,h,m,y);var _=new a.default;_.appendBitArray(m);var C=h===F.default.BYTE?y.getSizeInBytes():t.length;this.appendLengthInfo(C,w,h,_),_.appendBitArray(y);var b=w.getECBlocksForLevel(n),k=w.getTotalCodewords()-b.getTotalECCodewords();this.terminateBits(k,_);var v=this.interleaveWithECBytes(_,w.getTotalCodewords(),k,b.getNumBlocks()),A=new l.default;A.setECLevel(n),A.setMode(h),A.setVersion(w);var N=w.getDimensionForVersion(),B=new f.default(N,N),S=this.chooseMaskPattern(v,n,w,B);return A.setMaskPattern(S),c.default.buildMatrix(v,n,w,S,B),A.setMatrix(B),A},e.recommendVersion=function(e,t,n,i){var r=this.calculateBitsNeeded(t,n,i,d.default.getVersionForNumber(1)),a=this.chooseVersion(r,e),o=this.calculateBitsNeeded(t,n,i,a);return this.chooseVersion(o,e)},e.calculateBitsNeeded=function(e,t,n,i){return t.getSize()+e.getCharacterCountBits(i)+n.getSize()},e.getAlphanumericCode=function(t){return t159)&&(r<224||r>235))return!1}return!0},e.chooseMaskPattern=function(e,t,n,i){for(var r=Number.MAX_SAFE_INTEGER,a=-1,o=0;o=(e+7)/8},e.terminateBits=function(e,t){var n=8*e;if(t.getSize()>n)throw new p.default("data bits cannot fit in the QR Code"+t.getSize()+" > "+n);for(var i=0;i<4&&t.getSize()0)for(i=r;i<8;i++)t.appendBit(!1);var a=e-t.getSizeInBytes();for(i=0;i=n)throw new p.default("Block ID too large");var o=e%n,s=n-o,u=Math.floor(e/n),F=u+1,d=Math.floor(t/n),h=d+1,f=u-d,l=F-h;if(f!==l)throw new p.default("EC bytes mismatch");if(n!==s+o)throw new p.default("RS blocks mismatch");if(e!==(d+f)*s+(h+l)*o)throw new p.default("Total bytes mismatch");i=1<=0&&n<=9},e.appendNumericBytes=function(t,n){for(var i=t.length,r=0;r=33088&&a<=40956?s=a-33088:a>=57408&&a<=60351&&(s=a-49472),-1===s)throw new p.default("Invalid byte sequence");t.appendBits(192*(s>>8)+(255&s),13)}},e.appendECI=function(e,t){t.appendBits(F.default.ECI.getBits(),4),t.appendBits(e.getValue(),8)},e.ALPHANUMERIC_TABLE=Int32Array.from([-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,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),e.DEFAULT_BYTE_MODE_ENCODING=o.default.UTF8.getName(),e}();t.default=w},"9Fcx":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("Ebdo");t.default=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=[0,0,0,0],t}return r(t,e),t.prototype.decodeMiddle=function(e,t,n){var i,r,o,u,F=this.decodeMiddleCounters;F[0]=0,F[1]=0,F[2]=0,F[3]=0;for(var d=e.getSize(),h=t[1],f=0;f<4&&h=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("F1eN"),a=n("WYPJ");t.default=function(){function e(e){this.boundingBox=new a.default(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}return e.prototype.getCodewordNearby=function(t){var n=this.getCodeword(t);if(null!=n)return n;for(var i=1;i=0&&null!=(n=this.codewords[r]))return n;if((r=this.imageRowToCodewordIndex(t)+i)0)for(var l=i.getX()-n.getX()+r.getX(),c=i.getY()-n.getY()+r.getY(),m=1-3/d,g=Math.floor(n.getX()+m*(l-n.getX())),p=Math.floor(n.getY()+m*(c-n.getY())),w=4;w<=16;w<<=1)try{h=this.findAlignmentInRegion(o,g,p,w);break}catch(D){if(!(D instanceof f.default))throw D}var y=e.createTransform(n,i,r,h,s),E=e.sampleGrid(this.image,y,s);return new a.default(E,null===h?[r,n,i]:[r,n,i,h])},e.createTransform=function(e,t,n,i,r){var a,o,u,F,d=r-3.5;return null!==i?(a=i.getX(),o=i.getY(),F=u=d-3):(a=t.getX()-e.getX()+n.getX(),o=t.getY()-e.getY()+n.getY(),u=d,F=d),s.default.quadrilateralToQuadrilateral(3.5,3.5,d,3.5,u,F,3.5,d,e.getX(),e.getY(),t.getX(),t.getY(),a,o,n.getX(),n.getY())},e.sampleGrid=function(e,t,n){return o.default.getInstance().sampleGridWithTransform(e,n,n,t)},e.computeDimension=function(e,t,n,i){var a=u.default.round(r.default.distance(e,t)/i),o=u.default.round(r.default.distance(e,n)/i),s=Math.floor((a+o)/2)+7;switch(3&s){case 0:s++;break;case 2:s--;break;case 3:throw new f.default("Dimensions could be not found.")}return s},e.prototype.calculateModuleSize=function(e,t,n){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,n))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),i=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(n)?i/7:isNaN(i)?n/7:(n+i)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,n,i){var r=this.sizeOfBlackWhiteBlackRun(e,t,n,i),a=1,o=e-(n-e);o<0?(a=e/(e-o),o=0):o>=this.image.getWidth()&&(a=(this.image.getWidth()-1-e)/(o-e),o=this.image.getWidth()-1);var s=Math.floor(t-(i-t)*a);return a=1,s<0?(a=t/(t-s),s=0):s>=this.image.getHeight()&&(a=(this.image.getHeight()-1-t)/(s-t),s=this.image.getHeight()-1),o=Math.floor(e+(o-e)*a),(r+=this.sizeOfBlackWhiteBlackRun(e,t,o,s))-1},e.prototype.sizeOfBlackWhiteBlackRun=function(e,t,n,i){var r=Math.abs(i-t)>Math.abs(n-e);if(r){var a=e;e=t,t=a,a=n,n=i,i=a}for(var o=Math.abs(n-e),s=Math.abs(i-t),F=-o/2,d=e0){if(m===i)break;m+=h,F-=o}}return 2===f?u.default.distance(n+d,i,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,n,i){var r=Math.floor(i*e),a=Math.max(0,t-r),o=Math.min(this.image.getWidth()-1,t+r);if(o-a<3*e)throw new f.default("Alignment top exceeds estimated module size.");var s=Math.max(0,n-r),u=Math.min(this.image.getHeight()-1,n+r);if(u-s<3*e)throw new f.default("Alignment bottom exceeds estimated module size.");return new h.default(this.image,a,s,o-a,u-s,e,this.resultPointCallback).find()},e}()},AuZS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("FY9b"),r=n("GY/I");t.default=function(){function e(){}return e.decode=function(e,t){var n=this.encodingName(t);return this.customDecoder?this.customDecoder(e,n):"undefined"==typeof TextDecoder||this.shouldDecodeOnFallback(n)?this.decodeFallback(e,n):new TextDecoder(n).decode(e)},e.shouldDecodeOnFallback=function(t){return!e.isBrowser()&&"ISO-8859-1"===t},e.encode=function(e,t){var n=this.encodingName(t);return this.customEncoder?this.customEncoder(e,n):"undefined"==typeof TextEncoder?this.encodeFallback(e):(new TextEncoder).encode(e)},e.isBrowser=function(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)},e.encodingName=function(e){return"string"==typeof e?e:e.getName()},e.encodingCharacterSet=function(e){return e instanceof r.default?e:r.default.getCharacterSetECIByName(e)},e.decodeFallback=function(t,n){var a=this.encodingCharacterSet(n);if(e.isDecodeFallbackSupported(a)){for(var o="",s=0,u=t.length;s1&&0===t[0]){for(var i=1;io.length){var s=n;n=o,o=s}var u=new Int32Array(o.length),F=o.length-n.length;r.default.arraycopy(o,0,u,0,F);for(var d=F;d=e.getDegree()&&!i.isZero();){var s=i.getDegree()-e.getDegree(),u=t.multiply(i.getCoefficient(i.getDegree()),o),F=e.multiplyByMonomial(s,u),d=t.buildMonomial(s,u);n=n.addOrSubtract(d),i=i.addOrSubtract(F)}return[n,i]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var n=this.getCoefficient(t);if(0!==n){if(n<0?(e+=" - ",n=-n):e.length>0&&(e+=" + "),0===t||1!==n){var i=this.field.log(n);0===i?e+="1":1===i?e+="a":(e+="a^",e+=i)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}()},CrUY:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("QAkY"),s=n("zENp"),u=n("bJYy"),F=n("5Bsn"),d=n("wXP5"),h=n("SDs9"),f=n("u2rX"),l=n("PRO/"),c=n("37vj"),m=n("5z/U"),g=n("a66B"),p=n("SuXt"),w=n("poFM"),y=n("6s9M");t.default=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.possibleLeftPairs=[],t.possibleRightPairs=[],t}return r(t,e),t.prototype.decodeRow=function(e,n,i){var r,o,s,u,F=this.decodePair(n,!1,e,i);t.addOrTally(this.possibleLeftPairs,F),n.reverse();var h=this.decodePair(n,!0,e,i);t.addOrTally(this.possibleRightPairs,h),n.reverse();try{for(var f=a(this.possibleLeftPairs),l=f.next();!l.done;l=f.next()){var c=l.value;if(c.getCount()>1)try{for(var m=a(this.possibleRightPairs),g=m.next();!g.done;g=m.next()){var p=g.value;if(p.getCount()>1&&t.checkChecksum(c,p))return t.constructResult(c,p)}}catch(w){s={error:w}}finally{try{g&&!g.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}}}catch(y){r={error:y}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}throw new d.default},t.addOrTally=function(e,t){var n,i;if(null!=t){var r=!1;try{for(var o=a(e),s=o.next();!s.done;s=o.next()){var u=s.value;if(u.getValue()===t.getValue()){u.incrementCount(),r=!0;break}}}catch(F){n={error:F}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}r||e.push(t)}},t.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},t.constructResult=function(e,t){for(var n=4537077*e.getValue()+t.getValue(),i=new String(n).toString(),r=new h.default,a=13-i.length;a>0;a--)r.append("0");r.append(i);var o=0;for(a=0;a<13;a++){var s=r.charAt(a).charCodeAt(0)-"0".charCodeAt(0);o+=0==(1&a)?3*s:s}10==(o=10-o%10)&&(o=0),r.append(o.toString());var F=e.getFinderPattern().getResultPoints(),d=t.getFinderPattern().getResultPoints();return new u.default(r.toString(),null,0,[F[0],F[1],d[0],d[1]],f.default.RSS_14,(new Date).getTime())},t.checkChecksum=function(e,t){var n=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,i=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return i>72&&i--,i>8&&i--,n===i},t.prototype.decodePair=function(e,t,n,i){try{var r=this.findFinderPattern(e,t),a=this.parseFoundFinderPattern(e,n,t,r),o=null==i?null:i.get(F.default.NEED_RESULT_POINT_CALLBACK);if(null!=o){var u=(r[0]+r[1])/2;t&&(u=e.getSize()-1-u),o.foundPossibleResultPoint(new l.default(u,n))}var d=this.decodeDataCharacter(e,a,!0),h=this.decodeDataCharacter(e,a,!1);return new s.default(1597*d.getValue()+h.getValue(),d.getChecksumPortion()+4*h.getChecksumPortion(),a)}catch(f){return null}},t.prototype.decodeDataCharacter=function(e,n,i){for(var r=this.getDataCharacterCounters(),a=0;a8&&(D=8);var _=Math.floor(o/2);0==(1&o)?(f[_]=D,c[_]=E-D):(l[_]=D,w[_]=E-D)}this.adjustOddEvenCounts(i,F);var C=0,b=0;for(o=f.length-1;o>=0;o--)b*=9,b+=f[o],C+=f[o];var k=0,v=0;for(o=l.length-1;o>=0;o--)k*=9,k+=l[o],v+=l[o];var A,N,B=b+3*k;if(i){if(0!=(1&C)||C>12||C<4)throw new d.default;var S=9-(N=t.OUTSIDE_ODD_WIDEST[A=(12-C)/2]),I=p.default.getRSSvalue(f,N,!1),O=p.default.getRSSvalue(l,S,!0);return new m.default(I*t.OUTSIDE_EVEN_TOTAL_SUBSET[A]+O+t.OUTSIDE_GSUM[A],B)}if(0!=(1&v)||v>10||v<4)throw new d.default;return S=9-(N=t.INSIDE_ODD_WIDEST[A=(10-v)/2]),I=p.default.getRSSvalue(f,N,!0),O=p.default.getRSSvalue(l,S,!1),new m.default(O*t.INSIDE_ODD_TOTAL_SUBSET[A]+I+t.INSIDE_GSUM[A],B)},t.prototype.findFinderPattern=function(e,t){var n=this.getDecodeFinderCounters();n[0]=0,n[1]=0,n[2]=0,n[3]=0;for(var i=e.getSize(),r=!1,a=0;a=0&&a!==e.get(o);)o--;o++;var s=r[0]-o,u=this.getDecodeFinderCounters(),F=new Array(u.length);w.default.arraycopy(u,0,F,1,u.length-1),F[0]=s;var d=this.parseFinderValue(F,t.FINDER_PATTERNS),h=o,f=r[1];return i&&(h=e.getSize()-1-h,f=e.getSize()-1-f),new c.default(d,[o,r[1]],h,f,n)},t.prototype.adjustOddEvenCounts=function(e,t){var n=g.default.sum(new Int32Array(this.getOddCounts())),i=g.default.sum(new Int32Array(this.getEvenCounts())),r=!1,a=!1,s=!1,u=!1;e?(n>12?a=!0:n<4&&(r=!0),i>12?u=!0:i<4&&(s=!0)):(n>11?a=!0:n<5&&(r=!0),i>10?u=!0:i<4&&(s=!0));var F=n+i-t,h=(1&n)==(e?1:0),f=1==(1&i);if(1===F)if(h){if(f)throw new d.default;a=!0}else{if(!f)throw new d.default;u=!0}else if(-1===F)if(h){if(f)throw new d.default;r=!0}else{if(!f)throw new d.default;s=!0}else{if(0!==F)throw new d.default;if(h){if(!f)throw new d.default;n=n.getSize()||!n.isRange(D,_,!1))throw new h.default;var C=p.toString();if(C.length<8)throw new f.default;if(!t.checkChecksum(C))throw new l.default;var b=(r[1]+r[0])/2,k=(y[1]+y[0])/2,v=this.getBarcodeFormat(),A=[new u.default(b,e),new u.default(k,e)],N=new o.default(C,null,0,A,v,(new Date).getTime()),B=0;try{var S=F.default.decodeRow(e,n,y[1]);N.putMetadata(s.default.UPC_EAN_EXTENSION,S.getText()),N.putAllMetadata(S.getResultMetadata()),N.addResultPoints(S.getResultPoints()),B=S.getText().length}catch(M){}var I=null==i?null:i.get(a.default.ALLOWED_EAN_EXTENSIONS);if(null!=I){var O=!1;for(var T in I)if(B.toString()===T){O=!0;break}if(!O)throw new h.default}return N},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var n=e.length;if(0===n)return!1;var i=parseInt(e.charAt(n-1),10);return t.getStandardUPCEANChecksum(e.substring(0,n-1))===i},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,n=0,i=t-1;i>=0;i-=2){if((r=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0))<0||r>9)throw new f.default;n+=r}for(n*=3,i=t-2;i>=0;i-=2){var r;if((r=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0))<0||r>9)throw new f.default;n+=r}return(1e3-n)%10},t.decodeEnd=function(e,n){return t.findGuardPattern(e,n,!1,t.START_END_PATTERN,new Array(t.START_END_PATTERN.length).fill(0))},t}(d.default)},F1eN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){this.buffer=""}return e.form=function(e,t){var n=-1;return e.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(e,i,r,a,o,s){if("%%"===e)return"%";if(void 0!==t[++n]){e=a?parseInt(a.substr(1)):void 0;var u,F=o?parseInt(o.substr(1)):void 0;switch(s){case"s":u=t[n];break;case"c":u=t[n][0];break;case"f":u=parseFloat(t[n]).toFixed(e);break;case"p":u=parseFloat(t[n]).toPrecision(e);break;case"e":u=parseFloat(t[n]).toExponential(e);break;case"x":u=parseInt(t[n]).toString(F||16);break;case"d":u=parseFloat(parseInt(t[n],F||10).toPrecision(e)).toFixed(0)}u="object"==typeof u?JSON.stringify(u):(+u).toString(F);for(var d=parseInt(r),h=r&&r[0]+""=="0"?"0":" ";u.length=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("hkAl"),a=t.CharacterSetValueIdentifiers=function(e){return e[e.Cp437=0]="Cp437",e[e.ISO8859_1=1]="ISO8859_1",e[e.ISO8859_2=2]="ISO8859_2",e[e.ISO8859_3=3]="ISO8859_3",e[e.ISO8859_4=4]="ISO8859_4",e[e.ISO8859_5=5]="ISO8859_5",e[e.ISO8859_6=6]="ISO8859_6",e[e.ISO8859_7=7]="ISO8859_7",e[e.ISO8859_8=8]="ISO8859_8",e[e.ISO8859_9=9]="ISO8859_9",e[e.ISO8859_10=10]="ISO8859_10",e[e.ISO8859_11=11]="ISO8859_11",e[e.ISO8859_13=12]="ISO8859_13",e[e.ISO8859_14=13]="ISO8859_14",e[e.ISO8859_15=14]="ISO8859_15",e[e.ISO8859_16=15]="ISO8859_16",e[e.SJIS=16]="SJIS",e[e.Cp1250=17]="Cp1250",e[e.Cp1251=18]="Cp1251",e[e.Cp1252=19]="Cp1252",e[e.Cp1256=20]="Cp1256",e[e.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",e[e.UTF8=22]="UTF8",e[e.ASCII=23]="ASCII",e[e.Big5=24]="Big5",e[e.GB18030=25]="GB18030",e[e.EUC_KR=26]="EUC_KR",e}(t.CharacterSetValueIdentifiers||{});t.default=function(){function e(t,n,r){for(var a,o,s=[],u=3;u=900)throw new r.default("incorect value");var n=e.VALUES_TO_ECI.get(t);if(void 0===n)throw new r.default("incorect value");return n},e.getCharacterSetECIByName=function(t){var n=e.NAME_TO_ECI.get(t);if(void 0===n)throw new r.default("incorect value");return n},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.getName()===n.getName()},e.VALUE_IDENTIFIER_TO_ECI=new Map,e.VALUES_TO_ECI=new Map,e.NAME_TO_ECI=new Map,e.Cp437=new e(a.Cp437,Int32Array.from([0,2]),"Cp437"),e.ISO8859_1=new e(a.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),e.ISO8859_2=new e(a.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),e.ISO8859_3=new e(a.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),e.ISO8859_4=new e(a.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),e.ISO8859_5=new e(a.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),e.ISO8859_6=new e(a.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),e.ISO8859_7=new e(a.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),e.ISO8859_8=new e(a.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),e.ISO8859_9=new e(a.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),e.ISO8859_10=new e(a.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),e.ISO8859_11=new e(a.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),e.ISO8859_13=new e(a.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),e.ISO8859_14=new e(a.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),e.ISO8859_15=new e(a.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),e.ISO8859_16=new e(a.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),e.SJIS=new e(a.SJIS,20,"SJIS","Shift_JIS"),e.Cp1250=new e(a.Cp1250,21,"Cp1250","windows-1250"),e.Cp1251=new e(a.Cp1251,22,"Cp1251","windows-1251"),e.Cp1252=new e(a.Cp1252,23,"Cp1252","windows-1252"),e.Cp1256=new e(a.Cp1256,24,"Cp1256","windows-1256"),e.UnicodeBigUnmarked=new e(a.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),e.UTF8=new e(a.UTF8,26,"UTF8","UTF-8"),e.ASCII=new e(a.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),e.Big5=new e(a.Big5,28,"Big5"),e.GB18030=new e(a.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),e.EUC_KR=new e(a.EUC_KR,30,"EUC_KR","EUC-KR"),e}()},Glpx:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("nHjj");t.default=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.encodeCompressedGtin=function(e,t){e.append("(01)");var n=e.length();e.append("9"),this.encodeCompressedGtinWithoutAI(e,t,n)},t.prototype.encodeCompressedGtinWithoutAI=function(e,n,i){for(var r=0;r<4;++r){var a=this.getGeneralDecoder().extractNumericValueFromBitArray(n+10*r,10);a/100==0&&e.append("0"),a/10==0&&e.append("0"),e.append(a)}t.appendCheckDigit(e,i)},t.appendCheckDigit=function(e,t){for(var n=0,i=0;i<13;i++){var r=e.charAt(i+t).charCodeAt(0)-"0".charCodeAt(0);n+=0==(1&i)?3*r:r}10==(n=10-n%10)&&(n=0),e.append(n)},t.GTIN_SIZE=40,t}(a.default)},GmQW:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("126u");t.default=function(e){function t(t,n){var i=e.call(this,t)||this;return i.value=n,i}return r(t,e),t.prototype.getValue=function(){return this.value},t.prototype.isFNC1=function(){return this.value===t.FNC1},t.FNC1="$",t}(a.default)},JB6p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PnHe"),r=n("tddb");t.default=function(){function e(){}return e.prototype.add=function(e,t){return(e+t)%this.modulus},e.prototype.subtract=function(e,t){return(this.modulus+e-t)%this.modulus},e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new i.default;return this.logTable[e]},e.prototype.inverse=function(e){if(0===e)throw new r.default;return this.expTable[this.modulus-this.logTable[e]-1]},e.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.modulus-1)]},e.prototype.getSize=function(){return this.modulus},e.prototype.equals=function(e){return e===this},e}()},Jm8c:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("5Bsn"),a=n("u2rX"),o=n("PY/A"),s=n("dMyC"),u=n("qTxx"),F=n("8YcI"),d=n("wXP5"),h=n("uQrh"),f=n("i3sT");t.default=function(){function e(){}return e.prototype.decode=function(e,t){return this.setHints(t),this.decodeInternal(e)},e.prototype.decodeWithState=function(e){return null==this.readers&&this.setHints(null),this.decodeInternal(e)},e.prototype.setHints=function(e){this.hints=e;var t=null!=e&&void 0!==e.get(r.default.TRY_HARDER),n=null==e?null:e.get(r.default.POSSIBLE_FORMATS),i=new Array;if(null!=n){var d=n.some((function(e){return e===a.default.UPC_A||e===a.default.UPC_E||e===a.default.EAN_13||e===a.default.EAN_8||e===a.default.CODABAR||e===a.default.CODE_39||e===a.default.CODE_93||e===a.default.CODE_128||e===a.default.ITF||e===a.default.RSS_14||e===a.default.RSS_EXPANDED}));d&&!t&&i.push(new u.default(e)),n.includes(a.default.QR_CODE)&&i.push(new o.default),n.includes(a.default.DATA_MATRIX)&&i.push(new F.default),n.includes(a.default.AZTEC)&&i.push(new s.default),n.includes(a.default.PDF_417)&&i.push(new h.default),d&&t&&i.push(new u.default(e))}0===i.length&&(t||i.push(new u.default(e)),i.push(new o.default),i.push(new F.default),i.push(new s.default),i.push(new h.default),t&&i.push(new u.default(e))),this.readers=i},e.prototype.reset=function(){var e,t;if(null!==this.readers)try{for(var n=i(this.readers),r=n.next();!r.done;r=n.next())r.value.reset()}catch(a){e={error:a}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.decodeInternal=function(e){var t,n;if(null===this.readers)throw new f.default("No readers where selected, nothing can be read.");try{for(var r=i(this.readers),a=r.next();!a.done;a=r.next()){var o=a.value;try{return o.decode(e,this.hints)}catch(s){if(s instanceof f.default)continue}}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}throw new d.default("No MultiFormat Readers were able to detect the code.")},e}()},KZRM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("vaGy");t.default=function(){function e(){}return e.setGridSampler=function(t){e.gridSampler=t},e.getInstance=function(){return e.gridSampler},e.gridSampler=new i.default,e}()},KuZJ:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("BBG+"),o=n("QB1c"),s=n("7RB1"),u=n("PnHe"),F=n("tddb");t.default=function(e){function t(t,n,i){var r=e.call(this)||this;r.primitive=t,r.size=n,r.generatorBase=i;for(var o=new Int32Array(n),s=1,u=0;u=n&&(s^=t,s&=n-1);r.expTable=o;var F=new Int32Array(n);for(u=0;u=0;n--)e=this.copyBit(8,n,e);var i=this.bitMatrix.getHeight(),a=0,s=i-7;for(n=i-1;n>=s;n--)a=this.copyBit(8,n,a);for(t=i-8;t=0;a--)for(var s=e-9;s>=r;s--)n=this.copyBit(s,a,n);var u=i.default.decodeVersionInformation(n);if(null!==u&&u.getDimensionForVersion()===e)return this.parsedVersion=u,u;for(n=0,s=5;s>=0;s--)for(a=e-9;a>=r;a--)n=this.copyBit(s,a,n);if(null!==(u=i.default.decodeVersionInformation(n))&&u.getDimensionForVersion()===e)return this.parsedVersion=u,u;throw new o.default},e.prototype.copyBit=function(e,t,n){return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?n<<1|1:n<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),n=a.default.values.get(e.getDataMask()),i=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,i);for(var r=t.buildFunctionPattern(),s=!0,u=new Uint8Array(t.getTotalCodewords()),F=0,d=0,h=0,f=i-1;f>0;f-=2){6===f&&f--;for(var l=0;l0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("mtib"),s=n("eZS3"),u=n("aLHR"),F=n("uW/q"),d=n("hkAl"),h=n("wXP5"),f=n("SD+R"),l=n("3aqw");t.BrowserCodeReader=function(){function e(e,t,n){void 0===t&&(t=500),this.reader=e,this.timeBetweenScansMillis=t,this._hints=n,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(e.prototype,"hasNavigator",{get:function(){return"undefined"!=typeof navigator},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(e){this._timeBetweenDecodingAttempts=e<0?0:e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hints",{get:function(){return this._hints},set:function(e){this._hints=e||null},enumerable:!0,configurable:!0}),e.prototype.listVideoInputDevices=function(){return i(this,void 0,void 0,(function(){var e,t,n,i,o,s,u,F;return r(this,(function(r){switch(r.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:n=r.sent(),i=[];try{for(o=a(n),s=o.next();!s.done;s=o.next())"videoinput"===(F="video"===(u=s.value).kind?"videoinput":u.kind)&&i.push({deviceId:u.deviceId||u.id,label:u.label||"Video device "+(i.length+1),kind:F,groupId:u.groupId})}catch(d){e={error:d}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return[2,i]}}))}))},e.prototype.getVideoInputDevices=function(){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,e.sent().map((function(e){return new l.VideoInputDevice(e.deviceId,e.label)}))]}}))}))},e.prototype.findDeviceById=function(e){return i(this,void 0,void 0,(function(){var t;return r(this,(function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(t=n.sent())?[2,t.find((function(t){return t.deviceId===e}))]:[2,null]}}))}))},e.prototype.decodeFromInputVideoDevice=function(e,t){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.decodeOnceFromVideoDevice(e,t)];case 1:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromVideoDevice=function(e,t){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return this.reset(),[4,this.decodeOnceFromConstraints({video:e?{deviceId:{exact:e}}:{facingMode:"environment"}},t)];case 1:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromConstraints=function(e,t){return i(this,void 0,void 0,(function(){var n;return r(this,(function(i){switch(i.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return n=i.sent(),[4,this.decodeOnceFromStream(n,t)];case 2:return[2,i.sent()]}}))}))},e.prototype.decodeOnceFromStream=function(e,t){return i(this,void 0,void 0,(function(){var n;return r(this,(function(i){switch(i.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return n=i.sent(),[4,this.decodeOnce(n)];case 2:return[2,i.sent()]}}))}))},e.prototype.decodeFromInputVideoDeviceContinuously=function(e,t,n){return i(this,void 0,void 0,(function(){return r(this,(function(i){switch(i.label){case 0:return[4,this.decodeFromVideoDevice(e,t,n)];case 1:return[2,i.sent()]}}))}))},e.prototype.decodeFromVideoDevice=function(e,t,n){return i(this,void 0,void 0,(function(){return r(this,(function(i){switch(i.label){case 0:return[4,this.decodeFromConstraints({video:e?{deviceId:{exact:e}}:{facingMode:"environment"}},t,n)];case 1:return[2,i.sent()]}}))}))},e.prototype.decodeFromConstraints=function(e,t,n){return i(this,void 0,void 0,(function(){var i;return r(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return i=r.sent(),[4,this.decodeFromStream(i,t,n)];case 2:return[2,r.sent()]}}))}))},e.prototype.decodeFromStream=function(e,t,n){return i(this,void 0,void 0,(function(){var i;return r(this,(function(r){switch(r.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return i=r.sent(),[4,this.decodeContinuously(i,n)];case 2:return[2,r.sent()]}}))}))},e.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},e.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},e.prototype.attachStreamToVideo=function(e,t){return i(this,void 0,void 0,(function(){var n;return r(this,(function(i){switch(i.label){case 0:return n=this.prepareVideoElement(t),this.addVideoSource(n,e),this.videoElement=n,this.stream=e,[4,this.playVideoOnLoadAsync(n)];case 1:return i.sent(),[2,n]}}))}))},e.prototype.playVideoOnLoadAsync=function(e){var t=this;return new Promise((function(n,i){return t.playVideoOnLoad(e,(function(){return n()}))}))},e.prototype.playVideoOnLoad=function(e,t){var n=this;this.videoEndedListener=function(){return n.stopStreams()},this.videoCanPlayListener=function(){return n.tryPlayVideo(e)},e.addEventListener("ended",this.videoEndedListener),e.addEventListener("canplay",this.videoCanPlayListener),e.addEventListener("playing",t),this.tryPlayVideo(e)},e.prototype.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2},e.prototype.tryPlayVideo=function(e){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:if(this.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.play()];case 2:return t.sent(),[3,4];case 3:return t.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},e.prototype.getMediaElement=function(e,t){var n=document.getElementById(e);if(!n)throw new o.default("element with id '"+e+"' not found");if(n.nodeName.toLowerCase()!==t.toLowerCase())throw new o.default("element with id '"+e+"' must be an "+t+" element");return n},e.prototype.decodeFromImage=function(e,t){if(!e&&!t)throw new o.default("either imageElement with a src set or an url must be provided");return t&&!e?this.decodeFromImageUrl(t):this.decodeFromImageElement(e)},e.prototype.decodeFromVideo=function(e,t){if(!e&&!t)throw new o.default("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrl(t):this.decodeFromVideoElement(e)},e.prototype.decodeFromVideoContinuously=function(e,t,n){if(void 0===e&&void 0===t)throw new o.default("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrlContinuously(t,n):this.decodeFromVideoElementContinuously(e,n)},e.prototype.decodeFromImageElement=function(e){if(!e)throw new o.default("An image element must be provided.");this.reset();var t=this.prepareImageElement(e);return this.imageElement=t,this.isImageLoaded(t)?this.decodeOnce(t,!1,!0):this._decodeOnLoadImage(t)},e.prototype.decodeFromVideoElement=function(e){var t=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideo(t)},e.prototype.decodeFromVideoElementContinuously=function(e,t){var n=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideoContinuously(n,t)},e.prototype._decodeFromVideoElementSetup=function(e){if(!e)throw new o.default("A video element must be provided.");this.reset();var t=this.prepareVideoElement(e);return this.videoElement=t,t},e.prototype.decodeFromImageUrl=function(e){if(!e)throw new o.default("An URL must be provided.");this.reset();var t=this.prepareImageElement();this.imageElement=t;var n=this._decodeOnLoadImage(t);return t.src=e,n},e.prototype.decodeFromVideoUrl=function(e){if(!e)throw new o.default("An URL must be provided.");this.reset();var t=this.prepareVideoElement(),n=this.decodeFromVideoElement(t);return t.src=e,n},e.prototype.decodeFromVideoUrlContinuously=function(e,t){if(!e)throw new o.default("An URL must be provided.");this.reset();var n=this.prepareVideoElement(),i=this.decodeFromVideoElementContinuously(n,t);return n.src=e,i},e.prototype._decodeOnLoadImage=function(e){var t=this;return new Promise((function(n,i){t.imageLoadedListener=function(){return t.decodeOnce(e,!1,!0).then(n,i)},e.addEventListener("load",t.imageLoadedListener)}))},e.prototype._decodeOnLoadVideo=function(e){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return t.sent(),[4,this.decodeOnce(e)];case 2:return[2,t.sent()]}}))}))},e.prototype._decodeOnLoadVideoContinuously=function(e,t){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return n.sent(),this.decodeContinuously(e,t),[2]}}))}))},e.prototype.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWidth},e.prototype.prepareImageElement=function(e){var t;return void 0===e&&((t=document.createElement("img")).width=200,t.height=200),"string"==typeof e&&(t=this.getMediaElement(e,"img")),e instanceof HTMLImageElement&&(t=e),t},e.prototype.prepareVideoElement=function(e){var t;return e||"undefined"==typeof document||((t=document.createElement("video")).width=200,t.height=200),"string"==typeof e&&(t=this.getMediaElement(e,"video")),e instanceof HTMLVideoElement&&(t=e),t.setAttribute("autoplay","true"),t.setAttribute("muted","true"),t.setAttribute("playsinline","true"),t},e.prototype.decodeOnce=function(e,t,n){var i=this;void 0===t&&(t=!0),void 0===n&&(n=!0),this._stopAsyncDecode=!1;var r=function(a,o){if(i._stopAsyncDecode)return o(new h.default("Video stream has ended before any code could be detected.")),void(i._stopAsyncDecode=void 0);try{a(i.decode(e))}catch(s){if(t&&s instanceof h.default||(s instanceof u.default||s instanceof d.default)&&n)return setTimeout(r,i._timeBetweenDecodingAttempts,a,o);o(s)}};return new Promise((function(e,t){return r(e,t)}))},e.prototype.decodeContinuously=function(e,t){var n=this;this._stopContinuousDecode=!1;var i=function(){if(n._stopContinuousDecode)n._stopContinuousDecode=void 0;else try{var r=n.decode(e);t(r,null),setTimeout(i,n.timeBetweenScansMillis)}catch(a){t(null,a),(a instanceof u.default||a instanceof d.default||a instanceof h.default)&&setTimeout(i,n._timeBetweenDecodingAttempts)}};i()},e.prototype.decode=function(e){var t=this.createBinaryBitmap(e);return this.decodeBitmap(t)},e.prototype.createBinaryBitmap=function(e){var t=this.getCaptureCanvasContext(e);this.drawImageOnCanvas(t,e);var n=this.getCaptureCanvas(e),i=new f.HTMLCanvasElementLuminanceSource(n),r=new F.default(i);return new s.default(r)},e.prototype.getCaptureCanvasContext=function(e){if(!this.captureCanvasContext){var t=this.getCaptureCanvas(e).getContext("2d");this.captureCanvasContext=t}return this.captureCanvasContext},e.prototype.getCaptureCanvas=function(e){if(!this.captureCanvas){var t=this.createCaptureCanvas(e);this.captureCanvas=t}return this.captureCanvas},e.prototype.drawImageOnCanvas=function(e,t){e.drawImage(t,0,0)},e.prototype.decodeBitmap=function(e){return this.reader.decode(e,this._hints)},e.prototype.createCaptureCanvas=function(e){if("undefined"==typeof document)return this._destroyCaptureCanvas(),null;var t,n,i=document.createElement("canvas");return void 0!==e&&(e instanceof HTMLVideoElement?(t=e.videoWidth,n=e.videoHeight):e instanceof HTMLImageElement&&(t=e.naturalWidth||e.width,n=e.naturalHeight||e.height)),i.style.width=t+"px",i.style.height=n+"px",i.width=t,i.height=n,i},e.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(e){return e.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},e.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},e.prototype._destroyVideoElement=function(){this.videoElement&&(void 0!==this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),void 0!==this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),void 0!==this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},e.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},e.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},e.prototype.addVideoSource=function(e,t){try{e.srcObject=t}catch(n){e.src=URL.createObjectURL(t)}},e.prototype.cleanVideoSource=function(e){try{e.srcObject=null}catch(t){e.src=""}this.videoElement.removeAttribute("src")},e}()},NJOF:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("5Bsn"),a=n("PRO/"),o=n("dA5a"),s=n("ipxb"),u=n("wXP5"),F=function(){function e(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}return e.prototype.getImage=function(){return this.image},e.prototype.getPossibleCenters=function(){return this.possibleCenters},e.prototype.find=function(t){var n=null!=t&&void 0!==t.get(r.default.TRY_HARDER),i=null!=t&&void 0!==t.get(r.default.PURE_BARCODE),o=this.image,u=o.getHeight(),F=o.getWidth(),d=Math.floor(3*u/(4*e.MAX_MODULES));(df[2]&&(l+=g-f[2]-d,m=F-1)}c=0,f[0]=0,f[1]=0,f[2]=0,f[3]=0,f[4]=0}else f[0]=f[2],f[1]=f[3],f[2]=f[4],f[3]=1,f[4]=0,c=3;else f[++c]++;else f[c]++;e.foundPatternCross(f)&&!0===this.handlePossibleCenter(f,l,F,i)&&(d=f[0],this.hasSkipped&&(h=this.haveMultiplyConfirmedCenters()))}var p=this.selectBestPatterns();return a.default.orderBestPatterns(p),new s.default(p)},e.centerFromEnd=function(e,t){return t-e[4]-e[3]-e[2]/2},e.foundPatternCross=function(e){for(var t=0,n=0;n<5;n++){var i=e[n];if(0===i)return!1;t+=i}if(t<7)return!1;var r=t/7,a=r/2;return Math.abs(r-e[0])=o&&n>=o&&s.get(n-o,t-o);)a[2]++,o++;if(t=o&&n>=o&&!s.get(n-o,t-o)&&a[1]<=i;)a[1]++,o++;if(ti)return!1;for(;t>=o&&n>=o&&s.get(n-o,t-o)&&a[0]<=i;)a[0]++,o++;if(a[0]>i)return!1;var u=s.getHeight(),F=s.getWidth();for(o=1;t+o=u||n+o>=F)return!1;for(;t+o=u||n+o>=F||a[3]>=i)return!1;for(;t+o=i)&&Math.abs(a[0]+a[1]+a[2]+a[3]+a[4]-r)<2*r&&e.foundPatternCross(a)},e.prototype.crossCheckVertical=function(t,n,i,r){for(var a=this.image,o=a.getHeight(),s=this.getCrossCheckStateCount(),u=t;u>=0&&a.get(n,u);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!a.get(n,u)&&s[1]<=i;)s[1]++,u--;if(u<0||s[1]>i)return NaN;for(;u>=0&&a.get(n,u)&&s[0]<=i;)s[0]++,u--;if(s[0]>i)return NaN;for(u=t+1;u=i)return NaN;for(;u=i||5*Math.abs(s[0]+s[1]+s[2]+s[3]+s[4]-r)>=2*r?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.crossCheckHorizontal=function(t,n,i,r){for(var a=this.image,o=a.getWidth(),s=this.getCrossCheckStateCount(),u=t;u>=0&&a.get(u,n);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!a.get(u,n)&&s[1]<=i;)s[1]++,u--;if(u<0||s[1]>i)return NaN;for(;u>=0&&a.get(u,n)&&s[0]<=i;)s[0]++,u--;if(s[0]>i)return NaN;for(u=t+1;u=i)return NaN;for(;u=i||5*Math.abs(s[0]+s[1]+s[2]+s[3]+s[4]-r)>=r?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.handlePossibleCenter=function(t,n,i,r){var a=t[0]+t[1]+t[2]+t[3]+t[4],s=e.centerFromEnd(t,i),u=this.crossCheckVertical(n,Math.floor(s),t[2],a);if(!isNaN(u)&&(s=this.crossCheckHorizontal(Math.floor(s),Math.floor(u),t[2],a),!isNaN(s)&&(!r||this.crossCheckDiagonal(Math.floor(u),Math.floor(s),t[2],a)))){for(var F=a/7,d=!1,h=this.possibleCenters,f=0,l=h.length;f=e.CENTER_QUORUM){if(null!=r)return this.hasSkipped=!0,Math.floor((Math.abs(r.getX()-s.getX())-Math.abs(r.getY()-s.getY()))/2);r=s}}}catch(u){t={error:u}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,n,r,a,o=0,s=0,u=this.possibleCenters.length;try{for(var F=i(this.possibleCenters),d=F.next();!d.done;d=F.next())(m=d.value).getCount()>=e.CENTER_QUORUM&&(o++,s+=m.getEstimatedModuleSize())}catch(g){t={error:g}}finally{try{d&&!d.done&&(n=F.return)&&n.call(F)}finally{if(t)throw t.error}}if(o<3)return!1;var h=s/u,f=0;try{for(var l=i(this.possibleCenters),c=l.next();!c.done;c=l.next()){var m=c.value;f+=Math.abs(m.getEstimatedModuleSize()-h)}}catch(p){r={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}return f<=.05*s},e.prototype.selectBestPatterns=function(){var e,t,n,r,a=this.possibleCenters.length;if(a<3)throw new u.default;var o,s=this.possibleCenters;if(a>3){var F=0,d=0;try{for(var h=i(this.possibleCenters),f=h.next();!f.done;f=h.next()){var l=f.value.getEstimatedModuleSize();F+=l,d+=l*l}}catch(y){e={error:y}}finally{try{f&&!f.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}o=F/a;var c=Math.sqrt(d/a-o*o);s.sort((function(e,t){var n=Math.abs(t.getEstimatedModuleSize()-o),i=Math.abs(e.getEstimatedModuleSize()-o);return ni?1:0}));for(var m=Math.max(.2*o,c),g=0;g3;g++)Math.abs(s[g].getEstimatedModuleSize()-o)>m&&(s.splice(g,1),g--)}if(s.length>3){F=0;try{for(var p=i(s),w=p.next();!w.done;w=p.next())F+=w.value.getEstimatedModuleSize()}catch(E){n={error:E}}finally{try{w&&!w.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}o=F/s.length,s.sort((function(e,t){if(t.getCount()===e.getCount()){var n=Math.abs(t.getEstimatedModuleSize()-o),i=Math.abs(e.getEstimatedModuleSize()-o);return ni?-1:0}return t.getCount()-e.getCount()})),s.splice(3)}return[s[0],s[1],s[2]]},e.CENTER_QUORUM=2,e.MIN_SKIP=3,e.MAX_MODULES=57,e}();t.default=F},O2Gj:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("hkAl"),o=n("126u");t.default=function(e){function t(t,n,i){var r=e.call(this,t)||this;if(n<0||n>10||i<0||i>10)throw new a.default;return r.firstDigit=n,r.secondDigit=i,r}return r(t,e),t.prototype.getFirstDigit=function(){return this.firstDigit},t.prototype.getSecondDigit=function(){return this.secondDigit},t.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},t.prototype.isFirstDigitFNC1=function(){return this.firstDigit==t.FNC1},t.prototype.isSecondDigitFNC1=function(){return this.secondDigit==t.FNC1},t.prototype.isAnyFNC1=function(){return this.firstDigit===t.FNC1||this.secondDigit===t.FNC1},t.FNC1=10,t}(o.default)},OlRx:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.default)},Om8P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("zKBm"),r=n("k/aH"),a=n("/r7I");t.default=function(){function e(){}return e.decodeRow=function(e,t,n){var o=i.default.findGuardPattern(t,n,!1,this.EXTENSION_START_PATTERN,new Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new r.default).decodeRow(e,t,o)}catch(s){return(new a.default).decodeRow(e,t,o)}},e.EXTENSION_START_PATTERN=[1,1,2],e}()},OoNi:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("N458"),o=n("8YcI");t.BrowserDatamatrixCodeReader=function(e){function t(t){return void 0===t&&(t=500),e.call(this,new o.default,t)||this}return r(t,e),t}(a.BrowserCodeReader)},"PRO/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("a66B"),r=n("DL63");t.default=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.equals=function(t){return t instanceof e&&this.x===t.x&&this.y===t.y},e.prototype.hashCode=function(){return 31*r.default.floatToIntBits(this.x)+r.default.floatToIntBits(this.y)},e.prototype.toString=function(){return"("+this.x+","+this.y+")"},e.orderBestPatterns=function(e){var t,n,i,r=this.distance(e[0],e[1]),a=this.distance(e[1],e[2]),o=this.distance(e[0],e[2]);if(a>=r&&a>=o?(n=e[0],t=e[1],i=e[2]):o>=a&&o>=r?(n=e[1],t=e[0],i=e[2]):(n=e[2],t=e[0],i=e[1]),this.crossProductZ(t,n,i)<0){var s=t;t=i,i=s}e[0]=t,e[1]=n,e[2]=i},e.distance=function(e,t){return i.default.distance(e.x,e.y,t.x,t.y)},e.crossProductZ=function(e,t,n){var i=t.x,r=t.y;return(n.x-i)*(e.y-r)-(n.y-r)*(e.x-i)},e}()},"PY/A":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("u2rX"),r=n("5Bsn"),a=n("bJYy"),o=n("snnL"),s=n("lbVw"),u=n("QvJ5"),F=n("uJ7E"),d=n("A397"),h=n("wXP5");t.default=function(){function e(){this.decoder=new u.default}return e.prototype.getDecoder=function(){return this.decoder},e.prototype.decode=function(t,n){var s,u;if(null!=n&&void 0!==n.get(r.default.PURE_BARCODE)){var h=e.extractPureBits(t.getBlackMatrix());s=this.decoder.decodeBitMatrix(h,n),u=e.NO_POINTS}else{var f=new d.default(t.getBlackMatrix()).detect(n);s=this.decoder.decodeBitMatrix(f.getBits(),n),u=f.getPoints()}s.getOther()instanceof F.default&&s.getOther().applyMirroredCorrection(u);var l=new a.default(s.getText(),s.getRawBytes(),void 0,u,i.default.QR_CODE,void 0),c=s.getByteSegments();null!==c&&l.putMetadata(o.default.BYTE_SEGMENTS,c);var m=s.getECLevel();return null!==m&&l.putMetadata(o.default.ERROR_CORRECTION_LEVEL,m),s.hasStructuredAppend()&&(l.putMetadata(o.default.STRUCTURED_APPEND_SEQUENCE,s.getStructuredAppendSequenceNumber()),l.putMetadata(o.default.STRUCTURED_APPEND_PARITY,s.getStructuredAppendParity())),l},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null===t||null===n)throw new h.default;var i=this.moduleSize(t,e),r=t[1],a=n[1],o=t[0],u=n[0];if(o>=u||r>=a)throw new h.default;if(a-r!=u-o&&(u=o+(a-r))>=e.getWidth())throw new h.default;var F=Math.round((u-o+1)/i),d=Math.round((a-r+1)/i);if(F<=0||d<=0)throw new h.default;if(d!==F)throw new h.default;var f=Math.floor(i/2);r+=f;var l=(o+=f)+Math.floor((F-1)*i)-u;if(l>0){if(l>f)throw new h.default;o-=l}var c=r+Math.floor((d-1)*i)-a;if(c>0){if(c>f)throw new h.default;r-=c}for(var m=new s.default(F,d),g=0;g=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("5Bsn"),u=n("bJYy"),F=n("PRO/"),d=n("6s9M"),h=n("SDs9"),f=n("poFM"),l=n("hkAl"),c=n("wXP5");t.default=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.narrowLineWidth=-1,t}return r(t,e),t.prototype.decodeRow=function(e,n,i){var r,d,f=this.decodeStart(n),c=this.decodeEnd(n),m=new h.default;t.decodeMiddle(n,f[1],c[0],m);var g=m.toString(),p=null;null!=i&&(p=i.get(s.default.ALLOWED_LENGTHS)),null==p&&(p=t.DEFAULT_ALLOWED_LENGTHS);var w=g.length,y=!1,E=0;try{for(var D=a(p),_=D.next();!_.done;_=D.next()){var C=_.value;if(w===C){y=!0;break}C>E&&(E=C)}}catch(k){r={error:k}}finally{try{_&&!_.done&&(d=D.return)&&d.call(D)}finally{if(r)throw r.error}}if(!y&&w>E&&(y=!0),!y)throw new l.default;var b=[new F.default(f[1],e),new F.default(c[0],e)];return new u.default(g,null,0,b,o.default.ITF,(new Date).getTime())},t.decodeMiddle=function(e,n,i,r){var a=new Array(10),o=new Array(5),s=new Array(5);for(a.fill(0),o.fill(0),s.fill(0);n0&&i>=0&&!e.get(i);i--)n--;if(0!==n)throw new c.default},t.skipWhiteSpace=function(e){var t=e.getSize(),n=e.getNextSet(0);if(n===t)throw new c.default;return n},t.prototype.decodeEnd=function(e){e.reverse();try{var n=t.skipWhiteSpace(e),i=void 0;try{i=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[0])}catch(a){i=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[1])}this.validateQuietZone(e,i[0]);var r=i[0];return i[0]=e.getSize()-i[1],i[1]=e.getSize()-r,i}finally{e.reverse()}},t.findGuardPattern=function(e,n,i){var r=i.length,a=new Array(r),o=e.getSize(),s=!1,u=0,F=n;a.fill(0);for(var h=n;h=0)return i%10;throw new c.default},t.W=3,t.w=2,t.N=1,t.PATTERNS=[[1,1,2,2,1],[2,1,1,1,2],[1,2,1,1,2],[2,2,1,1,1],[1,1,2,1,2],[2,1,2,1,1],[1,2,2,1,1],[1,1,1,2,2],[2,1,1,2,1],[1,2,1,2,1],[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]],t.MAX_AVG_VARIANCE=.38,t.MAX_INDIVIDUAL_VARIANCE=.5,t.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],t.START_PATTERN=[1,1,1,1],t.END_PATTERN_REVERSED=[[1,1,2],[1,1,3]],t}(d.default)},QAkY:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("6s9M"),s=n("wXP5"),u=n("a66B");t.default=function(e){function t(){var t=e.call(this)||this;return t.decodeFinderCounters=new Array(4),t.dataCharacterCounters=new Array(8),t.oddRoundingErrors=new Array(4),t.evenRoundingErrors=new Array(4),t.oddCounts=new Array(t.dataCharacterCounters.length/2),t.evenCounts=new Array(t.dataCharacterCounters.length/2),t}return r(t,e),t.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},t.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},t.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},t.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},t.prototype.getOddCounts=function(){return this.oddCounts},t.prototype.getEvenCounts=function(){return this.evenCounts},t.prototype.parseFinderValue=function(e,n){for(var i=0;ii&&(i=t[r],n=r);e[n]++},t.decrement=function(e,t){for(var n=0,i=t[0],r=1;r=t.MIN_FINDER_PATTERN_RATIO&&o<=t.MAX_FINDER_PATTERN_RATIO){var s=Number.MAX_SAFE_INTEGER,u=Number.MIN_SAFE_INTEGER;try{for(var F=a(e),d=F.next();!d.done;d=F.next()){var h=d.value;h>u&&(u=h),h=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}},r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o};Object.defineProperty(t,"__esModule",{value:!0});var a=n("vpob");t.default=function(){function e(){this.values=new Map}return e.prototype.setValue=function(e){e=Math.trunc(e);var t=this.values.get(e);null==t&&(t=0),t++,this.values.set(e,t)},e.prototype.getValue=function(){var e,t,n=-1,o=new Array,s=function(e,t){var i=function(){return e},r=function(){return t};r()>n?(n=r(),(o=[]).push(i())):r()===n&&o.push(i())};try{for(var u=i(this.values.entries()),F=u.next();!F.done;F=u.next()){var d=r(F.value,2);s(d[0],d[1])}}catch(h){e={error:h}}finally{try{F&&!F.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}return a.default.toIntArray(o)},e.prototype.getConfidence=function(e){return this.values.get(e)},e}()},QJd3:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("poFM"),o=n("v7Zz"),s=n("4LZe"),u=n("PnHe");t.default=function(e){function t(t,n,i,r,a,o,s,F){var d=e.call(this,o,s)||this;if(d.yuvData=t,d.dataWidth=n,d.dataHeight=i,d.left=r,d.top=a,r+o>n||a+s>i)throw new u.default("Crop rectangle does not fit within image data.");return F&&d.reverseHorizontal(o,s),d}return r(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new u.default("Requested row is outside the image: "+e);var n=this.getWidth();return(null==t||t.length>=1;i=1&n,e.RATIOS_TABLE[t]||(e.RATIOS_TABLE[t]=new Array(r.default.BARS_IN_MODULE)),e.RATIOS_TABLE[t][r.default.BARS_IN_MODULE-a-1]=Math.fround(o/r.default.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},e.getDecodedValue=function(t){var n=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==n?n:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=i.default.sum(e),n=new Int32Array(r.default.BARS_IN_MODULE),a=0,o=0,s=0;s1)for(var s=0;s=u)break}h=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("lbVw"),a=n("KuZJ"),o=n("yKVe"),s=n("MYby"),u=n("uJ7E"),F=n("/IU9"),d=n("kaLH"),h=n("aLHR");t.default=function(){function e(){this.rsDecoder=new o.default(a.default.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(r.default.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var n=new s.default(e),i=null;try{return this.decodeBitMatrixParser(n,t)}catch(a){i=a}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var r=this.decodeBitMatrixParser(n,t);return r.setOther(new u.default(!0)),r}catch(a){if(null!==i)throw i;throw a}},e.prototype.decodeBitMatrixParser=function(e,t){var n,r,a,o,s=e.readVersion(),u=e.readFormatInformation().getErrorCorrectionLevel(),h=e.readCodewords(),f=F.default.getDataBlocks(h,s,u),l=0;try{for(var c=i(f),m=c.next();!m.done;m=c.next())l+=(E=m.value).getNumDataCodewords()}catch(b){n={error:b}}finally{try{m&&!m.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}var g=new Uint8Array(l),p=0;try{for(var w=i(f),y=w.next();!y.done;y=w.next()){var E,D=(E=y.value).getCodewords(),_=E.getNumDataCodewords();this.correctErrors(D,_);for(var C=0;C<_;C++)g[p++]=D[C]}}catch(k){a={error:k}}finally{try{y&&!y.done&&(o=w.return)&&o.call(w)}finally{if(a)throw a.error}}return d.default.decode(g,s,u,t)},e.prototype.correctErrors=function(e,t){var n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-t)}catch(r){throw new h.default}for(var i=0;i>10;return i},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new s.default("Requested row is outside the image: "+e);var n=this.getWidth(),i=e*n;return null===t?t=this.buffer.slice(i,i+n):(t.length=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.prototype.RSSUtils=function(){},e.getRSSvalue=function(t,n,r){var a,o,s=0;try{for(var u=i(t),F=u.next();!F.done;F=u.next())s+=F.value}catch(w){a={error:w}}finally{try{F&&!F.done&&(o=u.return)&&o.call(u)}finally{if(a)throw a.error}}for(var d=0,h=0,f=t.length,l=0;l=f-l-1&&(m-=e.combins(s-c-(f-l),f-l-2)),f-l-1>1){for(var g=0,p=s-c-(f-l-2);p>n;p--)g+=e.combins(s-c-p-1,f-l-3);m-=g*(f-1-l)}else s-c>n&&m--;d+=m}s-=c}return d},e.combins=function(e,t){var n,i;e-t>t?(i=t,n=e-t):(i=e-t,n=t);for(var r=1,a=1,o=e;o>n;o--)r*=o,a<=i&&(r/=a,a++);for(;a<=i;)r/=a,a++;return r},e}()},Tdgg:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("yKVe"),a=n("KuZJ"),o=n("eMS/"),s=n("lQQs"),u=n("gG0n"),F=n("aLHR");t.default=function(){function e(){this.rsDecoder=new r.default(a.default.DATA_MATRIX_FIELD_256)}return e.prototype.decode=function(e){var t,n,r=new o.default(e),a=r.getVersion(),F=r.readCodewords(),d=s.default.getDataBlocks(F,a),h=0;try{for(var f=i(d),l=f.next();!l.done;l=f.next())h+=l.value.getNumDataCodewords()}catch(D){t={error:D}}finally{try{l&&!l.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}for(var c=new Uint8Array(h),m=d.length,g=0;g=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("aLHR"),u=n("hkAl"),F=n("wXP5"),d=n("6s9M"),h=n("bJYy"),f=n("PRO/");t.default=function(e){function t(t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.call(this)||this;return i.usingCheckDigit=t,i.extendedMode=n,i.decodeRowResult="",i.counters=new Array(9),i}return r(t,e),t.prototype.decodeRow=function(e,n,i){var r,u,d,l,c=this.counters;c.fill(0),this.decodeRowResult="";var m,g,p=t.findAsteriskPattern(n,c),w=n.getNextSet(p[1]),y=n.getSize();do{t.recordPattern(n,w,c);var E=t.toNarrowWidePattern(c);if(E<0)throw new F.default;m=t.patternToChar(E),this.decodeRowResult+=m,g=w;try{for(var D=a(c),_=D.next();!_.done;_=D.next())w+=_.value}catch(I){r={error:I}}finally{try{_&&!_.done&&(u=D.return)&&u.call(D)}finally{if(r)throw r.error}}w=n.getNextSet(w)}while("*"!==m);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var C,b=0;try{for(var k=a(c),v=k.next();!v.done;v=k.next())b+=v.value}catch(O){d={error:O}}finally{try{v&&!v.done&&(l=k.return)&&l.call(k)}finally{if(d)throw d.error}}if(w!==y&&2*(w-g-b)o&&(s=l)}catch(c){t={error:c}}finally{try{F&&!F.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}o=s,i=0;for(var d=0,h=0,f=0;fo&&(h|=1<0;f++){var l;if((l=e[f])>o&&(i--,2*l>=d))return-1}return h}}while(i>3);return-1},t.patternToChar=function(e){for(var n=0;n="A"&&a<="Z"))throw new u.default;o=String.fromCharCode(a.charCodeAt(0)+32);break;case"$":if(!(a>="A"&&a<="Z"))throw new u.default;o=String.fromCharCode(a.charCodeAt(0)-64);break;case"%":if(a>="A"&&a<="E")o=String.fromCharCode(a.charCodeAt(0)-38);else if(a>="F"&&a<="J")o=String.fromCharCode(a.charCodeAt(0)-11);else if(a>="K"&&a<="O")o=String.fromCharCode(a.charCodeAt(0)+16);else if(a>="P"&&a<="T")o=String.fromCharCode(a.charCodeAt(0)+43);else if("U"===a)o="\0";else if("V"===a)o="@";else if("W"===a)o="`";else{if("X"!==a&&"Y"!==a&&"Z"!==a)throw new u.default;o="\x7f"}break;case"/":if(a>="A"&&a<="O")o=String.fromCharCode(a.charCodeAt(0)-32);else{if("Z"!==a)throw new u.default;o=":"}}n+=o,i++}else n+=r}return n},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",t.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],t.ASTERISK_ENCODING=148,t}(d.default)},UnFl:function(e,t,n){"use strict";function i(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n("SleU")),i(n("yT+q")),i(n("N458")),i(n("OoNi")),i(n("VAKU")),i(n("WLfZ")),i(n("MvSJ")),i(n("bJeb")),i(n("SD+R")),i(n("3aqw"))},UsHn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("hkAl"),r=n("OlRx"),a=n("SDs9"),o=n("GmQW"),s=n("O2Gj"),u=n("o6tG"),F=n("VAip"),d=n("+vv6");t.default=function(){function e(e){this.buffer=new a.default,this.information=e}return e.prototype.decodeAllCodes=function(e,t){for(var n=t,i=null;;){var r=this.decodeGeneralPurposeField(n,i),a=F.default.parseFieldsInGeneralPurpose(r.getNewString());if(null!=a&&e.append(a),i=r.isRemaining()?""+r.getRemainingValue():null,n==r.getNewPosition())break;n=r.getNewPosition()}return e.toString()},e.prototype.isStillNumeric=function(e){if(e+7>this.information.getSize())return e+4<=this.information.getSize();for(var t=e;tthis.information.getSize()){var t=this.extractNumericValueFromBitArray(e,4);return new s.default(this.information.getSize(),0==t?s.default.FNC1:t-1,s.default.FNC1)}var n=this.extractNumericValueFromBitArray(e,7);return new s.default(e+7,(n-8)/11,(n-8)%11)},e.prototype.extractNumericValueFromBitArray=function(t,n){return e.extractNumericValueFromBitArray(this.information,t,n)},e.extractNumericValueFromBitArray=function(e,t,n){for(var i=0,r=0;rthis.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+7>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,7);if(n>=64&&n<116)return!0;if(e+8>this.information.getSize())return!1;var i=this.extractNumericValueFromBitArray(e,8);return i>=232&&i<253},e.prototype.decodeIsoIec646=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15==t)return new o.default(e+5,o.default.FNC1);if(t>=5&&t<15)return new o.default(e+5,"0"+(t-5));var n,r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<90)return new o.default(e+7,""+(r+1));if(r>=90&&r<116)return new o.default(e+7,""+(r+7));switch(this.extractNumericValueFromBitArray(e,8)){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new i.default}return new o.default(e+8,n)},e.prototype.isStillAlpha=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+6>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,6);return n>=16&&n<63},e.prototype.decodeAlphanumeric=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15==t)return new o.default(e+5,o.default.FNC1);if(t>=5&&t<15)return new o.default(e+5,"0"+(t-5));var n,i=this.extractNumericValueFromBitArray(e,6);if(i>=32&&i<58)return new o.default(e+6,""+(i+33));switch(i){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new r.default("Decoding invalid alphanumeric value: "+i)}return new o.default(e+6,n)},e.prototype.isAlphaTo646ToAlphaLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<5&&t+ethis.information.getSize())return!1;for(var t=e;tthis.information.getSize())return!1;for(var t=0;t<4&&t+e=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("wXP5");t.default=function(){function e(){}return e.parseFieldsInGeneralPurpose=function(t){var n,a,o,s,u,F,d,h;if(!t)return null;if(t.length<2)throw new r.default;var f=t.substring(0,2);try{for(var l=i(e.TWO_DIGIT_DATA_LENGTH),c=l.next();!c.done;c=l.next())if((C=c.value)[0]===f)return C[1]===e.VARIABLE_LENGTH?e.processVariableAI(2,C[2],t):e.processFixedAI(2,C[1],t)}catch(b){n={error:b}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}if(t.length<3)throw new r.default;var m=t.substring(0,3);try{for(var g=i(e.THREE_DIGIT_DATA_LENGTH),p=g.next();!p.done;p=g.next())if((C=p.value)[0]===m)return C[1]===e.VARIABLE_LENGTH?e.processVariableAI(3,C[2],t):e.processFixedAI(3,C[1],t)}catch(k){o={error:k}}finally{try{p&&!p.done&&(s=g.return)&&s.call(g)}finally{if(o)throw o.error}}try{for(var w=i(e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),y=w.next();!y.done;y=w.next())if((C=y.value)[0]===m)return C[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,C[2],t):e.processFixedAI(4,C[1],t)}catch(v){u={error:v}}finally{try{y&&!y.done&&(F=w.return)&&F.call(w)}finally{if(u)throw u.error}}if(t.length<4)throw new r.default;var E=t.substring(0,4);try{for(var D=i(e.FOUR_DIGIT_DATA_LENGTH),_=D.next();!_.done;_=D.next()){var C;if((C=_.value)[0]===E)return C[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,C[2],t):e.processFixedAI(4,C[1],t)}}catch(A){d={error:A}}finally{try{_&&!_.done&&(h=D.return)&&h.call(D)}finally{if(d)throw d.error}}throw new r.default},e.processFixedAI=function(t,n,i){if(i.length0){var F=i?this.topLeft:this.topRight,d=Math.trunc(F.getY()-t);d<0&&(d=0);var h=new r.default(F.getX(),d);i?a=h:s=h}if(n>0){var f=i?this.bottomLeft:this.bottomRight,l=Math.trunc(f.getY()+n);l>=this.image.getHeight()&&(l=this.image.getHeight()-1);var c=new r.default(f.getX(),l);i?o=c:u=c}return new e(this.image,a,o,s,u)},e.prototype.getMinX=function(){return this.minX},e.prototype.getMaxX=function(){return this.maxX},e.prototype.getMinY=function(){return this.minY},e.prototype.getMaxY=function(){return this.maxY},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getBottomRight=function(){return this.bottomRight},e}()},XBzc:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("Glpx"),o=n("SDs9");t.default=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.parseInformation=function(){var e=new o.default;e.append("(01)");var n=e.length(),i=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE,4);return e.append(i),this.encodeCompressedGtinWithoutAI(e,t.HEADER_SIZE+4,n),this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE+44)},t.HEADER_SIZE=4,t}(a.default)},Xuyn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PRO/"),r=n("a66B"),a=n("wXP5"),o=function(){function e(t,n,i,r){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),null==n&&(n=e.INIT_SIZE),null==i&&(i=t.getWidth()/2|0),null==r&&(r=t.getHeight()/2|0);var o=n/2|0;if(this.leftInit=i-o,this.rightInit=i+o,this.upInit=r-o,this.downInit=r+o,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new a.default}return e.prototype.detect=function(){for(var e=this.leftInit,t=this.rightInit,n=this.upInit,i=this.downInit,r=!1,o=!0,s=!1,u=!1,F=!1,d=!1,h=!1,f=this.width,l=this.height;o;){o=!1;for(var c=!0;(c||!u)&&t=f){r=!0;break}for(var m=!0;(m||!F)&&i=l){r=!0;break}for(var g=!0;(g||!d)&&e>=0;)(g=this.containsBlackPoint(n,i,e,!1))?(e--,o=!0,d=!0):d||e--;if(e<0){r=!0;break}for(var p=!0;(p||!h)&&n>=0;)(p=this.containsBlackPoint(e,t,n,!0))?(n--,o=!0,h=!0):h||n--;if(n<0){r=!0;break}o&&(s=!0)}if(!r&&s){for(var w=t-e,y=null,E=1;null===y&&E=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("hkAl"),a=function(){function e(e,t,n){this.ecCodewords=e,this.ecBlocks=[t],n&&this.ecBlocks.push(n)}return e.prototype.getECCodewords=function(){return this.ecCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e}();t.ECBlocks=a;var o=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}();t.ECB=o,t.default=function(){function e(e,t,n,r,a,o){var s,u;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=a,this.ecBlocks=o;var F=0,d=o.getECCodewords(),h=o.getECBlocks();try{for(var f=i(h),l=f.next();!l.done;l=f.next()){var c=l.value;F+=c.getCount()*(c.getDataCodewords()+d)}}catch(m){s={error:m}}finally{try{l&&!l.done&&(u=f.return)&&u.call(f)}finally{if(s)throw s.error}}this.totalCodewords=F}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},e.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},e.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},e.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e.getVersionForDimensions=function(t,n){var a,o;if(0!=(1&t)||0!=(1&n))throw new r.default;try{for(var s=i(e.VERSIONS),u=s.next();!u.done;u=s.next()){var F=u.value;if(F.symbolSizeRows===t&&F.symbolSizeColumns===n)return F}}catch(d){a={error:d}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}throw new r.default},e.prototype.toString=function(){return""+this.versionNumber},e.buildVersions=function(){return[new e(1,10,10,8,8,new a(5,new o(1,3))),new e(2,12,12,10,10,new a(7,new o(1,5))),new e(3,14,14,12,12,new a(10,new o(1,8))),new e(4,16,16,14,14,new a(12,new o(1,12))),new e(5,18,18,16,16,new a(14,new o(1,18))),new e(6,20,20,18,18,new a(18,new o(1,22))),new e(7,22,22,20,20,new a(20,new o(1,30))),new e(8,24,24,22,22,new a(24,new o(1,36))),new e(9,26,26,24,24,new a(28,new o(1,44))),new e(10,32,32,14,14,new a(36,new o(1,62))),new e(11,36,36,16,16,new a(42,new o(1,86))),new e(12,40,40,18,18,new a(48,new o(1,114))),new e(13,44,44,20,20,new a(56,new o(1,144))),new e(14,48,48,22,22,new a(68,new o(1,174))),new e(15,52,52,24,24,new a(42,new o(2,102))),new e(16,64,64,14,14,new a(56,new o(2,140))),new e(17,72,72,16,16,new a(36,new o(4,92))),new e(18,80,80,18,18,new a(48,new o(4,114))),new e(19,88,88,20,20,new a(56,new o(4,144))),new e(20,96,96,22,22,new a(68,new o(4,174))),new e(21,104,104,24,24,new a(56,new o(6,136))),new e(22,120,120,18,18,new a(68,new o(6,175))),new e(23,132,132,20,20,new a(62,new o(8,163))),new e(24,144,144,22,22,new a(62,new o(8,156),new o(2,155))),new e(25,8,18,6,16,new a(7,new o(1,5))),new e(26,8,32,6,14,new a(11,new o(1,10))),new e(27,12,26,10,24,new a(14,new o(1,16))),new e(28,12,36,10,16,new a(18,new o(1,22))),new e(29,16,36,14,16,new a(24,new o(1,32))),new e(30,16,48,14,22,new a(28,new o(1,49)))]},e.VERSIONS=e.buildVersions(),e}()},YpR8:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("kAtF"),o=n("rOTk"),s=n("7RB1"),u=n("PnHe"),F=n("wwf5"),d=n("poFM"),h=n("acWS");t.default=function(e){function t(t){void 0===t&&(t=32);var n=e.call(this)||this;if(n.count=0,t<0)throw new u.default("Negative initial size: "+t);return n.buf=new Uint8Array(t),n}return r(t,e),t.prototype.ensureCapacity=function(e){e-this.buf.length>0&&this.grow(e)},t.prototype.grow=function(e){var t=this.buf.length<<1;if(t-e<0&&(t=e),t<0){if(e<0)throw new F.default;t=s.default.MAX_VALUE}this.buf=a.default.copyOfUint8Array(this.buf,t)},t.prototype.write=function(e){this.ensureCapacity(this.count+1),this.buf[this.count]=e,this.count+=1},t.prototype.writeBytesOffset=function(e,t,n){if(t<0||t>e.length||n<0||t+n-e.length>0)throw new h.default;this.ensureCapacity(this.count+n),d.default.arraycopy(e,t,this.buf,this.count,n),this.count+=n},t.prototype.writeTo=function(e){e.writeBytesOffset(this.buf,0,this.count)},t.prototype.reset=function(){this.count=0},t.prototype.toByteArray=function(){return a.default.copyOfUint8Array(this.buf,this.count)},t.prototype.size=function(){return this.count},t.prototype.toString=function(e){return e?"string"==typeof e?this.toString_string(e):this.toString_number(e):this.toString_void()},t.prototype.toString_void=function(){return new String(this.buf).toString()},t.prototype.toString_string=function(e){return new String(this.buf).toString()},t.prototype.toString_number=function(e){return new String(this.buf).toString()},t.prototype.close=function(){},t}(o.default)},a66B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.prototype.MathUtils=function(){},e.round=function(e){return NaN===e?0:e<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:e>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e+(e<0?-.5:.5)|0},e.distance=function(e,t,n,i){var r=e-n,a=t-i;return Math.sqrt(r*r+a*a)},e.sum=function(e){for(var t=0,n=0,i=e.length;n!==i;n++)t+=e[n];return t},e}()},aLHR:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.getChecksumInstance=function(){return new t},t}(a.default)},acWS:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.default)},bJYy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("poFM"),r=function(){function e(e,t,n,r,a,o){void 0===n&&(n=null==t?0:8*t.length),void 0===o&&(o=i.default.currentTimeMillis()),this.text=e,this.rawBytes=t,this.numBits=n,this.resultPoints=r,this.format=a,this.timestamp=o,this.text=e,this.rawBytes=t,this.numBits=null==n?null==t?0:8*t.length:n,this.resultPoints=r,this.format=a,this.resultMetadata=null,this.timestamp=null==o?i.default.currentTimeMillis():o}return e.prototype.getText=function(){return this.text},e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.getBarcodeFormat=function(){return this.format},e.prototype.getResultMetadata=function(){return this.resultMetadata},e.prototype.putMetadata=function(e,t){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(e,t)},e.prototype.putAllMetadata=function(e){null!==e&&(this.resultMetadata=null===this.resultMetadata?e:new Map(e))},e.prototype.addResultPoints=function(e){var t=this.resultPoints;if(null===t)this.resultPoints=e;else if(null!==e&&e.length>0){var n=new Array(t.length+e.length);i.default.arraycopy(t,0,n,0,t.length),i.default.arraycopy(e,0,n,t.length,e.length),this.resultPoints=n}},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.toString=function(){return this.text},e}();t.default=r},bJeb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mbx9"),r=n("8wFp"),a=n("r8uX"),o=n("PnHe"),s=n("OlRx");t.BrowserQRCodeSvgWriter=function(){function e(){}return e.prototype.write=function(t,n,s,u){if(void 0===u&&(u=null),0===t.length)throw new o.default("Found empty contents");if(n<0||s<0)throw new o.default("Requested dimensions are too small: "+n+"x"+s);var F=a.default.L,d=e.QUIET_ZONE_SIZE;null!==u&&(void 0!==u.get(i.default.ERROR_CORRECTION)&&(F=a.default.fromString(u.get(i.default.ERROR_CORRECTION).toString())),void 0!==u.get(i.default.MARGIN)&&(d=Number.parseInt(u.get(i.default.MARGIN).toString(),10)));var h=r.default.encode(t,F,u);return this.renderResult(h,n,s,d)},e.prototype.writeToDom=function(e,t,n,i,r){void 0===r&&(r=null),"string"==typeof e&&(e=document.querySelector(e));var a=this.write(t,n,i,r);e&&e.appendChild(a)},e.prototype.renderResult=function(e,t,n,i){var r=e.getMatrix();if(null===r)throw new s.default;for(var a=r.getWidth(),o=r.getHeight(),u=a+2*i,F=o+2*i,d=Math.max(t,u),h=Math.max(n,F),f=Math.min(Math.floor(d/u),Math.floor(h/F)),l=Math.floor((d-a*f)/2),c=Math.floor((h-o*f)/2),m=this.createSVGElement(d,h),g=0,p=c;g=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("PnHe"),a=n("poFM"),o=n("SDs9");t.default=function(){function e(e,t){if(0===t.length)throw new r.default;this.field=e;var n=t.length;if(n>1&&0===t[0]){for(var i=1;ii.length){var o=n;n=i,i=o}var s=new Int32Array(i.length),u=i.length-n.length;a.default.arraycopy(i,0,s,0,u);for(var F=u;F=0;t--){var n=this.getCoefficient(t);0!==n&&(n<0?(e.append(" - "),n=-n):e.length()>0&&e.append(" + "),0!==t&&1===n||e.append(n),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()},e}()},brUz:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("aLHR"),a=n("hkAl"),o=n("wXP5"),s=n("a66B"),u=n("vpob"),F=n("g9Qw"),d=n("WYPJ"),h=n("fy1c"),f=n("qU7a"),l=n("9hxZ"),c=n("fiM6"),m=n("QBYl"),g=n("QkY+"),p=n("jE/7"),w=n("F1eN");t.default=function(){function e(){}return e.decode=function(t,n,i,r,a,s,u){for(var F,f=new d.default(t,n,i,r,a),c=null,m=null,g=!0;;g=!1){if(null!=n&&(c=e.getRowIndicatorColumn(t,f,n,!0,s,u)),null!=r&&(m=e.getRowIndicatorColumn(t,f,r,!1,s,u)),null==(F=e.merge(c,m)))throw o.default.getNotFoundInstance();var p=F.getBoundingBox();if(!g||null==p||!(p.getMinY()f.getMaxY()))break;f=p}F.setBoundingBox(f);var w=F.getBarcodeColumnCount()+1;F.setDetectionResultColumn(0,c),F.setDetectionResultColumn(w,m);for(var y=null!=c,E=1;E<=w;E++){var D=y?E:w-E;if(void 0===F.getDetectionResultColumn(D)){var _=void 0;_=0===D||D===w?new h.default(f,0===D):new l.default(f),F.setDetectionResultColumn(D,_);for(var C=-1,b=C,k=f.getMinY();k<=f.getMaxY();k++){if((C=e.getStartColumn(F,D,k,y))<0||C>f.getMaxX()){if(-1===b)continue;C=b}var v=e.detectCodeword(t,f.getMinX(),f.getMaxX(),y,C,k,s,u);null!=v&&(_.setCodeword(k,v),b=C,s=Math.min(s,v.getWidth()),u=Math.max(u,v.getWidth()))}}}return e.createDecoderResult(F)},e.merge=function(t,n){if(null==t&&null==n)return null;var i=e.getBarcodeMetadata(t,n);if(null==i)return null;var r=d.default.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(n));return new f.default(i,r)},e.adjustBoundingBox=function(t){var n,r;if(null==t)return null;var a=t.getRowHeights();if(null==a)return null;var o=e.getMax(a),s=0;try{for(var u=i(a),F=u.next();!F.done;F=u.next()){var d=F.value;if(s+=o-d,d>0)break}}catch(c){n={error:c}}finally{try{F&&!F.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}for(var h=t.getCodewords(),f=0;s>0&&null==h[f];f++)s--;var l=0;for(f=a.length-1;f>=0&&(l+=o-a[f],!(a[f]>0));f--);for(f=h.length-1;l>0&&null==h[f];f--)l--;return t.getBoundingBox().addMissingRows(s,l,t.isLeft())},e.getMax=function(e){var t,n,r=-1;try{for(var a=i(e),o=a.next();!o.done;o=a.next())r=Math.max(r,o.value)}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r},e.getBarcodeMetadata=function(e,t){var n,i;return null==e||null==(n=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(i=t.getBarcodeMetadata())?n:n.getColumnCount()!==i.getColumnCount()&&n.getErrorCorrectionLevel()!==i.getErrorCorrectionLevel()&&n.getRowCount()!==i.getRowCount()?null:n},e.getRowIndicatorColumn=function(t,n,i,r,a,o){for(var s=new h.default(n,r),u=0;u<2;u++)for(var F=0===u?1:-1,d=Math.trunc(Math.trunc(i.getX())),f=Math.trunc(Math.trunc(i.getY()));f<=n.getMaxY()&&f>=n.getMinY();f+=F){var l=e.detectCodeword(t,0,t.getWidth(),r,d,f,a,o);null!=l&&(s.setCodeword(f,l),d=r?l.getStartX():l.getEndX())}return s},e.adjustCodewordCount=function(t,n){var i=n[0][1],r=i.getValue(),a=t.getBarcodeColumnCount()*t.getBarcodeRowCount()-e.getNumberOfECCodeWords(t.getBarcodeECLevel());if(0===r.length){if(a<1||a>u.default.MAX_CODEWORDS_IN_BARCODE)throw o.default.getNotFoundInstance();i.setValue(a)}else r[0]!==a&&i.setValue(a)},e.createDecoderResult=function(t){var n=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,n);for(var i=new Array,r=new Int32Array(t.getBarcodeRowCount()*t.getBarcodeColumnCount()),a=[],o=new Array,s=0;s0;){for(var F=0;F=0){if(p>=o.length)continue;o[p][F].setValue(g.getValue())}}}}catch(w){r={error:w}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}F++}}catch(y){t={error:y}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}return o},e.isValidBarcodeColumn=function(e,t){return t>=0&&t<=e.getBarcodeColumnCount()+1},e.getStartColumn=function(t,n,r,a){var o,s,u=a?1:-1,F=null;if(e.isValidBarcodeColumn(t,n-u)&&(F=t.getDetectionResultColumn(n-u).getCodeword(r)),null!=F)return a?F.getEndX():F.getStartX();if(null!=(F=t.getDetectionResultColumn(n).getCodewordNearby(r)))return a?F.getStartX():F.getEndX();if(e.isValidBarcodeColumn(t,n-u)&&(F=t.getDetectionResultColumn(n-u).getCodewordNearby(r)),null!=F)return a?F.getEndX():F.getStartX();for(var d=0;e.isValidBarcodeColumn(t,n-u);){n-=u;try{for(var h=i(t.getDetectionResultColumn(n).getCodewords()),f=h.next();!f.done;f=h.next()){var l=f.value;if(null!=l)return(a?l.getEndX():l.getStartX())+u*d*(l.getEndX()-l.getStartX())}}catch(c){o={error:c}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}d++}return a?t.getBoundingBox().getMinX():t.getBoundingBox().getMaxX()},e.detectCodeword=function(t,n,i,r,a,o,F,d){a=e.adjustCodewordStartColumn(t,n,i,r,a,o);var h,f=e.getModuleBitCount(t,n,i,r,a,o);if(null==f)return null;var l=s.default.sum(f);if(r)h=a+l;else{for(var m=0;m=t)&&u=n:se.CODEWORD_SKEW_SIZE)return a;s+=u}u=-u,r=!r}return s},e.checkCodewordSkew=function(t,n,i){return n-e.CODEWORD_SKEW_SIZE<=t&&t<=i+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,n,i){if(0===t.length)throw a.default.getFormatInstance();var r=1<i/2+e.MAX_ERRORS||i<0||i>e.MAX_EC_CODEWORDS)throw r.default.getChecksumInstance();return e.errorCorrection.decode(t,i,n)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw a.default.getFormatInstance();var n=e[0];if(n>e.length)throw a.default.getFormatInstance();if(0===n){if(!(t>=1;return t},e.getCodewordBucketNumber=function(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)},e.getCodewordBucketNumber_number=function(t){return e.getCodewordBucketNumber(e.getBitCountForCodeword(t))},e.getCodewordBucketNumber_Int32Array=function(e){return(e[0]-e[2]+e[4]-e[6]+9)%9},e.toString=function(e){for(var t=new w.default,n=0;n=t.length)for(var n=t[t.length-1],r=this.field,a=t.length;a<=e;a++){var o=n.multiply(new i.default(r,Int32Array.from([1,r.exp(a-1+r.getGeneratorBase())])));t.push(o),n=o}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new a.default("No error correction bytes");var n=e.length-t;if(n<=0)throw new a.default("No data bytes provided");var o=this.buildGenerator(t),s=new Int32Array(n);r.default.arraycopy(e,0,s,0,n);for(var u=new i.default(this.field,s),F=(u=u.multiplyByMonomial(t,1)).divide(o)[1].getCoefficients(),d=t-F.length,h=0;h{class e{constructor(){this.categories=[],this.icons={},this.anchorClick=new i.p}trackByFn(e,t){return t.id}handleClick(e,t){this.anchorClick.emit({category:this.categories[t],index:t})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Mb({type:e,selectors:[["emoji-mart-anchors"]],inputs:{categories:"categories",icons:"icons",color:"color",selected:"selected",i18n:"i18n"},outputs:{anchorClick:"anchorClick"},decls:2,vars:2,consts:[[1,"emoji-mart-anchors"],["ngFor","",3,"ngForOf","ngForTrackBy"],["class","emoji-mart-anchor",3,"emoji-mart-anchor-selected","color","click",4,"ngIf"],[1,"emoji-mart-anchor",3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24","height","24"],[1,"emoji-mart-anchor-bar"]],template:function(e,t){1&e&&(i.Yb(0,"div",0),i.Gc(1,u,1,1,"ng-template",1),i.Xb()),2&e&&(i.Fb(1),i.pc("ngForOf",t.categories)("ngForTrackBy",t.trackByFn))},directives:[a.l,a.m],encapsulation:2,changeDetection:0}),e})(),B=(()=>{class e{constructor(){this.NAMESPACE="emoji-mart",this.frequently=null,this.defaults={},this.initialized=!1,this.DEFAULTS=["+1","grinning","kissing_heart","heart_eyes","laughing","stuck_out_tongue_winking_eye","sweat_smile","joy","scream","disappointed","unamused","weary","sob","sunglasses","heart","poop"]}init(){this.frequently=JSON.parse(localStorage.getItem(this.NAMESPACE+".frequently")||"null"),this.initialized=!0}add(e){this.initialized||this.init(),this.frequently||(this.frequently=this.defaults),this.frequently[e.id]||(this.frequently[e.id]=0),this.frequently[e.id]+=1,localStorage.setItem(this.NAMESPACE+".last",e.id),localStorage.setItem(this.NAMESPACE+".frequently",JSON.stringify(this.frequently))}get(e,t){if(this.initialized||this.init(),null===this.frequently){this.defaults={};const t=[];for(let n=0;nthis.frequently[e]-this.frequently[t]).reverse().slice(0,n),r=localStorage.getItem(this.NAMESPACE+".last");return r&&!i.includes(r)&&(i.pop(),i.push(r)),i}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Ob)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),S=(()=>{class e{constructor(e,t,n){this.ref=e,this.emojiService=t,this.frequently=n,this.hasStickyPosition=!0,this.name="",this.perLine=9,this.totalFrequentLines=4,this.recent=[],this.custom=[],this.hideObsolete=!0,this.emojiOver=new i.p,this.emojiLeave=new i.p,this.emojiClick=new i.p,this.containerStyles={},this.labelStyles={},this.labelSpanStyles={},this.margin=0,this.minMargin=0,this.maxMargin=0,this.top=0}ngOnInit(){this.emojis=this.getEmojis(),this.emojis||(this.containerStyles={display:"none"}),this.hasStickyPosition||(this.labelStyles={height:28})}memoizeSize(){const e=this.container.nativeElement.parentNode.parentNode,{top:t,height:n}=this.container.nativeElement.getBoundingClientRect(),i=e.getBoundingClientRect().top,r=this.label.nativeElement.getBoundingClientRect().height;this.top=t-i+e.scrollTop,this.maxMargin=0===n?0:n-r}handleScroll(e){let t=e-this.top;return t=tthis.maxMargin?this.maxMargin:t,t!==this.margin&&(this.hasStickyPosition||(this.label.nativeElement.style.top=t+"px"),this.margin=t,!0)}getEmojis(){if("Recent"===this.name){let e=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);if(e&&e.length||(e=this.frequently.get(this.perLine,this.totalFrequentLines)),e.length&&(this.emojis=e.map(e=>this.custom.filter(t=>t.id===e)[0]||e).filter(e=>!!this.emojiService.getData(e))),(!this.emojis||0===this.emojis.length)&&e.length>0)return null}return this.emojis&&(this.emojis=this.emojis.slice(0)),this.emojis}updateDisplay(e){this.containerStyles.display=e,this.getEmojis(),this.ref.detectChanges()}trackById(e,t){return t}}return e.\u0275fac=function(t){return new(t||e)(i.Sb(i.h),i.Sb(r.c),i.Sb(B))},e.\u0275cmp=i.Mb({type:e,selectors:[["emoji-category"]],viewQuery:function(e,t){var n;1&e&&(i.Cc(F,!0),i.Cc(d,!0)),2&e&&(i.uc(n=i.gc())&&(t.container=n.first),i.uc(n=i.gc())&&(t.label=n.first))},inputs:{hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",hideObsolete:"hideObsolete",emojis:"emojis",i18n:"i18n",id:"id",notFoundEmoji:"notFoundEmoji",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},decls:8,vars:10,consts:[[1,"emoji-mart-category",3,"ngStyle"],["container",""],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],["label",""],[3,"ngIf"],[4,"ngIf"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","hideObsolete","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","hideObsolete","emojiOver","emojiLeave","emojiClick"],["size","38",3,"emoji","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(e,t){1&e&&(i.Yb(0,"section",0,1),i.Yb(2,"div",2),i.Yb(3,"span",3,4),i.Ic(5),i.Xb(),i.Xb(),i.Gc(6,f,1,2,"ng-template",5),i.Gc(7,l,5,10,"div",6),i.Xb()),2&e&&(i.Kb("emoji-mart-no-results",t.emojis&&!t.emojis.length),i.pc("ngStyle",t.containerStyles),i.Gb("aria-label",t.i18n.categories[t.id]),i.Fb(2),i.pc("ngStyle",t.labelStyles),i.Gb("data-name",t.name),i.Fb(1),i.pc("ngStyle",t.labelSpanStyles),i.Fb(2),i.Kc(" ",t.i18n.categories[t.id]," "),i.Fb(1),i.pc("ngIf",t.emojis),i.Fb(1),i.pc("ngIf",t.emojis&&!t.emojis.length))},directives:[a.n,a.m,a.l,r.a],encapsulation:2,changeDetection:0}),e})();function I(e){return e.reduce((e,t)=>(e.includes(t)||e.push(t),e),[])}function O(e,t){const n=I(e),i=I(t);return n.filter(e=>i.indexOf(e)>=0)}let T=(()=>{class e{constructor(e){this.emojiService=e,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};for(const t of this.emojiService.emojis){const{shortNames:e,emoticons:n}=t,i=e[0];n.forEach(e=>{this.emoticonsList[e]||(this.emoticonsList[e]=i)}),this.emojisList[i]=this.emojiService.getSanitizedData(i),this.originalPool[i]=t}}addCustomToPool(e,t){e.forEach(e=>{const n=e.id||e.shortNames[0];n&&!t[n]&&(t[n]=this.emojiService.getData(e),this.emojisList[n]=this.emojiService.getSanitizedData(e))})}search(e,t,n=75,i=[],a=[],o=[]){let s;this.addCustomToPool(o,this.originalPool);let u=this.originalPool;if(e.length){if("-"===e||"-1"===e)return[this.emojisList[-1]];if("+"===e||"+1"===e)return[this.emojisList["+1"]];let t=e.toLowerCase().split(/[\s|,|\-|_]+/),n=[];if(t.length>2&&(t=[t[0],t[1]]),(i.length||a.length)&&(u={},r.d.forEach(e=>{var t;const n=!i||!i.length||i.indexOf(e.id)>-1,r=!(!a||!a.length)&&a.indexOf(e.id)>-1;n&&!r&&(null===(t=e.emojis)||void 0===t||t.forEach(e=>{var t;const n=this.emojiService.getData(e);u[null!==(t=null==n?void 0:n.id)&&void 0!==t?t:""]=n}))}),o.length)){const e=!i||!i.length||i.indexOf("custom")>-1,t=!(!a||!a.length)&&a.indexOf("custom")>-1;e&&!t&&this.addCustomToPool(o,u)}n=t.map(e=>{let t=u,n=this.index,i=0;for(let r=0;rr[e.id]-r[t.id])}t=n.pool}return n.results}).filter(e=>e),s=n.length>1?O.apply(null,n):n.length?n[0]:[]}return s&&(t&&(s=s.filter(e=>!(!e||!e.id)&&t(this.emojiService.names[e.id]))),s&&s.length>n&&(s=s.slice(0,n))),s||null}buildSearch(e,t,n,i,r){const a=[],o=(e,t)=>{e&&(Array.isArray(e)?e:[e]).forEach(e=>{(t?e.split(/[-|_|\s]+/):[e]).forEach(e=>{e=e.toLowerCase(),a.includes(e)||a.push(e)})})};return o(e,!0),o(t,!0),o(n,!0),o(i,!0),o(r,!1),a.join(",")}}return e.\u0275fac=function(t){return new(t||e)(i.cc(r.c))},e.\u0275prov=Object(i.Ob)({factory:function(){return new e(Object(i.cc)(r.c))},token:e,providedIn:"root"}),e})();const M={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},R={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},P={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}};let x=(()=>{class e{constructor(e,t){this.ref=e,this.frequently=t,this.perLine=9,this.totalFrequentLines=4,this.i18n={},this.style={},this.title="Emoji Mart\u2122",this.emoji="department_store",this.darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches),this.color="#ae65c5",this.hideObsolete=!0,this.categories=[],this.activeCategories=[],this.set="apple",this.skin=1,this.isNative=!1,this.emojiSize=24,this.sheetSize=64,this.showPreview=!0,this.emojiTooltip=!1,this.autoFocus=!1,this.custom=[],this.hideRecent=!0,this.notFoundEmoji="sleuth_or_spy",this.categoriesIcons=M,this.searchIcons=R,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.emojiClick=new i.p,this.emojiSelect=new i.p,this.skinChange=new i.p,this.scrollHeight=0,this.clientHeight=0,this.firstRender=!0,this.NAMESPACE="emoji-mart",this.measureScrollbar=0,this.RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},this.SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1},this.CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]},this.backgroundImageFn=(e,t)=>`https://unpkg.com/emoji-datasource-${this.set}@5.0.1/img/${this.set}/sheets-256/${this.sheetSize}.png`}ngOnInit(){this.measureScrollbar=function(){if("undefined"==typeof document)return 0;const e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}(),this.i18n=Object.assign(Object.assign({},P),this.i18n),this.i18n.categories=Object.assign(Object.assign({},P.categories),this.i18n.categories),this.skin=JSON.parse(localStorage.getItem(this.NAMESPACE+".skin")||"null")||this.skin;const e=[...r.d];this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map(e=>Object.assign(Object.assign({},e),{id:e.shortNames[0],custom:!0})),e.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&e.sort((e,t)=>this.include.indexOf(e.id)>this.include.indexOf(t.id)?1:-1);for(const r of e){const e=!this.include||!this.include.length||this.include.indexOf(r.id)>-1,t=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(r.id)>-1;if(e&&!t){if(this.emojisToShowFilter){const e=[],{emojis:t}=r;for(let n=0;n-1,n=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;t&&!n&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter(e=>e.first)[0].name;const i=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,i));const a=this.categories[i-1].emojis.slice();this.categories[i-1].emojis=a.slice(0,60),this.ref.markForCheck(),setTimeout(()=>{this.categories[i-1].emojis=a,this.setActiveCategories(this.categories),this.ref.markForCheck(),setTimeout(()=>this.updateCategoriesSize())})}setActiveCategories(e){this.activeCategories=this.showSingleCategory?e.filter(e=>e.name===this.selected||e===this.SEARCH_CATEGORY):e}updateCategoriesSize(){if(this.categoryRefs.forEach(e=>e.memoizeSize()),this.scrollRef){const e=this.scrollRef.nativeElement;this.scrollHeight=e.scrollHeight,this.clientHeight=e.clientHeight}}handleAnchorClick(e){if(this.updateCategoriesSize(),this.selected=e.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef.clear(),void this.handleAnchorClick(e);const t=this.categoryRefs.find(t=>t.id===e.category.id);if(t){let{top:n}=t;e.category.first?n=0:n+=1,this.scrollRef.nativeElement.scrollTop=n}this.selected=e.category.name,this.nextScroll=e.category.name}categoryTrack(e,t){return t.id}handleScroll(){if(this.nextScroll)return this.selected=this.nextScroll,void(this.nextScroll=void 0);if(!this.scrollRef)return;if(this.showSingleCategory)return;let e=null;if(this.SEARCH_CATEGORY.emojis)e=this.SEARCH_CATEGORY;else{const t=this.scrollRef.nativeElement;if(0===t.scrollTop)e=this.categories.find(e=>!0===e.first);else if(t.scrollHeight-t.scrollTop===this.clientHeight)e=this.categories[this.categories.length-1];else for(const n of this.categories)this.categoryRefs.find(e=>e.id===n.id).handleScroll(t.scrollTop)&&(e=n);this.scrollTop=t.scrollTop}e&&(this.selected=e.name)}handleSearch(e){this.SEARCH_CATEGORY.emojis=e;for(const t of this.categoryRefs.toArray())"Search"===t.name?(t.emojis=e,t.updateDisplay(e?"block":"none")):t.updateDisplay(e?"none":"block");this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}handleEnterKey(e,t){if(!t&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(t=this.SEARCH_CATEGORY.emojis[0]))return;this.emojiSelect.emit({$event:e,emoji:t})}this.hideRecent||this.recent||!t||this.frequently.add(t);const n=this.categoryRefs.toArray()[1];n&&this.enableFrequentEmojiSort&&(n.getEmojis(),n.ref.markForCheck())}handleEmojiOver(e){if(!this.showPreview||!this.previewRef)return;const t=this.CUSTOM_CATEGORY.emojis.find(t=>t.id===e.emoji.id);t&&(e.emoji=Object.assign({},t)),this.previewEmoji=e.emoji,clearTimeout(this.leaveTimeout)}handleEmojiLeave(){this.showPreview&&this.previewRef&&(this.leaveTimeout=setTimeout(()=>{this.previewEmoji=null,this.previewRef.ref.markForCheck()},16))}handleEmojiClick(e){this.emojiClick.emit(e),this.emojiSelect.emit(e),this.handleEnterKey(e.$event,e.emoji)}handleSkinChange(e){this.skin=e,localStorage.setItem(this.NAMESPACE+".skin",String(e)),this.skinChange.emit(e)}getWidth(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}}return e.\u0275fac=function(t){return new(t||e)(i.Sb(i.h),i.Sb(B))},e.\u0275cmp=i.Mb({type:e,selectors:[["emoji-mart"]],viewQuery:function(e,t){var n;1&e&&(i.Cc(c,!0),i.Mc(m,!0),i.Cc(g,!0),i.Mc(p,!0)),2&e&&(i.uc(n=i.gc())&&(t.scrollRef=n.first),i.uc(n=i.gc())&&(t.previewRef=n.first),i.uc(n=i.gc())&&(t.searchRef=n.first),i.uc(n=i.gc())&&(t.categoryRefs=n))},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",backgroundImageFn:"backgroundImageFn",emojisToShowFilter:"emojisToShowFilter",include:"include",exclude:"exclude"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},decls:8,vars:16,consts:[[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"categories","color","selected","i18n","icons","anchorClick"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey",4,"ngIf"],[1,"emoji-mart-scroll",3,"scroll"],["scrollRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiUseButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey"],["searchRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiUseButton","emojiOver","emojiLeave","emojiClick"],["categoryRef",""],[3,"title","emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","skinChange"],["previewRef",""]],template:function(e,t){1&e&&(i.Yb(0,"section",0),i.Yb(1,"div",1),i.Yb(2,"emoji-mart-anchors",2),i.fc("anchorClick",(function(e){return t.handleAnchorClick(e)})),i.Xb(),i.Xb(),i.Gc(3,w,2,7,"emoji-search",3),i.Yb(4,"section",4,5),i.fc("scroll",(function(){return t.handleScroll()})),i.Gc(6,y,2,20,"emoji-category",6),i.Xb(),i.Gc(7,E,3,10,"div",7),i.Xb()),2&e&&(i.Ib("emoji-mart ",t.darkMode?"emoji-mart-dark":"",""),i.Dc("width",t.getWidth()),i.pc("ngStyle",t.style),i.Fb(2),i.pc("categories",t.categories)("color",t.color)("selected",t.selected)("i18n",t.i18n)("icons",t.categoriesIcons),i.Fb(1),i.pc("ngIf",t.enableSearch),i.Fb(1),i.Gb("aria-label",t.i18n.emojilist),i.Fb(2),i.pc("ngForOf",t.activeCategories)("ngForTrackBy",t.categoryTrack),i.Fb(1),i.pc("ngIf",t.showPreview))},directives:function(){return[a.n,N,a.m,a.l,V,S,L]},encapsulation:2,changeDetection:0}),e})(),L=(()=>{class e{constructor(e,t){this.ref=e,this.emojiService=t,this.skinChange=new i.p,this.emojiData={}}ngOnChanges(){if(!this.emoji)return;this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);const e=[],t=[];(this.emojiData.emoticons||[]).forEach(n=>{e.indexOf(n.toLowerCase())>=0||(e.push(n.toLowerCase()),t.push(n))}),this.listedEmoticons=t}}return e.\u0275fac=function(t){return new(t||e)(i.Sb(i.h),i.Sb(r.c))},e.\u0275cmp=i.Mb({type:e,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn"},outputs:{skinChange:"skinChange"},features:[i.Db],decls:2,vars:2,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview"],[1,"emoji-mart-preview-emoji"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size",4,"ngIf"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"skin","i18n","changeSkin"],[3,"isNative","skin","set","emoji","backgroundImageFn","size"]],template:function(e,t){1&e&&(i.Gc(0,C,10,11,"div",0),i.Gc(1,k,8,4,"div",0)),2&e&&(i.pc("ngIf",t.emoji&&t.emojiData),i.Fb(1),i.pc("ngIf",!t.emoji))},directives:function(){return[a.m,r.a,a.l,H]},encapsulation:2,changeDetection:0}),e})(),j=0,V=(()=>{class e{constructor(e){this.emojiSearch=e,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new i.p,this.enterKey=new i.p,this.isSearching=!1,this.query="",this.inputId="emoji-mart-search-"+ ++j}ngOnInit(){this.icon=this.icons.search}ngAfterViewInit(){this.autoFocus&&this.inputRef.nativeElement.focus()}clear(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}handleEnterKey(e){this.query&&(this.enterKey.emit(e),e.preventDefault())}handleSearch(e){""===e?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);const t=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(t)}handleChange(){this.handleSearch(this.query)}}return e.\u0275fac=function(t){return new(t||e)(i.Sb(T))},e.\u0275cmp=i.Mb({type:e,selectors:[["emoji-search"]],viewQuery:function(e,t){var n;1&e&&i.Cc(v,!0),2&e&&i.uc(n=i.gc())&&(t.inputRef=n.first)},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",include:"include",exclude:"exclude",custom:"custom",i18n:"i18n",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKey:"enterKey"},decls:8,vars:9,consts:[[1,"emoji-mart-search"],["type","search",3,"id","placeholder","autofocus","ngModel","keyup.enter","ngModelChange"],["inputRef",""],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"disabled","click","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(e,t){1&e&&(i.Yb(0,"div",0),i.Yb(1,"input",1,2),i.fc("keyup.enter",(function(e){return t.handleEnterKey(e)}))("ngModelChange",(function(e){return t.query=e}))("ngModelChange",(function(){return t.handleChange()})),i.Xb(),i.Yb(3,"label",3),i.Ic(4),i.Xb(),i.Yb(5,"button",4),i.fc("click",(function(){return t.clear()}))("keyup.enter",(function(){return t.clear()})),i.ic(),i.Yb(6,"svg",5),i.Tb(7,"path"),i.Xb(),i.Xb(),i.Xb()),2&e&&(i.Fb(1),i.pc("id",t.inputId)("placeholder",t.i18n.search)("autofocus",t.autoFocus)("ngModel",t.query),i.Fb(2),i.pc("htmlFor",t.inputId),i.Fb(1),i.Kc(" ",t.i18n.search," "),i.Fb(1),i.pc("disabled",!t.isSearching),i.Gb("aria-label",t.i18n.clear),i.Fb(2),i.Gb("d",t.icon))},directives:[o.b,o.j,o.m],encapsulation:2}),e})(),H=(()=>{class e{constructor(){this.changeSkin=new i.p,this.opened=!1,this.skinTones=[1,2,3,4,5,6]}toggleOpen(){this.opened=!this.opened}isSelected(e){return e===this.skin}isVisible(e){return this.opened||this.isSelected(e)}pressed(e){return this.opened?!!this.isSelected(e):""}tabIndex(e){return this.isVisible(e)?"0":""}expanded(e){return this.isSelected(e)?this.opened:""}handleClick(e){this.opened?(this.opened=!1,e!==this.skin&&this.changeSkin.emit(e)):this.opened=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Mb({type:e,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"tabIndex","title","click","keyup.enter","keyup.space"]],template:function(e,t){1&e&&(i.Yb(0,"section",0),i.Gc(1,A,2,12,"span",1),i.Xb()),2&e&&(i.Kb("opened",t.opened),i.Fb(1),i.pc("ngForOf",t.skinTones))},directives:[a.l],encapsulation:2,changeDetection:0}),e})(),z=(()=>{class e{}return e.\u0275mod=i.Qb({type:e}),e.\u0275inj=i.Pb({factory:function(t){return new(t||e)},imports:[[a.c,o.f,r.b]]}),e})()},dA5a:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("PRO/");t.default=function(e){function t(t,n,i,r){var a=e.call(this,t,n)||this;return a.estimatedModuleSize=i,a.count=r,void 0===r&&(a.count=1),a}return r(t,e),t.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},t.prototype.getCount=function(){return this.count},t.prototype.aboutEquals=function(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){var i=Math.abs(e-this.estimatedModuleSize);return i<=1||i<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,n,i){var r=this.count+1;return new t((this.count*this.getX()+n)/r,(this.count*this.getY()+e)/r,(this.count*this.estimatedModuleSize+i)/r,r)},t}(a.default)},dMyC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("bJYy"),r=n("u2rX"),a=n("5Bsn"),o=n("snnL"),s=n("poFM"),u=n("wO3O"),F=n("f8HH");t.default=function(){function e(){}return e.prototype.decode=function(e,t){void 0===t&&(t=null);var n=null,a=new F.default(e.getBlackMatrix()),d=null,h=null;try{d=(f=a.detectMirror(!1)).getPoints(),this.reportFoundResultPoints(t,d),h=(new u.default).decode(f)}catch(g){n=g}if(null==h)try{var f;d=(f=a.detectMirror(!0)).getPoints(),this.reportFoundResultPoints(t,d),h=(new u.default).decode(f)}catch(g){if(null!=n)throw n;throw g}var l=new i.default(h.getText(),h.getRawBytes(),h.getNumBits(),d,r.default.AZTEC,s.default.currentTimeMillis()),c=h.getByteSegments();null!=c&&l.putMetadata(o.default.BYTE_SEGMENTS,c);var m=h.getECLevel();return null!=m&&l.putMetadata(o.default.ERROR_CORRECTION_LEVEL,m),l},e.prototype.reportFoundResultPoints=function(e,t){if(null!=e){var n=e.get(a.default.NEED_RESULT_POINT_CALLBACK);null!=n&&t.forEach((function(e,t,i){n.foundPossibleResultPoint(e)}))}},e.prototype.reset=function(){},e}()},dxA0:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("cbcV"),o=n("5i/S"),s=n("lbVw"),u=n("wXP5");t.default=function(e){function t(n){var i=e.call(this,n)||this;return i.luminances=t.EMPTY,i.buckets=new Int32Array(t.LUMINANCE_BUCKETS),i}return r(t,e),t.prototype.getBlackRow=function(e,n){var i=this.getLuminanceSource(),r=i.getWidth();null==n||n.getSize()>t.LUMINANCE_SHIFT]++;var F=t.estimateBlackPoint(s);if(r<3)for(u=0;u>t.LUMINANCE_SHIFT]++;var f=t.estimateBlackPoint(a),l=e.getMatrix();for(o=0;oa&&(r=o,a=e[o]),e[o]>i&&(i=e[o]);var s=0,F=0;for(o=0;oF&&(s=o,F=c)}if(r>s){var h=r;r=s,s=h}if(s-r<=n/16)throw new u.default;var f=s-1,l=-1;for(o=s-1;o>r;o--){var c,m=o-r;(c=m*m*(s-o)*(i-e[o]))>l&&(f=o,l=c)}return f<=5&&(i+=e.N1+(u-5)),u=1,F=h)}u>=5&&(i+=e.N1+(u-5))}return i},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}()},eIWv:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("kAtF"),a=n("SDs9");t.default=function(){function e(e,t){this.width=e,this.height=t;for(var n=new Array(t),i=0;i!==t;i++)n[i]=new Uint8Array(e);this.bytes=n}return e.prototype.getHeight=function(){return this.height},e.prototype.getWidth=function(){return this.width},e.prototype.get=function(e,t){return this.bytes[t][e]},e.prototype.getArray=function(){return this.bytes},e.prototype.setNumber=function(e,t,n){this.bytes[t][e]=n},e.prototype.setBoolean=function(e,t,n){this.bytes[t][e]=n?1:0},e.prototype.clear=function(e){var t,n;try{for(var a=i(this.bytes),o=a.next();!o.done;o=a.next())r.default.fill(o.value,e)}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;if(this.width!==n.width)return!1;if(this.height!==n.height)return!1;for(var i=0,r=this.height;i144||0!=(1&n))throw new a.default;this.version=e.readVersion(t),this.mappingBitMatrix=this.extractDataRegion(t),this.readMappingMatrix=new i.default(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return e.prototype.getVersion=function(){return this.version},e.readVersion=function(e){var t=e.getHeight(),n=e.getWidth();return r.default.getVersionForDimensions(t,n)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,n=4,i=0,r=this.mappingBitMatrix.getHeight(),o=this.mappingBitMatrix.getWidth(),s=!1,u=!1,F=!1,d=!1;do{if(n!==r||0!==i||s)if(n!==r-2||0!==i||0==(3&o)||u)if(n!==r+4||2!==i||0!=(7&o)||F)if(n!==r-2||0!==i||4!=(7&o)||d){do{n=0&&!this.readMappingMatrix.get(i,n)&&(e[t++]=255&this.readUtah(n,i,r,o)),n-=2,i+=2}while(n>=0&&i=0&&i=0);n+=3,i+=1}else e[t++]=255&this.readCorner4(r,o),n-=2,i+=2,d=!0;else e[t++]=255&this.readCorner3(r,o),n-=2,i+=2,F=!0;else e[t++]=255&this.readCorner2(r,o),n-=2,i+=2,u=!0;else e[t++]=255&this.readCorner1(r,o),n-=2,i+=2,s=!0}while(n>1&127):(i<<=10,i+=(a>>2&992)+(a>>1&31))}var o=this.getCorrectedParameterData(i,this.compact);this.compact?(this.nbLayers=1+(o>>6),this.nbDataBlocks=1+(63&o)):(this.nbLayers=1+(o>>11),this.nbDataBlocks=1+(2047&o))},e.prototype.getRotation=function(e,t){var n=0;e.forEach((function(e,i,r){n=(e>>t-2<<1)+(1&e)+(n<<3)})),n=((1&n)<<11)+(n>>1);for(var i=0;i<4;i++)if(h.default.bitCount(n^this.EXPECTED_CORNER_BITS[i])<=2)return i;throw new F.default},e.prototype.getCorrectedParameterData=function(e,t){var n,i;t?(n=7,i=2):(n=10,i=4);for(var r=n-i,a=new Int32Array(n),o=n-1;o>=0;--o)a[o]=15&e,e>>=4;try{new u.default(s.default.AZTEC_PARAM).decode(a,r)}catch(h){throw new F.default}var d=0;for(o=0;o2){var f=this.distancePoint(h,s)*this.nbCenterLayers/(this.distancePoint(a,t)*(this.nbCenterLayers+2));if(f<.75||f>1.25||!this.isWhiteOrBlackRectangle(s,u,d,h))break}t=s,n=u,r=d,a=h,o=!o}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new F.default;this.compact=5===this.nbCenterLayers;var l=new i.default(t.getX()+.5,t.getY()-.5),c=new i.default(n.getX()+.5,n.getY()+.5),m=new i.default(r.getX()-.5,r.getY()+.5),g=new i.default(a.getX()-.5,a.getY()-.5);return this.expandSquare([l,c,m,g],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},e.prototype.getMatrixCenter=function(){var e,t,n,i;try{e=(d=new o.default(this.image).detect())[0],t=d[1],n=d[2],i=d[3]}catch(h){var r=this.image.getWidth()/2,s=this.image.getHeight()/2;e=this.getFirstDifferent(new f(r+7,s-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new f(r+7,s+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(r-7,s+7),!1,-1,1).toResultPoint(),i=this.getFirstDifferent(new f(r-7,s-7),!1,-1,-1).toResultPoint()}var u=a.default.round((e.getX()+i.getX()+t.getX()+n.getX())/4),F=a.default.round((e.getY()+i.getY()+t.getY()+n.getY())/4);try{var d;e=(d=new o.default(this.image,15,u,F).detect())[0],t=d[1],n=d[2],i=d[3]}catch(h){e=this.getFirstDifferent(new f(u+7,F-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new f(u+7,F+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(u-7,F+7),!1,-1,1).toResultPoint(),i=this.getFirstDifferent(new f(u-7,F-7),!1,-1,-1).toResultPoint()}return u=a.default.round((e.getX()+i.getX()+t.getX()+n.getX())/4),F=a.default.round((e.getY()+i.getY()+t.getY()+n.getY())/4),new f(u,F)},e.prototype.getMatrixCornerPoints=function(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())},e.prototype.sampleGrid=function(e,t,n,i,r){var a=d.default.getInstance(),o=this.getDimension(),s=o/2-this.nbCenterLayers,u=o/2+this.nbCenterLayers;return a.sampleGrid(e,o,o,s,s,u,s,u,u,s,u,t.getX(),t.getY(),n.getX(),n.getY(),i.getX(),i.getY(),r.getX(),r.getY())},e.prototype.sampleLine=function(e,t,n){for(var i=0,r=this.distanceResultPoint(e,t),o=r/n,s=e.getX(),u=e.getY(),F=o*(t.getX()-e.getX())/r,d=o*(t.getY()-e.getY())/r,h=0;h.1&&f<.9?0:f<=.1===F?1:-1},e.prototype.getFirstDifferent=function(e,t,n,i){for(var r=e.getX()+n,a=e.getY()+i;this.isValid(r,a)&&this.image.get(r,a)===t;)r+=n,a+=i;for(r-=n,a-=i;this.isValid(r,a)&&this.image.get(r,a)===t;)r+=n;for(r-=n;this.isValid(r,a)&&this.image.get(r,a)===t;)a+=i;return new f(r,a-=i)},e.prototype.expandSquare=function(e,t,n){var r=n/(2*t),a=e[0].getX()-e[2].getX(),o=e[0].getY()-e[2].getY(),s=(e[0].getX()+e[2].getX())/2,u=(e[0].getY()+e[2].getY())/2,F=new i.default(s+r*a,u+r*o),d=new i.default(s-r*a,u-r*o);return a=e[1].getX()-e[3].getX(),o=e[1].getY()-e[3].getY(),s=(e[1].getX()+e[3].getX())/2,u=(e[1].getY()+e[3].getY())/2,[F,new i.default(s+r*a,u+r*o),d,new i.default(s-r*a,u-r*o)]},e.prototype.isValid=function(e,t){return e>=0&&e0&&t=0;n--)!0===t(e[n])&&e.splice(n,1)}function a(e){throw new Error("Unhandled case for value: '"+e+"'")}n.d(t,"a",(function(){return ne})),n.d(t,"b",(function(){return te}));var o,s=function(){function e(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return e.prototype.setTagName=function(e){return this.tagName=e,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(e,t){return this.getAttrs()[e]=t,this},e.prototype.getAttr=function(e){return this.getAttrs()[e]},e.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(e){return this.setAttr("class",e)},e.prototype.addClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,a=n?n.split(r):[],o=e.split(r);t=o.shift();)-1===i(a,t)&&a.push(t);return this.getAttrs().class=a.join(" "),this},e.prototype.removeClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,a=n?n.split(r):[],o=e.split(r);a.length&&(t=o.shift());){var s=i(a,t);-1!==s&&a.splice(s,1)}return this.getAttrs().class=a.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},e.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},e.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),""].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+'="'+e[n]+'"');return t.join(" ")},e}(),u=function(){function e(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return e.prototype.build=function(e){return new s({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},e.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(t.class=n),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length=s)return u.host.length==t?(u.host.substr(0,t-r)+n).substr(0,s+i):o(d,s).substr(0,s+i);var h="";if(u.path&&(h+="/"+u.path),u.query&&(h+="?"+u.query),h){if((d+h).length>=s)return(d+h).length==t?(d+h).substr(0,t):(d+o(h,s-d.length)).substr(0,s+i);d+=h}if(u.fragment){var f="#"+u.fragment;if((d+f).length>=s)return(d+f).length==t?(d+f).substr(0,t):(d+o(f,s-d.length)).substr(0,s+i);d+=f}if(u.scheme&&u.host){var l=u.scheme+"://";if((d+l).length0&&(c=d.substr(-1*Math.floor(s/2))),(d.substr(0,Math.ceil(s/2))+n+c).substr(0,s+i)}(e,n):"middle"===i?function(e,t,n){if(e.length<=t)return e;var i,r;null==n?(n="…",i=8,r=3):(i=n.length,r=n.length);var a=t-r,o="";return a>0&&(o=e.substr(-1*Math.floor(a/2))),(e.substr(0,Math.ceil(a/2))+n+o).substr(0,a+i)}(e,n):function(e,t,n){return function(e,t,n){var i;return e.length>t&&(null==n?(n="…",i=3):i=n.length,e=e.substring(0,t-i)+n),e}(e,t,void 0)}(e,n)},e}(),F=function(){function e(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(e){this.offset=e},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),d=n("pECV"),h=function(e){function t(t){var n=e.call(this,t)||this;return n.email="",n.email=t.email,n}return d.c(t,e),t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(F),f=function(e){function t(t){var n=e.call(this,t)||this;return n.serviceName="",n.hashtag="",n.serviceName=t.serviceName,n.hashtag=t.hashtag,n}return d.c(t,e),t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var e=this.serviceName,t=this.hashtag;switch(e){case"twitter":return"https://twitter.com/hashtag/"+t;case"facebook":return"https://www.facebook.com/hashtag/"+t;case"instagram":return"https://instagram.com/explore/tags/"+t;default:throw new Error("Unknown service name to point hashtag to: "+e)}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t}(F),l=function(e){function t(t){var n=e.call(this,t)||this;return n.serviceName="twitter",n.mention="",n.mention=t.mention,n.serviceName=t.serviceName,n}return d.c(t,e),t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var t=e.prototype.getCssClassSuffixes.call(this),n=this.getServiceName();return n&&t.push(n),t},t}(F),c=function(e){function t(t){var n=e.call(this,t)||this;return n.number="",n.plusSign=!1,n.number=t.number,n.plusSign=t.plusSign,n}return d.c(t,e),t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(F),m=function(e){function t(t){var n=e.call(this,t)||this;return n.url="",n.urlMatchType="scheme",n.protocolUrlMatch=!1,n.protocolRelativeMatch=!1,n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.schemePrefixRegex=/^(https?:\/\/)?/i,n.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,n.protocolRelativeRegex=/^\/\//,n.protocolPrepended=!1,n.urlMatchType=t.urlMatchType,n.url=t.url,n.protocolUrlMatch=t.protocolUrlMatch,n.protocolRelativeMatch=t.protocolRelativeMatch,n.stripPrefix=t.stripPrefix,n.stripTrailingSlash=t.stripTrailingSlash,n.decodePercentEncoding=t.decodePercentEncoding,n}return d.c(t,e),t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var e=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},t.prototype.getAnchorHref=function(){return this.getUrl().replace(/&/g,"&")},t.prototype.getAnchorText=function(){var e=this.getMatchedText();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix.scheme&&(e=this.stripSchemePrefix(e)),this.stripPrefix.www&&(e=this.stripWwwPrefix(e)),this.stripTrailingSlash&&(e=this.removeTrailingSlash(e)),this.decodePercentEncoding&&(e=this.removePercentEncoding(e)),e},t.prototype.stripSchemePrefix=function(e){return e.replace(this.schemePrefixRegex,"")},t.prototype.stripWwwPrefix=function(e){return e.replace(this.wwwPrefixRegex,"$1")},t.prototype.stripProtocolRelativePrefix=function(e){return e.replace(this.protocolRelativeRegex,"")},t.prototype.removeTrailingSlash=function(e){return"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e},t.prototype.removePercentEncoding=function(e){var t=e.replace(/%22/gi,""").replace(/%26/gi,"&").replace(/%27/gi,"'").replace(/%3C/gi,"<").replace(/%3E/gi,">");try{return decodeURIComponent(t)}catch(n){return t}},t}(F),g=function(){return function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder}}(),p=/[A-Za-z]/,w=/[\d]/,y=/[\D]/,E=/\s/,D=/['"]/,_=/[\x00-\x1F\x7F]/,C=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,b=C+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\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\u08D4-\u08E1\u08E3-\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\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\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\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\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-\uFE2F/.source,k=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,v=b+k,A=b+k,N="(?:["+k+"]{1,3}\\.){3}["+k+"]{1,3}",B="["+A+"](?:["+A+"\\-]{0,61}["+A+"])?",S=function(e){return"(?=("+B+"))\\"+e},I=function(e){return"(?:"+S(e)+"(?:\\."+S(e+1)+"){0,126}|"+N+")"},O=(new RegExp("["+A+".\\-]*["+A+"\\-]"),new RegExp("["+A+"]")),T=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|verm\xf6gensberatung|xn--3oq18vl8pn36a|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|verm\xf6gensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|afamilycompany|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|spreadbetting|travelchannel|wolterskluwer|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|rightathome|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pbt977c|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nationwide|newholland|nextdirect|onyourside|properties|protection|prudential|realestate|republican|restaurant|schaeffler|swiftcover|tatamotors|technology|telefonica|university|vistaprint|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|fujixerox|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|honeywell|institute|insurance|kuokgroup|ladbrokes|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|scjohnson|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--tckwe|xn--vhquv|yodobashi|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|budapest|builders|business|capetown|catering|catholic|chrysler|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|esurance|etisalat|everbank|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|movistar|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|symantec|training|uconnect|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|cartier|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|iselect|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lancome|lanxess|lasalle|latrobe|leclerc|liaison|limited|lincoln|markets|metlife|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|shriram|singles|staples|starhub|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|\u043a\u0430\u0442\u043e\u043b\u0438\u043a|\u0627\u062a\u0635\u0627\u0644\u0627\u062a|\u0627\u0644\u062c\u0632\u0627\u0626\u0631|\u0627\u0644\u0639\u0644\u064a\u0627\u0646|\u067e\u0627\u06a9\u0633\u062a\u0627\u0646|\u0643\u0627\u062b\u0648\u0644\u064a\u0643|\u0645\u0648\u0628\u0627\u064a\u0644\u064a|\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe|abarth|abbott|abbvie|active|africa|agency|airbus|airtel|alipay|alsace|alstom|anquan|aramco|author|bayern|beauty|berlin|bharti|blanco|bostik|boston|broker|camera|career|caseih|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|mobily|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|piaget|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|warman|webcam|xihuan|yachts|yandex|zappos|\u043c\u043e\u0441\u043a\u0432\u0430|\u043e\u043d\u043b\u0430\u0439\u043d|\u0627\u0628\u0648\u0638\u0628\u064a|\u0627\u0631\u0627\u0645\u0643\u0648|\u0627\u0644\u0627\u0631\u062f\u0646|\u0627\u0644\u0645\u063a\u0631\u0628|\u0627\u0645\u0627\u0631\u0627\u062a|\u0641\u0644\u0633\u0637\u064a\u0646|\u0645\u0644\u064a\u0633\u064a\u0627|\u092d\u093e\u0930\u0924\u092e\u094d|\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8|\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|dodge|drive|dubai|earth|edeka|email|epost|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glade|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|intel|irish|iveco|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|lixil|loans|locus|lotte|lotto|lupin|macys|mango|media|miami|money|mopar|movie|nadex|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|zippo|\u0627\u06cc\u0631\u0627\u0646|\u0628\u0627\u0632\u0627\u0631|\u0628\u06be\u0627\u0631\u062a|\u0633\u0648\u062f\u0627\u0646|\u0633\u0648\u0631\u064a\u0629|\u0647\u0645\u0631\u0627\u0647|\u092d\u093e\u0930\u094b\u0924|\u0938\u0902\u0917\u0920\u0928|\u09ac\u09be\u0982\u09b2\u09be|\u0c2d\u0c3e\u0c30\u0c24\u0c4d|\u0d2d\u0d3e\u0d30\u0d24\u0d02|\u5609\u91cc\u5927\u9152\u5e97|aarp|able|adac|aero|aigo|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|doha|duck|duns|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|raid|read|reit|rent|rest|rich|rmit|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scor|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|\u0434\u0435\u0442\u0438|\u0441\u0430\u0439\u0442|\u0628\u0627\u0631\u062a|\u0628\u064a\u062a\u0643|\u0680\u0627\u0631\u062a|\u062a\u0648\u0646\u0633|\u0634\u0628\u0643\u0629|\u0639\u0631\u0627\u0642|\u0639\u0645\u0627\u0646|\u0645\u0648\u0642\u0639|\u092d\u093e\u0930\u0924|\u09ad\u09be\u09b0\u09a4|\u09ad\u09be\u09f0\u09a4|\u0a2d\u0a3e\u0a30\u0a24|\u0aad\u0abe\u0ab0\u0aa4|\u0b2d\u0b3e\u0b30\u0b24|\u0cad\u0cbe\u0cb0\u0ca4|\u0dbd\u0d82\u0d9a\u0dcf|\u30b0\u30fc\u30b0\u30eb|\u30af\u30e9\u30a6\u30c9|\u30dd\u30a4\u30f3\u30c8|\u5927\u4f17\u6c7d\u8f66|\u7ec4\u7ec7\u673a\u6784|\u96fb\u8a0a\u76c8\u79d1|\u9999\u683c\u91cc\u62c9|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bnl|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceb|ceo|cfa|cfd|com|crs|csc|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jcp|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|off|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|qvc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|srl|srt|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|\u0431\u0435\u043b|\u043a\u043e\u043c|\u049b\u0430\u0437|\u043c\u043a\u0434|\u043c\u043e\u043d|\u043e\u0440\u0433|\u0440\u0443\u0441|\u0441\u0440\u0431|\u0443\u043a\u0440|\u0570\u0561\u0575|\u05e7\u05d5\u05dd|\u0639\u0631\u0628|\u0642\u0637\u0631|\u0643\u0648\u0645|\u0645\u0635\u0631|\u0915\u0949\u092e|\u0928\u0947\u091f|\u0e04\u0e2d\u0e21|\u0e44\u0e17\u0e22|\u30b9\u30c8\u30a2|\u30bb\u30fc\u30eb|\u307f\u3093\u306a|\u4e2d\u6587\u7f51|\u5929\u4e3b\u6559|\u6211\u7231\u4f60|\u65b0\u52a0\u5761|\u6de1\u9a6c\u9521|\u8bfa\u57fa\u4e9a|\u98de\u5229\u6d66|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|\u03b5\u03bb|\u0431\u0433|\u0435\u044e|\u0440\u0444|\u10d2\u10d4|\ub2f7\ub137|\ub2f7\ucef4|\uc0bc\uc131|\ud55c\uad6d|\u30b3\u30e0|\u4e16\u754c|\u4e2d\u4fe1|\u4e2d\u56fd|\u4e2d\u570b|\u4f01\u4e1a|\u4f5b\u5c71|\u4fe1\u606f|\u5065\u5eb7|\u516b\u5366|\u516c\u53f8|\u516c\u76ca|\u53f0\u6e7e|\u53f0\u7063|\u5546\u57ce|\u5546\u5e97|\u5546\u6807|\u5609\u91cc|\u5728\u7ebf|\u5927\u62ff|\u5a31\u4e50|\u5bb6\u96fb|\u5de5\u884c|\u5e7f\u4e1c|\u5fae\u535a|\u6148\u5584|\u624b\u673a|\u624b\u8868|\u62db\u8058|\u653f\u52a1|\u653f\u5e9c|\u65b0\u95fb|\u65f6\u5c1a|\u66f8\u7c4d|\u673a\u6784|\u6e38\u620f|\u6fb3\u9580|\u70b9\u770b|\u73e0\u5b9d|\u79fb\u52a8|\u7f51\u5740|\u7f51\u5e97|\u7f51\u7ad9|\u7f51\u7edc|\u8054\u901a|\u8c37\u6b4c|\u8d2d\u7269|\u901a\u8ca9|\u96c6\u56e2|\u98df\u54c1|\u9910\u5385|\u9999\u6e2f)/,M=new RegExp("["+A+"!#$%&'*+/=?^_`{|}~-]"),R=new RegExp("^"+T.source+"$"),P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.localPartCharRegex=M,t.strictTldRegex=R,t}return d.c(t,e),t.prototype.parseMatches=function(e){for(var t=this.tagBuilder,n=this.localPartCharRegex,i=this.strictTldRegex,r=[],o=e.length,s=new x,u={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},F=0,f=0,l=s;F-1},e.isValidUriScheme=function(e){var t=e.match(this.uriSchemeRegex),n=t&&t[0].toLowerCase();return"javascript:"!==n&&"vbscript:"!==n},e.urlMatchDoesNotHaveProtocolOrDot=function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,t){return!(!e||!t||this.hasFullProtocolRegex.test(t)||this.hasWordCharAfterProtocolRegex.test(e))},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+C+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),j=(o=new RegExp("[/?#](?:["+A+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^\u2713]*["+A+"\\-+&@#/%=~_()|'$*\\[\\]{}\u2713])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,I(2),")","|","(","(//)?",/(?:www\.)/.source,I(6),")","|","(","(//)?",I(10)+"\\.",T.source,"(?![-"+v+"])",")",")","(?::[0-9]+)?","(?:"+o.source+")?"].join(""),"gi")),V=new RegExp("["+A+"]"),H=function(e){function t(t){var n=e.call(this,t)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=j,n.wordCharRegExp=V,n.stripPrefix=t.stripPrefix,n.stripTrailingSlash=t.stripTrailingSlash,n.decodePercentEncoding=t.decodePercentEncoding,n}return d.c(t,e),t.prototype.parseMatches=function(e){for(var t,n=this.matcherRegex,i=this.stripPrefix,r=this.stripTrailingSlash,a=this.decodePercentEncoding,o=this.tagBuilder,s=[],u=function(){var n=t[0],u=t[1],d=t[4],h=t.index,f=t[5]||t[9],l=e.charAt(h-1);if(!L.isValid(n,u))return"continue";if(h>0&&"@"===l)return"continue";if(h>0&&f&&F.wordCharRegExp.test(l))return"continue";if(/\?$/.test(n)&&(n=n.substr(0,n.length-1)),F.matchHasUnbalancedClosingParen(n))n=n.substr(0,n.length-1);else{var c=F.matchHasInvalidCharAfterTld(n,u);c>-1&&(n=n.substr(0,c))}var g=["http://","https://"].find((function(e){return!!u&&-1!==u.indexOf(e)}));if(g){var p=n.indexOf(g);n=n.substr(p),u=u.substr(p),h+=p}s.push(new m({tagBuilder:o,matchedText:n,offset:h,urlMatchType:u?"scheme":d?"www":"tld",url:n,protocolUrlMatch:!!u,protocolRelativeMatch:!!f,stripPrefix:i,stripTrailingSlash:r,decodePercentEncoding:a}))},F=this;null!==(t=n.exec(e));)u();return s},t.prototype.matchHasUnbalancedClosingParen=function(e){var t,n=e.charAt(e.length-1);if(")"===n)t="(";else if("]"===n)t="[";else{if("}"!==n)return!1;t="{"}for(var i=0,r=0,a=e.length-1;r"===e?(m=new Q(d.a({},m,{name:W()})),G()):p.test(e)||w.test(e)||":"===e||z()}function k(e){">"===e?z():p.test(e)?l=3:z()}function v(e){E.test(e)||("/"===e?l=12:">"===e?G():"<"===e?U():"="===e||D.test(e)||_.test(e)?z():l=5)}function A(e){E.test(e)?l=6:"/"===e?l=12:"="===e?l=7:">"===e?G():"<"===e?U():D.test(e)&&z()}function N(e){E.test(e)||("/"===e?l=12:"="===e?l=7:">"===e?G():"<"===e?U():D.test(e)?z():l=5)}function B(e){E.test(e)||('"'===e?l=8:"'"===e?l=9:/[>=`]/.test(e)?z():"<"===e?U():l=10)}function S(e){'"'===e&&(l=11)}function I(e){"'"===e&&(l=11)}function O(e){E.test(e)?l=4:">"===e?G():"<"===e&&U()}function T(e){E.test(e)?l=4:"/"===e?l=12:">"===e?G():"<"===e?U():(l=4,h--)}function M(e){">"===e?(m=new Q(d.a({},m,{isClosing:!0})),G()):l=4}function R(e){"-"===e?l=15:">"===e?z():l=16}function P(e){"-"===e?l=18:">"===e?z():l=16}function x(e){"-"===e&&(l=17)}function L(e){l="-"===e?18:16}function j(e){">"===e?G():"!"===e?l=19:"-"===e||(l=16)}function V(e){"-"===e?l=17:">"===e?G():l=16}function H(e){">"===e?G():"<"===e&&U()}function z(){l=0,m=F}function U(){l=1,m=new Q({idx:h})}function G(){var t=e.slice(c,m.idx);t&&o(t,c),"comment"===m.type?s(m.idx):"doctype"===m.type?u(m.idx):(m.isOpening&&i(m.name,m.idx),m.isClosing&&r(m.name,m.idx)),z(),c=h+1}function W(){return e.slice(m.idx+(m.isClosing?2:1),h).toLowerCase()}c=0&&i++},onText:function(e,n){if(0===i){var a=function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var n,i=[],r=0;n=t.exec(e);)i.push(e.substring(r,n.index)),i.push(n[0]),r=n.index+n[0].length;return i.push(e.substring(r)),i}(e,/( | |<|<|>|>|"|"|')/gi),o=n;a.forEach((function(e,n){if(n%2==0){var i=t.parseText(e,o);r.push.apply(r,i)}o+=e.length}))}},onCloseTag:function(e){n.indexOf(e)>=0&&(i=Math.max(i-1,0))},onComment:function(e){},onDoctype:function(e){}}),r=this.compactMatches(r),r=this.removeUnwantedMatches(r)},e.prototype.compactMatches=function(e){e.sort((function(e,t){return e.getOffset()-t.getOffset()}));for(var t=0;tr?t:t+1;e.splice(o,1);continue}e[t+1].getOffset()/g,">"));for(var t=this.parse(e),n=[],i=0,r=0,a=t.length;r{class e{transform(e,t){return $.link(e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=ee.Rb({name:"linky",type:e,pure:!0}),e})(),ne=(()=>{class e{}return e.\u0275mod=ee.Qb({type:e}),e.\u0275inj=ee.Pb({factory:function(t){return new(t||e)}}),e})()},fiM6:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(t,n,i,r){this.rowNumber=e.BARCODE_ROW_UNKNOWN,this.startX=Math.trunc(t),this.endX=Math.trunc(n),this.bucket=Math.trunc(i),this.value=Math.trunc(r)}return e.prototype.hasValidRowNumber=function(){return this.isValidRowNumber(this.rowNumber)},e.prototype.isValidRowNumber=function(t){return t!==e.BARCODE_ROW_UNKNOWN&&this.bucket===t%3*3},e.prototype.setRowNumberAsRowIndicatorColumn=function(){this.rowNumber=Math.trunc(3*Math.trunc(this.value/30)+Math.trunc(this.bucket/3))},e.prototype.getWidth=function(){return this.endX-this.startX},e.prototype.getStartX=function(){return this.startX},e.prototype.getEndX=function(){return this.endX},e.prototype.getBucket=function(){return this.bucket},e.prototype.getValue=function(){return this.value},e.prototype.getRowNumber=function(){return this.rowNumber},e.prototype.setRowNumber=function(e){this.rowNumber=e},e.prototype.toString=function(){return this.rowNumber+"|"+this.value},e.BARCODE_ROW_UNKNOWN=-1,e}()},fy1c:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("vpob"),s=n("gOp4"),u=n("9hxZ"),F=n("QBYl");t.default=function(e){function t(t,n){var i=e.call(this,t)||this;return i._isLeft=n,i}return r(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var n=a(this.getCodewords()),i=n.next();!i.done;i=n.next()){var r=i.value;null!=r&&r.setRowNumberAsRowIndicatorColumn()}}catch(o){e={error:o}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var n=this.getBoundingBox(),i=this._isLeft?n.getTopLeft():n.getTopRight(),r=this._isLeft?n.getBottomLeft():n.getBottomRight(),a=this.imageRowToCodewordIndex(Math.trunc(i.getY())),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),s=-1,u=1,F=0,d=a;d=e.getRowCount()||f>d)t[d]=null;else{for(var l,c=(l=u>2?(u-2)*f:f)>=d,m=1;m<=l&&!c;m++)c=null!=t[d-m];c?t[d]=null:(s=h.getRowNumber(),F=1)}}},t.prototype.getRowHeights=function(){var e,t,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var i=new Int32Array(n.getRowCount());try{for(var r=a(this.getCodewords()),o=r.next();!o.done;o=r.next()){var s=o.value;if(null!=s){var u=s.getRowNumber();if(u>=i.length)continue;i[u]++}}}catch(F){e={error:F}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return i},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),n=this._isLeft?t.getTopLeft():t.getTopRight(),i=this._isLeft?t.getBottomLeft():t.getBottomRight(),r=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(i.getY())),o=this.getCodewords(),s=-1,u=1,F=0,d=r;d=e.getRowCount()?o[d]=null:(s=h.getRowNumber(),F=1)}},t.prototype.getBarcodeMetadata=function(){var e,t,n=this.getCodewords(),i=new F.default,r=new F.default,u=new F.default,d=new F.default;try{for(var h=a(n),f=h.next();!f.done;f=h.next()){var l=f.value;if(null!=l){l.setRowNumberAsRowIndicatorColumn();var c=l.getValue()%30,m=l.getRowNumber();switch(this._isLeft||(m+=2),m%3){case 0:r.setValue(3*c+1);break;case 1:d.setValue(c/3),u.setValue(c%3);break;case 2:i.setValue(c+1)}}}}catch(p){e={error:p}}finally{try{f&&!f.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}if(0===i.getValue().length||0===r.getValue().length||0===u.getValue().length||0===d.getValue().length||i.getValue()[0]<1||r.getValue()[0]+u.getValue()[0]o.default.MAX_ROWS_IN_BARCODE)return null;var g=new s.default(i.getValue()[0],r.getValue()[0],u.getValue()[0],d.getValue()[0]);return this.removeIncorrectCodewords(n,g),g},t.prototype.removeIncorrectCodewords=function(e,t){for(var n=0;nt.getRowCount())e[n]=null;else switch(this._isLeft||(a+=2),a%3){case 0:3*r+1!==t.getRowCountUpperPart()&&(e[n]=null);break;case 1:Math.trunc(r/3)===t.getErrorCorrectionLevel()&&r%3===t.getRowCountLowerPart()||(e[n]=null);break;case 2:r+1!==t.getColumnCount()&&(e[n]=null)}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(u.default)},g9Qw:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("aLHR"),a=n("bhyY"),o=n("scux");t.default=function(){function e(){this.field=o.default.PDF417_GF}return e.prototype.decode=function(e,t,n){for(var o,s,u=new a.default(this.field,e),F=new Int32Array(t),d=!1,h=t;h>0;h--){var f=u.evaluateAt(this.field.exp(h));F[t-h]=f,0!==f&&(d=!0)}if(!d)return 0;var l=this.field.getOne();if(null!=n)try{for(var c=i(n),m=c.next();!m.done;m=c.next()){var g=this.field.exp(e.length-1-m.value),p=new a.default(this.field,new Int32Array([this.field.subtract(0,g),1]));l=l.multiply(p)}}catch(k){o={error:k}}finally{try{m&&!m.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}var w=new a.default(this.field,F),y=this.runEuclideanAlgorithm(this.field.buildMonomial(t,1),w,t),E=y[0],D=y[1],_=this.findErrorLocations(E),C=this.findErrorMagnitudes(D,E,_);for(h=0;h<_.length;h++){var b=e.length-1-this.field.log(_[h]);if(b<0)throw r.default.getChecksumInstance();e[b]=this.field.subtract(e[b],C[h])}return _.length},e.prototype.runEuclideanAlgorithm=function(e,t,n){if(e.getDegree()=Math.round(n/2);){var F=a,d=s;if(s=u,(a=o).isZero())throw r.default.getChecksumInstance();o=F;for(var h=this.field.getZero(),f=a.getCoefficient(a.getDegree()),l=this.field.inverse(f);o.getDegree()>=a.getDegree()&&!o.isZero();){var c=o.getDegree()-a.getDegree(),m=this.field.multiply(o.getCoefficient(o.getDegree()),l);h=h.add(this.field.buildMonomial(c,m)),o=o.subtract(a.multiplyByMonomial(c,m))}u=h.multiply(s).subtract(d).negative()}var g=u.getCoefficient(0);if(0===g)throw r.default.getChecksumInstance();var p=this.field.inverse(g);return[u.multiply(p),o.multiply(p)]},e.prototype.findErrorLocations=function(e){for(var t=e.getDegree(),n=new Int32Array(t),i=0,a=1;a0);return o.length()>0&&n.append(o.toString()),new i.default(e,n.toString(),0===s.length?null:s,null)},e.decodeAsciiSegment=function(e,t,n){var i=!1;do{var r=e.readBits(8);if(0===r)throw new u.default;if(r<=128)return i&&(r+=128),t.append(String.fromCharCode(r-1)),d.ASCII_ENCODE;if(129===r)return d.PAD_ENCODE;if(r<=229){var a=r-130;a<10&&t.append("0"),t.append(""+a)}else switch(r){case 230:return d.C40_ENCODE;case 231:return d.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:i=!0;break;case 236:t.append("[)>\x1e05\x1d"),n.insert(0,"\x1e\x04");break;case 237:t.append("[)>\x1e06\x1d"),n.insert(0,"\x1e\x04");break;case 238:return d.ANSIX12_ENCODE;case 239:return d.TEXT_ENCODE;case 240:return d.EDIFACT_ENCODE;case 241:break;default:if(254!==r||0!==e.available())throw new u.default}}while(e.available()>0);return d.ASCII_ENCODE},e.decodeC40Segment=function(e,t){var n=!1,i=[],r=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),i);for(var o=0;o<3;o++){var s=i[o];switch(r){case 0:if(s<3)r=s+1;else{if(!(s0)},e.decodeTextSegment=function(e,t){var n=!1,i=[],r=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),i);for(var o=0;o<3;o++){var s=i[o];switch(r){case 0:if(s<3)r=s+1;else{if(!(s0)},e.decodeAnsiX12Segment=function(e,t){var n=[];do{if(8===e.available())return;var i=e.readBits(8);if(254===i)return;this.parseTwoBytes(i,e.readBits(8),n);for(var r=0;r<3;r++){var a=n[r];switch(a){case 0:t.append("\r");break;case 1:t.append("*");break;case 2:t.append(">");break;case 3:t.append(" ");break;default:if(a<14)t.append(String.fromCharCode(a+44));else{if(!(a<40))throw new u.default;t.append(String.fromCharCode(a+51))}}}}while(e.available()>0)},e.parseTwoBytes=function(e,t,n){var i=(e<<8)+t-1,r=Math.floor(i/1600);n[0]=r,i-=1600*r,r=Math.floor(i/40),n[1]=r,n[2]=i-40*r},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var n=0;n<4;n++){var i=e.readBits(6);if(31===i){var r=8-e.getBitOffset();return void(8!==r&&e.readBits(r))}0==(32&i)&&(i|=64),t.append(String.fromCharCode(i))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,n){var i,r=1+e.getByteOffset(),a=this.unrandomize255State(e.readBits(8),r++);if((i=0===a?e.available()/8|0:a<250?a:250*(a-249)+this.unrandomize255State(e.readBits(8),r++))<0)throw new u.default;for(var d=new Uint8Array(i),h=0;h=0?n:n+256},e.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],e.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],e.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],e.TEXT_SHIFT2_SET_CHARS=e.C40_SHIFT2_SET_CHARS,e.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],e}()},gKQZ:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("f59o"),o=n("wXP5"),s=n("SDs9");t.default=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.dateCode=i,r.firstAIdigits=n,r}return r(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()!=t.HEADER_SIZE+t.GTIN_SIZE+t.WEIGHT_SIZE+t.DATE_SIZE)throw new o.default;var e=new s.default;return this.encodeCompressedGtin(e,t.HEADER_SIZE),this.encodeCompressedWeight(e,t.HEADER_SIZE+t.GTIN_SIZE,t.WEIGHT_SIZE),this.encodeCompressedDate(e,t.HEADER_SIZE+t.GTIN_SIZE+t.WEIGHT_SIZE),e.toString()},t.prototype.encodeCompressedDate=function(e,n){var i=this.getGeneralDecoder().extractNumericValueFromBitArray(n,t.DATE_SIZE);if(38400!=i){e.append("("),e.append(this.dateCode),e.append(")");var r=i%32,a=(i/=32)%12+1,o=i/=12;o/10==0&&e.append("0"),e.append(o),a/10==0&&e.append("0"),e.append(a),r/10==0&&e.append("0"),e.append(r)}},t.prototype.addWeightCode=function(e,t){e.append("("),e.append(this.firstAIdigits),e.append(t/1e5),e.append(")")},t.prototype.checkWeight=function(e){return e%1e5},t.HEADER_SIZE=8,t.WEIGHT_SIZE=20,t.DATE_SIZE=16,t}(a.default)},gOp4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e,t,n,i){this.columnCount=e,this.errorCorrectionLevel=i,this.rowCountUpperPart=t,this.rowCountLowerPart=n,this.rowCount=t+n}return e.prototype.getColumnCount=function(){return this.columnCount},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getRowCount=function(){return this.rowCount},e.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},e.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},e}()},gt76:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e){for(var t=[],n=1;n=0;--o)0!=(a&1<=0;--F)0!=(u&1<=0;--F)0!=(d&1<t[0])throw r.default.getFormatInstance();for(var a=new Int32Array(e.NUMBER_OF_SEQUENCE_CODEWORDS),o=0;o0){for(var c=0;c<6;++c)o.write(Number(g(u)>>g(8*(5-c))));u=0,s=0}}r===n[0]&&h0){for(c=0;c<6;++c)o.write(Number(g(u)>>g(8*(5-c))));u=0,s=0}}}return a.append(l.default.decode(o.toByteArray(),i)),r},e.numericCompaction=function(t,n,i){for(var r=0,a=!1,o=new Int32Array(e.MAX_NUMERIC_CODEWORDS);n0&&(i.append(e.decodeBase900toBase10(o,r)),r=0)}return n},e.decodeBase900toBase10=function(t,n){for(var i=g(0),a=0;a@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",e.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",e.EXP900=m()?function(){var e=[];e[0]=g(1);var t=g(900);e[1]=t;for(var n=2;n<16;n++)e[n]=e[n-1]*t;return e}():[],e.NUMBER_OF_SEQUENCE_CODEWORDS=2,e}()}).call(this,n("yLpj"))},jHy1:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("tupf");t.default=function(e){function t(t,n,i,r,a){var o=e.call(this,t,n)||this;return o.compact=i,o.nbDatablocks=r,o.nbLayers=a,o}return r(t,e),t.prototype.getNbLayers=function(){return this.nbLayers},t.prototype.getNbDatablocks=function(){return this.nbDatablocks},t.prototype.isCompact=function(){return this.compact},t}(a.default)},jLlG:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.default)},ji7Q:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("r8uX"),a=n("7RB1");t.default=function(){function e(e){this.errorCorrectionLevel=r.default.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return a.default.bitCount(e^t)},e.decodeFormatInformation=function(t,n){var i=e.doDecodeFormatInformation(t,n);return null!==i?i:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,n^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,n){var r,a,o=Number.MAX_SAFE_INTEGER,s=0;try{for(var u=i(e.FORMAT_INFO_DECODE_LOOKUP),F=u.next();!F.done;F=u.next()){var d=F.value,h=d[0];if(h===t||h===n)return new e(d[1]);var f=e.numBitsDiffering(t,h);f=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("u2rX"),a=n("zKBm"),o=n("bJYy"),s=n("PRO/"),u=n("snnL"),F=n("wXP5");t.default=function(){function e(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=[0,0,0,0],this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,n,i){var a=this.decodeRowStringBuffer,u=this.decodeMiddle(n,i,a),F=a.toString(),d=e.parseExtensionString(F),h=[new s.default((i[0]+i[1])/2,t),new s.default(u,t)],f=new o.default(F,null,0,h,r.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=d&&f.putAllMetadata(d),f},e.prototype.decodeMiddle=function(t,n,r){var o,s,u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var d=t.getSize(),h=n[1],f=0,l=0;l<5&&h=10&&(f|=1<<4-l),4!==l&&(h=t.getNextSet(h),h=t.getNextUnset(h))}if(5!==r.length)throw new F.default;var p=this.determineCheckDigit(f);if(e.extensionChecksum(r.toString())!==p)throw new F.default;return h},e.extensionChecksum=function(e){for(var t=e.length,n=0,i=t-2;i>=0;i-=2)n+=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0);for(n*=3,i=t-1;i>=0;i-=2)n+=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0);return(n*=3)%10},e.prototype.determineCheckDigit=function(e){for(var t=0;t<10;t++)if(e===this.CHECK_DIGIT_ENCODINGS[t])return t;throw new F.default},e.parseExtensionString=function(t){if(5!==t.length)return null;var n=e.parseExtension5String(t);return null==n?null:new Map([[u.default.SUGGESTED_PRICE,n]])},e.parseExtension5String=function(e){var t;switch(e.charAt(0)){case"0":t="\xa3";break;case"5":t="$";break;case"9":switch(e){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}t="";break;default:t=""}var n=parseInt(e.substring(1)),i=n%100;return t+(n/100).toString()+"."+(i<10?"0"+i:i.toString())},e}()},kAtF:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("poFM"),a=n("PnHe"),o=n("or9r");t.default=function(){function e(){}return e.fill=function(e,t){for(var n=0,i=e.length;nn)throw new a.default("fromIndex("+t+") > toIndex("+n+")");if(t<0)throw new o.default(t);if(n>e)throw new o.default(n)},e.asList=function(){for(var e=[],t=0;t>1,s=i(n,t[o]);if(s>0)r=o+1;else{if(!(s<0))return o;a=o-1}}return-r-1},e.numberComparator=function(e,t){return e-t},e}()},kPel:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("R4VP");t.default=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.addWeightCode=function(e,t){e.append(t<1e4?"(3202)":"(3203)")},t.prototype.checkWeight=function(e){return e<1e4?e:e-1e4},t}(a.default)},kQks:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("SDs9"),o=n("nHjj");t.default=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.parseInformation=function(){var e=new a.default;return this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE)},t.HEADER_SIZE=5,t}(o.default)},kaLH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("1Jy0"),r=n("GY/I"),a=n("1alA"),o=n("/07r"),s=n("emVd"),u=n("SDs9"),F=n("AuZS"),d=n("hkAl");t.default=function(){function e(){}return e.decode=function(t,n,o,F){var h=new i.default(t),f=new u.default,l=new Array,c=-1,m=-1;try{var g=null,p=!1,w=void 0;do{if(h.available()<4)w=s.default.TERMINATOR;else{var y=h.readBits(4);w=s.default.forBits(y)}switch(w){case s.default.TERMINATOR:break;case s.default.FNC1_FIRST_POSITION:case s.default.FNC1_SECOND_POSITION:p=!0;break;case s.default.STRUCTURED_APPEND:if(h.available()<16)throw new d.default;c=h.readBits(8),m=h.readBits(8);break;case s.default.ECI:var E=e.parseECIValue(h);if(null===(g=r.default.getCharacterSetECIByValue(E)))throw new d.default;break;case s.default.HANZI:var D=h.readBits(4),_=h.readBits(w.getCharacterCountBits(n));D===e.GB2312_SUBSET&&e.decodeHanziSegment(h,f,_);break;default:var C=h.readBits(w.getCharacterCountBits(n));switch(w){case s.default.NUMERIC:e.decodeNumericSegment(h,f,C);break;case s.default.ALPHANUMERIC:e.decodeAlphanumericSegment(h,f,C,p);break;case s.default.BYTE:e.decodeByteSegment(h,f,C,g,l,F);break;case s.default.KANJI:e.decodeKanjiSegment(h,f,C);break;default:throw new d.default}}}while(w!==s.default.TERMINATOR)}catch(b){throw new d.default}return new a.default(t,f.toString(),0===l.length?null:l,null===o?null:o.toString(),c,m)},e.decodeHanziSegment=function(e,t,n){if(13*n>e.available())throw new d.default;for(var i=new Uint8Array(2*n),r=0;n>0;){var a=e.readBits(13),s=a/96<<8&4294967295|a%96;i[r]=(s+=s<959?41377:42657)>>8&255,i[r+1]=255&s,r+=2,n--}try{t.append(F.default.decode(i,o.default.GB2312))}catch(u){throw new d.default(u)}},e.decodeKanjiSegment=function(e,t,n){if(13*n>e.available())throw new d.default;for(var i=new Uint8Array(2*n),r=0;n>0;){var a=e.readBits(13),s=a/192<<8&4294967295|a%192;i[r]=(s+=s<7936?33088:49472)>>8,i[r+1]=s,r+=2,n--}try{t.append(F.default.decode(i,o.default.SHIFT_JIS))}catch(u){throw new d.default(u)}},e.decodeByteSegment=function(e,t,n,i,r,a){if(8*n>e.available())throw new d.default;for(var s,u=new Uint8Array(n),h=0;h=e.ALPHANUMERIC_CHARS.length)throw new d.default;return e.ALPHANUMERIC_CHARS[t]},e.decodeAlphanumericSegment=function(t,n,i,r){for(var a=n.length();i>1;){if(t.available()<11)throw new d.default;var o=t.readBits(11);n.append(e.toAlphaNumericChar(Math.floor(o/45))),n.append(e.toAlphaNumericChar(o%45)),i-=2}if(1===i){if(t.available()<6)throw new d.default;n.append(e.toAlphaNumericChar(t.readBits(6)))}if(r)for(var s=a;s=3;){if(t.available()<10)throw new d.default;var r=t.readBits(10);if(r>=1e3)throw new d.default;n.append(e.toAlphaNumericChar(Math.floor(r/100))),n.append(e.toAlphaNumericChar(Math.floor(r/10)%10)),n.append(e.toAlphaNumericChar(r%10)),i-=3}if(2===i){if(t.available()<7)throw new d.default;var a=t.readBits(7);if(a>=100)throw new d.default;n.append(e.toAlphaNumericChar(Math.floor(a/10))),n.append(e.toAlphaNumericChar(a%10))}else if(1===i){if(t.available()<4)throw new d.default;var o=t.readBits(4);if(o>=10)throw new d.default;n.append(e.toAlphaNumericChar(o))}},e.parseECIValue=function(e){var t=e.readBits(8);if(0==(128&t))return 127&t;if(128==(192&t))return(63&t)<<8&4294967295|e.readBits(8);if(192==(224&t))return(31&t)<<16&4294967295|e.readBits(16);throw new d.default},e.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.GB2312_SUBSET=1,e}()},lQQs:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("PnHe");t.default=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n){var a,o,s,u,F=n.getECBlocks(),d=0,h=F.getECBlocks();try{for(var f=i(h),l=f.next();!l.done;l=f.next())d+=(w=l.value).getCount()}catch(S){a={error:S}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(a)throw a.error}}var c=new Array(d),m=0;try{for(var g=i(h),p=g.next();!p.done;p=g.next())for(var w=p.value,y=0;y7?y-1:y]=t[b++]}if(b!==t.length)throw new r.default;return c},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}()},lbVw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("5i/S"),r=n("poFM"),a=n("kAtF"),o=n("SDs9"),s=n("PnHe"),u=function(){function e(e,t,n,i){if(this.width=e,this.height=t,this.rowSize=n,this.bits=i,null==t&&(t=e),this.height=t,e<1||t<1)throw new s.default("Both dimensions must be greater than 0");null==n&&(n=Math.floor((e+31)/32)),this.rowSize=n,null==i&&(this.bits=new Int32Array(this.rowSize*this.height))}return e.parseFromBooleanArray=function(t){for(var n=t.length,i=t[0].length,r=new e(i,n),a=0;ao){if(-1===u)u=a-o;else if(a-o!==u)throw new s.default("row lengths do not match");o=a,F++}d++}else if(t.substring(d,d+n.length)===n)d+=n.length,r[a]=!0,a++;else{if(t.substring(d,d+i.length)!==i)throw new s.default("illegal character encountered: "+t.substring(d));d+=i.length,r[a]=!1,a++}if(a>o){if(-1===u)u=a-o;else if(a-o!==u)throw new s.default("row lengths do not match");F++}for(var h=new e(u,F),f=0;f>>(31&e)&1)},e.prototype.set=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]|=1<<(31&e)&4294967295},e.prototype.unset=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]&=~(1<<(31&e)&4294967295)},e.prototype.flip=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]^=1<<(31&e)&4294967295},e.prototype.xor=function(e){if(this.width!==e.getWidth()||this.height!==e.getHeight()||this.rowSize!==e.getRowSize())throw new s.default("input matrix dimensions do not match");for(var t=new i.default(Math.floor(this.width/32)+1),n=this.rowSize,r=this.bits,a=0,o=this.height;athis.height||r>this.width)throw new s.default("The region must fit inside the matrix");for(var o=this.rowSize,u=this.bits,F=t;Fo&&(o=s),32*ua){for(d=31;F>>>d==0;)d--;32*u+d>a&&(a=32*u+d)}}}return a=0&&0===t[n];)n--;if(n<0)return null;for(var i=Math.floor(n/e),r=32*Math.floor(n%e),a=t[n],o=31;a>>>o==0;)o--;return Int32Array.from([r+=o,i])},e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.getRowSize=function(){return this.rowSize},e.prototype.equals=function(t){return t instanceof e&&this.width===t.width&&this.height===t.height&&this.rowSize===t.rowSize&&a.default.equals(this.bits,t.bits)},e.prototype.hashCode=function(){var e=this.width;return 31*(e=31*(e=31*(e=31*e+this.width)+this.height)+this.rowSize)+a.default.hashCode(this.bits)},e.prototype.toString=function(e,t,n){return void 0===e&&(e="X "),void 0===t&&(t=" "),void 0===n&&(n="\n"),this.buildToString(e,t,n)},e.prototype.buildToString=function(e,t,n){for(var i=new o.default,r=0,a=this.height;r>16&255)+(l>>7&510)+(255&l))/4&255}F.luminances=h}else F.luminances=t;if(void 0===r&&(F.dataWidth=n),void 0===a&&(F.dataHeight=i),void 0===o&&(F.left=0),void 0===s&&(F.top=0),F.left+n>F.dataWidth||F.top+i>F.dataHeight)throw new u.default("Crop rectangle does not fit within image data.");return F}return r(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new u.default("Requested row is outside the image: "+e);var n=this.getWidth();return(null==t||t.lengthn||u<-1||u>r)throw new i.default;a=!1,-1===s?(t[o]=0,a=!0):s===n&&(t[o]=n-1,a=!0),-1===u?(t[o+1]=0,a=!0):u===r&&(t[o+1]=r-1,a=!0)}for(a=!0,o=t.length-2;o>=0&&a;o-=2){if(s=Math.floor(t[o]),u=Math.floor(t[o+1]),s<-1||s>n||u<-1||u>r)throw new i.default;a=!1,-1===s?(t[o]=0,a=!0):s===n&&(t[o]=n-1,a=!0),-1===u?(t[o+1]=0,a=!0):u===r&&(t[o+1]=r-1,a=!0)}},e}()},or9r:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("acWS");t.default=function(e){function t(t,n){void 0===t&&(t=void 0),void 0===n&&(n=void 0);var i=e.call(this,n)||this;return i.index=t,i.message=n,i}return r(t,e),t}(a.default)},poFM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.arraycopy=function(e,t,n,i,r){for(;r--;)n[i++]=e[t++]},e.currentTimeMillis=function(){return Date.now()},e}()},qTxx:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("u2rX"),o=n("TlOk"),s=n("1Jy4"),u=n("CrUY"),F=n("5Bsn"),d=n("Pnij"),h=n("7stF"),f=n("wXP5"),l=n("6s9M");t.default=function(e){function t(t){var n=e.call(this)||this;n.readers=[];var i=t?t.get(F.default.POSSIBLE_FORMATS):null,r=t&&void 0!==t.get(F.default.ASSUME_CODE_39_CHECK_DIGIT);return i&&((i.includes(a.default.EAN_13)||i.includes(a.default.EAN_8))&&n.readers.push(new h.default(t)),i.includes(a.default.CODE_39)&&n.readers.push(new o.default(r)),i.includes(a.default.CODE_128)&&n.readers.push(new s.default),i.includes(a.default.ITF)&&n.readers.push(new d.default),i.includes(a.default.RSS_14)&&n.readers.push(new u.default)),0===n.readers.length&&(n.readers.push(new o.default),n.readers.push(new h.default(t)),n.readers.push(new s.default),n.readers.push(new d.default),n.readers.push(new u.default)),n}return r(t,e),t.prototype.decodeRow=function(e,t,n){for(var i=0;i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("vpob"),a=n("F1eN");t.default=function(){function e(e,t){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=t,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return e.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var e,t=r.default.MAX_CODEWORDS_IN_BARCODE;do{e=t,t=this.adjustRowNumbersAndGetCount()}while(t>0&&t0&&a0&&(d[0]=r[n-1],d[4]=u[n-1],d[5]=F[n-1]),n>1&&(d[8]=r[n-2],d[10]=u[n-2],d[11]=F[n-2]),n0;){for(6===u&&(u-=1);F>=0&&F=i;)t^=n<=0)for(var u=0;u!==o;u++){var F=r[u];F>=0&&e.isEmpty(n.get(F,s))&&e.embedPositionAdjustmentPattern(F-2,s-2,n)}}},e.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),e.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}()},quKB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e,t,n){this.pairs=e,this.rowNumber=t,this.wasReversed=n}return e.prototype.getPairs=function(){return this.pairs},e.prototype.getRowNumber=function(){return this.rowNumber},e.prototype.isReversed=function(){return this.wasReversed},e.prototype.isEquivalent=function(e){return this.checkEqualitity(this,e)},e.prototype.toString=function(){return"{ "+this.pairs+" }"},e.prototype.equals=function(t,n){return t instanceof e&&this.checkEqualitity(t,n)&&t.wasReversed===n.wasReversed},e.prototype.checkEqualitity=function(e,t){var n;if(e&&t)return e.forEach((function(e,i){t.forEach((function(t){e.getLeftChar().getValue()===t.getLeftChar().getValue()&&e.getRightChar().getValue()===t.getRightChar().getValue()&&e.getFinderPatter().getValue()===t.getFinderPatter().getValue()&&(n=!0)}))})),n},e}()},r8uX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mtib"),r=n("PnHe"),a=t.ErrorCorrectionLevelValues=function(e){return e[e.L=0]="L",e[e.M=1]="M",e[e.Q=2]="Q",e[e.H=3]="H",e}(t.ErrorCorrectionLevelValues||{});t.default=function(){function e(t,n,i){this.value=t,this.stringValue=n,this.bits=i,e.FOR_BITS.set(i,this),e.FOR_VALUE.set(t,this)}return e.prototype.getValue=function(){return this.value},e.prototype.getBits=function(){return this.bits},e.fromString=function(t){switch(t){case"L":return e.L;case"M":return e.M;case"Q":return e.Q;case"H":return e.H;default:throw new i.default(t+"not available")}},e.prototype.toString=function(){return this.stringValue},e.prototype.equals=function(t){return t instanceof e&&this.value===t.value},e.forBits=function(t){if(t<0||t>=e.FOR_BITS.size)throw new r.default;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(a.L,"L",1),e.M=new e(a.M,"M",0),e.Q=new e(a.Q,"Q",3),e.H=new e(a.H,"H",2),e}()},rBn5:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("mWM0");t.default=function(e){function t(t){void 0===t&&(t=void 0);var n=e.call(this,t)||this;return n.message=t,n}return r(t,e),t}(a.CustomError)},rOTk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("acWS"),r=n("cTRo"),a=function(){function e(){}return e.prototype.writeBytes=function(e){this.writeBytesOffset(e,0,e.length)},e.prototype.writeBytesOffset=function(e,t,n){if(null==e)throw new r.default;if(t<0||t>e.length||n<0||t+n>e.length||t+n<0)throw new i.default;if(0!==n)for(var a=0;a=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("u2rX"),a=n("aLHR"),o=n("hkAl"),s=n("wXP5"),u=n("bJYy"),F=n("vpob"),d=n("7RB1"),h=n("snnL"),f=n("xhaO"),l=n("brUz");t.default=function(){function e(){}return e.prototype.decode=function(t,n){void 0===n&&(n=null);var i=e.decode(t,n,!1);if(null==i||0===i.length||null==i[0])throw s.default.getNotFoundInstance();return i[0]},e.prototype.decodeMultiple=function(t,n){void 0===n&&(n=null);try{return e.decode(t,n,!0)}catch(i){if(i instanceof o.default||i instanceof a.default)throw s.default.getNotFoundInstance();throw i}},e.decode=function(t,n,a){var o,s,F=new Array,d=f.default.detectMultiple(t,n,a);try{for(var c=i(d.getPoints()),m=c.next();!m.done;m=c.next()){var g=m.value,p=l.default.decode(d.getBits(),g[4],g[5],g[6],g[7],e.getMinCodewordWidth(g),e.getMaxCodewordWidth(g)),w=new u.default(p.getText(),p.getRawBytes(),void 0,g,r.default.PDF_417);w.putMetadata(h.default.ERROR_CORRECTION_LEVEL,p.getECLevel());var y=p.getOther();null!=y&&w.putMetadata(h.default.PDF417_EXTRA_METADATA,y),F.push(w)}}catch(E){o={error:E}}finally{try{m&&!m.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}return F.map((function(e){return e}))},e.getMaxWidth=function(e,t){return null==e||null==t?0:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMinWidth=function(e,t){return null==e||null==t?d.default.MAX_VALUE:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMaxCodewordWidth=function(t){return Math.floor(Math.max(Math.max(e.getMaxWidth(t[0],t[4]),e.getMaxWidth(t[6],t[2])*F.default.MODULES_IN_CODEWORD/F.default.MODULES_IN_STOP_PATTERN),Math.max(e.getMaxWidth(t[1],t[5]),e.getMaxWidth(t[7],t[3])*F.default.MODULES_IN_CODEWORD/F.default.MODULES_IN_STOP_PATTERN)))},e.getMinCodewordWidth=function(t){return Math.floor(Math.min(Math.min(e.getMinWidth(t[0],t[4]),e.getMinWidth(t[6],t[2])*F.default.MODULES_IN_CODEWORD/F.default.MODULES_IN_STOP_PATTERN),Math.min(e.getMinWidth(t[1],t[5]),e.getMinWidth(t[7],t[3])*F.default.MODULES_IN_CODEWORD/F.default.MODULES_IN_STOP_PATTERN)))},e.prototype.reset=function(){},e}()},"uW/q":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("dxA0"),o=n("lbVw");t.default=function(e){function t(t){var n=e.call(this,t)||this;return n.matrix=null,n}return r(t,e),t.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var n=this.getLuminanceSource(),i=n.getWidth(),r=n.getHeight();if(i>=t.MINIMUM_DIMENSION&&r>=t.MINIMUM_DIMENSION){var a=n.getMatrix(),s=i>>t.BLOCK_SIZE_POWER;0!=(i&t.BLOCK_SIZE_MASK)&&s++;var u=r>>t.BLOCK_SIZE_POWER;0!=(r&t.BLOCK_SIZE_MASK)&&u++;var F=t.calculateBlackPoints(a,s,u,i,r),d=new o.default(i,r);t.calculateThresholdForBlock(a,s,u,i,r,F,d),this.matrix=d}else this.matrix=e.prototype.getBlackMatrix.call(this);return this.matrix},t.prototype.createBinarizer=function(e){return new t(e)},t.calculateThresholdForBlock=function(e,n,i,r,a,o,s){for(var u=a-t.BLOCK_SIZE,F=r-t.BLOCK_SIZE,d=0;du&&(h=u);for(var f=t.cap(d,2,i-3),l=0;lF&&(c=F);for(var m=t.cap(l,2,n-3),g=0,p=-2;p<=2;p++){var w=o[f+p];g+=w[m-2]+w[m-1]+w[m]+w[m+1]+w[m+2]}t.thresholdBlock(e,c,h,g/25,r,s)}}},t.cap=function(e,t,n){return en?n:e},t.thresholdBlock=function(e,n,i,r,a,o){for(var s=0,u=i*a+n;so&&(d=o);for(var h=0;hs&&(f=s);for(var l=0,c=255,m=0,g=0,p=d*r+f;gm&&(m=y)}if(m-c>t.MIN_DYNAMIC_RANGE)for(g++,p+=r;g>2*t.BLOCK_SIZE_POWER;if(m-c<=t.MIN_DYNAMIC_RANGE&&(E=c/2,F>0&&h>0)){var D=(u[F-1][h]+2*u[F][h-1]+u[F-1][h-1])/4;c=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("kAtF"),a=n("a66B");t.default=function(){function e(){}return e.prototype.PDF417Common=function(){},e.getBitCountSum=function(e){return a.default.sum(e)},e.toIntArray=function(t){var n,r;if(null==t||!t.length)return e.EMPTY_INT_ARRAY;var a=new Int32Array(t.length),o=0;try{for(var s=i(t),u=s.next();!u.done;u=s.next())a[o++]=u.value}catch(F){n={error:F}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a},e.getCodeword=function(t){var n=r.default.binarySearch(e.SYMBOL_TABLE,262143&t);return n<0?-1:(e.CODEWORD_TABLE[n]-1)%e.NUMBER_OF_CODEWORDS},e.MAX_CODEWORDS_IN_BARCODE=(e.NUMBER_OF_CODEWORDS=929)-1,e.MIN_ROWS_IN_BARCODE=3,e.MAX_ROWS_IN_BARCODE=90,e.MODULES_IN_CODEWORD=17,e.MODULES_IN_STOP_PATTERN=18,e.BARS_IN_MODULE=8,e.EMPTY_INT_ARRAY=new Int32Array([]),e.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),e.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),e}()},vy0s:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("Pmi9"),a=n("wXP5");t.default=function(){function e(e,t,n,i,r,a,o){this.image=e,this.startX=t,this.startY=n,this.width=i,this.height=r,this.moduleSize=a,this.resultPointCallback=o,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return e.prototype.find=function(){for(var e=this.startX,t=this.height,n=e+this.width,i=this.startY+t/2,r=new Int32Array(3),o=this.image,s=0;s=n)return!1;return!0},e.prototype.crossCheckVertical=function(t,n,i,r){var a=this.image,o=a.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var u=t;u>=0&&a.get(n,u)&&s[1]<=i;)s[1]++,u--;if(u<0||s[1]>i)return NaN;for(;u>=0&&!a.get(n,u)&&s[0]<=i;)s[0]++,u--;if(s[0]>i)return NaN;for(u=t+1;ui)return NaN;for(;ui||5*Math.abs(s[0]+s[1]+s[2]-r)>=2*r?NaN:this.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.handlePossibleCenter=function(t,n,a){var o,s,u=t[0]+t[1]+t[2],F=e.centerFromEnd(t,a),d=this.crossCheckVertical(n,F,2*t[1],u);if(!isNaN(d)){var h=(t[0]+t[1]+t[2])/3;try{for(var f=i(this.possibleCenters),l=f.next();!l.done;l=f.next()){var c=l.value;if(c.aboutEquals(h,d,F))return c.combineEstimate(d,F,h)}}catch(g){o={error:g}}finally{try{l&&!l.done&&(s=f.return)&&s.call(f)}finally{if(o)throw o.error}}var m=new r.default(F,d,h);this.possibleCenters.push(m),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(m)}return null},e}()},wO3O:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("1alA"),r=n("KuZJ"),a=n("yKVe"),o=n("OlRx"),s=n("hkAl"),u=n("FQBZ"),F=n("7RB1"),d=function(e){return e[e.UPPER=0]="UPPER",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.DIGIT=3]="DIGIT",e[e.PUNCT=4]="PUNCT",e[e.BINARY=5]="BINARY",e}({});t.default=function(){function e(){}return e.prototype.decode=function(t){this.ddata=t;var n=t.getBits(),r=this.extractBits(n),a=this.correctBits(r),o=e.convertBoolArrayToByteArray(a),s=e.getEncodedData(a),u=new i.default(o,s,null,null);return u.setNumBits(a.length),u},e.highLevelDecode=function(e){return this.getEncodedData(e)},e.getEncodedData=function(t){for(var n=t.length,i=d.UPPER,r=d.UPPER,a="",o=0;o1,m,m+i-1),m+=i-1;else for(var p=i-1;p>=0;--p)c[m++]=0!=(g&1<=8?e.readCode(t,n,8):e.readCode(t,n,i)<<8-i},e.convertBoolArrayToByteArray=function(t){for(var n=new Uint8Array((t.length+7)/8),i=0;i","?","[","]","{","}","CTRL_UL"],e.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],e}()},wXP5:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.getNotFoundInstance=function(){return new t},t}(a.default)},wYZs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e,t){this.dataBytes=e,this.errorCorrectionBytes=t}return e.prototype.getDataBytes=function(){return this.dataBytes},e.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},e}()},wwf5:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.default)},xY9F:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PRO/"),r=n("tupf"),a=n("KZRM"),o=n("Xuyn"),s=n("wXP5");t.default=function(){function e(e){this.image=e,this.rectangleDetector=new o.default(this.image)}return e.prototype.detect=function(){var t=this.rectangleDetector.detect(),n=this.detectSolid1(t);if((n=this.detectSolid2(n))[3]=this.correctTopRight(n),!n[3])throw new s.default;var i=(n=this.shiftToModuleCenter(n))[0],a=n[1],o=n[2],u=n[3],F=this.transitionsBetween(i,u)+1,d=this.transitionsBetween(o,u)+1;1==(1&F)&&(F+=1),1==(1&d)&&(d+=1),4*F<7*d&&4*d<7*F&&(F=d=Math.max(F,d));var h=e.sampleGrid(this.image,i,a,o,u,F,d);return new r.default(h,[i,a,o,u])},e.shiftPoint=function(e,t,n){var r=(t.getX()-e.getX())/(n+1),a=(t.getY()-e.getY())/(n+1);return new i.default(e.getX()+r,e.getY()+a)},e.moveAway=function(e,t,n){var r=e.getX(),a=e.getY();return ro&&(F=o,d[0]=t,d[1]=n,d[2]=i,d[3]=r),F>s&&(F=s,d[0]=n,d[1]=i,d[2]=r,d[3]=t),F>u&&(d[0]=i,d[1]=r,d[2]=t,d[3]=n),d},e.prototype.detectSolid2=function(t){var n=t[0],i=t[1],r=t[2],a=t[3],o=this.transitionsBetween(n,a),s=e.shiftPoint(i,r,4*(o+1)),u=e.shiftPoint(r,i,4*(o+1));return this.transitionsBetween(s,n)this.transitionsBetween(F,f)+this.transitionsBetween(d,f)?h:f:h:this.isValid(f)?f:null},e.prototype.shiftToModuleCenter=function(t){var n=t[0],i=t[1],r=t[2],a=t[3],o=this.transitionsBetween(n,a)+1,s=this.transitionsBetween(r,a)+1,u=e.shiftPoint(n,i,4*s),F=e.shiftPoint(r,i,4*o);1==(1&(o=this.transitionsBetween(u,a)+1))&&(o+=1),1==(1&(s=this.transitionsBetween(F,a)+1))&&(s+=1);var d,h,f=(n.getX()+i.getX()+r.getX()+a.getX())/4,l=(n.getY()+i.getY()+r.getY()+a.getY())/4;return n=e.moveAway(n,f,l),i=e.moveAway(i,f,l),r=e.moveAway(r,f,l),a=e.moveAway(a,f,l),u=e.shiftPoint(n,i,4*s),u=e.shiftPoint(u,a,4*o),d=e.shiftPoint(i,n,4*s),d=e.shiftPoint(d,r,4*o),F=e.shiftPoint(r,a,4*s),F=e.shiftPoint(F,i,4*o),h=e.shiftPoint(a,r,4*s),[u,d,F,h=e.shiftPoint(h,n,4*o)]},e.prototype.isValid=function(e){return e.getX()>=0&&e.getX()0&&e.getY()Math.abs(r-n);if(o){var s=n;n=i,i=s,s=r,r=a,a=s}for(var u=Math.abs(r-n),F=Math.abs(a-i),d=-u/2,h=i0){if(g===a)break;g+=h,d-=u}}return l},e}()},xhaO:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("PRO/"),a=n("poFM"),o=n("kAtF"),s=n("ejzt");t.default=function(){function e(){}return e.detectMultiple=function(t,n,i){var r=t.getBlackMatrix(),a=e.detect(i,r);return a.length||((r=r.clone()).rotate180(),a=e.detect(i,r)),new s.default(r,a)},e.detect=function(t,n){for(var r,a,o=new Array,s=0,u=0,F=!1;s0;){if(null==(c=e.findGuardPattern(t,s,--a,i,!1,u,h))){a++;break}m=c}F[0]=new r.default(m[0],a),F[1]=new r.default(m[1],a),d=!0;break}var f=a+1;if(d){for(var l=0,c=Int32Array.from([Math.trunc(F[0].getX()),Math.trunc(F[1].getX())]);fe.SKIPPED_ROW_COUNT_MAX)break;l++}}F[2]=new r.default(c[0],f-=l+1),F[3]=new r.default(c[1],f)}return f-a0&&h++h?d-h:h-d;if(f>n)return 1/0;u+=f}return u/r},e.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),e.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),e.MAX_AVG_VARIANCE=.42,e.MAX_INDIVIDUAL_VARIANCE=.8,e.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),e.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),e.MAX_PIXEL_DRIFT=3,e.MAX_PATTERN_DRIFT=5,e.SKIPPED_ROW_COUNT_MAX=25,e.ROW_STEP=5,e.BARCODE_MIN_HEIGHT=10,e}()},yKVe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("KuZJ"),r=n("BBG+"),a=n("cohZ"),o=n("OlRx");t.default=function(){function e(e){this.field=e}return e.prototype.decode=function(e,t){for(var n=this.field,o=new r.default(n,e),s=new Int32Array(t),u=!0,F=0;F=(n/2|0);){var h=s,f=F;if(F=d,(s=u).isZero())throw new a.default("r_{i-1} was zero");u=h;for(var l=r.getZero(),c=s.getCoefficient(s.getDegree()),m=r.inverse(c);u.getDegree()>=s.getDegree()&&!u.isZero();){var g=u.getDegree()-s.getDegree(),p=r.multiply(u.getCoefficient(u.getDegree()),m);l=l.addOrSubtract(r.buildMonomial(g,p)),u=u.addOrSubtract(s.multiplyByMonomial(g,p))}if(d=l.multiply(F).addOrSubtract(f),u.getDegree()>=s.getDegree())throw new o.default("Division algorithm failed to reduce polynomial?")}var w=d.getCoefficient(0);if(0===w)throw new a.default("sigmaTilde(0) was zero");var y=r.inverse(w);return[d.multiplyScalar(y),u.multiplyScalar(y)]},e.prototype.findErrorLocations=function(e){var t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);for(var n=new Int32Array(t),i=0,r=this.field,o=1;o>\n"),e.toString()},e.prototype.setMode=function(e){this.mode=e},e.prototype.setECLevel=function(e){this.ecLevel=e},e.prototype.setVersion=function(e){this.version=e},e.prototype.setMaskPattern=function(e){this.maskPattern=e},e.prototype.setMatrix=function(e){this.matrix=e},e.isValidMaskPattern=function(t){return t>=0&&t=0&&(n=e.isRange(o,a,!1))}return i},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var n=e.length;if(0===n)return!1;var i=parseInt(e.charAt(n-1),10);return t.getStandardUPCEANChecksum(e.substring(0,n-1))===i},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,n=0,i=t-1;i>=0;i-=2){if((r=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0))<0||r>9)throw new s.default;n+=r}for(n*=3,i=t-2;i>=0;i-=2){var r;if((r=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0))<0||r>9)throw new s.default;n+=r}return(1e3-n)%10},t.decodeEnd=function(e,n){return t.findGuardPattern(e,n,!1,t.START_END_PATTERN,new Array(t.START_END_PATTERN.length).fill(0))},t.findGuardPattern=function(e,n,i,r,s){for(var u=e.getSize(),F=0,d=n=i?e.getNextUnset(n):e.getNextSet(n),h=r.length,f=i,l=n;l=0)return u;throw new o.default},t.MAX_AVG_VARIANCE=.48,t.MAX_INDIVIDUAL_VARIANCE=.7,t.START_END_PATTERN=[1,1,1],t.MIDDLE_PATTERN=[1,1,1,1,1],t.END_PATTERN=[1,1,1,1,1,1],t.L_PATTERNS=[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],t}(a.default)},zwFz:function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return d}));var i=n("fXoL"),r=n("ofXK");function a(e,t){if(1&e&&i.Ic(0),2&e){const e=i.jc(2);i.Jc(e.unified)}}function o(e,t){if(1&e){const e=i.Zb();i.Yb(0,"button",2),i.fc("click",(function(t){return i.xc(e),i.jc().handleClick(t)}))("mouseenter",(function(t){return i.xc(e),i.jc().handleOver(t)}))("mouseleave",(function(t){return i.xc(e),i.jc().handleLeave(t)})),i.Yb(1,"span",3),i.Gc(2,a,1,1,"ng-template",4),i.nc(3),i.Xb(),i.Xb()}if(2&e){const e=i.jc();i.Kb("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),i.pc("title",e.title),i.Gb("aria-label",e.label),i.Fb(1),i.pc("ngStyle",e.style),i.Fb(1),i.pc("ngIf",e.isNative)}}function s(e,t){if(1&e&&i.Ic(0),2&e){const e=i.jc(2);i.Jc(e.unified)}}function u(e,t){if(1&e){const e=i.Zb();i.Yb(0,"span",5),i.fc("click",(function(t){return i.xc(e),i.jc().handleClick(t)}))("mouseenter",(function(t){return i.xc(e),i.jc().handleOver(t)}))("mouseleave",(function(t){return i.xc(e),i.jc().handleLeave(t)})),i.Yb(1,"span",3),i.Gc(2,s,1,1,"ng-template",4),i.nc(3,1),i.Xb(),i.Xb()}if(2&e){const e=i.jc();i.Kb("emoji-mart-emoji-native",e.isNative)("emoji-mart-emoji-custom",e.custom),i.pc("title",e.title),i.Gb("aria-label",e.label),i.Fb(1),i.pc("ngStyle",e.style),i.Fb(1),i.pc("ngIf",e.isNative)}}const F=["*","*"],d=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1F92B","1F914","1F910","1F928","1F610","1F611","1F636","1F60F","1F612","1F644","1F62C","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F92F","1F920","1F973","1F60E","1F913","1F9D0","1F615","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F649","1F64A","1F44B","1F91A","1F590-FE0F","270B","1F596","1F44C","1F90F","270C-FE0F","1F91E","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F470","1F930","1F931","1F47C","1F385","1F936","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1F463","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F994","1F987","1F43B","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F41F","1F420","1F421","1F988","1F419","1F41A","1F40C","1F98B","1F41B","1F41C","1F41D","1F41E","1F997","1F577-FE0F","1F578-FE0F","1F982","1F99F","1F9A0","1F490","1F338","1F4AE","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1F95D","1F345","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1F330","1F35E","1F950","1F956","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1F959","1F9C6","1F95A","1F373","1F958","1F372","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1F964","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1F9FF","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1F9F6"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","1F4B1","1F4B2","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1F3F9","1F6E1-FE0F","1F527","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1F9F0","1F9F2","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7A","1F6AA","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1F6BF","1F6C1","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1F9FC","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","26B1-FE0F","1F5FF"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","2695-FE0F","267E-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","2716-FE0F","274C","274E","2795","2796","2797","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],h=[{name:"Earth Globe Europe-Africa",unified:"1F30D",keywords:["globe","world","international"],sheet:[5,32],shortName:"earth_africa"},{name:"Grapes",unified:"1F347",keywords:["fruit","food","wine"],sheet:[6,31],shortName:"grapes"},{name:"Jack-O-Lantern",unified:"1F383",keywords:["halloween","light","pumpkin","creepy","fall"],sheet:[7,34],shortName:"jack_o_lantern"},{name:"Chequered Flag",unified:"1F3C1",keywords:["contest","finishline","race","gokart"],sheet:[8,39],shortName:"checkered_flag"},{name:"Automated Teller Machine",unified:"1F3E7",keywords:["money","sales","cash","blue-square","payment","bank"],sheet:[11,1],shortName:"atm"},{name:"Emoji Modifier Fitzpatrick Type-1-2",unified:"1F3FB",sheet:[11,23],shortName:"skin-tone-2"},{name:"Monkey Face",unified:"1F435",emoticons:[":o)"],keywords:["animal","nature","circus"],sheet:[12,25],shortName:"monkey_face"},{name:"Waving Hand Sign",unified:"1F44B",keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],sheet:[13,26],skinVariations:[{unified:"1F44B-1F3FB",sheet:[13,27]},{unified:"1F44B-1F3FC",sheet:[13,28]},{unified:"1F44B-1F3FD",sheet:[13,29]},{unified:"1F44B-1F3FE",sheet:[13,30]},{unified:"1F44B-1F3FF",sheet:[13,31]}],shortName:"wave"},{name:"Eyeglasses",unified:"1F453",keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],sheet:[14,7],shortName:"eyeglasses"},{name:"Grinning Face",unified:"1F600",text:":D",keywords:["face","smile","happy","joy",":D","grin"],sheet:[30,35],shortName:"grinning"},{name:"Earth Globe Americas",unified:"1F30E",keywords:["globe","world","USA","international"],sheet:[5,33],shortName:"earth_americas"},{name:"Melon",unified:"1F348",keywords:["fruit","nature","food"],sheet:[6,32],shortName:"melon"},{name:"Christmas Tree",unified:"1F384",keywords:["festival","vacation","december","xmas","celebration"],sheet:[7,35],shortName:"christmas_tree"},{name:"Emoji Modifier Fitzpatrick Type-3",unified:"1F3FC",sheet:[11,24],shortName:"skin-tone-3"},{name:"Monkey",unified:"1F412",keywords:["animal","nature","banana","circus"],sheet:[11,46],shortName:"monkey"},{name:"Dark Sunglasses",unified:"1F576-FE0F",keywords:["face","cool","accessories"],sheet:[29,33],shortName:"dark_sunglasses"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["face","happy","joy","haha",":D",":)","smile","funny"],sheet:[30,38],shortName:"smiley"},{name:"Triangular Flag on Post",unified:"1F6A9",keywords:["mark","milestone","place"],sheet:[35,0],shortName:"triangular_flag_on_post"},{name:"Put Litter in Its Place Symbol",unified:"1F6AE",keywords:["blue-square","sign","human","info"],sheet:[35,5],shortName:"put_litter_in_its_place"},{name:"Raised Back of Hand",unified:"1F91A",keywords:["fingers","raised","backhand"],sheet:[37,43],skinVariations:[{unified:"1F91A-1F3FB",sheet:[37,44]},{unified:"1F91A-1F3FC",sheet:[37,45]},{unified:"1F91A-1F3FD",sheet:[37,46]},{unified:"1F91A-1F3FE",sheet:[37,47]},{unified:"1F91A-1F3FF",sheet:[37,48]}],shortName:"raised_back_of_hand"},{name:"Earth Globe Asia-Australia",unified:"1F30F",keywords:["globe","world","east","international"],sheet:[5,34],shortName:"earth_asia"},{name:"Watermelon",unified:"1F349",keywords:["fruit","food","picnic","summer"],sheet:[6,33],shortName:"watermelon"},{name:"Fireworks",unified:"1F386",keywords:["photo","festival","carnival","congratulations"],sheet:[7,42],shortName:"fireworks"},{name:"Crossed Flags",unified:"1F38C",keywords:["japanese","nation","country","border"],sheet:[7,48],shortName:"crossed_flags"},{name:"Emoji Modifier Fitzpatrick Type-4",unified:"1F3FD",sheet:[11,25],shortName:"skin-tone-4"},{name:"Raised Hand with Fingers Splayed",unified:"1F590-FE0F",keywords:["hand","fingers","palm"],sheet:[29,48],skinVariations:[{unified:"1F590-1F3FB",sheet:[29,49]},{unified:"1F590-1F3FC",sheet:[29,50]},{unified:"1F590-1F3FD",sheet:[29,51]},{unified:"1F590-1F3FE",sheet:[29,52]},{unified:"1F590-1F3FF",sheet:[29,53]}],shortName:"raised_hand_with_fingers_splayed"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],sheet:[30,39],shortName:"smile"},{name:"Potable Water Symbol",unified:"1F6B0",keywords:["blue-square","liquid","restroom","cleaning","faucet"],sheet:[35,7],shortName:"potable_water"},{name:"Goggles",unified:"1F97D",keywords:["eyes","protection","safety"],sheet:[42,15],shortName:"goggles"},{name:"Gorilla",unified:"1F98D",keywords:["animal","nature","circus"],sheet:[42,31],shortName:"gorilla"},{name:"Globe with Meridians",unified:"1F310",keywords:["earth","international","world","internet","interweb","i18n"],sheet:[5,35],shortName:"globe_with_meridians"},{name:"Tangerine",unified:"1F34A",keywords:["food","fruit","nature","orange"],sheet:[6,34],shortName:"tangerine"},{name:"Firework Sparkler",unified:"1F387",keywords:["stars","night","shine"],sheet:[7,43],shortName:"sparkler"},{name:"Waving Black Flag",unified:"1F3F4",sheet:[11,17],shortName:"waving_black_flag"},{name:"Emoji Modifier Fitzpatrick Type-5",unified:"1F3FE",sheet:[11,26],shortName:"skin-tone-5"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["face","happy","smile","joy","kawaii"],sheet:[30,36],shortName:"grin"},{name:"Lab Coat",unified:"1F97C",sheet:[42,14],shortName:"lab_coat"},{name:"Orangutan",unified:"1F9A7",sheet:[42,55],shortName:"orangutan"},{name:"Wheelchair Symbol",unified:"267F",keywords:["blue-square","disabled","a11y","accessibility"],sheet:[53,40],shortName:"wheelchair"},{name:"Raised Hand",unified:"270B",sheet:[54,49],skinVariations:[{unified:"270B-1F3FB",sheet:[54,50]},{unified:"270B-1F3FC",sheet:[54,51]},{unified:"270B-1F3FD",sheet:[54,52]},{unified:"270B-1F3FE",sheet:[54,53]},{unified:"270B-1F3FF",sheet:[54,54]}],shortNames:["raised_hand"],shortName:"hand"},{name:"Lemon",unified:"1F34B",keywords:["fruit","nature"],sheet:[6,35],shortName:"lemon"},{name:"Waving White Flag",unified:"1F3F3-FE0F",sheet:[11,12],shortName:"waving_white_flag"},{name:"Emoji Modifier Fitzpatrick Type-6",unified:"1F3FF",sheet:[11,27],shortName:"skin-tone-6"},{name:"Dog Face",unified:"1F436",keywords:["animal","friend","nature","woof","puppy","pet","faithful"],sheet:[12,26],shortName:"dog"},{name:"Raised Hand with Part Between Middle and Ring Fingers",unified:"1F596",sheet:[30,3],skinVariations:[{unified:"1F596-1F3FB",sheet:[30,4]},{unified:"1F596-1F3FC",sheet:[30,5]},{unified:"1F596-1F3FD",sheet:[30,6]},{unified:"1F596-1F3FE",sheet:[30,7]},{unified:"1F596-1F3FF",sheet:[30,8]}],shortName:"spock-hand"},{name:"World Map",unified:"1F5FA-FE0F",keywords:["location","direction"],sheet:[30,29],shortName:"world_map"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[30,41],shortNames:["satisfied"],shortName:"laughing"},{name:"Mens Symbol",unified:"1F6B9",keywords:["toilet","restroom","wc","blue-square","gender","male"],sheet:[36,10],shortName:"mens"},{name:"Safety Vest",unified:"1F9BA",sheet:[43,54],shortName:"safety_vest"},{name:"Firecracker",unified:"1F9E8",keywords:["dynamite","boom","explode","explosion","explosive"],sheet:[51,27],shortName:"firecracker"},{name:"Banana",unified:"1F34C",keywords:["fruit","food","monkey"],sheet:[6,36],shortName:"banana"},{name:"Rainbow Flag",unified:"1F3F3-FE0F-200D-1F308",sheet:[11,11],shortName:"rainbow-flag"},{name:"Dog",unified:"1F415",keywords:["animal","nature","friend","doge","pet","faithful"],sheet:[11,50],shortName:"dog2"},{name:"Ok Hand Sign",unified:"1F44C",keywords:["fingers","limbs","perfect","ok","okay"],sheet:[13,32],skinVariations:[{unified:"1F44C-1F3FB",sheet:[13,33]},{unified:"1F44C-1F3FC",sheet:[13,34]},{unified:"1F44C-1F3FD",sheet:[13,35]},{unified:"1F44C-1F3FE",sheet:[13,36]},{unified:"1F44C-1F3FF",sheet:[13,37]}],shortName:"ok_hand"},{name:"Necktie",unified:"1F454",keywords:["shirt","suitup","formal","fashion","cloth","business"],sheet:[14,8],shortName:"necktie"},{name:"Silhouette of Japan",unified:"1F5FE",keywords:["nation","country","japanese","asia"],sheet:[30,33],shortName:"japan"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["face","hot","happy","laugh","sweat","smile","relief"],sheet:[30,40],shortName:"sweat_smile"},{name:"Womens Symbol",unified:"1F6BA",keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],sheet:[36,11],shortName:"womens"},{name:"Sparkles",unified:"2728",keywords:["stars","shine","shiny","cool","awesome","good","magic"],sheet:[55,16],shortName:"sparkles"},{name:"Pineapple",unified:"1F34D",keywords:["fruit","nature","food"],sheet:[6,37],shortName:"pineapple"},{name:"Balloon",unified:"1F388",keywords:["party","celebration","birthday","circus"],sheet:[7,44],shortName:"balloon"},{name:"Pirate Flag",unified:"1F3F4-200D-2620-FE0F",keywords:["skull","crossbones","flag","banner"],sheet:[11,13],shortName:"pirate_flag"},{name:"T-Shirt",unified:"1F455",sheet:[14,9],shortNames:["tshirt"],shortName:"shirt"},{name:"Restroom",unified:"1F6BB",keywords:["blue-square","toilet","refresh","wc","gender"],sheet:[36,12],shortName:"restroom"},{name:"Pinching Hand",unified:"1F90F",sheet:[37,17],skinVariations:[{unified:"1F90F-1F3FB",sheet:[37,18]},{unified:"1F90F-1F3FC",sheet:[37,19]},{unified:"1F90F-1F3FD",sheet:[37,20]},{unified:"1F90F-1F3FE",sheet:[37,21]},{unified:"1F90F-1F3FF",sheet:[37,22]}],shortName:"pinching_hand"},{name:"Rolling on the Floor Laughing",unified:"1F923",sheet:[38,20],shortName:"rolling_on_the_floor_laughing"},{name:"Guide Dog",unified:"1F9AE",sheet:[43,2],shortName:"guide_dog"},{name:"Compass",unified:"1F9ED",keywords:["magnetic","navigation","orienteering"],sheet:[51,32],shortName:"compass"},{name:"Ascension Island Flag",unified:"1F1E6-1F1E8",sheet:[0,31],shortName:"flag-ac"},{name:"Party Popper",unified:"1F389",keywords:["party","congratulations","birthday","magic","circus","celebration"],sheet:[7,45],shortName:"tada"},{name:"Snow Capped Mountain",unified:"1F3D4-FE0F",sheet:[10,39],shortName:"snow_capped_mountain"},{name:"Service Dog",unified:"1F415-200D-1F9BA",sheet:[11,49],shortName:"service_dog"},{name:"Jeans",unified:"1F456",keywords:["fashion","shopping"],sheet:[14,10],shortName:"jeans"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face","cry","tears","weep","happy","happytears","haha"],sheet:[30,37],shortName:"joy"},{name:"Baby Symbol",unified:"1F6BC",keywords:["orange-square","child"],sheet:[36,13],shortName:"baby_symbol"},{name:"Mango",unified:"1F96D",keywords:["fruit","food","tropical"],sheet:[42,3],shortName:"mango"},{name:"Victory Hand",unified:"270C-FE0F",keywords:["fingers","ohyeah","hand","peace","victory","two"],sheet:[54,55],skinVariations:[{unified:"270C-1F3FB",sheet:[54,56]},{unified:"270C-1F3FC",sheet:[55,0]},{unified:"270C-1F3FD",sheet:[55,1]},{unified:"270C-1F3FE",sheet:[55,2]},{unified:"270C-1F3FF",sheet:[55,3]}],shortName:"v"},{name:"Andorra Flag",unified:"1F1E6-1F1E9",sheet:[0,32],shortName:"flag-ad"},{name:"Red Apple",unified:"1F34E",keywords:["fruit","mac","school"],sheet:[6,38],shortName:"apple"},{name:"Confetti Ball",unified:"1F38A",keywords:["festival","party","birthday","circus"],sheet:[7,46],shortName:"confetti_ball"},{name:"Poodle",unified:"1F429",keywords:["dog","animal","101","nature","pet"],sheet:[12,13],shortName:"poodle"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["face","smile"],sheet:[31,44],shortName:"slightly_smiling_face"},{name:"Water Closet",unified:"1F6BE",keywords:["toilet","restroom","blue-square"],sheet:[36,15],shortName:"wc"},{name:"Hand with Index and Middle Fingers Crossed",unified:"1F91E",keywords:["good","lucky"],sheet:[38,5],skinVariations:[{unified:"1F91E-1F3FB",sheet:[38,6]},{unified:"1F91E-1F3FC",sheet:[38,7]},{unified:"1F91E-1F3FD",sheet:[38,8]},{unified:"1F91E-1F3FE",sheet:[38,9]},{unified:"1F91E-1F3FF",sheet:[38,10]}],shortNames:["hand_with_index_and_middle_fingers_crossed"],shortName:"crossed_fingers"},{name:"Scarf",unified:"1F9E3",keywords:["neck","winter","clothes"],sheet:[51,22],shortName:"scarf"},{name:"Mountain",unified:"26F0-FE0F",keywords:["photo","nature","environment"],sheet:[54,11],shortName:"mountain"},{name:"United Arab Emirates Flag",unified:"1F1E6-1F1EA",sheet:[0,33],shortName:"flag-ae"},{name:"Volcano",unified:"1F30B",keywords:["photo","nature","disaster"],sheet:[5,30],shortName:"volcano"},{name:"Green Apple",unified:"1F34F",keywords:["fruit","nature"],sheet:[6,39],shortName:"green_apple"},{name:"Tanabata Tree",unified:"1F38B",keywords:["plant","nature","branch","summer"],sheet:[7,47],shortName:"tanabata_tree"},{name:"Wolf Face",unified:"1F43A",keywords:["animal","nature","wild"],sheet:[12,30],shortName:"wolf"},{name:"Upside-Down Face",unified:"1F643",keywords:["face","flipped","silly","smile"],sheet:[31,45],shortName:"upside_down_face"},{name:"Passport Control",unified:"1F6C2",keywords:["custom","blue-square"],sheet:[36,24],shortName:"passport_control"},{name:"I Love You Hand Sign",unified:"1F91F",sheet:[38,11],skinVariations:[{unified:"1F91F-1F3FB",sheet:[38,12]},{unified:"1F91F-1F3FC",sheet:[38,13]},{unified:"1F91F-1F3FD",sheet:[38,14]},{unified:"1F91F-1F3FE",sheet:[38,15]},{unified:"1F91F-1F3FF",sheet:[38,16]}],shortName:"i_love_you_hand_sign"},{name:"Gloves",unified:"1F9E4",keywords:["hands","winter","clothes"],sheet:[51,23],shortName:"gloves"},{name:"Afghanistan Flag",unified:"1F1E6-1F1EB",sheet:[0,34],shortName:"flag-af"},{name:"Pear",unified:"1F350",keywords:["fruit","nature","food"],sheet:[6,40],shortName:"pear"},{name:"Pine Decoration",unified:"1F38D",keywords:["plant","nature","vegetable","panda","pine_decoration"],sheet:[7,49],shortName:"bamboo"},{name:"Mount Fuji",unified:"1F5FB",keywords:["photo","mountain","nature","japanese"],sheet:[30,30],shortName:"mount_fuji"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["face","happy","mischievous","secret",";)","smile","eye"],sheet:[30,44],shortName:"wink"},{name:"Customs",unified:"1F6C3",keywords:["passport","border","blue-square"],sheet:[36,25],shortName:"customs"},{name:"Sign of the Horns",unified:"1F918",sheet:[37,31],skinVariations:[{unified:"1F918-1F3FB",sheet:[37,32]},{unified:"1F918-1F3FC",sheet:[37,33]},{unified:"1F918-1F3FD",sheet:[37,34]},{unified:"1F918-1F3FE",sheet:[37,35]},{unified:"1F918-1F3FF",sheet:[37,36]}],shortNames:["sign_of_the_horns"],shortName:"the_horns"},{name:"Fox Face",unified:"1F98A",keywords:["animal","nature","face"],sheet:[42,28],shortName:"fox_face"},{name:"Coat",unified:"1F9E5",keywords:["jacket"],sheet:[51,24],shortName:"coat"},{name:"Antigua & Barbuda Flag",unified:"1F1E6-1F1EC",sheet:[0,35],shortName:"flag-ag"},{name:"Peach",unified:"1F351",keywords:["fruit","nature","food"],sheet:[6,41],shortName:"peach"},{name:"Japanese Dolls",unified:"1F38E",keywords:["japanese","toy","kimono"],sheet:[7,50],shortName:"dolls"},{name:"Camping",unified:"1F3D5-FE0F",keywords:["photo","outdoors","tent"],sheet:[10,40],shortName:"camping"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[30,45],shortName:"blush"},{name:"Baggage Claim",unified:"1F6C4",keywords:["blue-square","airport","transport"],sheet:[36,26],shortName:"baggage_claim"},{name:"Call Me Hand",unified:"1F919",keywords:["hands","gesture"],sheet:[37,37],skinVariations:[{unified:"1F919-1F3FB",sheet:[37,38]},{unified:"1F919-1F3FC",sheet:[37,39]},{unified:"1F919-1F3FD",sheet:[37,40]},{unified:"1F919-1F3FE",sheet:[37,41]},{unified:"1F919-1F3FF",sheet:[37,42]}],shortName:"call_me_hand"},{name:"Raccoon",unified:"1F99D",keywords:["animal","nature"],sheet:[42,47],shortName:"raccoon"},{name:"Socks",unified:"1F9E6",keywords:["stockings","clothes"],sheet:[51,25],shortName:"socks"},{name:"Anguilla Flag",unified:"1F1E6-1F1EE",sheet:[0,36],shortName:"flag-ai"},{name:"Cherries",unified:"1F352",keywords:["food","fruit"],sheet:[6,42],shortName:"cherries"},{name:"Carp Streamer",unified:"1F38F",keywords:["fish","japanese","koinobori","carp","banner"],sheet:[7,51],shortName:"flags"},{name:"Beach with Umbrella",unified:"1F3D6-FE0F",sheet:[10,41],shortName:"beach_with_umbrella"},{name:"Cat Face",unified:"1F431",keywords:["animal","meow","nature","pet","kitten"],sheet:[12,21],shortName:"cat"},{name:"White Left Pointing Backhand Index",unified:"1F448",keywords:["direction","fingers","hand","left"],sheet:[13,8],skinVariations:[{unified:"1F448-1F3FB",sheet:[13,9]},{unified:"1F448-1F3FC",sheet:[13,10]},{unified:"1F448-1F3FD",sheet:[13,11]},{unified:"1F448-1F3FE",sheet:[13,12]},{unified:"1F448-1F3FF",sheet:[13,13]}],shortName:"point_left"},{name:"Dress",unified:"1F457",keywords:["clothes","fashion","shopping"],sheet:[14,11],shortName:"dress"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["face","angel","heaven","halo"],sheet:[30,42],shortName:"innocent"},{name:"Left Luggage",unified:"1F6C5",keywords:["blue-square","travel"],sheet:[36,27],shortName:"left_luggage"},{name:"Albania Flag",unified:"1F1E6-1F1F1",sheet:[0,37],shortName:"flag-al"},{name:"Strawberry",unified:"1F353",keywords:["fruit","food","nature"],sheet:[6,43],shortName:"strawberry"},{name:"Wind Chime",unified:"1F390",keywords:["nature","ding","spring","bell"],sheet:[7,52],shortName:"wind_chime"},{name:"Desert",unified:"1F3DC-FE0F",keywords:["photo","warm","saharah"],sheet:[10,47],shortName:"desert"},{name:"Cat",unified:"1F408",keywords:["animal","meow","pet","cats"],sheet:[11,36],shortName:"cat2"},{name:"White Right Pointing Backhand Index",unified:"1F449",keywords:["fingers","hand","direction","right"],sheet:[13,14],skinVariations:[{unified:"1F449-1F3FB",sheet:[13,15]},{unified:"1F449-1F3FC",sheet:[13,16]},{unified:"1F449-1F3FD",sheet:[13,17]},{unified:"1F449-1F3FE",sheet:[13,18]},{unified:"1F449-1F3FF",sheet:[13,19]}],shortName:"point_right"},{name:"Kimono",unified:"1F458",keywords:["dress","fashion","women","female","japanese"],sheet:[14,12],shortName:"kimono"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",sheet:[42,6],shortName:"smiling_face_with_3_hearts"},{name:"Warning Sign",unified:"26A0-FE0F",keywords:["exclamation","wip","alert","error","problem","issue"],sheet:[53,50],shortName:"warning"},{name:"Armenia Flag",unified:"1F1E6-1F1F2",sheet:[0,38],shortName:"flag-am"},{name:"Moon Viewing Ceremony",unified:"1F391",keywords:["photo","japan","asia","tsukimi"],sheet:[7,53],shortName:"rice_scene"},{name:"Desert Island",unified:"1F3DD-FE0F",keywords:["photo","tropical","mojito"],sheet:[10,48],shortName:"desert_island"},{name:"White Up Pointing Backhand Index",unified:"1F446",keywords:["fingers","hand","direction","up"],sheet:[12,53],skinVariations:[{unified:"1F446-1F3FB",sheet:[12,54]},{unified:"1F446-1F3FC",sheet:[12,55]},{unified:"1F446-1F3FD",sheet:[12,56]},{unified:"1F446-1F3FE",sheet:[13,0]},{unified:"1F446-1F3FF",sheet:[13,1]}],shortName:"point_up_2"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[30,48],shortName:"heart_eyes"},{name:"Children Crossing",unified:"1F6B8",keywords:["school","warning","danger","sign","driving","yellow-diamond"],sheet:[36,9],shortName:"children_crossing"},{name:"Kiwifruit",unified:"1F95D",sheet:[41,44],shortName:"kiwifruit"},{name:"Sari",unified:"1F97B",sheet:[42,13],shortName:"sari"},{name:"Lion Face",unified:"1F981",sheet:[42,19],shortName:"lion_face"},{name:"Angola Flag",unified:"1F1E6-1F1F4",sheet:[0,39],shortName:"flag-ao"},{name:"Tomato",unified:"1F345",keywords:["fruit","vegetable","nature","food"],sheet:[6,29],shortName:"tomato"},{name:"National Park",unified:"1F3DE-FE0F",keywords:["photo","environment","nature"],sheet:[10,49],shortName:"national_park"},{name:"Tiger Face",unified:"1F42F",keywords:["animal","cat","danger","wild","nature","roar"],sheet:[12,19],shortName:"tiger"},{name:"Reversed Hand with Middle Finger Extended",unified:"1F595",sheet:[29,54],skinVariations:[{unified:"1F595-1F3FB",sheet:[29,55]},{unified:"1F595-1F3FC",sheet:[29,56]},{unified:"1F595-1F3FD",sheet:[30,0]},{unified:"1F595-1F3FE",sheet:[30,1]},{unified:"1F595-1F3FF",sheet:[30,2]}],shortNames:["reversed_hand_with_middle_finger_extended"],shortName:"middle_finger"},{name:"Grinning Face with Star Eyes",unified:"1F929",sheet:[38,43],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Red Gift Envelope",unified:"1F9E7",keywords:["gift"],sheet:[51,26],shortName:"red_envelope"},{name:"One-Piece Swimsuit",unified:"1FA71",sheet:[51,52],shortName:"one-piece_swimsuit"},{name:"No Entry",unified:"26D4",keywords:["limit","security","privacy","bad","denied","stop","circle"],sheet:[54,8],shortName:"no_entry"},{name:"Antarctica Flag",unified:"1F1E6-1F1F6",sheet:[0,40],shortName:"flag-aq"},{name:"Ribbon",unified:"1F380",keywords:["decoration","pink","girl","bowtie"],sheet:[7,31],shortName:"ribbon"},{name:"Stadium",unified:"1F3DF-FE0F",keywords:["photo","place","sports","concert","venue"],sheet:[10,50],shortName:"stadium"},{name:"Tiger",unified:"1F405",keywords:["animal","nature","roar"],sheet:[11,33],shortName:"tiger2"},{name:"White Down Pointing Backhand Index",unified:"1F447",keywords:["fingers","hand","direction","down"],sheet:[13,2],skinVariations:[{unified:"1F447-1F3FB",sheet:[13,3]},{unified:"1F447-1F3FC",sheet:[13,4]},{unified:"1F447-1F3FD",sheet:[13,5]},{unified:"1F447-1F3FE",sheet:[13,6]},{unified:"1F447-1F3FF",sheet:[13,7]}],shortName:"point_down"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,2],shortName:"kissing_heart"},{name:"No Entry Sign",unified:"1F6AB",keywords:["forbid","stop","limit","denied","disallow","circle"],sheet:[35,2],shortName:"no_entry_sign"},{name:"Coconut",unified:"1F965",keywords:["fruit","nature","food","palm"],sheet:[41,52],shortName:"coconut"},{name:"Briefs",unified:"1FA72",sheet:[51,53],shortName:"briefs"},{name:"Argentina Flag",unified:"1F1E6-1F1F7",sheet:[0,41],shortName:"flag-ar"},{name:"Wrapped Present",unified:"1F381",keywords:["present","birthday","christmas","xmas"],sheet:[7,32],shortName:"gift"},{name:"Classical Building",unified:"1F3DB-FE0F",keywords:["art","culture","history"],sheet:[10,46],shortName:"classical_building"},{name:"Leopard",unified:"1F406",keywords:["animal","nature"],sheet:[11,34],shortName:"leopard"},{name:"Kissing Face",unified:"1F617",keywords:["love","like","face","3","valentines","infatuation","kiss"],sheet:[31,1],shortName:"kissing"},{name:"No Bicycles",unified:"1F6B3",keywords:["cyclist","prohibited","circle"],sheet:[35,10],shortName:"no_bicycles"},{name:"Avocado",unified:"1F951",keywords:["fruit","food"],sheet:[41,32],shortName:"avocado"},{name:"Shorts",unified:"1FA73",sheet:[51,54],shortName:"shorts"},{name:"White Up Pointing Index",unified:"261D-FE0F",keywords:["hand","fingers","direction","up"],sheet:[53,2],skinVariations:[{unified:"261D-1F3FB",sheet:[53,3]},{unified:"261D-1F3FC",sheet:[53,4]},{unified:"261D-1F3FD",sheet:[53,5]},{unified:"261D-1F3FE",sheet:[53,6]},{unified:"261D-1F3FF",sheet:[53,7]}],shortName:"point_up"},{name:"American Samoa Flag",unified:"1F1E6-1F1F8",sheet:[0,42],shortName:"flag-as"},{name:"Aubergine",unified:"1F346",keywords:["vegetable","nature","food","aubergine"],sheet:[6,30],shortName:"eggplant"},{name:"Reminder Ribbon",unified:"1F397-FE0F",keywords:["sports","cause","support","awareness"],sheet:[8,0],shortName:"reminder_ribbon"},{name:"Building Construction",unified:"1F3D7-FE0F",keywords:["wip","working","progress"],sheet:[10,42],shortName:"building_construction"},{name:"Horse Face",unified:"1F434",keywords:["animal","brown","nature"],sheet:[12,24],shortName:"horse"},{name:"Thumbs Up Sign",unified:"1F44D",keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],sheet:[13,38],skinVariations:[{unified:"1F44D-1F3FB",sheet:[13,39]},{unified:"1F44D-1F3FC",sheet:[13,40]},{unified:"1F44D-1F3FD",sheet:[13,41]},{unified:"1F44D-1F3FE",sheet:[13,42]},{unified:"1F44D-1F3FF",sheet:[13,43]}],shortNames:["thumbsup"],shortName:"+1"},{name:"Bikini",unified:"1F459",keywords:["swimming","female","woman","girl","fashion","beach","summer"],sheet:[14,13],shortName:"bikini"},{name:"No Smoking Symbol",unified:"1F6AD",keywords:["cigarette","blue-square","smell","smoke"],sheet:[35,4],shortName:"no_smoking"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["face","blush","massage","happiness"],sheet:[53,17],shortName:"relaxed"},{name:"Austria Flag",unified:"1F1E6-1F1F9",sheet:[0,43],shortName:"flag-at"},{name:"Admission Tickets",unified:"1F39F-FE0F",sheet:[8,5],shortName:"admission_tickets"},{name:"Horse",unified:"1F40E",keywords:["animal","gamble","luck"],sheet:[11,42],shortName:"racehorse"},{name:"Thumbs Down Sign",unified:"1F44E",keywords:["thumbsdown","no","dislike","hand"],sheet:[13,44],skinVariations:[{unified:"1F44E-1F3FB",sheet:[13,45]},{unified:"1F44E-1F3FC",sheet:[13,46]},{unified:"1F44E-1F3FD",sheet:[13,47]},{unified:"1F44E-1F3FE",sheet:[13,48]},{unified:"1F44E-1F3FF",sheet:[13,49]}],shortNames:["thumbsdown"],shortName:"-1"},{name:"Womans Clothes",unified:"1F45A",keywords:["fashion","shopping_bags","female"],sheet:[14,14],shortName:"womans_clothes"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,4],shortName:"kissing_closed_eyes"},{name:"Do Not Litter Symbol",unified:"1F6AF",keywords:["trash","bin","garbage","circle"],sheet:[35,6],shortName:"do_not_litter"},{name:"Potato",unified:"1F954",keywords:["food","tuber","vegatable","starch"],sheet:[41,35],shortName:"potato"},{name:"Brick",unified:"1F9F1",sheet:[51,36],shortName:"bricks"},{name:"Australia Flag",unified:"1F1E6-1F1FA",sheet:[0,44],shortName:"flag-au"},{name:"Ticket",unified:"1F3AB",keywords:["event","concert","pass"],sheet:[8,17],shortName:"ticket"},{name:"House Buildings",unified:"1F3D8-FE0F",sheet:[10,43],shortName:"house_buildings"},{name:"Purse",unified:"1F45B",keywords:["fashion","accessories","money","sales","shopping"],sheet:[14,15],shortName:"purse"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["face","affection","valentines","infatuation","kiss"],sheet:[31,3],shortName:"kissing_smiling_eyes"},{name:"Non-Potable Water Symbol",unified:"1F6B1",keywords:["drink","faucet","tap","circle"],sheet:[35,8],shortName:"non-potable_water"},{name:"Carrot",unified:"1F955",keywords:["vegetable","food","orange"],sheet:[41,36],shortName:"carrot"},{name:"Unicorn Face",unified:"1F984",sheet:[42,22],shortName:"unicorn_face"},{name:"Raised Fist",unified:"270A",keywords:["fingers","hand","grasp"],sheet:[54,43],skinVariations:[{unified:"270A-1F3FB",sheet:[54,44]},{unified:"270A-1F3FC",sheet:[54,45]},{unified:"270A-1F3FD",sheet:[54,46]},{unified:"270A-1F3FE",sheet:[54,47]},{unified:"270A-1F3FF",sheet:[54,48]}],shortName:"fist"},{name:"Aruba Flag",unified:"1F1E6-1F1FC",sheet:[0,45],shortName:"flag-aw"},{name:"Ear of Maize",unified:"1F33D",keywords:["food","vegetable","plant"],sheet:[6,21],shortName:"corn"},{name:"Medal",unified:"1F396-FE0F",sheet:[7,56],shortName:"medal"},{name:"Derelict House Building",unified:"1F3DA-FE0F",sheet:[10,45],shortName:"derelict_house_building"},{name:"Fisted Hand Sign",unified:"1F44A",keywords:["angry","violence","fist","hit","attack","hand"],sheet:[13,20],skinVariations:[{unified:"1F44A-1F3FB",sheet:[13,21]},{unified:"1F44A-1F3FC",sheet:[13,22]},{unified:"1F44A-1F3FD",sheet:[13,23]},{unified:"1F44A-1F3FE",sheet:[13,24]},{unified:"1F44A-1F3FF",sheet:[13,25]}],shortNames:["punch"],shortName:"facepunch"},{name:"Handbag",unified:"1F45C",keywords:["fashion","accessory","accessories","shopping"],sheet:[14,16],shortName:"handbag"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[30,46],shortName:"yum"},{name:"No Pedestrians",unified:"1F6B7",keywords:["rules","crossing","walking","circle"],sheet:[36,8],shortName:"no_pedestrians"},{name:"Zebra Face",unified:"1F993",sheet:[42,37],shortName:"zebra_face"},{name:"\xc5land Islands Flag",unified:"1F1E6-1F1FD",sheet:[0,46],shortName:"flag-ax"},{name:"Hot Pepper",unified:"1F336-FE0F",keywords:["food","spicy","chilli","chili"],sheet:[6,14],shortName:"hot_pepper"},{name:"Trophy",unified:"1F3C6",keywords:["win","award","contest","place","ftw","ceremony"],sheet:[9,26],shortName:"trophy"},{name:"House Building",unified:"1F3E0",keywords:["building","home"],sheet:[10,51],shortName:"house"},{name:"Pouch",unified:"1F45D",keywords:["bag","accessories","shopping"],sheet:[14,17],shortName:"pouch"},{name:"No Mobile Phones",unified:"1F4F5",keywords:["iphone","mute","circle"],sheet:[27,18],shortName:"no_mobile_phones"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face","prank","childish","playful","mischievous","smile","tongue"],sheet:[31,5],shortName:"stuck_out_tongue"},{name:"Left-Facing Fist",unified:"1F91B",sheet:[37,49],skinVariations:[{unified:"1F91B-1F3FB",sheet:[37,50]},{unified:"1F91B-1F3FC",sheet:[37,51]},{unified:"1F91B-1F3FD",sheet:[37,52]},{unified:"1F91B-1F3FE",sheet:[37,53]},{unified:"1F91B-1F3FF",sheet:[37,54]}],shortName:"left-facing_fist"},{name:"Deer",unified:"1F98C",keywords:["animal","nature","horns","venison"],sheet:[42,30],shortName:"deer"},{name:"Azerbaijan Flag",unified:"1F1E6-1F1FF",sheet:[0,47],shortName:"flag-az"},{name:"Sports Medal",unified:"1F3C5",sheet:[9,25],shortName:"sports_medal"},{name:"House with Garden",unified:"1F3E1",keywords:["home","plant","nature"],sheet:[10,52],shortName:"house_with_garden"},{name:"Cow Face",unified:"1F42E",keywords:["beef","ox","animal","nature","moo","milk"],sheet:[12,18],shortName:"cow"},{name:"No One Under Eighteen Symbol",unified:"1F51E",keywords:["18","drink","pub","night","minor","circle"],sheet:[28,1],shortName:"underage"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[31,6],shortName:"stuck_out_tongue_winking_eye"},{name:"Shopping Bags",unified:"1F6CD-FE0F",sheet:[36,35],shortName:"shopping_bags"},{name:"Right-Facing Fist",unified:"1F91C",sheet:[37,55],skinVariations:[{unified:"1F91C-1F3FB",sheet:[37,56]},{unified:"1F91C-1F3FC",sheet:[38,0]},{unified:"1F91C-1F3FD",sheet:[38,1]},{unified:"1F91C-1F3FE",sheet:[38,2]},{unified:"1F91C-1F3FF",sheet:[38,3]}],shortName:"right-facing_fist"},{name:"Cucumber",unified:"1F952",keywords:["fruit","food","pickle"],sheet:[41,33],shortName:"cucumber"},{name:"Bosnia & Herzegovina Flag",unified:"1F1E7-1F1E6",sheet:[0,48],shortName:"flag-ba"},{name:"School Satchel",unified:"1F392",keywords:["student","education","bag","backpack"],sheet:[7,54],shortName:"school_satchel"},{name:"Office Building",unified:"1F3E2",keywords:["building","bureau","work"],sheet:[10,53],shortName:"office"},{name:"Ox",unified:"1F402",keywords:["animal","cow","beef"],sheet:[11,30],shortName:"ox"},{name:"Clapping Hands Sign",unified:"1F44F",keywords:["hands","praise","applause","congrats","yay"],sheet:[13,50],skinVariations:[{unified:"1F44F-1F3FB",sheet:[13,51]},{unified:"1F44F-1F3FC",sheet:[13,52]},{unified:"1F44F-1F3FD",sheet:[13,53]},{unified:"1F44F-1F3FE",sheet:[13,54]},{unified:"1F44F-1F3FF",sheet:[13,55]}],shortName:"clap"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",sheet:[38,44],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"First Place Medal",unified:"1F947",sheet:[41,22],shortName:"first_place_medal"},{name:"Leafy Green",unified:"1F96C",sheet:[42,2],shortName:"leafy_green"},{name:"Radioactive Sign",unified:"2622-FE0F",sheet:[53,9],shortName:"radioactive_sign"},{name:"Barbados Flag",unified:"1F1E7-1F1E7",sheet:[0,49],shortName:"flag-bb"},{name:"Japanese Post Office",unified:"1F3E3",keywords:["building","envelope","communication"],sheet:[10,54],shortName:"post_office"},{name:"Water Buffalo",unified:"1F403",keywords:["animal","nature","ox","cow"],sheet:[11,31],shortName:"water_buffalo"},{name:"Mans Shoe",unified:"1F45E",keywords:["fashion","male"],sheet:[14,18],shortNames:["shoe"],shortName:"mans_shoe"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["face","prank","playful","mischievous","smile","tongue"],sheet:[31,7],shortName:"stuck_out_tongue_closed_eyes"},{name:"Person Raising Both Hands in Celebration",unified:"1F64C",keywords:["gesture","hooray","yea","celebration","hands"],sheet:[33,8],skinVariations:[{unified:"1F64C-1F3FB",sheet:[33,9]},{unified:"1F64C-1F3FC",sheet:[33,10]},{unified:"1F64C-1F3FD",sheet:[33,11]},{unified:"1F64C-1F3FE",sheet:[33,12]},{unified:"1F64C-1F3FF",sheet:[33,13]}],shortName:"raised_hands"},{name:"Second Place Medal",unified:"1F948",sheet:[41,23],shortName:"second_place_medal"},{name:"Broccoli",unified:"1F966",keywords:["fruit","food","vegetable"],sheet:[41,53],shortName:"broccoli"},{name:"Biohazard Sign",unified:"2623-FE0F",sheet:[53,10],shortName:"biohazard_sign"},{name:"Bangladesh Flag",unified:"1F1E7-1F1E9",sheet:[0,50],shortName:"flag-bd"},{name:"European Post Office",unified:"1F3E4",keywords:["building","email"],sheet:[10,55],shortName:"european_post_office"},{name:"Cow",unified:"1F404",keywords:["beef","ox","animal","nature","moo","milk"],sheet:[11,32],shortName:"cow2"},{name:"Open Hands Sign",unified:"1F450",keywords:["fingers","butterfly","hands","open"],sheet:[13,56],skinVariations:[{unified:"1F450-1F3FB",sheet:[14,0]},{unified:"1F450-1F3FC",sheet:[14,1]},{unified:"1F450-1F3FD",sheet:[14,2]},{unified:"1F450-1F3FE",sheet:[14,3]},{unified:"1F450-1F3FF",sheet:[14,4]}],shortName:"open_hands"},{name:"Athletic Shoe",unified:"1F45F",keywords:["shoes","sports","sneakers"],sheet:[14,19],shortName:"athletic_shoe"},{name:"Money-Mouth Face",unified:"1F911",keywords:["face","rich","dollar","money"],sheet:[37,24],shortName:"money_mouth_face"},{name:"Third Place Medal",unified:"1F949",sheet:[41,24],shortName:"third_place_medal"},{name:"Garlic",unified:"1F9C4",sheet:[44,12],shortName:"garlic"},{name:"Upwards Black Arrow",unified:"2B06-FE0F",keywords:["blue-square","continue","top","direction"],sheet:[55,38],shortName:"arrow_up"},{name:"Belgium Flag",unified:"1F1E7-1F1EA",sheet:[0,51],shortName:"flag-be"},{name:"Hospital",unified:"1F3E5",keywords:["building","health","surgery","doctor"],sheet:[10,56],shortName:"hospital"},{name:"Pig Face",unified:"1F437",keywords:["animal","oink","nature"],sheet:[12,27],shortName:"pig"},{name:"Hugging Face",unified:"1F917",sheet:[37,30],shortName:"hugging_face"},{name:"Palms Up Together",unified:"1F932",sheet:[39,5],skinVariations:[{unified:"1F932-1F3FB",sheet:[39,6]},{unified:"1F932-1F3FC",sheet:[39,7]},{unified:"1F932-1F3FD",sheet:[39,8]},{unified:"1F932-1F3FE",sheet:[39,9]},{unified:"1F932-1F3FF",sheet:[39,10]}],shortName:"palms_up_together"},{name:"Hiking Boot",unified:"1F97E",keywords:["backpacking","camping","hiking"],sheet:[42,16],shortName:"hiking_boot"},{name:"Onion",unified:"1F9C5",sheet:[44,13],shortName:"onion"},{name:"North East Arrow",unified:"2197-FE0F",keywords:["blue-square","point","direction","diagonal","northeast"],sheet:[52,17],shortName:"arrow_upper_right"},{name:"Soccer Ball",unified:"26BD",keywords:["sports","football"],sheet:[53,56],shortName:"soccer"},{name:"Burkina Faso Flag",unified:"1F1E7-1F1EB",sheet:[0,52],shortName:"flag-bf"},{name:"Mushroom",unified:"1F344",keywords:["plant","vegetable"],sheet:[6,28],shortName:"mushroom"},{name:"Bank",unified:"1F3E6",keywords:["building","money","sales","cash","business","enterprise"],sheet:[11,0],shortName:"bank"},{name:"Pig",unified:"1F416",keywords:["animal","nature"],sheet:[11,51],shortName:"pig2"},{name:"Handshake",unified:"1F91D",keywords:["agreement","shake"],sheet:[38,4],shortName:"handshake"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",sheet:[38,47],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Flat Shoe",unified:"1F97F",sheet:[42,17],shortName:"womans_flat_shoe"},{name:"Baseball",unified:"26BE",keywords:["sports","balls"],sheet:[54,0],shortName:"baseball"},{name:"Black Rightwards Arrow",unified:"27A1-FE0F",keywords:["blue-square","next"],sheet:[55,32],shortName:"arrow_right"},{name:"Bulgaria Flag",unified:"1F1E7-1F1EC",sheet:[0,53],shortName:"flag-bg"},{name:"Hotel",unified:"1F3E8",keywords:["building","accomodation","checkin"],sheet:[11,2],shortName:"hotel"},{name:"Boar",unified:"1F417",keywords:["animal","nature"],sheet:[11,52],shortName:"boar"},{name:"High-Heeled Shoe",unified:"1F460",keywords:["fashion","shoes","female","pumps","stiletto"],sheet:[14,20],shortName:"high_heel"},{name:"Person with Folded Hands",unified:"1F64F",keywords:["please","hope","wish","namaste","highfive"],sheet:[33,50],skinVariations:[{unified:"1F64F-1F3FB",sheet:[33,51]},{unified:"1F64F-1F3FC",sheet:[33,52]},{unified:"1F64F-1F3FD",sheet:[33,53]},{unified:"1F64F-1F3FE",sheet:[33,54]},{unified:"1F64F-1F3FF",sheet:[33,55]}],shortName:"pray"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",sheet:[38,45],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Softball",unified:"1F94E",keywords:["sports","balls"],sheet:[41,29],shortName:"softball"},{name:"Peanuts",unified:"1F95C",keywords:["food","nut"],sheet:[41,43],shortName:"peanuts"},{name:"South East Arrow",unified:"2198-FE0F",keywords:["blue-square","direction","diagonal","southeast"],sheet:[52,18],shortName:"arrow_lower_right"},{name:"Bahrain Flag",unified:"1F1E7-1F1ED",sheet:[0,54],shortName:"flag-bh"},{name:"Chestnut",unified:"1F330",keywords:["food","squirrel"],sheet:[6,8],shortName:"chestnut"},{name:"Basketball and Hoop",unified:"1F3C0",keywords:["sports","balls","NBA"],sheet:[8,38],shortName:"basketball"},{name:"Love Hotel",unified:"1F3E9",keywords:["like","affection","dating"],sheet:[11,3],shortName:"love_hotel"},{name:"Pig Nose",unified:"1F43D",keywords:["animal","oink"],sheet:[12,33],shortName:"pig_nose"},{name:"Womans Sandal",unified:"1F461",keywords:["shoes","fashion","flip flops"],sheet:[14,21],shortName:"sandal"},{name:"Thinking Face",unified:"1F914",sheet:[37,27],shortName:"thinking_face"},{name:"Writing Hand",unified:"270D-FE0F",keywords:["lower_left_ballpoint_pen","stationery","write","compose"],sheet:[55,4],skinVariations:[{unified:"270D-1F3FB",sheet:[55,5]},{unified:"270D-1F3FC",sheet:[55,6]},{unified:"270D-1F3FD",sheet:[55,7]},{unified:"270D-1F3FE",sheet:[55,8]},{unified:"270D-1F3FF",sheet:[55,9]}],shortName:"writing_hand"},{name:"Downwards Black Arrow",unified:"2B07-FE0F",keywords:["blue-square","direction","bottom"],sheet:[55,39],shortName:"arrow_down"},{name:"Burundi Flag",unified:"1F1E7-1F1EE",sheet:[0,55],shortName:"flag-bi"},{name:"Bread",unified:"1F35E",keywords:["food","wheat","breakfast","toast"],sheet:[6,54],shortName:"bread"},{name:"Volleyball",unified:"1F3D0",keywords:["sports","balls"],sheet:[10,35],shortName:"volleyball"},{name:"Convenience Store",unified:"1F3EA",keywords:["building","shopping","groceries"],sheet:[11,4],shortName:"convenience_store"},{name:"Ram",unified:"1F40F",keywords:["animal","sheep","nature"],sheet:[11,43],shortName:"ram"},{name:"Nail Polish",unified:"1F485",keywords:["beauty","manicure","finger","fashion","nail"],sheet:[24,33],skinVariations:[{unified:"1F485-1F3FB",sheet:[24,34]},{unified:"1F485-1F3FC",sheet:[24,35]},{unified:"1F485-1F3FD",sheet:[24,36]},{unified:"1F485-1F3FE",sheet:[24,37]},{unified:"1F485-1F3FF",sheet:[24,38]}],shortName:"nail_care"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["face","sealed","zipper","secret"],sheet:[37,23],shortName:"zipper_mouth_face"},{name:"Ballet Shoes",unified:"1FA70",sheet:[51,51],shortName:"ballet_shoes"},{name:"South West Arrow",unified:"2199-FE0F",keywords:["blue-square","direction","diagonal","southwest"],sheet:[52,19],shortName:"arrow_lower_left"},{name:"Benin Flag",unified:"1F1E7-1F1EF",sheet:[0,56],shortName:"flag-bj"},{name:"American Football",unified:"1F3C8",keywords:["sports","balls","NFL"],sheet:[9,33],shortName:"football"},{name:"School",unified:"1F3EB",keywords:["building","student","education","learn","teach"],sheet:[11,5],shortName:"school"},{name:"Sheep",unified:"1F411",keywords:["animal","nature","wool","shipit"],sheet:[11,45],shortName:"sheep"},{name:"Womans Boots",unified:"1F462",keywords:["shoes","fashion"],sheet:[14,22],shortName:"boot"},{name:"Face with One Eyebrow Raised",unified:"1F928",sheet:[38,42],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Selfie",unified:"1F933",keywords:["camera","phone"],sheet:[39,11],skinVariations:[{unified:"1F933-1F3FB",sheet:[39,12]},{unified:"1F933-1F3FC",sheet:[39,13]},{unified:"1F933-1F3FD",sheet:[39,14]},{unified:"1F933-1F3FE",sheet:[39,15]},{unified:"1F933-1F3FF",sheet:[39,16]}],shortName:"selfie"},{name:"Croissant",unified:"1F950",keywords:["food","bread","french"],sheet:[41,31],shortName:"croissant"},{name:"Leftwards Black Arrow",unified:"2B05-FE0F",keywords:["blue-square","previous","back"],sheet:[55,37],shortName:"arrow_left"},{name:"St. Barth\xe9lemy Flag",unified:"1F1E7-1F1F1",sheet:[1,0],shortName:"flag-bl"},{name:"Rugby Football",unified:"1F3C9",keywords:["sports","team"],sheet:[9,34],shortName:"rugby_football"},{name:"Department Store",unified:"1F3EC",keywords:["building","shopping","mall"],sheet:[11,6],shortName:"department_store"},{name:"Goat",unified:"1F410",keywords:["animal","nature"],sheet:[11,44],shortName:"goat"},{name:"Crown",unified:"1F451",keywords:["king","kod","leader","royalty","lord"],sheet:[14,5],shortName:"crown"},{name:"Flexed Biceps",unified:"1F4AA",keywords:["arm","flex","hand","summer","strong","biceps"],sheet:[25,52],skinVariations:[{unified:"1F4AA-1F3FB",sheet:[25,53]},{unified:"1F4AA-1F3FC",sheet:[25,54]},{unified:"1F4AA-1F3FD",sheet:[25,55]},{unified:"1F4AA-1F3FE",sheet:[25,56]},{unified:"1F4AA-1F3FF",sheet:[26,0]}],shortName:"muscle"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["indifference","meh",":|","neutral"],sheet:[30,51],shortName:"neutral_face"},{name:"Baguette Bread",unified:"1F956",keywords:["food","bread","french"],sheet:[41,37],shortName:"baguette_bread"},{name:"North West Arrow",unified:"2196-FE0F",keywords:["blue-square","point","direction","diagonal","northwest"],sheet:[52,16],shortName:"arrow_upper_left"},{name:"Bermuda Flag",unified:"1F1E7-1F1F2",sheet:[1,1],shortName:"flag-bm"},{name:"Tennis Racquet and Ball",unified:"1F3BE",keywords:["sports","balls","green"],sheet:[8,36],shortName:"tennis"},{name:"Factory",unified:"1F3ED",keywords:["building","industry","pollution","smoke"],sheet:[11,7],shortName:"factory"},{name:"Dromedary Camel",unified:"1F42A",keywords:["animal","hot","desert","hump"],sheet:[12,14],shortName:"dromedary_camel"},{name:"Womans Hat",unified:"1F452",keywords:["fashion","accessories","female","lady","spring"],sheet:[14,6],shortName:"womans_hat"},{name:"Expressionless Face",unified:"1F611",keywords:["face","indifferent","-_-","meh","deadpan"],sheet:[30,52],shortName:"expressionless"},{name:"Pretzel",unified:"1F968",keywords:["food","bread","twisted"],sheet:[41,55],shortName:"pretzel"},{name:"Mechanical Arm",unified:"1F9BE",sheet:[44,6],shortName:"mechanical_arm"},{name:"Up Down Arrow",unified:"2195-FE0F",keywords:["blue-square","direction","way","vertical"],sheet:[52,15],shortName:"arrow_up_down"},{name:"Brunei Flag",unified:"1F1E7-1F1F3",sheet:[1,2],shortName:"flag-bn"},{name:"Top Hat",unified:"1F3A9",keywords:["magic","gentleman","classy","circus"],sheet:[8,15],shortName:"tophat"},{name:"Japanese Castle",unified:"1F3EF",keywords:["photo","building"],sheet:[11,9],shortName:"japanese_castle"},{name:"Bactrian Camel",unified:"1F42B",keywords:["animal","nature","hot","desert","hump"],sheet:[12,15],shortName:"camel"},{name:"Face Without Mouth",unified:"1F636",keywords:["face","hellokitty"],sheet:[31,32],shortName:"no_mouth"},{name:"Flying Disc",unified:"1F94F",keywords:["sports","frisbee","ultimate"],sheet:[41,30],shortName:"flying_disc"},{name:"Bagel",unified:"1F96F",keywords:["food","bread","bakery","schmear"],sheet:[42,5],shortName:"bagel"},{name:"Mechanical Leg",unified:"1F9BF",sheet:[44,7],shortName:"mechanical_leg"},{name:"Left Right Arrow",unified:"2194-FE0F",keywords:["shape","direction","horizontal","sideways"],sheet:[52,14],shortName:"left_right_arrow"},{name:"Bolivia Flag",unified:"1F1E7-1F1F4",sheet:[1,3],shortName:"flag-bo"},{name:"Graduation Cap",unified:"1F393",keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],sheet:[7,55],shortName:"mortar_board"},{name:"Bowling",unified:"1F3B3",keywords:["sports","fun","play"],sheet:[8,25],shortName:"bowling"},{name:"European Castle",unified:"1F3F0",keywords:["building","royalty","history"],sheet:[11,10],shortName:"european_castle"},{name:"Smirking Face",unified:"1F60F",keywords:["face","smile","mean","prank","smug","sarcasm"],sheet:[30,50],shortName:"smirk"},{name:"Pancakes",unified:"1F95E",keywords:["food","breakfast","flapjacks","hotcakes"],sheet:[41,45],shortName:"pancakes"},{name:"Llama",unified:"1F999",keywords:["animal","nature","alpaca"],sheet:[42,43],shortName:"llama"},{name:"Leg",unified:"1F9B5",keywords:["kick","limb"],sheet:[43,5],skinVariations:[{unified:"1F9B5-1F3FB",sheet:[43,6]},{unified:"1F9B5-1F3FC",sheet:[43,7]},{unified:"1F9B5-1F3FD",sheet:[43,8]},{unified:"1F9B5-1F3FE",sheet:[43,9]},{unified:"1F9B5-1F3FF",sheet:[43,10]}],shortName:"leg"},{name:"Leftwards Arrow with Hook",unified:"21A9-FE0F",keywords:["back","return","blue-square","undo","enter"],sheet:[52,20],shortName:"leftwards_arrow_with_hook"},{name:"Caribbean Netherlands Flag",unified:"1F1E7-1F1F6",sheet:[1,4],shortName:"flag-bq"},{name:"Cricket Bat and Ball",unified:"1F3CF",sheet:[10,34],shortName:"cricket_bat_and_ball"},{name:"Wedding",unified:"1F492",keywords:["love","like","affection","couple","marriage","bride","groom"],sheet:[25,28],shortName:"wedding"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[30,53],shortName:"unamused"},{name:"Giraffe Face",unified:"1F992",sheet:[42,36],shortName:"giraffe_face"},{name:"Foot",unified:"1F9B6",keywords:["kick","stomp"],sheet:[43,11],skinVariations:[{unified:"1F9B6-1F3FB",sheet:[43,12]},{unified:"1F9B6-1F3FC",sheet:[43,13]},{unified:"1F9B6-1F3FD",sheet:[43,14]},{unified:"1F9B6-1F3FE",sheet:[43,15]},{unified:"1F9B6-1F3FF",sheet:[43,16]}],shortName:"foot"},{name:"Waffle",unified:"1F9C7",sheet:[44,15],shortName:"waffle"},{name:"Billed Cap",unified:"1F9E2",sheet:[51,21],shortName:"billed_cap"},{name:"Rightwards Arrow with Hook",unified:"21AA-FE0F",keywords:["blue-square","return","rotate","direction"],sheet:[52,21],shortName:"arrow_right_hook"},{name:"Brazil Flag",unified:"1F1E7-1F1F7",sheet:[1,5],shortName:"flag-br"},{name:"Field Hockey Stick and Ball",unified:"1F3D1",sheet:[10,36],shortName:"field_hockey_stick_and_ball"},{name:"Elephant",unified:"1F418",keywords:["animal","nature","nose","th","circus"],sheet:[11,53],shortName:"elephant"},{name:"Ear",unified:"1F442",keywords:["face","hear","sound","listen"],sheet:[12,39],skinVariations:[{unified:"1F442-1F3FB",sheet:[12,40]},{unified:"1F442-1F3FC",sheet:[12,41]},{unified:"1F442-1F3FD",sheet:[12,42]},{unified:"1F442-1F3FE",sheet:[12,43]},{unified:"1F442-1F3FF",sheet:[12,44]}],shortName:"ear"},{name:"Tokyo Tower",unified:"1F5FC",keywords:["photo","japanese"],sheet:[30,31],shortName:"tokyo_tower"},{name:"Face with Rolling Eyes",unified:"1F644",sheet:[31,46],shortName:"face_with_rolling_eyes"},{name:"Cheese Wedge",unified:"1F9C0",sheet:[44,8],shortName:"cheese_wedge"},{name:"Helmet with White Cross",unified:"26D1-FE0F",sheet:[54,6],shortName:"helmet_with_white_cross"},{name:"Arrow Pointing Rightwards Then Curving Upwards",unified:"2934-FE0F",keywords:["blue-square","direction","top"],sheet:[55,35],shortName:"arrow_heading_up"},{name:"Bahamas Flag",unified:"1F1E7-1F1F8",sheet:[1,6],shortName:"flag-bs"},{name:"Meat on Bone",unified:"1F356",keywords:["good","food","drumstick"],sheet:[6,46],shortName:"meat_on_bone"},{name:"Ice Hockey Stick and Puck",unified:"1F3D2",sheet:[10,37],shortName:"ice_hockey_stick_and_puck"},{name:"Prayer Beads",unified:"1F4FF",keywords:["dhikr","religious"],sheet:[27,27],shortName:"prayer_beads"},{name:"Statue of Liberty",unified:"1F5FD",keywords:["american","newyork"],sheet:[30,32],shortName:"statue_of_liberty"},{name:"Grimacing Face",unified:"1F62C",keywords:["face","grimace","teeth"],sheet:[31,22],shortName:"grimacing"},{name:"Rhinoceros",unified:"1F98F",keywords:["animal","nature","horn"],sheet:[42,33],shortName:"rhinoceros"},{name:"Ear with Hearing Aid",unified:"1F9BB",sheet:[43,55],skinVariations:[{unified:"1F9BB-1F3FB",sheet:[43,56]},{unified:"1F9BB-1F3FC",sheet:[44,0]},{unified:"1F9BB-1F3FD",sheet:[44,1]},{unified:"1F9BB-1F3FE",sheet:[44,2]},{unified:"1F9BB-1F3FF",sheet:[44,3]}],shortName:"ear_with_hearing_aid"},{name:"Arrow Pointing Rightwards Then Curving Downwards",unified:"2935-FE0F",keywords:["blue-square","direction","bottom"],sheet:[55,36],shortName:"arrow_heading_down"},{name:"Bhutan Flag",unified:"1F1E7-1F1F9",sheet:[1,7],shortName:"flag-bt"},{name:"Poultry Leg",unified:"1F357",keywords:["food","meat","drumstick","bird","chicken","turkey"],sheet:[6,47],shortName:"poultry_leg"},{name:"Nose",unified:"1F443",keywords:["smell","sniff"],sheet:[12,45],skinVariations:[{unified:"1F443-1F3FB",sheet:[12,46]},{unified:"1F443-1F3FC",sheet:[12,47]},{unified:"1F443-1F3FD",sheet:[12,48]},{unified:"1F443-1F3FE",sheet:[12,49]},{unified:"1F443-1F3FF",sheet:[12,50]}],shortName:"nose"},{name:"Lipstick",unified:"1F484",keywords:["female","girl","fashion","woman"],sheet:[24,32],shortName:"lipstick"},{name:"Clockwise Downwards and Upwards Open Circle Arrows",unified:"1F503",keywords:["sync","cycle","round","repeat"],sheet:[27,31],shortName:"arrows_clockwise"},{name:"Lying Face",unified:"1F925",keywords:["face","lie","pinocchio"],sheet:[38,22],shortName:"lying_face"},{name:"Lacrosse Stick and Ball",unified:"1F94D",keywords:["sports","ball","stick"],sheet:[41,28],shortName:"lacrosse"},{name:"Hippopotamus",unified:"1F99B",keywords:["animal","nature"],sheet:[42,45],shortName:"hippopotamus"},{name:"Church",unified:"26EA",keywords:["building","religion","christ"],sheet:[54,10],shortName:"church"},{name:"Bouvet Island Flag",unified:"1F1E7-1F1FB",sheet:[1,8],shortName:"flag-bv"},{name:"Table Tennis Paddle and Ball",unified:"1F3D3",sheet:[10,38],shortName:"table_tennis_paddle_and_ball"},{name:"Mouse Face",unified:"1F42D",keywords:["animal","nature","cheese_wedge","rodent"],sheet:[12,17],shortName:"mouse"},{name:"Ring",unified:"1F48D",keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],sheet:[25,23],shortName:"ring"},{name:"Anticlockwise Downwards and Upwards Open Circle Arrows",unified:"1F504",keywords:["blue-square","sync","cycle"],sheet:[27,32],shortName:"arrows_counterclockwise"},{name:"Mosque",unified:"1F54C",keywords:["islam","worship","minaret"],sheet:[28,36],shortName:"mosque"},{name:"Relieved Face",unified:"1F60C",keywords:["face","relaxed","phew","massage","happiness"],sheet:[30,47],shortName:"relieved"},{name:"Cut of Meat",unified:"1F969",sheet:[41,56],shortName:"cut_of_meat"},{name:"Brain",unified:"1F9E0",keywords:["smart","intelligent"],sheet:[51,19],shortName:"brain"},{name:"Botswana Flag",unified:"1F1E7-1F1FC",sheet:[1,9],shortName:"flag-bw"},{name:"Badminton Racquet and Shuttlecock",unified:"1F3F8",sheet:[11,20],shortName:"badminton_racquet_and_shuttlecock"},{name:"Mouse",unified:"1F401",keywords:["animal","nature","rodent"],sheet:[11,29],shortName:"mouse2"},{name:"Gem Stone",unified:"1F48E",keywords:["blue","ruby","diamond","jewelry"],sheet:[25,24],shortName:"gem"},{name:"Back with Leftwards Arrow Above",unified:"1F519",keywords:["arrow","words","return"],sheet:[27,53],shortName:"back"},{name:"Pensive Face",unified:"1F614",keywords:["face","sad","depressed","upset"],sheet:[30,55],shortName:"pensive"},{name:"Hindu Temple",unified:"1F6D5",sheet:[36,41],shortName:"hindu_temple"},{name:"Bacon",unified:"1F953",keywords:["food","breakfast","pork","pig","meat"],sheet:[41,34],shortName:"bacon"},{name:"Tooth",unified:"1F9B7",keywords:["teeth","dentist"],sheet:[43,17],shortName:"tooth"},{name:"Belarus Flag",unified:"1F1E7-1F1FE",sheet:[1,10],shortName:"flag-by"},{name:"Hamburger",unified:"1F354",keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],sheet:[6,44],shortName:"hamburger"},{name:"Rat",unified:"1F400",keywords:["animal","mouse","rodent"],sheet:[11,28],shortName:"rat"},{name:"Speaker with Cancellation Stroke",unified:"1F507",keywords:["sound","volume","silence","quiet"],sheet:[27,35],shortName:"mute"},{name:"End with Leftwards Arrow Above",unified:"1F51A",keywords:["words","arrow"],sheet:[27,54],shortName:"end"},{name:"Synagogue",unified:"1F54D",keywords:["judaism","worship","temple","jewish"],sheet:[28,37],shortName:"synagogue"},{name:"Sleepy Face",unified:"1F62A",keywords:["face","tired","rest","nap"],sheet:[31,20],shortName:"sleepy"},{name:"Boxing Glove",unified:"1F94A",keywords:["sports","fighting"],sheet:[41,25],shortName:"boxing_glove"},{name:"Bone",unified:"1F9B4",keywords:["skeleton"],sheet:[43,4],shortName:"bone"},{name:"Belize Flag",unified:"1F1E7-1F1FF",sheet:[1,11],shortName:"flag-bz"},{name:"French Fries",unified:"1F35F",keywords:["chips","snack","fast food"],sheet:[6,55],shortName:"fries"},{name:"Hamster Face",unified:"1F439",keywords:["animal","nature"],sheet:[12,29],shortName:"hamster"},{name:"Eyes",unified:"1F440",keywords:["look","watch","stalk","peek","see"],sheet:[12,36],shortName:"eyes"},{name:"Speaker",unified:"1F508",keywords:["sound","volume","silence","broadcast"],sheet:[27,36],shortName:"speaker"},{name:"On with Exclamation Mark with Left Right Arrow Above",unified:"1F51B",keywords:["arrow","words"],sheet:[27,55],shortName:"on"},{name:"Drooling Face",unified:"1F924",keywords:["face"],sheet:[38,21],shortName:"drooling_face"},{name:"Martial Arts Uniform",unified:"1F94B",keywords:["judo","karate","taekwondo"],sheet:[41,26],shortName:"martial_arts_uniform"},{name:"Shinto Shrine",unified:"26E9-FE0F",keywords:["temple","japan","kyoto"],sheet:[54,9],shortName:"shinto_shrine"},{name:"Canada Flag",unified:"1F1E8-1F1E6",sheet:[1,12],shortName:"flag-ca"},{name:"Slice of Pizza",unified:"1F355",keywords:["food","party"],sheet:[6,45],shortName:"pizza"},{name:"Rabbit Face",unified:"1F430",keywords:["animal","nature","pet","spring","magic","bunny"],sheet:[12,20],shortName:"rabbit"},{name:"Eye",unified:"1F441-FE0F",keywords:["face","look","see","watch","stare"],sheet:[12,38],shortName:"eye"},{name:"Speaker with One Sound Wave",unified:"1F509",keywords:["volume","speaker","broadcast"],sheet:[27,37],shortName:"sound"},{name:"Soon with Rightwards Arrow Above",unified:"1F51C",keywords:["arrow","words"],sheet:[27,56],shortName:"soon"},{name:"Kaaba",unified:"1F54B",keywords:["mecca","mosque","islam"],sheet:[28,35],shortName:"kaaba"},{name:"Sleeping Face",unified:"1F634",keywords:["face","tired","sleepy","night","zzz"],sheet:[31,30],shortName:"sleeping"},{name:"Goal Net",unified:"1F945",keywords:["sports"],sheet:[41,21],shortName:"goal_net"},{name:"Cocos (keeling) Islands Flag",unified:"1F1E8-1F1E8",sheet:[1,13],shortName:"flag-cc"},{name:"Hot Dog",unified:"1F32D",keywords:["food","frankfurter"],sheet:[6,5],shortName:"hotdog"},{name:"Rabbit",unified:"1F407",keywords:["animal","nature","pet","magic","spring"],sheet:[11,35],shortName:"rabbit2"},{name:"Tongue",unified:"1F445",keywords:["mouth","playful"],sheet:[12,52],shortName:"tongue"},{name:"Speaker with Three Sound Waves",unified:"1F50A",keywords:["volume","noise","noisy","speaker","broadcast"],sheet:[27,38],shortName:"loud_sound"},{name:"Top with Upwards Arrow Above",unified:"1F51D",keywords:["words","blue-square"],sheet:[28,0],shortName:"top"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face","sick","ill","disease"],sheet:[31,33],shortName:"mask"},{name:"Fountain",unified:"26F2",keywords:["photo","summer","water","fresh"],sheet:[54,13],shortName:"fountain"},{name:"Flag in Hole",unified:"26F3",keywords:["sports","business","flag","hole","summer"],sheet:[54,14],shortName:"golf"},{name:"Congo - Kinshasa Flag",unified:"1F1E8-1F1E9",sheet:[1,14],shortName:"flag-cd"},{name:"Chipmunk",unified:"1F43F-FE0F",keywords:["animal","nature","rodent","squirrel"],sheet:[12,35],shortName:"chipmunk"},{name:"Mouth",unified:"1F444",keywords:["mouth","kiss"],sheet:[12,51],shortName:"lips"},{name:"Public Address Loudspeaker",unified:"1F4E2",keywords:["volume","sound"],sheet:[26,56],shortName:"loudspeaker"},{name:"Place of Worship",unified:"1F6D0",keywords:["religion","church","temple","prayer"],sheet:[36,38],shortName:"place_of_worship"},{name:"Face with Thermometer",unified:"1F912",keywords:["sick","temperature","thermometer","cold","fever"],sheet:[37,25],shortName:"face_with_thermometer"},{name:"Sandwich",unified:"1F96A",keywords:["food","lunch","bread"],sheet:[42,0],shortName:"sandwich"},{name:"Ice Skate",unified:"26F8-FE0F",keywords:["sports"],sheet:[54,18],shortName:"ice_skate"},{name:"Tent",unified:"26FA",keywords:["photo","camping","outdoors"],sheet:[54,37],shortName:"tent"},{name:"Central African Republic Flag",unified:"1F1E8-1F1EB",sheet:[1,15],shortName:"flag-cf"},{name:"Foggy",unified:"1F301",keywords:["photo","mountain"],sheet:[5,20],shortName:"foggy"},{name:"Taco",unified:"1F32E",keywords:["food","mexican"],sheet:[6,6],shortName:"taco"},{name:"Fishing Pole and Fish",unified:"1F3A3",keywords:["food","hobby","summer"],sheet:[8,9],shortName:"fishing_pole_and_fish"},{name:"Baby",unified:"1F476",keywords:["child","boy","girl","toddler"],sheet:[23,4],skinVariations:[{unified:"1F476-1F3FB",sheet:[23,5]},{unified:"1F476-1F3FC",sheet:[23,6]},{unified:"1F476-1F3FD",sheet:[23,7]},{unified:"1F476-1F3FE",sheet:[23,8]},{unified:"1F476-1F3FF",sheet:[23,9]}],shortName:"baby"},{name:"Cheering Megaphone",unified:"1F4E3",keywords:["sound","speaker","volume"],sheet:[27,0],shortName:"mega"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["injured","clumsy","bandage","hurt"],sheet:[37,28],shortName:"face_with_head_bandage"},{name:"Hedgehog",unified:"1F994",keywords:["animal","nature","spiny"],sheet:[42,38],shortName:"hedgehog"},{name:"Atom Symbol",unified:"269B-FE0F",keywords:["science","physics","chemistry"],sheet:[53,48],shortName:"atom_symbol"},{name:"Congo - Brazzaville Flag",unified:"1F1E8-1F1EC",sheet:[1,16],shortName:"flag-cg"},{name:"Night with Stars",unified:"1F303",keywords:["evening","city","downtown"],sheet:[5,22],shortName:"night_with_stars"},{name:"Burrito",unified:"1F32F",keywords:["food","mexican"],sheet:[6,7],shortName:"burrito"},{name:"Postal Horn",unified:"1F4EF",keywords:["instrument","music"],sheet:[27,12],shortName:"postal_horn"},{name:"Om Symbol",unified:"1F549-FE0F",sheet:[28,33],shortName:"om_symbol"},{name:"Nauseated Face",unified:"1F922",keywords:["face","vomit","gross","green","sick","throw up","ill"],sheet:[38,19],shortName:"nauseated_face"},{name:"Diving Mask",unified:"1F93F",sheet:[41,15],shortName:"diving_mask"},{name:"Bat",unified:"1F987",keywords:["animal","nature","blind","vampire"],sheet:[42,25],shortName:"bat"},{name:"Child",unified:"1F9D2",keywords:["gender-neutral","young"],sheet:[48,16],skinVariations:[{unified:"1F9D2-1F3FB",sheet:[48,17]},{unified:"1F9D2-1F3FC",sheet:[48,18]},{unified:"1F9D2-1F3FD",sheet:[48,19]},{unified:"1F9D2-1F3FE",sheet:[48,20]},{unified:"1F9D2-1F3FF",sheet:[48,21]}],shortName:"child"},{name:"Switzerland Flag",unified:"1F1E8-1F1ED",sheet:[1,17],shortName:"flag-ch"},{name:"Running Shirt with Sash",unified:"1F3BD",keywords:["play","pageant"],sheet:[8,35],shortName:"running_shirt_with_sash"},{name:"Cityscape",unified:"1F3D9-FE0F",keywords:["photo","night life","urban"],sheet:[10,44],shortName:"cityscape"},{name:"Bear Face",unified:"1F43B",keywords:["animal","nature","wild"],sheet:[12,31],shortName:"bear"},{name:"Boy",unified:"1F466",keywords:["man","male","guy","teenager"],sheet:[14,26],skinVariations:[{unified:"1F466-1F3FB",sheet:[14,27]},{unified:"1F466-1F3FC",sheet:[14,28]},{unified:"1F466-1F3FD",sheet:[14,29]},{unified:"1F466-1F3FE",sheet:[14,30]},{unified:"1F466-1F3FF",sheet:[14,31]}],shortName:"boy"},{name:"Bell",unified:"1F514",keywords:["sound","notification","christmas","xmas","chime"],sheet:[27,48],shortName:"bell"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",sheet:[38,48],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Stuffed Flatbread",unified:"1F959",keywords:["food","flatbread","stuffed","gyro"],sheet:[41,40],shortName:"stuffed_flatbread"},{name:"Star of David",unified:"2721-FE0F",keywords:["judaism"],sheet:[55,15],shortName:"star_of_david"},{name:"C\xf4te D\u2019ivoire Flag",unified:"1F1E8-1F1EE",sheet:[1,18],shortName:"flag-ci"},{name:"Sunrise over Mountains",unified:"1F304",keywords:["view","vacation","photo"],sheet:[5,23],shortName:"sunrise_over_mountains"},{name:"Ski and Ski Boot",unified:"1F3BF",keywords:["sports","winter","cold","snow"],sheet:[8,37],shortName:"ski"},{name:"Koala",unified:"1F428",keywords:["animal","nature"],sheet:[12,12],shortName:"koala"},{name:"Girl",unified:"1F467",keywords:["female","woman","teenager"],sheet:[14,32],skinVariations:[{unified:"1F467-1F3FB",sheet:[14,33]},{unified:"1F467-1F3FC",sheet:[14,34]},{unified:"1F467-1F3FD",sheet:[14,35]},{unified:"1F467-1F3FE",sheet:[14,36]},{unified:"1F467-1F3FF",sheet:[14,37]}],shortName:"girl"},{name:"Bell with Cancellation Stroke",unified:"1F515",keywords:["sound","volume","mute","quiet","silent"],sheet:[27,49],shortName:"no_bell"},{name:"Sneezing Face",unified:"1F927",keywords:["face","gesundheit","sneeze","sick","allergy"],sheet:[38,41],shortName:"sneezing_face"},{name:"Falafel",unified:"1F9C6",sheet:[44,14],shortName:"falafel"},{name:"Wheel of Dharma",unified:"2638-FE0F",keywords:["hinduism","buddhism","sikhism","jainism"],sheet:[53,15],shortName:"wheel_of_dharma"},{name:"Cook Islands Flag",unified:"1F1E8-1F1F0",sheet:[1,19],shortName:"flag-ck"},{name:"Sunrise",unified:"1F305",keywords:["morning","view","vacation","photo"],sheet:[5,24],shortName:"sunrise"},{name:"Musical Score",unified:"1F3BC",keywords:["treble","clef","compose"],sheet:[8,34],shortName:"musical_score"},{name:"Panda Face",unified:"1F43C",keywords:["animal","nature","panda"],sheet:[12,32],shortName:"panda_face"},{name:"Sled",unified:"1F6F7",keywords:["sleigh","luge","toboggan"],sheet:[36,56],shortName:"sled"},{name:"Egg",unified:"1F95A",keywords:["food","chicken","breakfast"],sheet:[41,41],shortName:"egg"},{name:"Overheated Face",unified:"1F975",sheet:[42,10],shortName:"hot_face"},{name:"Adult",unified:"1F9D1",keywords:["gender-neutral","person"],sheet:[48,10],skinVariations:[{unified:"1F9D1-1F3FB",sheet:[48,11]},{unified:"1F9D1-1F3FC",sheet:[48,12]},{unified:"1F9D1-1F3FD",sheet:[48,13]},{unified:"1F9D1-1F3FE",sheet:[48,14]},{unified:"1F9D1-1F3FF",sheet:[48,15]}],shortName:"adult"},{name:"Yin Yang",unified:"262F-FE0F",keywords:["balance"],sheet:[53,14],shortName:"yin_yang"},{name:"Chile Flag",unified:"1F1E8-1F1F1",sheet:[1,20],shortName:"flag-cl"},{name:"Cityscape at Dusk",unified:"1F306",keywords:["photo","evening","sky","buildings"],sheet:[5,25],shortName:"city_sunset"},{name:"Cooking",unified:"1F373",keywords:["food","breakfast","kitchen","egg"],sheet:[7,18],shortNames:["cooking"],shortName:"fried_egg"},{name:"Musical Note",unified:"1F3B5",keywords:["score","tone","sound"],sheet:[8,27],shortName:"musical_note"},{name:"Person with Blond Hair",unified:"1F471",sheet:[22,19],hidden:["facebook"],skinVariations:[{unified:"1F471-1F3FB",sheet:[22,20],hidden:["facebook"]},{unified:"1F471-1F3FC",sheet:[22,21],hidden:["facebook"]},{unified:"1F471-1F3FD",sheet:[22,22],hidden:["facebook"]},{unified:"1F471-1F3FE",sheet:[22,23],hidden:["facebook"]},{unified:"1F471-1F3FF",sheet:[22,24],hidden:["facebook"]}],shortName:"person_with_blond_hair",obsoletedBy:"1F471-200D-2642-FE0F"},{name:"Curling Stone",unified:"1F94C",keywords:["sports"],sheet:[41,27],shortName:"curling_stone"},{name:"Freezing Face",unified:"1F976",sheet:[42,11],shortName:"cold_face"},{name:"Sloth",unified:"1F9A5",sheet:[42,53],shortName:"sloth"},{name:"Latin Cross",unified:"271D-FE0F",keywords:["christianity"],sheet:[55,14],shortName:"latin_cross"},{name:"Cameroon Flag",unified:"1F1E8-1F1F2",sheet:[1,21],shortName:"flag-cm"},{name:"Sunset over Buildings",unified:"1F307",keywords:["photo","good morning","dawn"],sheet:[5,26],shortName:"city_sunrise"},{name:"Direct Hit",unified:"1F3AF",keywords:["game","play","bar","target","bullseye"],sheet:[8,21],shortName:"dart"},{name:"Multiple Musical Notes",unified:"1F3B6",keywords:["music","score"],sheet:[8,28],shortName:"notes"},{name:"Man",unified:"1F468",keywords:["mustache","father","dad","guy","classy","sir","moustache"],sheet:[17,22],skinVariations:[{unified:"1F468-1F3FB",sheet:[17,23]},{unified:"1F468-1F3FC",sheet:[17,24]},{unified:"1F468-1F3FD",sheet:[17,25]},{unified:"1F468-1F3FE",sheet:[17,26]},{unified:"1F468-1F3FF",sheet:[17,27]}],shortName:"man"},{name:"Shallow Pan of Food",unified:"1F958",keywords:["food","cooking","casserole","paella"],sheet:[41,39],shortName:"shallow_pan_of_food"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",sheet:[42,9],shortName:"woozy_face"},{name:"Otter",unified:"1F9A6",sheet:[42,54],shortName:"otter"},{name:"Orthodox Cross",unified:"2626-FE0F",keywords:["suppedaneum","religion"],sheet:[53,11],shortName:"orthodox_cross"},{name:"China Flag",unified:"1F1E8-1F1F3",keywords:["china","chinese","prc","flag","country","nation","banner"],sheet:[1,22],shortNames:["flag-cn"],shortName:"cn"},{name:"Bridge at Night",unified:"1F309",keywords:["photo","sanfrancisco"],sheet:[5,28],shortName:"bridge_at_night"},{name:"Pot of Food",unified:"1F372",keywords:["food","meat","soup"],sheet:[7,17],shortName:"stew"},{name:"Studio Microphone",unified:"1F399-FE0F",keywords:["sing","recording","artist","talkshow"],sheet:[8,1],shortName:"studio_microphone"},{name:"Dizzy Face",unified:"1F635",keywords:["spent","unconscious","xox","dizzy"],sheet:[31,31],shortName:"dizzy_face"},{name:"Skunk",unified:"1F9A8",sheet:[42,56],shortName:"skunk"},{name:"Bearded Person",unified:"1F9D4",keywords:["person","bewhiskered"],sheet:[48,28],skinVariations:[{unified:"1F9D4-1F3FB",sheet:[48,29]},{unified:"1F9D4-1F3FC",sheet:[48,30]},{unified:"1F9D4-1F3FD",sheet:[48,31]},{unified:"1F9D4-1F3FE",sheet:[48,32]},{unified:"1F9D4-1F3FF",sheet:[48,33]}],shortName:"bearded_person"},{name:"Yo-Yo",unified:"1FA80",sheet:[52,1],shortName:"yo-yo"},{name:"Star and Crescent",unified:"262A-FE0F",keywords:["islam"],sheet:[53,12],shortName:"star_and_crescent"},{name:"Colombia Flag",unified:"1F1E8-1F1F4",sheet:[1,23],shortName:"flag-co"},{name:"Level Slider",unified:"1F39A-FE0F",keywords:["scale"],sheet:[8,2],shortName:"level_slider"},{name:"Red Haired Man",unified:"1F468-200D-1F9B0",sheet:[16,23],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B0",sheet:[16,24]},{unified:"1F468-1F3FC-200D-1F9B0",sheet:[16,25]},{unified:"1F468-1F3FD-200D-1F9B0",sheet:[16,26]},{unified:"1F468-1F3FE-200D-1F9B0",sheet:[16,27]},{unified:"1F468-1F3FF-200D-1F9B0",sheet:[16,28]}],shortName:"red_haired_man"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["face","shocked","mind","blown"],sheet:[38,49],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Bowl with Spoon",unified:"1F963",keywords:["food","breakfast","cereal","oatmeal","porridge"],sheet:[41,50],shortName:"bowl_with_spoon"},{name:"Kangaroo",unified:"1F998",keywords:["animal","nature","australia","joey","hop","marsupial"],sheet:[42,42],shortName:"kangaroo"},{name:"Kite",unified:"1FA81",sheet:[52,2],shortName:"kite"},{name:"Peace Symbol",unified:"262E-FE0F",keywords:["hippie"],sheet:[53,13],shortName:"peace_symbol"},{name:"Hot Springs",unified:"2668-FE0F",keywords:["bath","warm","relax"],sheet:[53,37],shortName:"hotsprings"},{name:"Clipperton Island Flag",unified:"1F1E8-1F1F5",sheet:[1,24],shortName:"flag-cp"},{name:"Control Knobs",unified:"1F39B-FE0F",keywords:["dial"],sheet:[8,3],shortName:"control_knobs"},{name:"Carousel Horse",unified:"1F3A0",keywords:["photo","carnival"],sheet:[8,6],shortName:"carousel_horse"},{name:"Billiards",unified:"1F3B1",keywords:["pool","hobby","game","luck","magic"],sheet:[8,23],shortName:"8ball"},{name:"Curly Haired Man",unified:"1F468-200D-1F9B1",sheet:[16,29],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B1",sheet:[16,30]},{unified:"1F468-1F3FC-200D-1F9B1",sheet:[16,31]},{unified:"1F468-1F3FD-200D-1F9B1",sheet:[16,32]},{unified:"1F468-1F3FE-200D-1F9B1",sheet:[16,33]},{unified:"1F468-1F3FF-200D-1F9B1",sheet:[16,34]}],shortName:"curly_haired_man"},{name:"Menorah with Nine Branches",unified:"1F54E",sheet:[28,38],shortName:"menorah_with_nine_branches"},{name:"Face with Cowboy Hat",unified:"1F920",sheet:[38,17],shortName:"face_with_cowboy_hat"},{name:"Green Salad",unified:"1F957",keywords:["food","healthy","lettuce"],sheet:[41,38],shortName:"green_salad"},{name:"Badger",unified:"1F9A1",keywords:["animal","nature","honey"],sheet:[42,51],shortName:"badger"},{name:"Costa Rica Flag",unified:"1F1E8-1F1F7",sheet:[1,25],shortName:"flag-cr"},{name:"Popcorn",unified:"1F37F",keywords:["food","movie theater","films","snack"],sheet:[7,30],shortName:"popcorn"},{name:"Ferris Wheel",unified:"1F3A1",keywords:["photo","carnival","londoneye"],sheet:[8,7],shortName:"ferris_wheel"},{name:"Microphone",unified:"1F3A4",keywords:["sound","music","PA","sing","talkshow"],sheet:[8,10],shortName:"microphone"},{name:"Paw Prints",unified:"1F43E",sheet:[12,34],shortNames:["paw_prints"],shortName:"feet"},{name:"White Haired Man",unified:"1F468-200D-1F9B3",sheet:[16,41],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B3",sheet:[16,42]},{unified:"1F468-1F3FC-200D-1F9B3",sheet:[16,43]},{unified:"1F468-1F3FD-200D-1F9B3",sheet:[16,44]},{unified:"1F468-1F3FE-200D-1F9B3",sheet:[16,45]},{unified:"1F468-1F3FF-200D-1F9B3",sheet:[16,46]}],shortName:"white_haired_man"},{name:"Crystal Ball",unified:"1F52E",keywords:["disco","party","magic","circus","fortune_teller"],sheet:[28,17],shortName:"crystal_ball"},{name:"Six Pointed Star with Middle Dot",unified:"1F52F",keywords:["purple-square","religion","jewish","hexagram"],sheet:[28,18],shortName:"six_pointed_star"},{name:"Face with Party Horn and Party Hat",unified:"1F973",sheet:[42,8],shortName:"partying_face"},{name:"Cuba Flag",unified:"1F1E8-1F1FA",sheet:[1,26],shortName:"flag-cu"},{name:"Roller Coaster",unified:"1F3A2",keywords:["carnival","playground","photo","fun"],sheet:[8,8],shortName:"roller_coaster"},{name:"Headphone",unified:"1F3A7",keywords:["music","score","gadgets"],sheet:[8,13],shortName:"headphones"},{name:"Bald Man",unified:"1F468-200D-1F9B2",sheet:[16,35],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B2",sheet:[16,36]},{unified:"1F468-1F3FC-200D-1F9B2",sheet:[16,37]},{unified:"1F468-1F3FD-200D-1F9B2",sheet:[16,38]},{unified:"1F468-1F3FE-200D-1F9B2",sheet:[16,39]},{unified:"1F468-1F3FF-200D-1F9B2",sheet:[16,40]}],shortName:"bald_man"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["face","cool","smile","summer","beach","sunglass"],sheet:[30,49],shortName:"sunglasses"},{name:"Turkey",unified:"1F983",keywords:["animal","bird"],sheet:[42,21],shortName:"turkey"},{name:"Butter",unified:"1F9C8",sheet:[44,16],shortName:"butter"},{name:"Nazar Amulet",unified:"1F9FF",keywords:["bead","charm"],sheet:[51,50],shortName:"nazar_amulet"},{name:"Aries",unified:"2648",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,20],shortName:"aries"},{name:"Cape Verde Flag",unified:"1F1E8-1F1FB",sheet:[1,27],shortName:"flag-cv"},{name:"Video Game",unified:"1F3AE",keywords:["play","console","PS4","controller"],sheet:[8,20],shortName:"video_game"},{name:"Chicken",unified:"1F414",keywords:["animal","cluck","nature","bird"],sheet:[11,48],shortName:"chicken"},{name:"Woman",unified:"1F469",keywords:["female","girls","lady"],sheet:[20,9],skinVariations:[{unified:"1F469-1F3FB",sheet:[20,10]},{unified:"1F469-1F3FC",sheet:[20,11]},{unified:"1F469-1F3FD",sheet:[20,12]},{unified:"1F469-1F3FE",sheet:[20,13]},{unified:"1F469-1F3FF",sheet:[20,14]}],shortName:"woman"},{name:"Barber Pole",unified:"1F488",keywords:["hair","salon","style"],sheet:[25,18],shortName:"barber"},{name:"Radio",unified:"1F4FB",keywords:["communication","music","podcast","program"],sheet:[27,24],shortName:"radio"},{name:"Nerd Face",unified:"1F913",keywords:["face","nerdy","geek","dork"],sheet:[37,26],shortName:"nerd_face"},{name:"Salt Shaker",unified:"1F9C2",keywords:["condiment","shaker"],sheet:[44,10],shortName:"salt"},{name:"Taurus",unified:"2649",keywords:["purple-square","sign","zodiac","astrology"],sheet:[53,21],shortName:"taurus"},{name:"Cura\xe7ao Flag",unified:"1F1E8-1F1FC",sheet:[1,28],shortName:"flag-cw"},{name:"Circus Tent",unified:"1F3AA",keywords:["festival","carnival","party"],sheet:[8,16],shortName:"circus_tent"},{name:"Saxophone",unified:"1F3B7",keywords:["music","instrument","jazz","blues"],sheet:[8,29],shortName:"saxophone"},{name:"Rooster",unified:"1F413",keywords:["animal","nature","chicken"],sheet:[11,47],shortName:"rooster"},{name:"Red Haired Woman",unified:"1F469-200D-1F9B0",sheet:[19,8],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B0",sheet:[19,9]},{unified:"1F469-1F3FC-200D-1F9B0",sheet:[19,10]},{unified:"1F469-1F3FD-200D-1F9B0",sheet:[19,11]},{unified:"1F469-1F3FE-200D-1F9B0",sheet:[19,12]},{unified:"1F469-1F3FF-200D-1F9B0",sheet:[19,13]}],shortName:"red_haired_woman"},{name:"Joystick",unified:"1F579-FE0F",keywords:["game","play"],sheet:[29,36],shortName:"joystick"},{name:"Canned Food",unified:"1F96B",keywords:["food","soup"],sheet:[42,1],shortName:"canned_food"},{name:"Face with Monocle",unified:"1F9D0",sheet:[45,16],shortName:"face_with_monocle"},{name:"Gemini",unified:"264A",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,22],shortName:"gemini"},{name:"Christmas Island Flag",unified:"1F1E8-1F1FD",sheet:[1,29],shortName:"flag-cx"},{name:"Bento Box",unified:"1F371",keywords:["food","japanese","box"],sheet:[7,16],shortName:"bento"},{name:"Slot Machine",unified:"1F3B0",keywords:["bet","gamble","vegas","fruit machine","luck","casino"],sheet:[8,22],shortName:"slot_machine"},{name:"Guitar",unified:"1F3B8",keywords:["music","instrument"],sheet:[8,30],shortName:"guitar"},{name:"Hatching Chick",unified:"1F423",keywords:["animal","chicken","egg","born","baby","bird"],sheet:[12,7],shortName:"hatching_chick"},{name:"Confused Face",unified:"1F615",emoticons:[":\\",":-\\",":/",":-/"],keywords:["face","indifference","huh","weird","hmmm",":/"],sheet:[30,56],shortName:"confused"},{name:"Steam Locomotive",unified:"1F682",keywords:["transportation","vehicle","train"],sheet:[34,1],shortName:"steam_locomotive"},{name:"Red Haired Person",unified:"1F9D1-200D-1F9B0",sheet:[47,13],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B0",sheet:[47,14],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B0",sheet:[47,15],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B0",sheet:[47,16],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B0",sheet:[47,17],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B0",sheet:[47,18],hidden:["google","twitter","facebook"]}],shortName:"red_haired_person"},{name:"Cancer",unified:"264B",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,23],shortName:"cancer"},{name:"Cyprus Flag",unified:"1F1E8-1F1FE",sheet:[1,30],shortName:"flag-cy"},{name:"Rice Cracker",unified:"1F358",keywords:["food","japanese"],sheet:[6,48],shortName:"rice_cracker"},{name:"Game Die",unified:"1F3B2",keywords:["dice","random","tabletop","play","luck"],sheet:[8,24],shortName:"game_die"},{name:"Musical Keyboard",unified:"1F3B9",keywords:["piano","instrument","compose"],sheet:[8,31],shortName:"musical_keyboard"},{name:"Baby Chick",unified:"1F424",keywords:["animal","chicken","bird"],sheet:[12,8],shortName:"baby_chick"},{name:"Curly Haired Woman",unified:"1F469-200D-1F9B1",sheet:[19,14],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B1",sheet:[19,15]},{unified:"1F469-1F3FC-200D-1F9B1",sheet:[19,16]},{unified:"1F469-1F3FD-200D-1F9B1",sheet:[19,17]},{unified:"1F469-1F3FE-200D-1F9B1",sheet:[19,18]},{unified:"1F469-1F3FF-200D-1F9B1",sheet:[19,19]}],shortName:"curly_haired_woman"},{name:"Worried Face",unified:"1F61F",keywords:["face","concern","nervous",":("],sheet:[31,9],shortName:"worried"},{name:"Railway Car",unified:"1F683",keywords:["transportation","vehicle"],sheet:[34,2],shortName:"railway_car"},{name:"Leo",unified:"264C",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,24],shortName:"leo"},{name:"Czechia Flag",unified:"1F1E8-1F1FF",sheet:[1,31],shortName:"flag-cz"},{name:"Rice Ball",unified:"1F359",keywords:["food","japanese"],sheet:[6,49],shortName:"rice_ball"},{name:"Trumpet",unified:"1F3BA",keywords:["music","brass"],sheet:[8,32],shortName:"trumpet"},{name:"Front-Facing Baby Chick",unified:"1F425",keywords:["animal","chicken","baby","bird"],sheet:[12,9],shortName:"hatched_chick"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["face","frowning","disappointed","sad","upset"],sheet:[31,43],shortName:"slightly_frowning_face"},{name:"High-Speed Train",unified:"1F684",keywords:["transportation","vehicle"],sheet:[34,3],shortName:"bullettrain_side"},{name:"Curly Haired Person",unified:"1F9D1-200D-1F9B1",sheet:[47,19],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B1",sheet:[47,20],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B1",sheet:[47,21],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B1",sheet:[47,22],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B1",sheet:[47,23],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B1",sheet:[47,24],hidden:["google","twitter","facebook"]}],shortName:"curly_haired_person"},{name:"Jigsaw Puzzle Piece",unified:"1F9E9",keywords:["interlocking","puzzle","piece"],sheet:[51,28],shortName:"jigsaw"},{name:"Virgo",unified:"264D",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,25],shortName:"virgo"},{name:"Germany Flag",unified:"1F1E9-1F1EA",keywords:["german","nation","flag","country","banner"],sheet:[1,32],shortNames:["flag-de"],shortName:"de"},{name:"Cooked Rice",unified:"1F35A",keywords:["food","china","asian"],sheet:[6,50],shortName:"rice"},{name:"Violin",unified:"1F3BB",keywords:["music","instrument","orchestra","symphony"],sheet:[8,33],shortName:"violin"},{name:"Bird",unified:"1F426",keywords:["animal","nature","fly","tweet","spring"],sheet:[12,10],shortName:"bird"},{name:"White Haired Woman",unified:"1F469-200D-1F9B3",sheet:[19,26],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B3",sheet:[19,27]},{unified:"1F469-1F3FC-200D-1F9B3",sheet:[19,28]},{unified:"1F469-1F3FD-200D-1F9B3",sheet:[19,29]},{unified:"1F469-1F3FE-200D-1F9B3",sheet:[19,30]},{unified:"1F469-1F3FF-200D-1F9B3",sheet:[19,31]}],shortName:"white_haired_woman"},{name:"High-Speed Train with Bullet Nose",unified:"1F685",keywords:["transportation","vehicle","speed","fast","public","travel"],sheet:[34,4],shortName:"bullettrain_front"},{name:"Teddy Bear",unified:"1F9F8",keywords:["plush","stuffed"],sheet:[51,43],shortName:"teddy_bear"},{name:"White Frowning Face",unified:"2639-FE0F",sheet:[53,16],shortName:"white_frowning_face"},{name:"Libra",unified:"264E",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,26],shortName:"libra"},{name:"Diego Garcia Flag",unified:"1F1E9-1F1EC",sheet:[1,33],shortName:"flag-dg"},{name:"Curry and Rice",unified:"1F35B",keywords:["food","spicy","hot","indian"],sheet:[6,51],shortName:"curry"},{name:"Penguin",unified:"1F427",keywords:["animal","nature"],sheet:[12,11],shortName:"penguin"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face","surprise","impressed","wow","whoa",":O"],sheet:[31,24],shortName:"open_mouth"},{name:"Train",unified:"1F686",keywords:["transportation","vehicle"],sheet:[34,5],shortName:"train2"},{name:"White Haired Person",unified:"1F9D1-200D-1F9B3",sheet:[47,31],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B3",sheet:[47,32],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B3",sheet:[47,33],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B3",sheet:[47,34],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B3",sheet:[47,35],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B3",sheet:[47,36],hidden:["google","twitter","facebook"]}],shortName:"white_haired_person"},{name:"Banjo",unified:"1FA95",sheet:[52,9],shortName:"banjo"},{name:"Scorpius",unified:"264F",keywords:["sign","zodiac","purple-square","astrology","scorpio"],sheet:[53,27],shortName:"scorpius"},{name:"Black Spade Suit",unified:"2660-FE0F",keywords:["poker","cards","suits","magic"],sheet:[53,33],shortName:"spades"},{name:"Djibouti Flag",unified:"1F1E9-1F1EF",sheet:[1,34],shortName:"flag-dj"},{name:"Steaming Bowl",unified:"1F35C",keywords:["food","japanese","noodle","chopsticks"],sheet:[6,52],shortName:"ramen"},{name:"Bald Woman",unified:"1F469-200D-1F9B2",sheet:[19,20],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B2",sheet:[19,21]},{unified:"1F469-1F3FC-200D-1F9B2",sheet:[19,22]},{unified:"1F469-1F3FD-200D-1F9B2",sheet:[19,23]},{unified:"1F469-1F3FE-200D-1F9B2",sheet:[19,24]},{unified:"1F469-1F3FF-200D-1F9B2",sheet:[19,25]}],shortName:"bald_woman"},{name:"Dove of Peace",unified:"1F54A-FE0F",sheet:[28,34],shortName:"dove_of_peace"},{name:"Hushed Face",unified:"1F62F",keywords:["face","woo","shh"],sheet:[31,25],shortName:"hushed"},{name:"Metro",unified:"1F687",keywords:["transportation","blue-square","mrt","underground","tube"],sheet:[34,6],shortName:"metro"},{name:"Drum with Drumsticks",unified:"1F941",sheet:[41,17],shortName:"drum_with_drumsticks"},{name:"Sagittarius",unified:"2650",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,28],shortName:"sagittarius"},{name:"Black Heart Suit",unified:"2665-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,35],shortName:"hearts"},{name:"Denmark Flag",unified:"1F1E9-1F1F0",sheet:[1,35],shortName:"flag-dk"},{name:"Spaghetti",unified:"1F35D",keywords:["food","italian","noodle"],sheet:[6,53],shortName:"spaghetti"},{name:"Mobile Phone",unified:"1F4F1",keywords:["technology","apple","gadgets","dial"],sheet:[27,14],shortName:"iphone"},{name:"Astonished Face",unified:"1F632",keywords:["face","xox","surprised","poisoned"],sheet:[31,28],shortName:"astonished"},{name:"Light Rail",unified:"1F688",keywords:["transportation","vehicle"],sheet:[34,7],shortName:"light_rail"},{name:"Eagle",unified:"1F985",keywords:["animal","nature","bird"],sheet:[42,23],shortName:"eagle"},{name:"Bald Person",unified:"1F9D1-200D-1F9B2",sheet:[47,25],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B2",sheet:[47,26],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B2",sheet:[47,27],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B2",sheet:[47,28],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B2",sheet:[47,29],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B2",sheet:[47,30],hidden:["google","twitter","facebook"]}],shortName:"bald_person"},{name:"Capricorn",unified:"2651",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,29],shortName:"capricorn"},{name:"Black Diamond Suit",unified:"2666-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,36],shortName:"diamonds"},{name:"Dominica Flag",unified:"1F1E9-1F1F2",sheet:[1,36],shortName:"flag-dm"},{name:"Roasted Sweet Potato",unified:"1F360",keywords:["food","nature"],sheet:[6,56],shortName:"sweet_potato"},{name:"Blond Haired Woman",unified:"1F471-200D-2640-FE0F",sheet:[22,7],skinVariations:[{unified:"1F471-1F3FB-200D-2640-FE0F",sheet:[22,8]},{unified:"1F471-1F3FC-200D-2640-FE0F",sheet:[22,9]},{unified:"1F471-1F3FD-200D-2640-FE0F",sheet:[22,10]},{unified:"1F471-1F3FE-200D-2640-FE0F",sheet:[22,11]},{unified:"1F471-1F3FF-200D-2640-FE0F",sheet:[22,12]}],shortName:"blond-haired-woman"},{name:"Mobile Phone with Rightwards Arrow at Left",unified:"1F4F2",keywords:["iphone","incoming"],sheet:[27,15],shortName:"calling"},{name:"Flushed Face",unified:"1F633",keywords:["face","blush","shy","flattered"],sheet:[31,29],shortName:"flushed"},{name:"Station",unified:"1F689",keywords:["transportation","vehicle","public"],sheet:[34,8],shortName:"station"},{name:"Duck",unified:"1F986",keywords:["animal","nature","bird","mallard"],sheet:[42,24],shortName:"duck"},{name:"Aquarius",unified:"2652",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,30],shortName:"aquarius"},{name:"Black Club Suit",unified:"2663-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,34],shortName:"clubs"},{name:"Dominican Republic Flag",unified:"1F1E9-1F1F4",sheet:[1,37],shortName:"flag-do"},{name:"Oden",unified:"1F362",keywords:["food","japanese"],sheet:[7,1],shortName:"oden"},{name:"Blond Haired Man",unified:"1F471-200D-2642-FE0F",obsoletes:"1F471",sheet:[22,13],skinVariations:[{unified:"1F471-1F3FB-200D-2642-FE0F",sheet:[22,14]},{unified:"1F471-1F3FC-200D-2642-FE0F",sheet:[22,15]},{unified:"1F471-1F3FD-200D-2642-FE0F",sheet:[22,16]},{unified:"1F471-1F3FE-200D-2642-FE0F",sheet:[22,17]},{unified:"1F471-1F3FF-200D-2642-FE0F",sheet:[22,18]}],shortName:"blond-haired-man"},{name:"Tram",unified:"1F68A",keywords:["transportation","vehicle"],sheet:[34,9],shortName:"tram"},{name:"Face with Pleading Eyes",unified:"1F97A",sheet:[42,12],shortName:"pleading_face"},{name:"Swan",unified:"1F9A2",keywords:["animal","nature","bird"],sheet:[42,52],shortName:"swan"},{name:"Black Telephone",unified:"260E-FE0F",keywords:["technology","communication","dial","telephone"],sheet:[52,54],shortNames:["telephone"],shortName:"phone"},{name:"Pisces",unified:"2653",keywords:["purple-square","sign","zodiac","astrology"],sheet:[53,31],shortName:"pisces"},{name:"Chess Pawn",unified:"265F-FE0F",keywords:["expendable"],sheet:[53,32],shortName:"chess_pawn"},{name:"Playing Card Black Joker",unified:"1F0CF",keywords:["poker","cards","game","play","magic"],sheet:[0,15],shortName:"black_joker"},{name:"Algeria Flag",unified:"1F1E9-1F1FF",sheet:[1,38],shortName:"flag-dz"},{name:"Sushi",unified:"1F363",keywords:["food","fish","japanese","rice"],sheet:[7,2],shortName:"sushi"},{name:"Telephone Receiver",unified:"1F4DE",keywords:["technology","communication","dial"],sheet:[26,52],shortName:"telephone_receiver"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["face","aw","what"],sheet:[31,16],shortName:"frowning"},{name:"Monorail",unified:"1F69D",keywords:["transportation","vehicle"],sheet:[34,28],shortName:"monorail"},{name:"Owl",unified:"1F989",keywords:["animal","nature","bird","hoot"],sheet:[42,27],shortName:"owl"},{name:"Older Adult",unified:"1F9D3",keywords:["human","elder","senior","gender-neutral"],sheet:[48,22],skinVariations:[{unified:"1F9D3-1F3FB",sheet:[48,23]},{unified:"1F9D3-1F3FC",sheet:[48,24]},{unified:"1F9D3-1F3FD",sheet:[48,25]},{unified:"1F9D3-1F3FE",sheet:[48,26]},{unified:"1F9D3-1F3FF",sheet:[48,27]}],shortName:"older_adult"},{name:"Ophiuchus",unified:"26CE",keywords:["sign","purple-square","constellation","astrology"],sheet:[54,4],shortName:"ophiuchus"},{name:"Mahjong Tile Red Dragon",unified:"1F004",keywords:["game","play","chinese","kanji"],sheet:[0,14],shortName:"mahjong"},{name:"Ceuta & Melilla Flag",unified:"1F1EA-1F1E6",sheet:[1,39],shortName:"flag-ea"},{name:"Fried Shrimp",unified:"1F364",keywords:["food","animal","appetizer","summer"],sheet:[7,3],shortName:"fried_shrimp"},{name:"Older Man",unified:"1F474",keywords:["human","male","men","old","elder","senior"],sheet:[22,49],skinVariations:[{unified:"1F474-1F3FB",sheet:[22,50]},{unified:"1F474-1F3FC",sheet:[22,51]},{unified:"1F474-1F3FD",sheet:[22,52]},{unified:"1F474-1F3FE",sheet:[22,53]},{unified:"1F474-1F3FF",sheet:[22,54]}],shortName:"older_man"},{name:"Pager",unified:"1F4DF",keywords:["bbcall","oldschool","90s"],sheet:[26,53],shortName:"pager"},{name:"Twisted Rightwards Arrows",unified:"1F500",keywords:["blue-square","shuffle","music","random"],sheet:[27,28],shortName:"twisted_rightwards_arrows"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["face","stunned","nervous"],sheet:[31,17],shortName:"anguished"},{name:"Mountain Railway",unified:"1F69E",keywords:["transportation","vehicle"],sheet:[34,29],shortName:"mountain_railway"},{name:"Flamingo",unified:"1F9A9",sheet:[43,0],shortName:"flamingo"},{name:"Ecuador Flag",unified:"1F1EA-1F1E8",sheet:[1,40],shortName:"flag-ec"},{name:"Fish Cake with Swirl Design",unified:"1F365",keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],sheet:[7,4],shortName:"fish_cake"},{name:"Flower Playing Cards",unified:"1F3B4",keywords:["game","sunset","red"],sheet:[8,26],shortName:"flower_playing_cards"},{name:"Older Woman",unified:"1F475",keywords:["human","female","women","lady","old","elder","senior"],sheet:[22,55],skinVariations:[{unified:"1F475-1F3FB",sheet:[22,56]},{unified:"1F475-1F3FC",sheet:[23,0]},{unified:"1F475-1F3FD",sheet:[23,1]},{unified:"1F475-1F3FE",sheet:[23,2]},{unified:"1F475-1F3FF",sheet:[23,3]}],shortName:"older_woman"},{name:"Fax Machine",unified:"1F4E0",keywords:["communication","technology"],sheet:[26,54],shortName:"fax"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows",unified:"1F501",keywords:["loop","record"],sheet:[27,29],shortName:"repeat"},{name:"Fearful Face",unified:"1F628",keywords:["face","scared","terrified","nervous","oops","huh"],sheet:[31,18],shortName:"fearful"},{name:"Tram Car",unified:"1F68B",keywords:["transportation","vehicle","carriage","public","travel"],sheet:[34,10],shortName:"train"},{name:"Peacock",unified:"1F99A",keywords:["animal","nature","peahen","bird"],sheet:[42,44],shortName:"peacock"},{name:"Estonia Flag",unified:"1F1EA-1F1EA",sheet:[1,41],shortName:"flag-ee"},{name:"Performing Arts",unified:"1F3AD",keywords:["acting","theater","drama"],sheet:[8,19],shortName:"performing_arts"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay",unified:"1F502",keywords:["blue-square","loop"],sheet:[27,30],shortName:"repeat_one"},{name:"Battery",unified:"1F50B",keywords:["power","energy","sustain"],sheet:[27,39],shortName:"battery"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["face","nervous","sweat"],sheet:[31,26],shortName:"cold_sweat"},{name:"Person Frowning",unified:"1F64D",sheet:[33,26],hidden:["facebook"],skinVariations:[{unified:"1F64D-1F3FB",sheet:[33,27],hidden:["facebook"]},{unified:"1F64D-1F3FC",sheet:[33,28],hidden:["facebook"]},{unified:"1F64D-1F3FD",sheet:[33,29],hidden:["facebook"]},{unified:"1F64D-1F3FE",sheet:[33,30],hidden:["facebook"]},{unified:"1F64D-1F3FF",sheet:[33,31],hidden:["facebook"]}],shortName:"person_frowning",obsoletedBy:"1F64D-200D-2640-FE0F"},{name:"Bus",unified:"1F68C",keywords:["car","vehicle","transportation"],sheet:[34,11],shortName:"bus"},{name:"Moon Cake",unified:"1F96E",keywords:["food","autumn"],sheet:[42,4],shortName:"moon_cake"},{name:"Parrot",unified:"1F99C",keywords:["animal","nature","bird","pirate","talk"],sheet:[42,46],shortName:"parrot"},{name:"Egypt Flag",unified:"1F1EA-1F1EC",sheet:[1,42],shortName:"flag-eg"},{name:"Dango",unified:"1F361",keywords:["food","dessert","sweet","japanese","barbecue","meat"],sheet:[7,0],shortName:"dango"},{name:"Frog Face",unified:"1F438",keywords:["animal","nature","croak","toad"],sheet:[12,28],shortName:"frog"},{name:"Electric Plug",unified:"1F50C",keywords:["charger","power"],sheet:[27,40],shortName:"electric_plug"},{name:"Frame with Picture",unified:"1F5BC-FE0F",sheet:[30,14],shortName:"frame_with_picture"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["face","phew","sweat","nervous"],sheet:[31,15],shortName:"disappointed_relieved"},{name:"Man Frowning",unified:"1F64D-200D-2642-FE0F",sheet:[33,20],skinVariations:[{unified:"1F64D-1F3FB-200D-2642-FE0F",sheet:[33,21]},{unified:"1F64D-1F3FC-200D-2642-FE0F",sheet:[33,22]},{unified:"1F64D-1F3FD-200D-2642-FE0F",sheet:[33,23]},{unified:"1F64D-1F3FE-200D-2642-FE0F",sheet:[33,24]},{unified:"1F64D-1F3FF-200D-2642-FE0F",sheet:[33,25]}],shortName:"man-frowning"},{name:"Oncoming Bus",unified:"1F68D",keywords:["vehicle","transportation"],sheet:[34,12],shortName:"oncoming_bus"},{name:"Black Right-Pointing Triangle",unified:"25B6-FE0F",keywords:["blue-square","right","direction","play"],sheet:[52,43],shortName:"arrow_forward"},{name:"Western Sahara Flag",unified:"1F1EA-1F1ED",sheet:[1,43],shortName:"flag-eh"},{name:"Artist Palette",unified:"1F3A8",keywords:["design","paint","draw","colors"],sheet:[8,14],shortName:"art"},{name:"Crocodile",unified:"1F40A",keywords:["animal","nature","reptile","lizard","alligator"],sheet:[11,38],shortName:"crocodile"},{name:"Personal Computer",unified:"1F4BB",keywords:["technology","laptop","screen","display","monitor"],sheet:[26,17],shortName:"computer"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["face","tears","sad","depressed","upset",":'("],sheet:[31,12],shortName:"cry"},{name:"Woman Frowning",unified:"1F64D-200D-2640-FE0F",obsoletes:"1F64D",sheet:[33,14],skinVariations:[{unified:"1F64D-1F3FB-200D-2640-FE0F",sheet:[33,15]},{unified:"1F64D-1F3FC-200D-2640-FE0F",sheet:[33,16]},{unified:"1F64D-1F3FD-200D-2640-FE0F",sheet:[33,17]},{unified:"1F64D-1F3FE-200D-2640-FE0F",sheet:[33,18]},{unified:"1F64D-1F3FF-200D-2640-FE0F",sheet:[33,19]}],shortName:"woman-frowning"},{name:"Trolleybus",unified:"1F68E",keywords:["bart","transportation","vehicle"],sheet:[34,13],shortName:"trolleybus"},{name:"Dumpling",unified:"1F95F",keywords:["food","empanada","pierogi","potsticker"],sheet:[41,46],shortName:"dumpling"},{name:"Black Right-Pointing Double Triangle",unified:"23E9",keywords:["blue-square","play","speed","continue"],sheet:[52,26],shortName:"fast_forward"},{name:"Eritrea Flag",unified:"1F1EA-1F1F7",sheet:[1,44],shortName:"flag-er"},{name:"Turtle",unified:"1F422",keywords:["animal","slow","nature","tortoise"],sheet:[12,6],shortName:"turtle"},{name:"Desktop Computer",unified:"1F5A5-FE0F",keywords:["technology","computing","screen"],sheet:[30,10],shortName:"desktop_computer"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["face","cry","tears","sad","upset","depressed"],sheet:[31,23],shortName:"sob"},{name:"Person with Pouting Face",unified:"1F64E",sheet:[33,44],hidden:["facebook"],skinVariations:[{unified:"1F64E-1F3FB",sheet:[33,45],hidden:["facebook"]},{unified:"1F64E-1F3FC",sheet:[33,46],hidden:["facebook"]},{unified:"1F64E-1F3FD",sheet:[33,47],hidden:["facebook"]},{unified:"1F64E-1F3FE",sheet:[33,48],hidden:["facebook"]},{unified:"1F64E-1F3FF",sheet:[33,49],hidden:["facebook"]}],shortName:"person_with_pouting_face",obsoletedBy:"1F64E-200D-2640-FE0F"},{name:"Minibus",unified:"1F690",keywords:["vehicle","car","transportation"],sheet:[34,15],shortName:"minibus"},{name:"Fortune Cookie",unified:"1F960",keywords:["food","prophecy"],sheet:[41,47],shortName:"fortune_cookie"},{name:"Spool of Thread",unified:"1F9F5",keywords:["needle","sewing","spool","string"],sheet:[51,40],shortName:"thread"},{name:"Black Right Pointing Double Triangle with Vertical Bar",unified:"23ED-FE0F",sheet:[52,30],shortName:"black_right_pointing_double_triangle_with_vertical_bar"},{name:"Spain Flag",unified:"1F1EA-1F1F8",keywords:["spain","flag","nation","country","banner"],sheet:[1,45],shortNames:["flag-es"],shortName:"es"},{name:"Printer",unified:"1F5A8-FE0F",keywords:["paper","ink"],sheet:[30,11],shortName:"printer"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face","munch","scared","omg"],sheet:[31,27],shortName:"scream"},{name:"Man Pouting",unified:"1F64E-200D-2642-FE0F",sheet:[33,38],skinVariations:[{unified:"1F64E-1F3FB-200D-2642-FE0F",sheet:[33,39]},{unified:"1F64E-1F3FC-200D-2642-FE0F",sheet:[33,40]},{unified:"1F64E-1F3FD-200D-2642-FE0F",sheet:[33,41]},{unified:"1F64E-1F3FE-200D-2642-FE0F",sheet:[33,42]},{unified:"1F64E-1F3FF-200D-2642-FE0F",sheet:[33,43]}],shortName:"man-pouting"},{name:"Ambulance",unified:"1F691",keywords:["health","911","hospital"],sheet:[34,16],shortName:"ambulance"},{name:"Takeout Box",unified:"1F961",keywords:["food","leftovers"],sheet:[41,48],shortName:"takeout_box"},{name:"Lizard",unified:"1F98E",keywords:["animal","nature","reptile"],sheet:[42,32],shortName:"lizard"},{name:"Ball of Yarn",unified:"1F9F6",keywords:["ball","crochet","knit"],sheet:[51,41],shortName:"yarn"},{name:"Black Right Pointing Triangle with Double Vertical Bar",unified:"23EF-FE0F",sheet:[52,32],shortName:"black_right_pointing_triangle_with_double_vertical_bar"},{name:"Ethiopia Flag",unified:"1F1EA-1F1F9",sheet:[1,46],shortName:"flag-et"},{name:"Snake",unified:"1F40D",keywords:["animal","evil","nature","hiss","python"],sheet:[11,41],shortName:"snake"},{name:"Confounded Face",unified:"1F616",keywords:["face","confused","sick","unwell","oops",":S"],sheet:[31,0],shortName:"confounded"},{name:"Woman Pouting",unified:"1F64E-200D-2640-FE0F",obsoletes:"1F64E",sheet:[33,32],skinVariations:[{unified:"1F64E-1F3FB-200D-2640-FE0F",sheet:[33,33]},{unified:"1F64E-1F3FC-200D-2640-FE0F",sheet:[33,34]},{unified:"1F64E-1F3FD-200D-2640-FE0F",sheet:[33,35]},{unified:"1F64E-1F3FE-200D-2640-FE0F",sheet:[33,36]},{unified:"1F64E-1F3FF-200D-2640-FE0F",sheet:[33,37]}],shortName:"woman-pouting"},{name:"Fire Engine",unified:"1F692",keywords:["transportation","cars","vehicle"],sheet:[34,17],shortName:"fire_engine"},{name:"Crab",unified:"1F980",keywords:["animal","crustacean"],sheet:[42,18],shortName:"crab"},{name:"Keyboard",unified:"2328-FE0F",keywords:["technology","computer","type","input","text"],sheet:[52,24],shortName:"keyboard"},{name:"Black Left-Pointing Triangle",unified:"25C0-FE0F",keywords:["blue-square","left","direction"],sheet:[52,44],shortName:"arrow_backward"},{name:"European Union Flag",unified:"1F1EA-1F1FA",sheet:[1,47],shortName:"flag-eu"},{name:"Dragon Face",unified:"1F432",keywords:["animal","myth","nature","chinese","green"],sheet:[12,22],shortName:"dragon_face"},{name:"Three Button Mouse",unified:"1F5B1-FE0F",sheet:[30,12],shortName:"three_button_mouse"},{name:"Persevering Face",unified:"1F623",keywords:["face","sick","no","upset","oops"],sheet:[31,13],shortName:"persevere"},{name:"Face with No Good Gesture",unified:"1F645",sheet:[32,2],hidden:["facebook"],skinVariations:[{unified:"1F645-1F3FB",sheet:[32,3],hidden:["facebook"]},{unified:"1F645-1F3FC",sheet:[32,4],hidden:["facebook"]},{unified:"1F645-1F3FD",sheet:[32,5],hidden:["facebook"]},{unified:"1F645-1F3FE",sheet:[32,6],hidden:["facebook"]},{unified:"1F645-1F3FF",sheet:[32,7],hidden:["facebook"]}],shortName:"no_good",obsoletedBy:"1F645-200D-2640-FE0F"},{name:"Police Car",unified:"1F693",keywords:["vehicle","cars","transportation","law","legal","enforcement"],sheet:[34,18],shortName:"police_car"},{name:"Lobster",unified:"1F99E",keywords:["animal","nature","bisque","claws","seafood"],sheet:[42,48],shortName:"lobster"},{name:"Black Left-Pointing Double Triangle",unified:"23EA",keywords:["play","blue-square"],sheet:[52,27],shortName:"rewind"},{name:"Finland Flag",unified:"1F1EB-1F1EE",sheet:[1,48],shortName:"flag-fi"},{name:"Dragon",unified:"1F409",keywords:["animal","myth","nature","chinese","green"],sheet:[11,37],shortName:"dragon"},{name:"Trackball",unified:"1F5B2-FE0F",keywords:["technology","trackpad"],sheet:[30,13],shortName:"trackball"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["face","sad","upset","depressed",":("],sheet:[31,8],shortName:"disappointed"},{name:"Man Gesturing No",unified:"1F645-200D-2642-FE0F",sheet:[31,53],skinVariations:[{unified:"1F645-1F3FB-200D-2642-FE0F",sheet:[31,54]},{unified:"1F645-1F3FC-200D-2642-FE0F",sheet:[31,55]},{unified:"1F645-1F3FD-200D-2642-FE0F",sheet:[31,56]},{unified:"1F645-1F3FE-200D-2642-FE0F",sheet:[32,0]},{unified:"1F645-1F3FF-200D-2642-FE0F",sheet:[32,1]}],shortName:"man-gesturing-no"},{name:"Oncoming Police Car",unified:"1F694",keywords:["vehicle","law","legal","enforcement","911"],sheet:[34,19],shortName:"oncoming_police_car"},{name:"Shrimp",unified:"1F990",keywords:["animal","ocean","nature","seafood"],sheet:[42,34],shortName:"shrimp"},{name:"Black Left Pointing Double Triangle with Vertical Bar",unified:"23EE-FE0F",sheet:[52,31],shortName:"black_left_pointing_double_triangle_with_vertical_bar"},{name:"Fiji Flag",unified:"1F1EB-1F1EF",sheet:[1,49],shortName:"flag-fj"},{name:"Minidisc",unified:"1F4BD",keywords:["technology","record","data","disk","90s"],sheet:[26,19],shortName:"minidisc"},{name:"Up-Pointing Small Red Triangle",unified:"1F53C",keywords:["blue-square","triangle","direction","point","forward","top"],sheet:[28,31],shortName:"arrow_up_small"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["face","hot","sad","tired","exercise"],sheet:[30,54],shortName:"sweat"},{name:"Woman Gesturing No",unified:"1F645-200D-2640-FE0F",obsoletes:"1F645",sheet:[31,47],skinVariations:[{unified:"1F645-1F3FB-200D-2640-FE0F",sheet:[31,48]},{unified:"1F645-1F3FC-200D-2640-FE0F",sheet:[31,49]},{unified:"1F645-1F3FD-200D-2640-FE0F",sheet:[31,50]},{unified:"1F645-1F3FE-200D-2640-FE0F",sheet:[31,51]},{unified:"1F645-1F3FF-200D-2640-FE0F",sheet:[31,52]}],shortName:"woman-gesturing-no"},{name:"Taxi",unified:"1F695",keywords:["uber","vehicle","cars","transportation"],sheet:[34,20],shortName:"taxi"},{name:"Squid",unified:"1F991",keywords:["animal","nature","ocean","sea"],sheet:[42,35],shortName:"squid"},{name:"Sauropod",unified:"1F995",keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],sheet:[42,39],shortName:"sauropod"},{name:"Falkland Islands Flag",unified:"1F1EB-1F1F0",sheet:[1,50],shortName:"flag-fk"},{name:"Floppy Disk",unified:"1F4BE",keywords:["oldschool","technology","save","90s","80s"],sheet:[26,20],shortName:"floppy_disk"},{name:"Weary Face",unified:"1F629",keywords:["face","tired","sleepy","sad","frustrated","upset"],sheet:[31,19],shortName:"weary"},{name:"Face with Ok Gesture",unified:"1F646",keywords:["women","girl","female","pink","human","woman"],sheet:[32,20],hidden:["facebook"],skinVariations:[{unified:"1F646-1F3FB",sheet:[32,21],hidden:["facebook"]},{unified:"1F646-1F3FC",sheet:[32,22],hidden:["facebook"]},{unified:"1F646-1F3FD",sheet:[32,23],hidden:["facebook"]},{unified:"1F646-1F3FE",sheet:[32,24],hidden:["facebook"]},{unified:"1F646-1F3FF",sheet:[32,25],hidden:["facebook"]}],shortName:"ok_woman",obsoletedBy:"1F646-200D-2640-FE0F"},{name:"Oncoming Taxi",unified:"1F696",keywords:["vehicle","cars","uber"],sheet:[34,21],shortName:"oncoming_taxi"},{name:"T-Rex",unified:"1F996",keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],sheet:[42,40],shortName:"t-rex"},{name:"Oyster",unified:"1F9AA",sheet:[43,1],shortName:"oyster"},{name:"Black Up-Pointing Double Triangle",unified:"23EB",keywords:["blue-square","direction","top"],sheet:[52,28],shortName:"arrow_double_up"},{name:"Micronesia Flag",unified:"1F1EB-1F1F2",sheet:[1,51],shortName:"flag-fm"},{name:"Soft Ice Cream",unified:"1F366",keywords:["food","hot","dessert","summer"],sheet:[7,5],shortName:"icecream"},{name:"Spouting Whale",unified:"1F433",keywords:["animal","nature","sea","ocean"],sheet:[12,23],shortName:"whale"},{name:"Optical Disc",unified:"1F4BF",keywords:["technology","dvd","disk","disc","90s"],sheet:[26,21],shortName:"cd"},{name:"Down-Pointing Small Red Triangle",unified:"1F53D",keywords:["blue-square","direction","bottom"],sheet:[28,32],shortName:"arrow_down_small"},{name:"Tired Face",unified:"1F62B",keywords:["sick","whine","upset","frustrated"],sheet:[31,21],shortName:"tired_face"},{name:"Man Gesturing Ok",unified:"1F646-200D-2642-FE0F",sheet:[32,14],skinVariations:[{unified:"1F646-1F3FB-200D-2642-FE0F",sheet:[32,15]},{unified:"1F646-1F3FC-200D-2642-FE0F",sheet:[32,16]},{unified:"1F646-1F3FD-200D-2642-FE0F",sheet:[32,17]},{unified:"1F646-1F3FE-200D-2642-FE0F",sheet:[32,18]},{unified:"1F646-1F3FF-200D-2642-FE0F",sheet:[32,19]}],shortName:"man-gesturing-ok"},{name:"Automobile",unified:"1F697",sheet:[34,22],shortNames:["red_car"],shortName:"car"},{name:"Faroe Islands Flag",unified:"1F1EB-1F1F4",sheet:[1,52],shortName:"flag-fo"},{name:"Shaved Ice",unified:"1F367",keywords:["hot","dessert","summer"],sheet:[7,6],shortName:"shaved_ice"},{name:"Whale",unified:"1F40B",keywords:["animal","nature","sea","ocean"],sheet:[11,39],shortName:"whale2"},{name:"Dvd",unified:"1F4C0",keywords:["cd","disk","disc"],sheet:[26,22],shortName:"dvd"},{name:"Woman Gesturing Ok",unified:"1F646-200D-2640-FE0F",obsoletes:"1F646",sheet:[32,8],skinVariations:[{unified:"1F646-1F3FB-200D-2640-FE0F",sheet:[32,9]},{unified:"1F646-1F3FC-200D-2640-FE0F",sheet:[32,10]},{unified:"1F646-1F3FD-200D-2640-FE0F",sheet:[32,11]},{unified:"1F646-1F3FE-200D-2640-FE0F",sheet:[32,12]},{unified:"1F646-1F3FF-200D-2640-FE0F",sheet:[32,13]}],shortName:"woman-gesturing-ok"},{name:"Oncoming Automobile",unified:"1F698",keywords:["car","vehicle","transportation"],sheet:[34,23],shortName:"oncoming_automobile"},{name:"Yawning Face",unified:"1F971",sheet:[42,7],shortName:"yawning_face"},{name:"Black Down-Pointing Double Triangle",unified:"23EC",keywords:["blue-square","direction","bottom"],sheet:[52,29],shortName:"arrow_double_down"},{name:"France Flag",unified:"1F1EB-1F1F7",keywords:["banner","flag","nation","france","french","country"],sheet:[1,53],shortNames:["flag-fr"],shortName:"fr"},{name:"Ice Cream",unified:"1F368",keywords:["food","hot","dessert"],sheet:[7,7],shortName:"ice_cream"},{name:"Dolphin",unified:"1F42C",keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],sheet:[12,16],shortNames:["flipper"],shortName:"dolphin"},{name:"Information Desk Person",unified:"1F481",sheet:[24,2],hidden:["facebook"],skinVariations:[{unified:"1F481-1F3FB",sheet:[24,3],hidden:["facebook"]},{unified:"1F481-1F3FC",sheet:[24,4],hidden:["facebook"]},{unified:"1F481-1F3FD",sheet:[24,5],hidden:["facebook"]},{unified:"1F481-1F3FE",sheet:[24,6],hidden:["facebook"]},{unified:"1F481-1F3FF",sheet:[24,7],hidden:["facebook"]}],shortName:"information_desk_person",obsoletedBy:"1F481-200D-2640-FE0F"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face","gas","phew","proud","pride"],sheet:[31,14],shortName:"triumph"},{name:"Recreational Vehicle",unified:"1F699",keywords:["transportation","vehicle"],sheet:[34,24],shortName:"blue_car"},{name:"Abacus",unified:"1F9EE",keywords:["calculation"],sheet:[51,33],shortName:"abacus"},{name:"Double Vertical Bar",unified:"23F8-FE0F",sheet:[52,37],shortName:"double_vertical_bar"},{name:"Gabon Flag",unified:"1F1EC-1F1E6",sheet:[1,54],shortName:"flag-ga"},{name:"Doughnut",unified:"1F369",keywords:["food","dessert","snack","sweet","donut"],sheet:[7,8],shortName:"doughnut"},{name:"Movie Camera",unified:"1F3A5",keywords:["film","record"],sheet:[8,11],shortName:"movie_camera"},{name:"Fish",unified:"1F41F",keywords:["animal","food","nature"],sheet:[12,3],shortName:"fish"},{name:"Man Tipping Hand",unified:"1F481-200D-2642-FE0F",sheet:[23,53],skinVariations:[{unified:"1F481-1F3FB-200D-2642-FE0F",sheet:[23,54]},{unified:"1F481-1F3FC-200D-2642-FE0F",sheet:[23,55]},{unified:"1F481-1F3FD-200D-2642-FE0F",sheet:[23,56]},{unified:"1F481-1F3FE-200D-2642-FE0F",sheet:[24,0]},{unified:"1F481-1F3FF-200D-2642-FE0F",sheet:[24,1]}],shortName:"man-tipping-hand"},{name:"Pouting Face",unified:"1F621",keywords:["angry","mad","hate","despise"],sheet:[31,11],shortName:"rage"},{name:"Delivery Truck",unified:"1F69A",keywords:["cars","transportation"],sheet:[34,25],shortName:"truck"},{name:"Black Square for Stop",unified:"23F9-FE0F",sheet:[52,38],shortName:"black_square_for_stop"},{name:"United Kingdom Flag",unified:"1F1EC-1F1E7",sheet:[1,55],shortNames:["uk","flag-gb"],shortName:"gb"},{name:"Cookie",unified:"1F36A",keywords:["food","snack","oreo","chocolate","sweet","dessert"],sheet:[7,9],shortName:"cookie"},{name:"Film Frames",unified:"1F39E-FE0F",sheet:[8,4],shortName:"film_frames"},{name:"Tropical Fish",unified:"1F420",keywords:["animal","swim","ocean","beach","nemo"],sheet:[12,4],shortName:"tropical_fish"},{name:"Woman Tipping Hand",unified:"1F481-200D-2640-FE0F",obsoletes:"1F481",sheet:[23,47],skinVariations:[{unified:"1F481-1F3FB-200D-2640-FE0F",sheet:[23,48]},{unified:"1F481-1F3FC-200D-2640-FE0F",sheet:[23,49]},{unified:"1F481-1F3FD-200D-2640-FE0F",sheet:[23,50]},{unified:"1F481-1F3FE-200D-2640-FE0F",sheet:[23,51]},{unified:"1F481-1F3FF-200D-2640-FE0F",sheet:[23,52]}],shortName:"woman-tipping-hand"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["mad","face","annoyed","frustrated"],sheet:[31,10],shortName:"angry"},{name:"Articulated Lorry",unified:"1F69B",keywords:["vehicle","cars","transportation","express"],sheet:[34,26],shortName:"articulated_lorry"},{name:"Black Circle for Record",unified:"23FA-FE0F",sheet:[52,39],shortName:"black_circle_for_record"},{name:"Grenada Flag",unified:"1F1EC-1F1E9",sheet:[1,56],shortName:"flag-gd"},{name:"Birthday Cake",unified:"1F382",keywords:["food","dessert","cake"],sheet:[7,33],shortName:"birthday"},{name:"Blowfish",unified:"1F421",keywords:["animal","nature","food","sea","ocean"],sheet:[12,5],shortName:"blowfish"},{name:"Film Projector",unified:"1F4FD-FE0F",keywords:["video","tape","record","movie"],sheet:[27,26],shortName:"film_projector"},{name:"Happy Person Raising One Hand",unified:"1F64B",sheet:[33,2],hidden:["facebook"],skinVariations:[{unified:"1F64B-1F3FB",sheet:[33,3],hidden:["facebook"]},{unified:"1F64B-1F3FC",sheet:[33,4],hidden:["facebook"]},{unified:"1F64B-1F3FD",sheet:[33,5],hidden:["facebook"]},{unified:"1F64B-1F3FE",sheet:[33,6],hidden:["facebook"]},{unified:"1F64B-1F3FF",sheet:[33,7],hidden:["facebook"]}],shortName:"raising_hand",obsoletedBy:"1F64B-200D-2640-FE0F"},{name:"Tractor",unified:"1F69C",keywords:["vehicle","car","farming","agriculture"],sheet:[34,27],shortName:"tractor"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",sheet:[38,46],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Eject",unified:"23CF-FE0F",sheet:[52,25],shortName:"eject"},{name:"Georgia Flag",unified:"1F1EC-1F1EA",sheet:[2,0],shortName:"flag-ge"},{name:"Shortcake",unified:"1F370",keywords:["food","dessert"],sheet:[7,15],shortName:"cake"},{name:"Cinema",unified:"1F3A6",keywords:["blue-square","record","film","movie","curtain","stage","theater"],sheet:[8,12],shortName:"cinema"},{name:"Clapper Board",unified:"1F3AC",keywords:["movie","film","record"],sheet:[8,18],shortName:"clapper"},{name:"Racing Car",unified:"1F3CE-FE0F",keywords:["sports","race","fast","formula","f1"],sheet:[10,33],shortName:"racing_car"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["devil","horns"],sheet:[30,43],shortName:"smiling_imp"},{name:"Man Raising Hand",unified:"1F64B-200D-2642-FE0F",sheet:[32,53],skinVariations:[{unified:"1F64B-1F3FB-200D-2642-FE0F",sheet:[32,54]},{unified:"1F64B-1F3FC-200D-2642-FE0F",sheet:[32,55]},{unified:"1F64B-1F3FD-200D-2642-FE0F",sheet:[32,56]},{unified:"1F64B-1F3FE-200D-2642-FE0F",sheet:[33,0]},{unified:"1F64B-1F3FF-200D-2642-FE0F",sheet:[33,1]}],shortName:"man-raising-hand"},{name:"Shark",unified:"1F988",keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],sheet:[42,26],shortName:"shark"},{name:"French Guiana Flag",unified:"1F1EC-1F1EB",sheet:[2,1],shortName:"flag-gf"},{name:"Racing Motorcycle",unified:"1F3CD-FE0F",sheet:[10,32],shortName:"racing_motorcycle"},{name:"Octopus",unified:"1F419",keywords:["animal","creature","ocean","sea","nature","beach"],sheet:[11,54],shortName:"octopus"},{name:"Imp",unified:"1F47F",keywords:["devil","angry","horns"],sheet:[23,45],shortName:"imp"},{name:"Television",unified:"1F4FA",keywords:["technology","program","oldschool","show","television"],sheet:[27,23],shortName:"tv"},{name:"Low Brightness Symbol",unified:"1F505",keywords:["sun","afternoon","warm","summer"],sheet:[27,33],shortName:"low_brightness"},{name:"Woman Raising Hand",unified:"1F64B-200D-2640-FE0F",obsoletes:"1F64B",sheet:[32,47],skinVariations:[{unified:"1F64B-1F3FB-200D-2640-FE0F",sheet:[32,48]},{unified:"1F64B-1F3FC-200D-2640-FE0F",sheet:[32,49]},{unified:"1F64B-1F3FD-200D-2640-FE0F",sheet:[32,50]},{unified:"1F64B-1F3FE-200D-2640-FE0F",sheet:[32,51]},{unified:"1F64B-1F3FF-200D-2640-FE0F",sheet:[32,52]}],shortName:"woman-raising-hand"},{name:"Cupcake",unified:"1F9C1",keywords:["food","dessert","bakery","sweet"],sheet:[44,9],shortName:"cupcake"},{name:"Guernsey Flag",unified:"1F1EC-1F1EC",sheet:[2,2],shortName:"flag-gg"},{name:"Spiral Shell",unified:"1F41A",keywords:["nature","sea","beach"],sheet:[11,55],shortName:"shell"},{name:"Skull",unified:"1F480",keywords:["dead","skeleton","creepy","death"],sheet:[23,46],shortName:"skull"},{name:"Camera",unified:"1F4F7",keywords:["gadgets","photography"],sheet:[27,20],shortName:"camera"},{name:"High Brightness Symbol",unified:"1F506",keywords:["sun","light"],sheet:[27,34],shortName:"high_brightness"},{name:"Motor Scooter",unified:"1F6F5",keywords:["vehicle","vespa","sasha"],sheet:[36,54],shortName:"motor_scooter"},{name:"Pie",unified:"1F967",keywords:["food","dessert","pastry"],sheet:[41,54],shortName:"pie"},{name:"Deaf Person",unified:"1F9CF",sheet:[45,10],skinVariations:[{unified:"1F9CF-1F3FB",sheet:[45,11]},{unified:"1F9CF-1F3FC",sheet:[45,12]},{unified:"1F9CF-1F3FD",sheet:[45,13]},{unified:"1F9CF-1F3FE",sheet:[45,14]},{unified:"1F9CF-1F3FF",sheet:[45,15]}],shortName:"deaf_person"},{name:"Ghana Flag",unified:"1F1EC-1F1ED",sheet:[2,3],shortName:"flag-gh"},{name:"Chocolate Bar",unified:"1F36B",keywords:["food","snack","dessert","sweet"],sheet:[7,10],shortName:"chocolate_bar"},{name:"Snail",unified:"1F40C",keywords:["slow","animal","shell"],sheet:[11,40],shortName:"snail"},{name:"Antenna with Bars",unified:"1F4F6",keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],sheet:[27,19],shortName:"signal_strength"},{name:"Camera with Flash",unified:"1F4F8",sheet:[27,21],shortName:"camera_with_flash"},{name:"Manual Wheelchair",unified:"1F9BD",sheet:[44,5],shortName:"manual_wheelchair"},{name:"Deaf Man",unified:"1F9CF-200D-2642-FE0F",sheet:[45,4],skinVariations:[{unified:"1F9CF-1F3FB-200D-2642-FE0F",sheet:[45,5]},{unified:"1F9CF-1F3FC-200D-2642-FE0F",sheet:[45,6]},{unified:"1F9CF-1F3FD-200D-2642-FE0F",sheet:[45,7]},{unified:"1F9CF-1F3FE-200D-2642-FE0F",sheet:[45,8]},{unified:"1F9CF-1F3FF-200D-2642-FE0F",sheet:[45,9]}],shortName:"deaf_man"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["poison","danger","deadly","scary","death","pirate","evil"],sheet:[53,8],shortName:"skull_and_crossbones"},{name:"Gibraltar Flag",unified:"1F1EC-1F1EE",sheet:[2,4],shortName:"flag-gi"},{name:"Candy",unified:"1F36C",keywords:["snack","dessert","sweet","lolly"],sheet:[7,11],shortName:"candy"},{name:"Pile of Poo",unified:"1F4A9",sheet:[25,51],shortNames:["poop","shit"],shortName:"hankey"},{name:"Vibration Mode",unified:"1F4F3",keywords:["orange-square","phone"],sheet:[27,16],shortName:"vibration_mode"},{name:"Video Camera",unified:"1F4F9",keywords:["film","record"],sheet:[27,22],shortName:"video_camera"},{name:"Butterfly",unified:"1F98B",keywords:["animal","insect","nature","caterpillar"],sheet:[42,29],shortName:"butterfly"},{name:"Motorized Wheelchair",unified:"1F9BC",sheet:[44,4],shortName:"motorized_wheelchair"},{name:"Deaf Woman",unified:"1F9CF-200D-2640-FE0F",sheet:[44,55],skinVariations:[{unified:"1F9CF-1F3FB-200D-2640-FE0F",sheet:[44,56]},{unified:"1F9CF-1F3FC-200D-2640-FE0F",sheet:[45,0]},{unified:"1F9CF-1F3FD-200D-2640-FE0F",sheet:[45,1]},{unified:"1F9CF-1F3FE-200D-2640-FE0F",sheet:[45,2]},{unified:"1F9CF-1F3FF-200D-2640-FE0F",sheet:[45,3]}],shortName:"deaf_woman"},{name:"Greenland Flag",unified:"1F1EC-1F1F1",sheet:[2,5],shortName:"flag-gl"},{name:"Lollipop",unified:"1F36D",keywords:["food","snack","candy","sweet"],sheet:[7,12],shortName:"lollipop"},{name:"Bug",unified:"1F41B",keywords:["animal","insect","nature","worm"],sheet:[11,56],shortName:"bug"},{name:"Mobile Phone off",unified:"1F4F4",keywords:["mute","orange-square","silence","quiet"],sheet:[27,17],shortName:"mobile_phone_off"},{name:"Videocassette",unified:"1F4FC",keywords:["record","video","oldschool","90s","80s"],sheet:[27,25],shortName:"vhs"},{name:"Person Bowing Deeply",unified:"1F647",sheet:[32,38],hidden:["facebook"],skinVariations:[{unified:"1F647-1F3FB",sheet:[32,39],hidden:["facebook"]},{unified:"1F647-1F3FC",sheet:[32,40],hidden:["facebook"]},{unified:"1F647-1F3FD",sheet:[32,41],hidden:["facebook"]},{unified:"1F647-1F3FE",sheet:[32,42],hidden:["facebook"]},{unified:"1F647-1F3FF",sheet:[32,43],hidden:["facebook"]}],shortName:"bow",obsoletedBy:"1F647-200D-2642-FE0F"},{name:"Auto Rickshaw",unified:"1F6FA",sheet:[37,2],shortName:"auto_rickshaw"},{name:"Clown Face",unified:"1F921",keywords:["face"],sheet:[38,18],shortName:"clown_face"},{name:"Gambia Flag",unified:"1F1EC-1F1F2",sheet:[2,6],shortName:"flag-gm"},{name:"Custard",unified:"1F36E",keywords:["dessert","food"],sheet:[7,13],shortName:"custard"},{name:"Ant",unified:"1F41C",keywords:["animal","insect","nature","bug"],sheet:[12,0],shortName:"ant"},{name:"Japanese Ogre",unified:"1F479",keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[23,34],shortName:"japanese_ogre"},{name:"Left-Pointing Magnifying Glass",unified:"1F50D",keywords:["search","zoom","find","detective"],sheet:[27,41],shortName:"mag"},{name:"Man Bowing",unified:"1F647-200D-2642-FE0F",obsoletes:"1F647",sheet:[32,32],skinVariations:[{unified:"1F647-1F3FB-200D-2642-FE0F",sheet:[32,33]},{unified:"1F647-1F3FC-200D-2642-FE0F",sheet:[32,34]},{unified:"1F647-1F3FD-200D-2642-FE0F",sheet:[32,35]},{unified:"1F647-1F3FE-200D-2642-FE0F",sheet:[32,36]},{unified:"1F647-1F3FF-200D-2642-FE0F",sheet:[32,37]}],shortName:"man-bowing"},{name:"Bicycle",unified:"1F6B2",keywords:["sports","bicycle","exercise","hipster"],sheet:[35,9],shortName:"bike"},{name:"Female Sign",unified:"2640-FE0F",sheet:[53,18],hidden:["apple"],shortName:"female_sign"},{name:"Guinea Flag",unified:"1F1EC-1F1F3",sheet:[2,7],shortName:"flag-gn"},{name:"Honey Pot",unified:"1F36F",keywords:["bees","sweet","kitchen"],sheet:[7,14],shortName:"honey_pot"},{name:"Honeybee",unified:"1F41D",sheet:[12,1],shortNames:["honeybee"],shortName:"bee"},{name:"Japanese Goblin",unified:"1F47A",keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[23,35],shortName:"japanese_goblin"},{name:"Right-Pointing Magnifying Glass",unified:"1F50E",keywords:["search","zoom","find","detective"],sheet:[27,42],shortName:"mag_right"},{name:"Woman Bowing",unified:"1F647-200D-2640-FE0F",sheet:[32,26],skinVariations:[{unified:"1F647-1F3FB-200D-2640-FE0F",sheet:[32,27]},{unified:"1F647-1F3FC-200D-2640-FE0F",sheet:[32,28]},{unified:"1F647-1F3FD-200D-2640-FE0F",sheet:[32,29]},{unified:"1F647-1F3FE-200D-2640-FE0F",sheet:[32,30]},{unified:"1F647-1F3FF-200D-2640-FE0F",sheet:[32,31]}],shortName:"woman-bowing"},{name:"Scooter",unified:"1F6F4",sheet:[36,53],shortName:"scooter"},{name:"Male Sign",unified:"2642-FE0F",sheet:[53,19],hidden:["apple"],shortName:"male_sign"},{name:"Guadeloupe Flag",unified:"1F1EC-1F1F5",sheet:[2,8],shortName:"flag-gp"},{name:"Baby Bottle",unified:"1F37C",keywords:["food","container","milk"],sheet:[7,27],shortName:"baby_bottle"},{name:"Lady Beetle",unified:"1F41E",keywords:["animal","insect","nature","ladybug"],sheet:[12,2],shortName:"beetle"},{name:"Ghost",unified:"1F47B",keywords:["halloween","spooky","scary"],sheet:[23,36],shortName:"ghost"},{name:"Candle",unified:"1F56F-FE0F",keywords:["fire","wax"],sheet:[29,6],shortName:"candle"},{name:"Skateboard",unified:"1F6F9",keywords:["board"],sheet:[37,1],shortName:"skateboard"},{name:"Face Palm",unified:"1F926",sheet:[38,35],hidden:["facebook"],skinVariations:[{unified:"1F926-1F3FB",sheet:[38,36],hidden:["facebook"]},{unified:"1F926-1F3FC",sheet:[38,37],hidden:["facebook"]},{unified:"1F926-1F3FD",sheet:[38,38],hidden:["facebook"]},{unified:"1F926-1F3FE",sheet:[38,39],hidden:["facebook"]},{unified:"1F926-1F3FF",sheet:[38,40],hidden:["facebook"]}],shortName:"face_palm"},{name:"Medical Symbol",unified:"2695-FE0F",sheet:[53,44],hidden:["apple"],shortNames:["staff_of_aesculapius"],shortName:"medical_symbol"},{name:"Equatorial Guinea Flag",unified:"1F1EC-1F1F6",sheet:[2,9],shortName:"flag-gq"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["UFO","paul","weird","outer_space"],sheet:[23,43],shortName:"alien"},{name:"Electric Light Bulb",unified:"1F4A1",keywords:["light","electricity","idea"],sheet:[25,43],shortName:"bulb"},{name:"Bus Stop",unified:"1F68F",keywords:["transportation","wait"],sheet:[34,14],shortName:"busstop"},{name:"Man Facepalming",unified:"1F926-200D-2642-FE0F",sheet:[38,29],skinVariations:[{unified:"1F926-1F3FB-200D-2642-FE0F",sheet:[38,30]},{unified:"1F926-1F3FC-200D-2642-FE0F",sheet:[38,31]},{unified:"1F926-1F3FD-200D-2642-FE0F",sheet:[38,32]},{unified:"1F926-1F3FE-200D-2642-FE0F",sheet:[38,33]},{unified:"1F926-1F3FF-200D-2642-FE0F",sheet:[38,34]}],shortName:"man-facepalming"},{name:"Glass of Milk",unified:"1F95B",sheet:[41,42],shortName:"glass_of_milk"},{name:"Cricket",unified:"1F997",keywords:["sports"],sheet:[42,41],shortName:"cricket"},{name:"Infinity",unified:"267E-FE0F",keywords:["forever"],sheet:[53,39],shortName:"infinity"},{name:"Greece Flag",unified:"1F1EC-1F1F7",sheet:[2,10],shortName:"flag-gr"},{name:"Alien Monster",unified:"1F47E",keywords:["game","arcade","play"],sheet:[23,44],shortName:"space_invader"},{name:"Electric Torch",unified:"1F526",keywords:["dark","camping","sight","night"],sheet:[28,9],shortName:"flashlight"},{name:"Spider",unified:"1F577-FE0F",keywords:["animal","arachnid"],sheet:[29,34],shortName:"spider"},{name:"Motorway",unified:"1F6E3-FE0F",keywords:["road","cupertino","interstate","highway"],sheet:[36,45],shortName:"motorway"},{name:"Woman Facepalming",unified:"1F926-200D-2640-FE0F",sheet:[38,23],skinVariations:[{unified:"1F926-1F3FB-200D-2640-FE0F",sheet:[38,24]},{unified:"1F926-1F3FC-200D-2640-FE0F",sheet:[38,25]},{unified:"1F926-1F3FD-200D-2640-FE0F",sheet:[38,26]},{unified:"1F926-1F3FE-200D-2640-FE0F",sheet:[38,27]},{unified:"1F926-1F3FF-200D-2640-FE0F",sheet:[38,28]}],shortName:"woman-facepalming"},{name:"Hot Beverage",unified:"2615",keywords:["beverage","caffeine","latte","espresso"],sheet:[53,0],shortName:"coffee"},{name:"Black Universal Recycling Symbol",unified:"267B-FE0F",keywords:["arrow","environment","garbage","trash"],sheet:[53,38],shortName:"recycle"},{name:"South Georgia & South Sandwich Islands Flag",unified:"1F1EC-1F1F8",sheet:[2,11],shortName:"flag-gs"},{name:"Teacup Without Handle",unified:"1F375",keywords:["drink","bowl","breakfast","green","british"],sheet:[7,20],shortName:"tea"},{name:"Izakaya Lantern",unified:"1F3EE",keywords:["light","paper","halloween","spooky"],sheet:[11,8],shortNames:["lantern"],shortName:"izakaya_lantern"},{name:"Spider Web",unified:"1F578-FE0F",keywords:["animal","insect","arachnid","silk"],sheet:[29,35],shortName:"spider_web"},{name:"Railway Track",unified:"1F6E4-FE0F",keywords:["train","transportation"],sheet:[36,46],shortName:"railway_track"},{name:"Robot Face",unified:"1F916",sheet:[37,29],shortName:"robot_face"},{name:"Shrug",unified:"1F937",sheet:[39,47],hidden:["facebook"],skinVariations:[{unified:"1F937-1F3FB",sheet:[39,48],hidden:["facebook"]},{unified:"1F937-1F3FC",sheet:[39,49],hidden:["facebook"]},{unified:"1F937-1F3FD",sheet:[39,50],hidden:["facebook"]},{unified:"1F937-1F3FE",sheet:[39,51],hidden:["facebook"]},{unified:"1F937-1F3FF",sheet:[39,52],hidden:["facebook"]}],shortName:"shrug"},{name:"Fleur De Lis",unified:"269C-FE0F",keywords:["decorative","scout"],sheet:[53,49],shortName:"fleur_de_lis"},{name:"Guatemala Flag",unified:"1F1EC-1F1F9",sheet:[2,12],shortName:"flag-gt"},{name:"Sake Bottle and Cup",unified:"1F376",keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],sheet:[7,21],shortName:"sake"},{name:"Trident Emblem",unified:"1F531",keywords:["weapon","spear"],sheet:[28,20],shortName:"trident"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["animal","cats","happy","smile"],sheet:[31,36],shortName:"smiley_cat"},{name:"Oil Drum",unified:"1F6E2-FE0F",keywords:["barrell"],sheet:[36,44],shortName:"oil_drum"},{name:"Man Shrugging",unified:"1F937-200D-2642-FE0F",sheet:[39,41],skinVariations:[{unified:"1F937-1F3FB-200D-2642-FE0F",sheet:[39,42]},{unified:"1F937-1F3FC-200D-2642-FE0F",sheet:[39,43]},{unified:"1F937-1F3FD-200D-2642-FE0F",sheet:[39,44]},{unified:"1F937-1F3FE-200D-2642-FE0F",sheet:[39,45]},{unified:"1F937-1F3FF-200D-2642-FE0F",sheet:[39,46]}],shortName:"man-shrugging"},{name:"Scorpion",unified:"1F982",keywords:["animal","arachnid"],sheet:[42,20],shortName:"scorpion"},{name:"Diya Lamp",unified:"1FA94",sheet:[52,8],shortName:"diya_lamp"},{name:"Guam Flag",unified:"1F1EC-1F1FA",sheet:[2,13],shortName:"flag-gu"},{name:"Bottle with Popping Cork",unified:"1F37E",keywords:["drink","wine","bottle","celebration"],sheet:[7,29],shortName:"champagne"},{name:"Notebook with Decorative Cover",unified:"1F4D4",keywords:["classroom","notes","record","paper","study"],sheet:[26,42],shortName:"notebook_with_decorative_cover"},{name:"Name Badge",unified:"1F4DB",keywords:["fire","forbid"],sheet:[26,49],shortName:"name_badge"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["animal","cats","smile"],sheet:[31,34],shortName:"smile_cat"},{name:"Woman Shrugging",unified:"1F937-200D-2640-FE0F",sheet:[39,35],skinVariations:[{unified:"1F937-1F3FB-200D-2640-FE0F",sheet:[39,36]},{unified:"1F937-1F3FC-200D-2640-FE0F",sheet:[39,37]},{unified:"1F937-1F3FD-200D-2640-FE0F",sheet:[39,38]},{unified:"1F937-1F3FE-200D-2640-FE0F",sheet:[39,39]},{unified:"1F937-1F3FF-200D-2640-FE0F",sheet:[39,40]}],shortName:"woman-shrugging"},{name:"Mosquito",unified:"1F99F",keywords:["animal","nature","insect","malaria"],sheet:[42,49],shortName:"mosquito"},{name:"Fuel Pump",unified:"26FD",keywords:["gas station","petroleum"],sheet:[54,38],shortName:"fuelpump"},{name:"Guinea-Bissau Flag",unified:"1F1EC-1F1FC",sheet:[2,14],shortName:"flag-gw"},{name:"Wine Glass",unified:"1F377",keywords:["drink","beverage","drunk","alcohol","booze"],sheet:[7,22],shortName:"wine_glass"},{name:"Closed Book",unified:"1F4D5",keywords:["read","library","knowledge","textbook","learn"],sheet:[26,43],shortName:"closed_book"},{name:"Japanese Symbol for Beginner",unified:"1F530",keywords:["badge","shield"],sheet:[28,19],shortName:"beginner"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["animal","cats","haha","happy","tears"],sheet:[31,35],shortName:"joy_cat"},{name:"Police Cars Revolving Light",unified:"1F6A8",keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],sheet:[34,56],shortName:"rotating_light"},{name:"Microbe",unified:"1F9A0",keywords:["amoeba","bacteria","germs"],sheet:[42,50],shortName:"microbe"},{name:"Health Worker",unified:"1F9D1-200D-2695-FE0F",sheet:[47,49],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-2695-FE0F",sheet:[47,50],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-2695-FE0F",sheet:[47,51],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-2695-FE0F",sheet:[47,52],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-2695-FE0F",sheet:[47,53],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-2695-FE0F",sheet:[47,54],hidden:["google","twitter","facebook"]}],shortName:"health_worker"},{name:"Guyana Flag",unified:"1F1EC-1F1FE",sheet:[2,15],shortName:"flag-gy"},{name:"Cocktail Glass",unified:"1F378",keywords:["drink","drunk","alcohol","beverage","booze","mojito"],sheet:[7,23],shortName:"cocktail"},{name:"Male Doctor",unified:"1F468-200D-2695-FE0F",sheet:[17,2],skinVariations:[{unified:"1F468-1F3FB-200D-2695-FE0F",sheet:[17,3]},{unified:"1F468-1F3FC-200D-2695-FE0F",sheet:[17,4]},{unified:"1F468-1F3FD-200D-2695-FE0F",sheet:[17,5]},{unified:"1F468-1F3FE-200D-2695-FE0F",sheet:[17,6]},{unified:"1F468-1F3FF-200D-2695-FE0F",sheet:[17,7]}],shortName:"male-doctor"},{name:"Bouquet",unified:"1F490",keywords:["flowers","nature","spring"],sheet:[25,26],shortName:"bouquet"},{name:"Open Book",unified:"1F4D6",sheet:[26,44],shortNames:["open_book"],shortName:"book"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["animal","love","like","affection","cats","valentines","heart"],sheet:[31,37],shortName:"heart_eyes_cat"},{name:"Horizontal Traffic Light",unified:"1F6A5",keywords:["transportation","signal"],sheet:[34,53],shortName:"traffic_light"},{name:"Heavy Large Circle",unified:"2B55",keywords:["circle","round"],sheet:[55,43],shortName:"o"},{name:"Hong Kong Sar China Flag",unified:"1F1ED-1F1F0",sheet:[2,16],shortName:"flag-hk"},{name:"Cherry Blossom",unified:"1F338",keywords:["nature","plant","spring","flower"],sheet:[6,16],shortName:"cherry_blossom"},{name:"Tropical Drink",unified:"1F379",keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],sheet:[7,24],shortName:"tropical_drink"},{name:"Female Doctor",unified:"1F469-200D-2695-FE0F",sheet:[19,44],skinVariations:[{unified:"1F469-1F3FB-200D-2695-FE0F",sheet:[19,45]},{unified:"1F469-1F3FC-200D-2695-FE0F",sheet:[19,46]},{unified:"1F469-1F3FD-200D-2695-FE0F",sheet:[19,47]},{unified:"1F469-1F3FE-200D-2695-FE0F",sheet:[19,48]},{unified:"1F469-1F3FF-200D-2695-FE0F",sheet:[19,49]}],shortName:"female-doctor"},{name:"Green Book",unified:"1F4D7",keywords:["read","library","knowledge","study"],sheet:[26,45],shortName:"green_book"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["animal","cats","smirk"],sheet:[31,38],shortName:"smirk_cat"},{name:"Vertical Traffic Light",unified:"1F6A6",keywords:["transportation","driving"],sheet:[34,54],shortName:"vertical_traffic_light"},{name:"White Heavy Check Mark",unified:"2705",keywords:["green-square","ok","agree","vote","election","answer","tick"],sheet:[54,40],shortName:"white_check_mark"},{name:"Heard & Mcdonald Islands Flag",unified:"1F1ED-1F1F2",sheet:[2,17],shortName:"flag-hm"},{name:"Beer Mug",unified:"1F37A",keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,25],shortName:"beer"},{name:"White Flower",unified:"1F4AE",keywords:["japanese","spring"],sheet:[26,4],shortName:"white_flower"},{name:"Blue Book",unified:"1F4D8",keywords:["read","library","knowledge","learn","study"],sheet:[26,46],shortName:"blue_book"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["animal","cats","kiss"],sheet:[31,39],shortName:"kissing_cat"},{name:"Octagonal Sign",unified:"1F6D1",sheet:[36,39],shortName:"octagonal_sign"},{name:"Student",unified:"1F9D1-200D-1F393",sheet:[45,29],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F393",sheet:[45,30],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F393",sheet:[45,31],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F393",sheet:[45,32],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F393",sheet:[45,33],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F393",sheet:[45,34],hidden:["google","twitter","facebook"]}],shortName:"student"},{name:"Ballot Box with Check",unified:"2611-FE0F",keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],sheet:[52,55],shortName:"ballot_box_with_check"},{name:"Honduras Flag",unified:"1F1ED-1F1F3",sheet:[2,18],shortName:"flag-hn"},{name:"Clinking Beer Mugs",unified:"1F37B",keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,26],shortName:"beers"},{name:"Rosette",unified:"1F3F5-FE0F",keywords:["flower","decoration","military"],sheet:[11,18],shortName:"rosette"},{name:"Male Student",unified:"1F468-200D-1F393",sheet:[14,50],skinVariations:[{unified:"1F468-1F3FB-200D-1F393",sheet:[14,51]},{unified:"1F468-1F3FC-200D-1F393",sheet:[14,52]},{unified:"1F468-1F3FD-200D-1F393",sheet:[14,53]},{unified:"1F468-1F3FE-200D-1F393",sheet:[14,54]},{unified:"1F468-1F3FF-200D-1F393",sheet:[14,55]}],shortName:"male-student"},{name:"Orange Book",unified:"1F4D9",keywords:["read","library","knowledge","textbook","study"],sheet:[26,47],shortName:"orange_book"},{name:"Weary Cat Face",unified:"1F640",keywords:["animal","cats","munch","scared","scream"],sheet:[31,42],shortName:"scream_cat"},{name:"Construction Sign",unified:"1F6A7",keywords:["wip","progress","caution","warning"],sheet:[34,55],shortName:"construction"},{name:"Heavy Check Mark",unified:"2714-FE0F",keywords:["ok","nike","answer","yes","tick"],sheet:[55,12],shortName:"heavy_check_mark"},{name:"Croatia Flag",unified:"1F1ED-1F1F7",sheet:[2,19],shortName:"flag-hr"},{name:"Rose",unified:"1F339",keywords:["flowers","valentines","love","spring"],sheet:[6,17],shortName:"rose"},{name:"Female Student",unified:"1F469-200D-1F393",sheet:[17,40],skinVariations:[{unified:"1F469-1F3FB-200D-1F393",sheet:[17,41]},{unified:"1F469-1F3FC-200D-1F393",sheet:[17,42]},{unified:"1F469-1F3FD-200D-1F393",sheet:[17,43]},{unified:"1F469-1F3FE-200D-1F393",sheet:[17,44]},{unified:"1F469-1F3FF-200D-1F393",sheet:[17,45]}],shortName:"female-student"},{name:"Books",unified:"1F4DA",keywords:["literature","library","study"],sheet:[26,48],shortName:"books"},{name:"Crying Cat Face",unified:"1F63F",keywords:["animal","tears","weep","sad","cats","upset","cry"],sheet:[31,41],shortName:"crying_cat_face"},{name:"Clinking Glasses",unified:"1F942",keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],sheet:[41,18],shortName:"clinking_glasses"},{name:"Anchor",unified:"2693",keywords:["ship","ferry","sea","boat"],sheet:[53,42],shortName:"anchor"},{name:"Heavy Multiplication X",unified:"2716-FE0F",keywords:["math","calculation"],sheet:[55,13],shortName:"heavy_multiplication_x"},{name:"Haiti Flag",unified:"1F1ED-1F1F9",sheet:[2,20],shortName:"flag-ht"},{name:"Notebook",unified:"1F4D3",keywords:["stationery","record","notes","paper","study"],sheet:[26,41],shortName:"notebook"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["animal","cats"],sheet:[31,40],shortName:"pouting_cat"},{name:"Wilted Flower",unified:"1F940",keywords:["plant","nature","flower"],sheet:[41,16],shortName:"wilted_flower"},{name:"Tumbler Glass",unified:"1F943",keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],sheet:[41,19],shortName:"tumbler_glass"},{name:"Teacher",unified:"1F9D1-200D-1F3EB",sheet:[45,47],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3EB",sheet:[45,48],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F3EB",sheet:[45,49],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F3EB",sheet:[45,50],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F3EB",sheet:[45,51],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F3EB",sheet:[45,52],hidden:["google","twitter","facebook"]}],shortName:"teacher"},{name:"Sailboat",unified:"26F5",sheet:[54,16],shortNames:["sailboat"],shortName:"boat"},{name:"Cross Mark",unified:"274C",keywords:["no","delete","remove","cancel","red"],sheet:[55,21],shortName:"x"},{name:"Hungary Flag",unified:"1F1ED-1F1FA",sheet:[2,21],shortName:"flag-hu"},{name:"Hibiscus",unified:"1F33A",keywords:["plant","vegetable","flowers","beach"],sheet:[6,18],shortName:"hibiscus"},{name:"Male Teacher",unified:"1F468-200D-1F3EB",sheet:[15,11],skinVariations:[{unified:"1F468-1F3FB-200D-1F3EB",sheet:[15,12]},{unified:"1F468-1F3FC-200D-1F3EB",sheet:[15,13]},{unified:"1F468-1F3FD-200D-1F3EB",sheet:[15,14]},{unified:"1F468-1F3FE-200D-1F3EB",sheet:[15,15]},{unified:"1F468-1F3FF-200D-1F3EB",sheet:[15,16]}],shortName:"male-teacher"},{name:"Ledger",unified:"1F4D2",keywords:["notes","paper"],sheet:[26,40],shortName:"ledger"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["monkey","animal","nature","haha"],sheet:[32,44],shortName:"see_no_evil"},{name:"Canoe",unified:"1F6F6",keywords:["boat","paddle","water","ship"],sheet:[36,55],shortName:"canoe"},{name:"Cup with Straw",unified:"1F964",keywords:["drink","soda"],sheet:[41,51],shortName:"cup_with_straw"},{name:"Negative Squared Cross Mark",unified:"274E",keywords:["x","green-square","no","deny"],sheet:[55,22],shortName:"negative_squared_cross_mark"},{name:"Canary Islands Flag",unified:"1F1EE-1F1E8",sheet:[2,22],shortName:"flag-ic"},{name:"Sunflower",unified:"1F33B",keywords:["nature","plant","fall"],sheet:[6,19],shortName:"sunflower"},{name:"Female Teacher",unified:"1F469-200D-1F3EB",sheet:[18,1],skinVariations:[{unified:"1F469-1F3FB-200D-1F3EB",sheet:[18,2]},{unified:"1F469-1F3FC-200D-1F3EB",sheet:[18,3]},{unified:"1F469-1F3FD-200D-1F3EB",sheet:[18,4]},{unified:"1F469-1F3FE-200D-1F3EB",sheet:[18,5]},{unified:"1F469-1F3FF-200D-1F3EB",sheet:[18,6]}],shortName:"female-teacher"},{name:"Page with Curl",unified:"1F4C3",keywords:["documents","office","paper"],sheet:[26,25],shortName:"page_with_curl"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["animal","monkey","nature"],sheet:[32,45],shortName:"hear_no_evil"},{name:"Speedboat",unified:"1F6A4",keywords:["ship","transportation","vehicle","summer"],sheet:[34,52],shortName:"speedboat"},{name:"Beverage Box",unified:"1F9C3",sheet:[44,11],shortName:"beverage_box"},{name:"Heavy Plus Sign",unified:"2795",keywords:["math","calculation","addition","more","increase"],sheet:[55,29],shortName:"heavy_plus_sign"},{name:"Indonesia Flag",unified:"1F1EE-1F1E9",sheet:[2,23],shortName:"flag-id"},{name:"Blossom",unified:"1F33C",keywords:["nature","flowers","yellow"],sheet:[6,20],shortName:"blossom"},{name:"Scroll",unified:"1F4DC",keywords:["documents","ancient","history","paper"],sheet:[26,50],shortName:"scroll"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["monkey","animal","nature","omg"],sheet:[32,46],shortName:"speak_no_evil"},{name:"Passenger Ship",unified:"1F6F3-FE0F",keywords:["yacht","cruise","ferry"],sheet:[36,52],shortName:"passenger_ship"},{name:"Mate Drink",unified:"1F9C9",sheet:[44,17],shortName:"mate_drink"},{name:"Judge",unified:"1F9D1-200D-2696-FE0F",sheet:[47,55],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-2696-FE0F",sheet:[47,56],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-2696-FE0F",sheet:[48,0],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-2696-FE0F",sheet:[48,1],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-2696-FE0F",sheet:[48,2],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-2696-FE0F",sheet:[48,3],hidden:["google","twitter","facebook"]}],shortName:"judge"},{name:"Heavy Minus Sign",unified:"2796",keywords:["math","calculation","subtract","less"],sheet:[55,30],shortName:"heavy_minus_sign"},{name:"Ireland Flag",unified:"1F1EE-1F1EA",sheet:[2,24],shortName:"flag-ie"},{name:"Tulip",unified:"1F337",keywords:["flowers","plant","nature","summer","spring"],sheet:[6,15],shortName:"tulip"},{name:"Male Judge",unified:"1F468-200D-2696-FE0F",sheet:[17,8],skinVariations:[{unified:"1F468-1F3FB-200D-2696-FE0F",sheet:[17,9]},{unified:"1F468-1F3FC-200D-2696-FE0F",sheet:[17,10]},{unified:"1F468-1F3FD-200D-2696-FE0F",sheet:[17,11]},{unified:"1F468-1F3FE-200D-2696-FE0F",sheet:[17,12]},{unified:"1F468-1F3FF-200D-2696-FE0F",sheet:[17,13]}],shortName:"male-judge"},{name:"Kiss Mark",unified:"1F48B",keywords:["face","lips","love","like","affection","valentines"],sheet:[25,21],shortName:"kiss"},{name:"Page Facing Up",unified:"1F4C4",keywords:["documents","office","paper","information"],sheet:[26,26],shortName:"page_facing_up"},{name:"Ice Cube",unified:"1F9CA",sheet:[44,18],shortName:"ice_cube"},{name:"Ferry",unified:"26F4-FE0F",keywords:["boat","ship","yacht"],sheet:[54,15],shortName:"ferry"},{name:"Heavy Division Sign",unified:"2797",keywords:["divide","math","calculation"],sheet:[55,31],shortName:"heavy_division_sign"},{name:"Israel Flag",unified:"1F1EE-1F1F1",sheet:[2,25],shortName:"flag-il"},{name:"Seedling",unified:"1F331",keywords:["plant","nature","grass","lawn","spring"],sheet:[6,9],shortName:"seedling"},{name:"Female Judge",unified:"1F469-200D-2696-FE0F",sheet:[19,50],skinVariations:[{unified:"1F469-1F3FB-200D-2696-FE0F",sheet:[19,51]},{unified:"1F469-1F3FC-200D-2696-FE0F",sheet:[19,52]},{unified:"1F469-1F3FD-200D-2696-FE0F",sheet:[19,53]},{unified:"1F469-1F3FE-200D-2696-FE0F",sheet:[19,54]},{unified:"1F469-1F3FF-200D-2696-FE0F",sheet:[19,55]}],shortName:"female-judge"},{name:"Love Letter",unified:"1F48C",keywords:["email","like","affection","envelope","valentines"],sheet:[25,22],shortName:"love_letter"},{name:"Newspaper",unified:"1F4F0",keywords:["press","headline"],sheet:[27,13],shortName:"newspaper"},{name:"Motor Boat",unified:"1F6E5-FE0F",keywords:["ship"],sheet:[36,47],shortName:"motor_boat"},{name:"Chopsticks",unified:"1F962",keywords:["food"],sheet:[41,49],shortName:"chopsticks"},{name:"Curly Loop",unified:"27B0",keywords:["scribble","draw","shape","squiggle"],sheet:[55,33],shortName:"curly_loop"},{name:"Isle of Man Flag",unified:"1F1EE-1F1F2",sheet:[2,26],shortName:"flag-im"},{name:"Evergreen Tree",unified:"1F332",keywords:["plant","nature"],sheet:[6,10],shortName:"evergreen_tree"},{name:"Knife Fork Plate",unified:"1F37D-FE0F",sheet:[7,28],shortName:"knife_fork_plate"},{name:"Heart with Arrow",unified:"1F498",keywords:["love","like","heart","affection","valentines"],sheet:[25,34],shortName:"cupid"},{name:"Rolled Up Newspaper",unified:"1F5DE-FE0F",sheet:[30,23],shortName:"rolled_up_newspaper"},{name:"Ship",unified:"1F6A2",keywords:["transportation","titanic","deploy"],sheet:[34,33],shortName:"ship"},{name:"Farmer",unified:"1F9D1-200D-1F33E",sheet:[45,17],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F33E",sheet:[45,18],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F33E",sheet:[45,19],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F33E",sheet:[45,20],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F33E",sheet:[45,21],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F33E",sheet:[45,22],hidden:["google","twitter","facebook"]}],shortName:"farmer"},{name:"Double Curly Loop",unified:"27BF",keywords:["tape","cassette"],sheet:[55,34],shortName:"loop"},{name:"India Flag",unified:"1F1EE-1F1F3",sheet:[2,27],shortName:"flag-in"},{name:"Deciduous Tree",unified:"1F333",keywords:["plant","nature"],sheet:[6,11],shortName:"deciduous_tree"},{name:"Fork and Knife",unified:"1F374",keywords:["cutlery","kitchen"],sheet:[7,19],shortName:"fork_and_knife"},{name:"Male Farmer",unified:"1F468-200D-1F33E",sheet:[14,38],skinVariations:[{unified:"1F468-1F3FB-200D-1F33E",sheet:[14,39]},{unified:"1F468-1F3FC-200D-1F33E",sheet:[14,40]},{unified:"1F468-1F3FD-200D-1F33E",sheet:[14,41]},{unified:"1F468-1F3FE-200D-1F33E",sheet:[14,42]},{unified:"1F468-1F3FF-200D-1F33E",sheet:[14,43]}],shortName:"male-farmer"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["love","valentines"],sheet:[25,39],shortName:"gift_heart"},{name:"Bookmark Tabs",unified:"1F4D1",keywords:["favorite","save","order","tidy"],sheet:[26,39],shortName:"bookmark_tabs"},{name:"Airplane",unified:"2708-FE0F",keywords:["vehicle","transportation","flight","fly"],sheet:[54,41],shortName:"airplane"},{name:"Part Alternation Mark",unified:"303D-FE0F",keywords:["graph","presentation","stats","business","economics","bad"],sheet:[55,45],shortName:"part_alternation_mark"},{name:"British Indian Ocean Territory Flag",unified:"1F1EE-1F1F4",sheet:[2,28],shortName:"flag-io"},{name:"Palm Tree",unified:"1F334",keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],sheet:[6,12],shortName:"palm_tree"},{name:"Female Farmer",unified:"1F469-200D-1F33E",sheet:[17,28],skinVariations:[{unified:"1F469-1F3FB-200D-1F33E",sheet:[17,29]},{unified:"1F469-1F3FC-200D-1F33E",sheet:[17,30]},{unified:"1F469-1F3FD-200D-1F33E",sheet:[17,31]},{unified:"1F469-1F3FE-200D-1F33E",sheet:[17,32]},{unified:"1F469-1F3FF-200D-1F33E",sheet:[17,33]}],shortName:"female-farmer"},{name:"Sparkling Heart",unified:"1F496",keywords:["love","like","affection","valentines"],sheet:[25,32],shortName:"sparkling_heart"},{name:"Bookmark",unified:"1F516",keywords:["favorite","label","save"],sheet:[27,50],shortName:"bookmark"},{name:"Small Airplane",unified:"1F6E9-FE0F",keywords:["flight","transportation","fly","vehicle"],sheet:[36,48],shortName:"small_airplane"},{name:"Spoon",unified:"1F944",keywords:["cutlery","kitchen","tableware"],sheet:[41,20],shortName:"spoon"},{name:"Eight Spoked Asterisk",unified:"2733-FE0F",keywords:["star","sparkle","green-square"],sheet:[55,17],shortName:"eight_spoked_asterisk"},{name:"Iraq Flag",unified:"1F1EE-1F1F6",sheet:[2,29],shortName:"flag-iq"},{name:"Cactus",unified:"1F335",keywords:["vegetable","plant","nature"],sheet:[6,13],shortName:"cactus"},{name:"Label",unified:"1F3F7-FE0F",keywords:["sale","tag"],sheet:[11,19],shortName:"label"},{name:"Growing Heart",unified:"1F497",keywords:["like","love","affection","valentines","pink"],sheet:[25,33],shortName:"heartpulse"},{name:"Hocho",unified:"1F52A",keywords:["knife","blade","cutlery","kitchen","weapon"],sheet:[28,13],shortNames:["knife"],shortName:"hocho"},{name:"Airplane Departure",unified:"1F6EB",sheet:[36,49],shortName:"airplane_departure"},{name:"Cook",unified:"1F9D1-200D-1F373",sheet:[45,23],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F373",sheet:[45,24],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F373",sheet:[45,25],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F373",sheet:[45,26],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F373",sheet:[45,27],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F373",sheet:[45,28],hidden:["google","twitter","facebook"]}],shortName:"cook"},{name:"Eight Pointed Black Star",unified:"2734-FE0F",keywords:["orange-square","shape","polygon"],sheet:[55,18],shortName:"eight_pointed_black_star"},{name:"Iran Flag",unified:"1F1EE-1F1F7",sheet:[2,30],shortName:"flag-ir"},{name:"Ear of Rice",unified:"1F33E",keywords:["nature","plant"],sheet:[6,22],shortName:"ear_of_rice"},{name:"Amphora",unified:"1F3FA",keywords:["vase","jar"],sheet:[11,22],shortName:"amphora"},{name:"Male Cook",unified:"1F468-200D-1F373",sheet:[14,44],skinVariations:[{unified:"1F468-1F3FB-200D-1F373",sheet:[14,45]},{unified:"1F468-1F3FC-200D-1F373",sheet:[14,46]},{unified:"1F468-1F3FD-200D-1F373",sheet:[14,47]},{unified:"1F468-1F3FE-200D-1F373",sheet:[14,48]},{unified:"1F468-1F3FF-200D-1F373",sheet:[14,49]}],shortName:"male-cook"},{name:"Beating Heart",unified:"1F493",keywords:["love","like","affection","valentines","pink","heart"],sheet:[25,29],shortName:"heartbeat"},{name:"Money Bag",unified:"1F4B0",keywords:["dollar","payment","coins","sale"],sheet:[26,6],shortName:"moneybag"},{name:"Airplane Arriving",unified:"1F6EC",sheet:[36,50],shortName:"airplane_arriving"},{name:"Sparkle",unified:"2747-FE0F",keywords:["stars","green-square","awesome","good","fireworks"],sheet:[55,20],shortName:"sparkle"},{name:"Iceland Flag",unified:"1F1EE-1F1F8",sheet:[2,31],shortName:"flag-is"},{name:"Herb",unified:"1F33F",keywords:["vegetable","plant","medicine","weed","grass","lawn"],sheet:[6,23],shortName:"herb"},{name:"Female Cook",unified:"1F469-200D-1F373",sheet:[17,34],skinVariations:[{unified:"1F469-1F3FB-200D-1F373",sheet:[17,35]},{unified:"1F469-1F3FC-200D-1F373",sheet:[17,36]},{unified:"1F469-1F3FD-200D-1F373",sheet:[17,37]},{unified:"1F469-1F3FE-200D-1F373",sheet:[17,38]},{unified:"1F469-1F3FF-200D-1F373",sheet:[17,39]}],shortName:"female-cook"},{name:"Revolving Hearts",unified:"1F49E",keywords:["love","like","affection","valentines"],sheet:[25,40],shortName:"revolving_hearts"},{name:"Banknote with Yen Sign",unified:"1F4B4",keywords:["money","sales","japanese","dollar","currency"],sheet:[26,10],shortName:"yen"},{name:"Parachute",unified:"1FA82",sheet:[52,3],shortName:"parachute"},{name:"Double Exclamation Mark",unified:"203C-FE0F",keywords:["exclamation","surprise"],sheet:[52,10],shortName:"bangbang"},{name:"Italy Flag",unified:"1F1EE-1F1F9",keywords:["italy","flag","nation","country","banner"],sheet:[2,32],shortNames:["flag-it"],shortName:"it"},{name:"Two Hearts",unified:"1F495",keywords:["love","like","affection","valentines","heart"],sheet:[25,31],shortName:"two_hearts"},{name:"Banknote with Dollar Sign",unified:"1F4B5",keywords:["money","sales","bill","currency"],sheet:[26,11],shortName:"dollar"},{name:"Seat",unified:"1F4BA",keywords:["sit","airplane","transport","bus","flight","fly"],sheet:[26,16],shortName:"seat"},{name:"Mechanic",unified:"1F9D1-200D-1F527",sheet:[46,14],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F527",sheet:[46,15],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F527",sheet:[46,16],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F527",sheet:[46,17],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F527",sheet:[46,18],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F527",sheet:[46,19],hidden:["google","twitter","facebook"]}],shortName:"mechanic"},{name:"Exclamation Question Mark",unified:"2049-FE0F",keywords:["wat","punctuation","surprise"],sheet:[52,11],shortName:"interrobang"},{name:"Shamrock",unified:"2618-FE0F",keywords:["vegetable","plant","nature","irish","clover"],sheet:[53,1],shortName:"shamrock"},{name:"Jersey Flag",unified:"1F1EF-1F1EA",sheet:[2,33],shortName:"flag-je"},{name:"Four Leaf Clover",unified:"1F340",keywords:["vegetable","plant","nature","lucky","irish"],sheet:[6,24],shortName:"four_leaf_clover"},{name:"Male Mechanic",unified:"1F468-200D-1F527",sheet:[15,50],skinVariations:[{unified:"1F468-1F3FB-200D-1F527",sheet:[15,51]},{unified:"1F468-1F3FC-200D-1F527",sheet:[15,52]},{unified:"1F468-1F3FD-200D-1F527",sheet:[15,53]},{unified:"1F468-1F3FE-200D-1F527",sheet:[15,54]},{unified:"1F468-1F3FF-200D-1F527",sheet:[15,55]}],shortName:"male-mechanic"},{name:"Heart Decoration",unified:"1F49F",keywords:["purple-square","love","like"],sheet:[25,41],shortName:"heart_decoration"},{name:"Banknote with Euro Sign",unified:"1F4B6",keywords:["money","sales","dollar","currency"],sheet:[26,12],shortName:"euro"},{name:"Helicopter",unified:"1F681",keywords:["transportation","vehicle","fly"],sheet:[34,0],shortName:"helicopter"},{name:"Black Question Mark Ornament",unified:"2753",keywords:["doubt","confused"],sheet:[55,23],shortName:"question"},{name:"Jamaica Flag",unified:"1F1EF-1F1F2",sheet:[2,34],shortName:"flag-jm"},{name:"Maple Leaf",unified:"1F341",keywords:["nature","plant","vegetable","ca","fall"],sheet:[6,25],shortName:"maple_leaf"},{name:"Female Mechanic",unified:"1F469-200D-1F527",sheet:[18,35],skinVariations:[{unified:"1F469-1F3FB-200D-1F527",sheet:[18,36]},{unified:"1F469-1F3FC-200D-1F527",sheet:[18,37]},{unified:"1F469-1F3FD-200D-1F527",sheet:[18,38]},{unified:"1F469-1F3FE-200D-1F527",sheet:[18,39]},{unified:"1F469-1F3FF-200D-1F527",sheet:[18,40]}],shortName:"female-mechanic"},{name:"Banknote with Pound Sign",unified:"1F4B7",keywords:["british","sterling","money","sales","bills","uk","england","currency"],sheet:[26,13],shortName:"pound"},{name:"Suspension Railway",unified:"1F69F",keywords:["vehicle","transportation"],sheet:[34,30],shortName:"suspension_railway"},{name:"White Question Mark Ornament",unified:"2754",keywords:["doubts","gray","huh","confused"],sheet:[55,24],shortName:"grey_question"},{name:"Heavy Heart Exclamation Mark Ornament",unified:"2763-FE0F",sheet:[55,27],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Jordan Flag",unified:"1F1EF-1F1F4",sheet:[2,35],shortName:"flag-jo"},{name:"Fallen Leaf",unified:"1F342",keywords:["nature","plant","vegetable","leaves"],sheet:[6,26],shortName:"fallen_leaf"},{name:"Broken Heart",unified:"1F494",text:"`https://unpkg.com/emoji-datasource-${e}@5.0.1/img/${e}/sheets-256/${t}.png`;let m=(()=>{class e{constructor(){this.uncompressed=!1,this.names={},this.emojis=[],this.uncompressed||(this.uncompress(h),this.uncompressed=!0)}uncompress(e){this.emojis=e.map(t=>{const n=Object.assign({},t);if(n.shortNames||(n.shortNames=[]),n.shortNames.unshift(n.shortName),n.id=n.shortName,n.native=this.unifiedToNative(n.unified),n.skinVariations||(n.skinVariations=[]),n.keywords||(n.keywords=[]),n.emoticons||(n.emoticons=[]),n.hidden||(n.hidden=[]),n.text||(n.text=""),n.obsoletes){const t=e.find(e=>e.unified===n.obsoletes);t&&(n.keywords=t.keywords?[...n.keywords,...t.keywords,t.shortName]:[...n.keywords,t.shortName])}this.names[n.unified]=n;for(const e of n.shortNames)this.names[e]=n;return n})}getData(e,t,n){let i;if("string"==typeof e){const n=e.match(f);if(n&&(e=n[1],n[2]&&(t=parseInt(n[2],10))),!this.names.hasOwnProperty(e))return null;i=this.names[e]}else e.id?i=this.names[e.id]:e.unified&&(i=this.names[e.unified.toUpperCase()]);if(i||(i=e,i.custom=!0),i.skinVariations&&i.skinVariations.length&&t&&t>1&&n){i=Object.assign({},i);const e=l[t-1],r=i.skinVariations.find(t=>t.unified.includes(e));r.hidden&&r.hidden.includes(n)||(i.skinTone=t,i=Object.assign(Object.assign({},i),r)),i.native=this.unifiedToNative(i.unified)}return i.set=n||"",i}unifiedToNative(e){const t=e.split("-").map(e=>parseInt("0x"+e,16));return String.fromCodePoint(...t)}emojiSpriteStyles(e,t="apple",n=24,i=64,r=57,a=c,o=57){return{width:n+"px",height:n+"px",display:"inline-block","background-image":`url(${a(t,i)})`,"background-size":`${100*o}% ${100*r}%`,"background-position":this.getSpritePosition(e,o)}}getSpritePosition(e,t){const[n,i]=e,r=100/(t-1);return`${r*n}% ${r*i}%`}sanitize(e){if(null===e)return null;let t=`:${e.id||e.shortNames[0]}:`;return e.skinTone&&(t+=`:skin-tone-${e.skinTone}:`),e.colons=t,Object.assign({},e)}getSanitizedData(e,t,n){return this.sanitize(this.getData(e,t,n))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Ob)({factory:function(){return new e},token:e,providedIn:"root"}),e})(),g=(()=>{class e{constructor(e){this.emojiService=e,this.skin=1,this.set="apple",this.sheetSize=64,this.isNative=!1,this.forceSize=!1,this.tooltip=!1,this.size=24,this.emoji="",this.hideObsolete=!1,this.SHEET_COLUMNS=57,this.emojiOver=new i.p,this.emojiLeave=new i.p,this.emojiClick=new i.p,this.title="",this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=c}ngOnChanges(){if(!this.emoji)return this.isVisible=!1;const e=this.getData();if(!e)return this.isVisible=!1;if(this.unified=e.native||null,e.custom&&(this.custom=e.custom),!e.unified&&!e.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=e.shortNames[0]),e.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[e.native].concat(e.shortNames).filter(Boolean).join(", "),this.isNative&&e.unified&&e.native)this.style={fontSize:this.size+"px"},this.forceSize&&(this.style.display="inline-block",this.style.width=this.size+"px",this.style.height=this.size+"px",this.style["word-break"]="keep-all");else if(e.custom)this.style={width:this.size+"px",height:this.size+"px",display:"inline-block"},this.style=Object.assign(Object.assign({},this.style),e.spriteUrl&&this.sheetRows&&this.sheetColumns?{backgroundImage:`url(${e.spriteUrl})`,backgroundSize:`${100*this.sheetColumns}% ${100*this.sheetRows}%`,backgroundPosition:this.emojiService.getSpritePosition(e.sheet,this.sheetColumns)}:{backgroundImage:`url(${e.imageUrl})`,backgroundSize:"contain"});else if(e.hidden.length&&e.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:this.size+"px"},this.unified=this.fallback(e,this)}else this.style=this.emojiService.emojiSpriteStyles(e.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.SHEET_COLUMNS);return this.isVisible=!0}getData(){return this.emojiService.getData(this.emoji,this.skin,this.set)}getSanitizedData(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}handleClick(e){const t=this.getSanitizedData();this.emojiClick.emit({emoji:t,$event:e})}handleOver(e){const t=this.getSanitizedData();this.emojiOver.emit({emoji:t,$event:e})}handleLeave(e){const t=this.getSanitizedData();this.emojiLeave.emit({emoji:t,$event:e})}}return e.\u0275fac=function(t){return new(t||e)(i.Sb(m))},e.\u0275cmp=i.Mb({type:e,selectors:[["ngx-emoji"]],inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",hideObsolete:"hideObsolete",SHEET_COLUMNS:"SHEET_COLUMNS",backgroundImageFn:"backgroundImageFn",fallback:"fallback",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[i.Db],ngContentSelectors:F,decls:2,vars:2,consts:[["type","button","class","emoji-mart-emoji",3,"title","emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["class","emoji-mart-emoji",3,"title","emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["type","button",1,"emoji-mart-emoji",3,"title","click","mouseenter","mouseleave"],[3,"ngStyle"],[3,"ngIf"],[1,"emoji-mart-emoji",3,"title","click","mouseenter","mouseleave"]],template:function(e,t){1&e&&(i.oc(F),i.Gc(0,o,4,8,"button",0),i.Gc(1,u,4,8,"span",1)),2&e&&(i.pc("ngIf",t.useButton&&t.isVisible),i.Fb(1),i.pc("ngIf",!t.useButton&&t.isVisible))},directives:[r.m,r.n],encapsulation:2,changeDetection:0}),e})(),p=(()=>{class e{}return e.\u0275mod=i.Qb({type:e}),e.\u0275inj=i.Pb({factory:function(t){return new(t||e)},imports:[[r.c]]}),e})()}}]); \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/1-es5.39151510bab8ca25866a.js b/dist_archive/ipfs/0.9.4/1-es5.39151510bab8ca25866a.js new file mode 100644 index 0000000..b4f1da2 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/1-es5.39151510bab8ca25866a.js @@ -0,0 +1 @@ +!function(){function e(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(u){r=!0,a=u}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,u=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw o}}}}function i(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n3&&239===t[0]&&187===t[1]&&191===t[2],E=0;E0?0==(128&D)?s=!1:u--:0!=(128&D)&&(0==(64&D)?s=!1:(u++,0==(32&D)?F++:(u++,0==(16&D)?d++:(u++,0==(8&D)?h++:s=!1))))),a&&(D>127&&D<160?a=!1:D>159&&(D<192||215===D||247===D)&&w++),o&&(f>0?D<64||127===D||D>252?o=!1:f--:128===D||160===D||D>239?o=!1:D>160&&D<224?(l++,m=0,++c>g&&(g=c)):D>127?(f++,c=0,++m>p&&(p=m)):(c=0,m=0))}return s&&u>0&&(s=!1),o&&f>0&&(o=!1),s&&(y||F+d+h>0)?e.UTF8:o&&(e.ASSUME_SHIFT_JIS||g>=3||p>=3)?e.SHIFT_JIS:a&&o?2===g&&2===l||10*w>=r?e.SHIFT_JIS:e.ISO88591:a?e.ISO88591:o?e.SHIFT_JIS:s?e.UTF8:e.PLATFORM_DEFAULT_ENCODING},e.format=function(e){for(var t=[],n=1;n=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("PnHe");t.default=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n,a){var o,s,u,F;if(t.length!==n.getTotalCodewords())throw new r.default;var d=n.getECBlocksForLevel(a),h=0,f=d.getECBlocks();try{for(var l=i(f),c=l.next();!c.done;c=l.next())h+=(y=c.value).getCount()}catch(B){o={error:B}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}var m=new Array(h),g=0;try{for(var p=i(f),w=p.next();!w.done;w=p.next())for(var y=w.value,E=0;E=0&&m[b].codewords.length!==v;)b--;b++;var C=v-d.getECCodewordsPerBlock(),k=0;for(E=0;E=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("u2rX"),a=n("zKBm"),o=n("bJYy"),s=n("PRO/"),u=n("snnL"),F=n("wXP5");t.default=function(){function e(){this.decodeMiddleCounters=[0,0,0,0],this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,n,i){var a=this.decodeRowStringBuffer,u=this.decodeMiddle(n,i,a),F=a.toString(),d=e.parseExtensionString(F),h=[new s.default((i[0]+i[1])/2,t),new s.default(u,t)],f=new o.default(F,null,0,h,r.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=d&&f.putAllMetadata(d),f},e.prototype.decodeMiddle=function(e,t,n){var r,o,s=this.decodeMiddleCounters;s[0]=0,s[1]=0,s[2]=0,s[3]=0;for(var u=e.getSize(),d=t[1],h=0,f=0;f<2&&d=10&&(h|=1<<1-f),1!==f&&(d=e.getNextSet(d),d=e.getNextUnset(d))}if(2!==n.length)throw new F.default;if(parseInt(n.toString())%4!==h)throw new F.default;return d},e.parseExtensionString=function(e){return 2!==e.length?null:new Map([[u.default.ISSUE_NUMBER,parseInt(e)]])},e}()},"0xeO":function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("lbVw"),a=n("ji7Q"),o=n("gt76"),s=n("FWOh"),u=n("hkAl"),F=n("PnHe");t.default=function(){function e(e,t){for(var n,r,a=[],o=2;o40)throw new F.default;return e.VERSIONS[t-1]},e.decodeVersionInformation=function(t){for(var n=Number.MAX_SAFE_INTEGER,i=0,r=0;r6&&(t.setRegion(e-11,0,3,6),t.setRegion(0,e-11,6,3)),t},e.prototype.toString=function(){return""+this.versionNumber},e.VERSION_DECODE_INFO=Int32Array.from([31892,34236,39577,42195,48118,51042,55367,58893,63784,68472,70749,76311,79154,84390,87683,92361,96236,102084,102881,110507,110734,117786,119615,126325,127568,133589,136944,141498,145311,150283,152622,158308,161089,167017]),e.VERSIONS=[new e(1,new Int32Array(0),new o.default(7,new s.default(1,19)),new o.default(10,new s.default(1,16)),new o.default(13,new s.default(1,13)),new o.default(17,new s.default(1,9))),new e(2,Int32Array.from([6,18]),new o.default(10,new s.default(1,34)),new o.default(16,new s.default(1,28)),new o.default(22,new s.default(1,22)),new o.default(28,new s.default(1,16))),new e(3,Int32Array.from([6,22]),new o.default(15,new s.default(1,55)),new o.default(26,new s.default(1,44)),new o.default(18,new s.default(2,17)),new o.default(22,new s.default(2,13))),new e(4,Int32Array.from([6,26]),new o.default(20,new s.default(1,80)),new o.default(18,new s.default(2,32)),new o.default(26,new s.default(2,24)),new o.default(16,new s.default(4,9))),new e(5,Int32Array.from([6,30]),new o.default(26,new s.default(1,108)),new o.default(24,new s.default(2,43)),new o.default(18,new s.default(2,15),new s.default(2,16)),new o.default(22,new s.default(2,11),new s.default(2,12))),new e(6,Int32Array.from([6,34]),new o.default(18,new s.default(2,68)),new o.default(16,new s.default(4,27)),new o.default(24,new s.default(4,19)),new o.default(28,new s.default(4,15))),new e(7,Int32Array.from([6,22,38]),new o.default(20,new s.default(2,78)),new o.default(18,new s.default(4,31)),new o.default(18,new s.default(2,14),new s.default(4,15)),new o.default(26,new s.default(4,13),new s.default(1,14))),new e(8,Int32Array.from([6,24,42]),new o.default(24,new s.default(2,97)),new o.default(22,new s.default(2,38),new s.default(2,39)),new o.default(22,new s.default(4,18),new s.default(2,19)),new o.default(26,new s.default(4,14),new s.default(2,15))),new e(9,Int32Array.from([6,26,46]),new o.default(30,new s.default(2,116)),new o.default(22,new s.default(3,36),new s.default(2,37)),new o.default(20,new s.default(4,16),new s.default(4,17)),new o.default(24,new s.default(4,12),new s.default(4,13))),new e(10,Int32Array.from([6,28,50]),new o.default(18,new s.default(2,68),new s.default(2,69)),new o.default(26,new s.default(4,43),new s.default(1,44)),new o.default(24,new s.default(6,19),new s.default(2,20)),new o.default(28,new s.default(6,15),new s.default(2,16))),new e(11,Int32Array.from([6,30,54]),new o.default(20,new s.default(4,81)),new o.default(30,new s.default(1,50),new s.default(4,51)),new o.default(28,new s.default(4,22),new s.default(4,23)),new o.default(24,new s.default(3,12),new s.default(8,13))),new e(12,Int32Array.from([6,32,58]),new o.default(24,new s.default(2,92),new s.default(2,93)),new o.default(22,new s.default(6,36),new s.default(2,37)),new o.default(26,new s.default(4,20),new s.default(6,21)),new o.default(28,new s.default(7,14),new s.default(4,15))),new e(13,Int32Array.from([6,34,62]),new o.default(26,new s.default(4,107)),new o.default(22,new s.default(8,37),new s.default(1,38)),new o.default(24,new s.default(8,20),new s.default(4,21)),new o.default(22,new s.default(12,11),new s.default(4,12))),new e(14,Int32Array.from([6,26,46,66]),new o.default(30,new s.default(3,115),new s.default(1,116)),new o.default(24,new s.default(4,40),new s.default(5,41)),new o.default(20,new s.default(11,16),new s.default(5,17)),new o.default(24,new s.default(11,12),new s.default(5,13))),new e(15,Int32Array.from([6,26,48,70]),new o.default(22,new s.default(5,87),new s.default(1,88)),new o.default(24,new s.default(5,41),new s.default(5,42)),new o.default(30,new s.default(5,24),new s.default(7,25)),new o.default(24,new s.default(11,12),new s.default(7,13))),new e(16,Int32Array.from([6,26,50,74]),new o.default(24,new s.default(5,98),new s.default(1,99)),new o.default(28,new s.default(7,45),new s.default(3,46)),new o.default(24,new s.default(15,19),new s.default(2,20)),new o.default(30,new s.default(3,15),new s.default(13,16))),new e(17,Int32Array.from([6,30,54,78]),new o.default(28,new s.default(1,107),new s.default(5,108)),new o.default(28,new s.default(10,46),new s.default(1,47)),new o.default(28,new s.default(1,22),new s.default(15,23)),new o.default(28,new s.default(2,14),new s.default(17,15))),new e(18,Int32Array.from([6,30,56,82]),new o.default(30,new s.default(5,120),new s.default(1,121)),new o.default(26,new s.default(9,43),new s.default(4,44)),new o.default(28,new s.default(17,22),new s.default(1,23)),new o.default(28,new s.default(2,14),new s.default(19,15))),new e(19,Int32Array.from([6,30,58,86]),new o.default(28,new s.default(3,113),new s.default(4,114)),new o.default(26,new s.default(3,44),new s.default(11,45)),new o.default(26,new s.default(17,21),new s.default(4,22)),new o.default(26,new s.default(9,13),new s.default(16,14))),new e(20,Int32Array.from([6,34,62,90]),new o.default(28,new s.default(3,107),new s.default(5,108)),new o.default(26,new s.default(3,41),new s.default(13,42)),new o.default(30,new s.default(15,24),new s.default(5,25)),new o.default(28,new s.default(15,15),new s.default(10,16))),new e(21,Int32Array.from([6,28,50,72,94]),new o.default(28,new s.default(4,116),new s.default(4,117)),new o.default(26,new s.default(17,42)),new o.default(28,new s.default(17,22),new s.default(6,23)),new o.default(30,new s.default(19,16),new s.default(6,17))),new e(22,Int32Array.from([6,26,50,74,98]),new o.default(28,new s.default(2,111),new s.default(7,112)),new o.default(28,new s.default(17,46)),new o.default(30,new s.default(7,24),new s.default(16,25)),new o.default(24,new s.default(34,13))),new e(23,Int32Array.from([6,30,54,78,102]),new o.default(30,new s.default(4,121),new s.default(5,122)),new o.default(28,new s.default(4,47),new s.default(14,48)),new o.default(30,new s.default(11,24),new s.default(14,25)),new o.default(30,new s.default(16,15),new s.default(14,16))),new e(24,Int32Array.from([6,28,54,80,106]),new o.default(30,new s.default(6,117),new s.default(4,118)),new o.default(28,new s.default(6,45),new s.default(14,46)),new o.default(30,new s.default(11,24),new s.default(16,25)),new o.default(30,new s.default(30,16),new s.default(2,17))),new e(25,Int32Array.from([6,32,58,84,110]),new o.default(26,new s.default(8,106),new s.default(4,107)),new o.default(28,new s.default(8,47),new s.default(13,48)),new o.default(30,new s.default(7,24),new s.default(22,25)),new o.default(30,new s.default(22,15),new s.default(13,16))),new e(26,Int32Array.from([6,30,58,86,114]),new o.default(28,new s.default(10,114),new s.default(2,115)),new o.default(28,new s.default(19,46),new s.default(4,47)),new o.default(28,new s.default(28,22),new s.default(6,23)),new o.default(30,new s.default(33,16),new s.default(4,17))),new e(27,Int32Array.from([6,34,62,90,118]),new o.default(30,new s.default(8,122),new s.default(4,123)),new o.default(28,new s.default(22,45),new s.default(3,46)),new o.default(30,new s.default(8,23),new s.default(26,24)),new o.default(30,new s.default(12,15),new s.default(28,16))),new e(28,Int32Array.from([6,26,50,74,98,122]),new o.default(30,new s.default(3,117),new s.default(10,118)),new o.default(28,new s.default(3,45),new s.default(23,46)),new o.default(30,new s.default(4,24),new s.default(31,25)),new o.default(30,new s.default(11,15),new s.default(31,16))),new e(29,Int32Array.from([6,30,54,78,102,126]),new o.default(30,new s.default(7,116),new s.default(7,117)),new o.default(28,new s.default(21,45),new s.default(7,46)),new o.default(30,new s.default(1,23),new s.default(37,24)),new o.default(30,new s.default(19,15),new s.default(26,16))),new e(30,Int32Array.from([6,26,52,78,104,130]),new o.default(30,new s.default(5,115),new s.default(10,116)),new o.default(28,new s.default(19,47),new s.default(10,48)),new o.default(30,new s.default(15,24),new s.default(25,25)),new o.default(30,new s.default(23,15),new s.default(25,16))),new e(31,Int32Array.from([6,30,56,82,108,134]),new o.default(30,new s.default(13,115),new s.default(3,116)),new o.default(28,new s.default(2,46),new s.default(29,47)),new o.default(30,new s.default(42,24),new s.default(1,25)),new o.default(30,new s.default(23,15),new s.default(28,16))),new e(32,Int32Array.from([6,34,60,86,112,138]),new o.default(30,new s.default(17,115)),new o.default(28,new s.default(10,46),new s.default(23,47)),new o.default(30,new s.default(10,24),new s.default(35,25)),new o.default(30,new s.default(19,15),new s.default(35,16))),new e(33,Int32Array.from([6,30,58,86,114,142]),new o.default(30,new s.default(17,115),new s.default(1,116)),new o.default(28,new s.default(14,46),new s.default(21,47)),new o.default(30,new s.default(29,24),new s.default(19,25)),new o.default(30,new s.default(11,15),new s.default(46,16))),new e(34,Int32Array.from([6,34,62,90,118,146]),new o.default(30,new s.default(13,115),new s.default(6,116)),new o.default(28,new s.default(14,46),new s.default(23,47)),new o.default(30,new s.default(44,24),new s.default(7,25)),new o.default(30,new s.default(59,16),new s.default(1,17))),new e(35,Int32Array.from([6,30,54,78,102,126,150]),new o.default(30,new s.default(12,121),new s.default(7,122)),new o.default(28,new s.default(12,47),new s.default(26,48)),new o.default(30,new s.default(39,24),new s.default(14,25)),new o.default(30,new s.default(22,15),new s.default(41,16))),new e(36,Int32Array.from([6,24,50,76,102,128,154]),new o.default(30,new s.default(6,121),new s.default(14,122)),new o.default(28,new s.default(6,47),new s.default(34,48)),new o.default(30,new s.default(46,24),new s.default(10,25)),new o.default(30,new s.default(2,15),new s.default(64,16))),new e(37,Int32Array.from([6,28,54,80,106,132,158]),new o.default(30,new s.default(17,122),new s.default(4,123)),new o.default(28,new s.default(29,46),new s.default(14,47)),new o.default(30,new s.default(49,24),new s.default(10,25)),new o.default(30,new s.default(24,15),new s.default(46,16))),new e(38,Int32Array.from([6,32,58,84,110,136,162]),new o.default(30,new s.default(4,122),new s.default(18,123)),new o.default(28,new s.default(13,46),new s.default(32,47)),new o.default(30,new s.default(48,24),new s.default(14,25)),new o.default(30,new s.default(42,15),new s.default(32,16))),new e(39,Int32Array.from([6,26,54,82,110,138,166]),new o.default(30,new s.default(20,117),new s.default(4,118)),new o.default(28,new s.default(40,47),new s.default(7,48)),new o.default(30,new s.default(43,24),new s.default(22,25)),new o.default(30,new s.default(10,15),new s.default(67,16))),new e(40,Int32Array.from([6,30,58,86,114,142,170]),new o.default(30,new s.default(19,118),new s.default(6,119)),new o.default(28,new s.default(18,47),new s.default(31,48)),new o.default(30,new s.default(34,24),new s.default(34,25)),new o.default(30,new s.default(20,15),new s.default(61,16)))],e}()},"126u":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e){this.newPosition=e}return e.prototype.getNewPosition=function(){return this.newPosition},e}()},"1Jy0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PnHe");t.default=function(){function e(e){this.bytes=e,this.byteOffset=0,this.bitOffset=0}return e.prototype.getBitOffset=function(){return this.bitOffset},e.prototype.getByteOffset=function(){return this.byteOffset},e.prototype.readBits=function(e){if(e<1||e>32||e>this.available())throw new i.default(""+e);var t=0,n=this.bitOffset,r=this.byteOffset,a=this.bytes;if(n>0){var o=8-n,s=e>8-s<<(u=o-s))>>u,e-=s,8===(n+=s)&&(n=0,r++)}if(e>0){for(;e>=8;)t=t<<8|255&a[r],r++,e-=8;var u;e>0&&(t=t<>(u=8-e)<>u,n+=e)}return this.bitOffset=n,this.byteOffset=r,t},e.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},e}()},"1Jy4":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("u2rX"),o=n("5Bsn"),s=n("bJYy"),u=n("PRO/"),F=n("6s9M"),d=n("wXP5"),h=n("hkAl"),f=n("aLHR");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.findStartPattern=function(e){for(var n=e.getSize(),i=e.getNextSet(0),r=0,a=[0,0,0,0,0,0],o=i,s=!1,u=i;u=0&&e.isRange(Math.max(0,o-(u-o)/2),o,!1))return[o,u,f];o+=a[0]+a[1],a.splice(0,2),a[r-1]=0,a[r]=0,r--}else r++;a[r]=1,s=!s}throw new d.default},t.decodeCode=function(e,n,i){F.default.recordPattern(e,i,n);for(var r=t.MAX_AVG_VARIANCE,a=-1,o=0;o=0)return a;throw new d.default},t.prototype.decodeRow=function(e,n,i){var r,F=i&&!0===i.get(o.default.ASSUME_GS1),l=t.findStartPattern(n),c=l[2],m=0,g=new Uint8Array(20);switch(g[m++]=c,c){case t.CODE_START_A:r=t.CODE_CODE_A;break;case t.CODE_START_B:r=t.CODE_CODE_B;break;case t.CODE_START_C:r=t.CODE_CODE_C;break;default:throw new h.default}for(var p=!1,w=!1,y="",E=l[0],D=l[1],_=[0,0,0,0,0,0],v=0,b=0,C=c,k=0,A=!0,N=!1,B=!1;!p;){var S=w;switch(w=!1,v=b,b=t.decodeCode(n,_,D),g[m++]=b,b!==t.CODE_STOP&&(A=!0),b!==t.CODE_STOP&&(C+=++k*b),E=D,D+=_.reduce((function(e,t){return e+t}),0),b){case t.CODE_START_A:case t.CODE_START_B:case t.CODE_START_C:throw new h.default}switch(r){case t.CODE_CODE_A:if(b<64)y+=String.fromCharCode(B===N?" ".charCodeAt(0)+b:" ".charCodeAt(0)+b+128),B=!1;else if(b<96)y+=String.fromCharCode(B===N?b-64:b+64),B=!1;else switch(b!==t.CODE_STOP&&(A=!1),b){case t.CODE_FNC_1:F&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_A:!N&&B?(N=!0,B=!1):N&&B?(N=!1,B=!1):B=!0;break;case t.CODE_SHIFT:w=!0,r=t.CODE_CODE_B;break;case t.CODE_CODE_B:r=t.CODE_CODE_B;break;case t.CODE_CODE_C:r=t.CODE_CODE_C;break;case t.CODE_STOP:p=!0}break;case t.CODE_CODE_B:if(b<96)y+=String.fromCharCode(B===N?" ".charCodeAt(0)+b:" ".charCodeAt(0)+b+128),B=!1;else switch(b!==t.CODE_STOP&&(A=!1),b){case t.CODE_FNC_1:F&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case t.CODE_FNC_2:case t.CODE_FNC_3:break;case t.CODE_FNC_4_B:!N&&B?(N=!0,B=!1):N&&B?(N=!1,B=!1):B=!0;break;case t.CODE_SHIFT:w=!0,r=t.CODE_CODE_A;break;case t.CODE_CODE_A:r=t.CODE_CODE_A;break;case t.CODE_CODE_C:r=t.CODE_CODE_C;break;case t.CODE_STOP:p=!0}break;case t.CODE_CODE_C:if(b<100)b<10&&(y+="0"),y+=b;else switch(b!==t.CODE_STOP&&(A=!1),b){case t.CODE_FNC_1:F&&(y+=0===y.length?"]C1":String.fromCharCode(29));break;case t.CODE_CODE_A:r=t.CODE_CODE_A;break;case t.CODE_CODE_B:r=t.CODE_CODE_B;break;case t.CODE_STOP:p=!0}}S&&(r=r===t.CODE_CODE_A?t.CODE_CODE_B:t.CODE_CODE_A)}var I=D-E;if(D=n.getNextUnset(D),!n.isRange(D,Math.min(n.getSize(),D+(D-E)/2),!1))throw new d.default;if((C-=k*v)%103!==v)throw new f.default;var O=y.length;if(0===O)throw new d.default;O>0&&A&&(y=y.substring(0,r===t.CODE_CODE_C?O-2:O-1));for(var T=(l[1]+l[0])/2,M=E+I/2,R=g.length,P=new Uint8Array(R),x=0;x=0&&this.structuredAppendSequenceNumber>=0},e.prototype.getStructuredAppendParity=function(){return this.structuredAppendParity},e.prototype.getStructuredAppendSequenceNumber=function(){return this.structuredAppendSequenceNumber},e}();t.default=i},"37vj":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PRO/");t.default=function(){function e(e,t,n,r,a){this.value=e,this.startEnd=t,this.value=e,this.startEnd=t,this.resultPoints=new Array,this.resultPoints.push(new i.default(n,a)),this.resultPoints.push(new i.default(r,a))}return e.prototype.getValue=function(){return this.value},e.prototype.getStartEnd=function(){return this.startEnd},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.equals=function(t){return t instanceof e&&this.value===t.value},e.prototype.hashCode=function(){return this.value},e}()},"3aqw":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VideoInputDevice=function(){function e(e,t,n){this.deviceId=e,this.label=t,this.kind="videoinput",this.groupId=n||void 0}return e.prototype.toJSON=function(){return{kind:this.kind,groupId:this.groupId,deviceId:this.deviceId,label:this.label}},e}()},"4LZe":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("v7Zz");t.default=function(e){function t(t){var n=e.call(this,t.getWidth(),t.getHeight())||this;return n.delegate=t,n}return r(t,e),t.prototype.getRow=function(e,t){for(var n=this.delegate.getRow(e,t),i=this.getWidth(),r=0;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("Ebdo"),u=n("wXP5");t.default=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=[0,0,0,0],t}return r(t,e),t.prototype.decodeMiddle=function(e,n,i){var r,o,u,F,d=this.decodeMiddleCounters;d[0]=0,d[1]=0,d[2]=0,d[3]=0;for(var h=e.getSize(),f=n[1],l=0,c=0;c<6&&f=10&&(l|=1<<5-c)}for(i=t.determineFirstDigit(i,l),f=s.default.findGuardPattern(e,f,!0,s.default.MIDDLE_PATTERN,new Array(s.default.MIDDLE_PATTERN.length).fill(0))[1],c=0;c<6&&f=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("wXP5"),u=n("bJYy"),F=n("a66B"),d=n("QAkY"),h=n("5z/U"),f=n("37vj"),l=n("SuXt"),c=n("8GM3"),m=n("RqQj"),g=n("quKB"),p=n("hj6Y"),w=n("poFM");t.default=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.pairs=new Array(t.MAX_PAIRS),n.rows=new Array,n.startEnd=[2],n}return r(t,e),t.prototype.decodeRow=function(e,n,i){this.pairs.length=0,this.startFromEven=!1;try{return t.constructResult(this.decodeRow2pairs(e,n))}catch(r){console.log(r)}return this.pairs.length=0,this.startFromEven=!0,t.constructResult(this.decodeRow2pairs(e,n))},t.prototype.reset=function(){this.pairs.length=0,this.rows.length=0},t.prototype.decodeRow2pairs=function(e,t){for(var n,i=!1;!i;)try{this.pairs.push(this.retrieveNextPair(t,this.pairs,e))}catch(a){if(!this.pairs.length)throw new a;i=!0}if(this.checkChecksum())return this.pairs;if(n=!!this.rows.length,this.storeRow(e,!1),n){var r=this.checkRowsBoolean(!1);if(null!=r)return r;if(null!=(r=this.checkRowsBoolean(!0)))return r}throw new s.default},t.prototype.checkRowsBoolean=function(e){if(this.rows.length>25)return this.rows.length=0,null;this.pairs.length=0,e&&(this.rows=this.rows.reverse());var t=null;try{t=this.checkRows(new Array,0)}catch(n){console.log(n)}return e&&(this.rows=this.rows.reverse()),t},t.prototype.checkRows=function(e,n){for(var i,r,o=n;os.length)){for(var u=!0,F=0;Fe){a=o.isEquivalent(this.pairs);break}r=o.isEquivalent(this.pairs),i++}a||r||t.isPartialRow(this.pairs,this.rows)||(this.rows.push(i,new g.default(this.pairs,e,n)),this.removePartialRows(this.pairs,this.rows))},t.prototype.removePartialRows=function(e,t){var n,i,r,o,s,u;try{for(var F=a(t),d=F.next();!d.done;d=F.next()){var h=d.value;if(h.getPairs().length!==e.length)try{for(var f=a(h.getPairs()),l=f.next();!l.done;l=f.next()){var c=l.value;try{for(var g=a(e),p=g.next();!p.done&&!m.default.equals(c,p.value);p=g.next());}catch(w){s={error:w}}finally{try{p&&!p.done&&(u=g.return)&&u.call(g)}finally{if(s)throw s.error}}}}catch(y){r={error:y}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}}}catch(E){n={error:E}}finally{try{d&&!d.done&&(i=F.return)&&i.call(F)}finally{if(n)throw n.error}}},t.isPartialRow=function(e,t){var n,i,r,o,s,u;try{for(var F=a(t),d=F.next();!d.done;d=F.next()){var h=d.value,f=!0;try{for(var l=a(e),c=l.next();!c.done;c=l.next()){var m=c.value,g=!1;try{for(var p=a(h.getPairs()),w=p.next();!w.done;w=p.next())if(m.equals(w.value)){g=!0;break}}catch(y){s={error:y}}finally{try{w&&!w.done&&(u=p.return)&&u.call(p)}finally{if(s)throw s.error}}if(!g){f=!1;break}}}catch(E){r={error:E}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}if(f)return!0}}catch(D){n={error:D}}finally{try{d&&!d.done&&(i=F.return)&&i.call(F)}finally{if(n)throw n.error}}return!1},t.prototype.getRows=function(){return this.rows},t.constructResult=function(e){var t=p.default.buildBitArray(e),n=c.createDecoder(t).parseInformation(),i=e[0].getFinderPattern().getResultPoints(),r=e[e.length-1].getFinderPattern().getResultPoints();return new u.default(n,null,null,[i[0],i[1],r[0],r[1]],o.default.RSS_EXPANDED,null)},t.prototype.checkChecksum=function(){var e=this.pairs.get(0),t=e.getLeftChar(),n=e.getRightChar();if(null==n)return!1;for(var i=n.getChecksumPortion(),r=2,a=1;a=0?i:this.isEmptyPair(n)?0:n[n.length-1].getFinderPattern().getStartEnd()[1];var u=n.length%2!=0;this.startFromEven&&(u=!u);for(var F=!1;a=0&&!e.get(s);)s--;s++,r=this.startEnd[0]-s,a=s,o=this.startEnd[1]}else a=this.startEnd[0],r=(o=e.getNextUnset(this.startEnd[1]+1))-this.startEnd[1];var u,F=this.getDecodeFinderCounters();w.default.arraycopy(F,0,F,1,F.length-1),F[0]=r;try{u=this.parseFinderValue(F,t.FINDER_PATTERNS)}catch(d){return null}return new f.default(u,[a,o],a,o,n)},t.prototype.decodeDataCharacter=function(e,n,i,r){for(var a=this.getDataCharacterCounters(),o=0;o.3)throw new s.default;var g=this.getOddCounts(),p=this.getEvenCounts(),w=this.getOddRoundingErrors(),y=this.getEvenRoundingErrors();for(u=0;u8){if(E>8.7)throw new s.default;D=8}var _=u/2;0==(1&u)?(g[_]=D,w[_]=E-D):(p[_]=D,y[_]=E-D)}this.adjustOddEvenCounts(17);var v=4*n.getValue()+(i?0:2)+(r?0:1)-1,b=0,C=0;for(u=g.length-1;u>=0;u--)t.isNotA1left(n,i,r)&&(C+=g[u]*t.WEIGHTS[v][2*u]),b+=g[u];var k=0;for(u=p.length-1;u>=0;u--)t.isNotA1left(n,i,r)&&(k+=p[u]*t.WEIGHTS[v][2*u+1]);var A=C+k;if(0!=(1&b)||b>13||b<4)throw new s.default;var N=(13-b)/2,B=t.SYMBOL_WIDEST[N],S=9-B,I=l.default.getRSSvalue(g,B,!0),O=l.default.getRSSvalue(p,S,!1);return new h.default(I*t.EVEN_TOTAL_SUBSET[N]+O+t.GSUM[N],A)},t.isNotA1left=function(e,t,n){return!(0==e.getValue()&&t&&n)},t.prototype.adjustOddEvenCounts=function(e){var n=F.default.sum(new Int32Array(this.getOddCounts())),i=F.default.sum(new Int32Array(this.getEvenCounts())),r=!1,a=!1;n>13?a=!0:n<4&&(r=!0);var o=!1,u=!1;i>13?u=!0:i<4&&(o=!0);var d=n+i-e,h=1==(1&n),f=0==(1&i);if(1==d)if(h){if(f)throw new s.default;a=!0}else{if(!f)throw new s.default;u=!0}else if(-1==d)if(h){if(f)throw new s.default;r=!0}else{if(!f)throw new s.default;o=!0}else{if(0!=d)throw new s.default;if(h){if(!f)throw new s.default;n32*this.bits.length){var n=e.makeArray(t);i.default.arraycopy(this.bits,0,n,0,this.bits.length),this.bits=n}},e.prototype.get=function(e){return 0!=(this.bits[Math.floor(e/32)]&1<<(31&e))},e.prototype.set=function(e){this.bits[Math.floor(e/32)]|=1<<(31&e)},e.prototype.flip=function(e){this.bits[Math.floor(e/32)]^=1<<(31&e)},e.prototype.getNextSet=function(e){var t=this.size;if(e>=t)return t;var n=this.bits,i=Math.floor(e/32),a=n[i];a&=~((1<<(31&e))-1);for(var o=n.length;0===a;){if(++i===o)return t;a=n[i]}var s=32*i+r.default.numberOfTrailingZeros(a);return s>t?t:s},e.prototype.getNextUnset=function(e){var t=this.size;if(e>=t)return t;var n=this.bits,i=Math.floor(e/32),a=~n[i];a&=~((1<<(31&e))-1);for(var o=n.length;0===a;){if(++i===o)return t;a=~n[i]}var s=32*i+r.default.numberOfTrailingZeros(a);return s>t?t:s},e.prototype.setBulk=function(e,t){this.bits[Math.floor(e/32)]=t},e.prototype.setRange=function(e,t){if(tthis.size)throw new o.default;if(t!==e){t--;for(var n=Math.floor(e/32),i=Math.floor(t/32),r=this.bits,a=n;a<=i;a++)r[a]|=(2<<(an?0:31&e))}},e.prototype.clear=function(){for(var e=this.bits.length,t=this.bits,n=0;nthis.size)throw new o.default;if(t===e)return!0;t--;for(var i=Math.floor(e/32),r=Math.floor(t/32),a=this.bits,s=i;s<=r;s++){var u=(2<<(si?0:31&e))&4294967295;if((a[s]&u)!==(n?u:0))return!1}return!0},e.prototype.appendBit=function(e){this.ensureCapacity(this.size+1),e&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},e.prototype.appendBits=function(e,t){if(t<0||t>32)throw new o.default("Num bits must be between 0 and 32");this.ensureCapacity(this.size+t);for(var n=t;n>0;n--)this.appendBit(1==(e>>n-1&1))},e.prototype.appendBitArray=function(e){var t=e.size;this.ensureCapacity(this.size+t);for(var n=0;n>1&1431655765|(1431655765&a)<<1)>>2&858993459|(858993459&a)<<2)>>4&252645135|(252645135&a)<<4)>>8&16711935|(16711935&a)<<8)>>16&65535|(65535&a)<<16}if(this.size!==32*n){var o=32*n-this.size,s=e[0]>>>o;for(r=1;r>>o}e[n-1]=s}this.bits=e},e.makeArray=function(e){return new Int32Array(Math.floor((e+31)/32))},e.prototype.equals=function(t){return t instanceof e&&this.size===t.size&&a.default.equals(this.bits,t.bits)},e.prototype.hashCode=function(){return 31*this.size+a.default.hashCode(this.bits)},e.prototype.toString=function(){for(var e="",t=0,n=this.size;t>(h?8:5));n=h?F:15;for(var l=Math.trunc(F/2),c=0;c=F)break;try{d=e.getBlackRow(g,d)}catch(D){continue}for(var p=function(e){if(1===e&&(d.reverse(),t&&!0===t.get(r.default.NEED_RESULT_POINT_CALLBACK))){var n=new Map;t.forEach((function(e,t){return n.set(t,e)})),n.delete(r.default.NEED_RESULT_POINT_CALLBACK),t=n}try{var i=w.decodeRow(g,d,t);if(1===e){i.putMetadata(a.default.ORIENTATION,180);var s=i.getResultPoints();null!==s&&(s[0]=new o.default(u-s[0].getX()-1,s[0].getY()),s[1]=new o.default(u-s[1].getX()-1,s[1].getY()))}return{value:i}}catch(F){}},w=this,y=0;y<2;y++){var E=p(y);if("object"==typeof E)return E.value}}throw new s.default},e.recordPattern=function(e,t,n){for(var i=n.length,r=0;r=a)throw new s.default;for(var o=!e.get(t),u=0,F=t;F0&&r>=0;)t.get(--n)!==a&&(r--,a=!a);if(r>=0)throw new s.default;e.recordPattern(t,n+1,i)},e.patternMatchVariance=function(e,t,n){for(var i=e.length,r=0,a=0,o=0;oh?d-h:h-d;if(f>n)return Number.POSITIVE_INFINITY;u+=f}return u/r},e}()},"7RB1":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.numberOfTrailingZeros=function(e){var t;if(0===e)return 32;var n=31;return 0!=(t=e<<16)&&(n-=16,e=t),0!=(t=e<<8)&&(n-=8,e=t),0!=(t=e<<4)&&(n-=4,e=t),0!=(t=e<<2)&&(n-=2,e=t),n-(e<<1>>>31)},e.numberOfLeadingZeros=function(e){if(0===e)return 32;var t=1;return e>>>16==0&&(t+=16,e<<=16),e>>>24==0&&(t+=8,e<<=8),e>>>28==0&&(t+=4,e<<=4),e>>>30==0&&(t+=2,e<<=2),t-(e>>>31)},e.toHexString=function(e){return e.toString(16)},e.toBinaryString=function(e){return String(parseInt(String(e),2))},e.bitCount=function(e){return e=(e=(858993459&(e-=e>>>1&1431655765))+(e>>>2&858993459))+(e>>>4)&252645135,63&(e+=e>>>8)+(e>>>16)},e.truncDivision=function(e,t){return Math.trunc(e/t)},e.parseInt=function(e,t){return void 0===t&&(t=void 0),parseInt(e,t)},e.MIN_VALUE_32_BITS=-2147483648,e.MAX_VALUE=Number.MAX_SAFE_INTEGER,e}()},"7stF":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("5Bsn"),u=n("6s9M"),F=n("4lAJ"),d=n("9Fcx"),h=n("wXP5");t.default=function(e){function t(t){var n=e.call(this)||this,i=null==t?null:t.get(s.default.POSSIBLE_FORMATS),r=[];return null!=i&&(i.indexOf(o.default.EAN_13)>-1&&r.push(new F.default),i.indexOf(o.default.EAN_8)>-1&&r.push(new d.default)),0===r.length&&(r.push(new F.default),r.push(new d.default)),n.readers=r,n}return r(t,e),t.prototype.decodeRow=function(e,t,n){var i,r;try{for(var o=a(this.readers),s=o.next();!s.done;s=o.next()){var u=s.value;try{return u.decodeRow(e,t,n)}catch(F){}}}catch(d){i={error:d}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}throw new h.default},t.prototype.reset=function(){var e,t;try{for(var n=a(this.readers),i=n.next();!i.done;i=n.next())i.value.reset()}catch(r){e={error:r}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t}(u.default)},"8GM3":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("OlRx"),r=n("UsHn"),a=n("XBzc"),o=n("kQks"),s=n("v2o+"),u=n("kPel"),F=n("SP87"),d=n("m5uk"),h=n("gKQZ");t.createDecoder=function(e){try{if(e.get(1))return new a.default(e);if(!e.get(2))return new o.default(e);switch(r.default.extractNumericValueFromBitArray(e,1,4)){case 4:return new s.default(e);case 5:return new u.default(e)}switch(r.default.extractNumericValueFromBitArray(e,1,5)){case 12:return new F.default(e);case 13:return new d.default(e)}switch(r.default.extractNumericValueFromBitArray(e,1,7)){case 56:return new h.default(e,"310","11");case 57:return new h.default(e,"320","11");case 58:return new h.default(e,"310","13");case 59:return new h.default(e,"320","13");case 60:return new h.default(e,"310","15");case 61:return new h.default(e,"320","15");case 62:return new h.default(e,"310","17");case 63:return new h.default(e,"320","17")}}catch(t){throw console.log(t),new i.default("unknown decoder: "+e)}}},"8YcI":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("Tdgg"),r=n("bJYy"),a=n("u2rX"),o=n("5Bsn"),s=n("snnL"),u=n("lbVw"),F=n("xY9F"),d=n("poFM"),h=n("wXP5");t.default=function(){function e(){this.decoder=new i.default}return e.prototype.decode=function(t,n){var i,u;if(void 0===n&&(n=null),null!=n&&n.has(o.default.PURE_BARCODE)){var h=e.extractPureBits(t.getBlackMatrix());i=this.decoder.decode(h),u=e.NO_POINTS}else{var f=new F.default(t.getBlackMatrix()).detect();i=this.decoder.decode(f.getBits()),u=f.getPoints()}var l=i.getRawBytes(),c=new r.default(i.getText(),l,8*l.length,u,a.default.DATA_MATRIX,d.default.currentTimeMillis()),m=i.getByteSegments();null!=m&&c.putMetadata(s.default.BYTE_SEGMENTS,m);var g=i.getECLevel();return null!=g&&c.putMetadata(s.default.ERROR_CORRECTION_LEVEL,g),c},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null==t||null==n)throw new h.default;var i=this.moduleSize(t,e),r=t[1],a=t[0],o=(n[0]-a+1)/i,s=(n[1]-r+1)/i;if(o<=0||s<=0)throw new h.default;var F=i/2;r+=F,a+=F;for(var d=new u.default(o,s),f=0;f=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("mbx9"),a=n("5i/S"),o=n("GY/I"),s=n("KuZJ"),u=n("ceyu"),F=n("emVd"),d=n("0xeO"),h=n("eIH0"),f=n("eIWv"),l=n("ypeO"),c=n("qkEA"),m=n("AuZS"),g=n("wYZs"),p=n("jLlG"),w=function(){function e(){}return e.calculateMaskPenalty=function(e){return h.default.applyMaskPenaltyRule1(e)+h.default.applyMaskPenaltyRule2(e)+h.default.applyMaskPenaltyRule3(e)+h.default.applyMaskPenaltyRule4(e)},e.encode=function(t,n,i){void 0===i&&(i=null);var s=e.DEFAULT_BYTE_MODE_ENCODING,u=null!==i&&void 0!==i.get(r.default.CHARACTER_SET);u&&(s=i.get(r.default.CHARACTER_SET).toString());var h=this.chooseMode(t,s),m=new a.default;if(h===F.default.BYTE&&(u||e.DEFAULT_BYTE_MODE_ENCODING!==s)){var g=o.default.getCharacterSetECIByName(s);void 0!==g&&this.appendECI(g,m)}this.appendModeInfo(h,m);var w,y=new a.default;if(this.appendBytes(t,h,y,s),null!==i&&void 0!==i.get(r.default.QR_VERSION)){var E=Number.parseInt(i.get(r.default.QR_VERSION).toString(),10);w=d.default.getVersionForNumber(E);var D=this.calculateBitsNeeded(h,m,y,w);if(!this.willFit(D,w,n))throw new p.default("Data too big for requested version")}else w=this.recommendVersion(n,h,m,y);var _=new a.default;_.appendBitArray(m);var v=h===F.default.BYTE?y.getSizeInBytes():t.length;this.appendLengthInfo(v,w,h,_),_.appendBitArray(y);var b=w.getECBlocksForLevel(n),C=w.getTotalCodewords()-b.getTotalECCodewords();this.terminateBits(C,_);var k=this.interleaveWithECBytes(_,w.getTotalCodewords(),C,b.getNumBlocks()),A=new l.default;A.setECLevel(n),A.setMode(h),A.setVersion(w);var N=w.getDimensionForVersion(),B=new f.default(N,N),S=this.chooseMaskPattern(k,n,w,B);return A.setMaskPattern(S),c.default.buildMatrix(k,n,w,S,B),A.setMatrix(B),A},e.recommendVersion=function(e,t,n,i){var r=this.calculateBitsNeeded(t,n,i,d.default.getVersionForNumber(1)),a=this.chooseVersion(r,e),o=this.calculateBitsNeeded(t,n,i,a);return this.chooseVersion(o,e)},e.calculateBitsNeeded=function(e,t,n,i){return t.getSize()+e.getCharacterCountBits(i)+n.getSize()},e.getAlphanumericCode=function(t){return t159)&&(r<224||r>235))return!1}return!0},e.chooseMaskPattern=function(e,t,n,i){for(var r=Number.MAX_SAFE_INTEGER,a=-1,o=0;o=(e+7)/8},e.terminateBits=function(e,t){var n=8*e;if(t.getSize()>n)throw new p.default("data bits cannot fit in the QR Code"+t.getSize()+" > "+n);for(var i=0;i<4&&t.getSize()0)for(i=r;i<8;i++)t.appendBit(!1);var a=e-t.getSizeInBytes();for(i=0;i=n)throw new p.default("Block ID too large");var o=e%n,s=n-o,u=Math.floor(e/n),F=u+1,d=Math.floor(t/n),h=d+1,f=u-d,l=F-h;if(f!==l)throw new p.default("EC bytes mismatch");if(n!==s+o)throw new p.default("RS blocks mismatch");if(e!==(d+f)*s+(h+l)*o)throw new p.default("Total bytes mismatch");i=1<=0&&n<=9},e.appendNumericBytes=function(t,n){for(var i=t.length,r=0;r=33088&&a<=40956?s=a-33088:a>=57408&&a<=60351&&(s=a-49472),-1===s)throw new p.default("Invalid byte sequence");t.appendBits(192*(s>>8)+(255&s),13)}},e.appendECI=function(e,t){t.appendBits(F.default.ECI.getBits(),4),t.appendBits(e.getValue(),8)},e.ALPHANUMERIC_TABLE=Int32Array.from([-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,-1,-1,-1,36,-1,-1,-1,37,38,-1,-1,-1,-1,39,40,-1,41,42,43,0,1,2,3,4,5,6,7,8,9,44,-1,-1,-1,-1,-1,-1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,-1,-1,-1,-1,-1]),e.DEFAULT_BYTE_MODE_ENCODING=o.default.UTF8.getName(),e}();t.default=w},"9Fcx":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("Ebdo");t.default=function(e){function t(){var t=e.call(this)||this;return t.decodeMiddleCounters=[0,0,0,0],t}return r(t,e),t.prototype.decodeMiddle=function(e,t,n){var i,r,o,u,F=this.decodeMiddleCounters;F[0]=0,F[1]=0,F[2]=0,F[3]=0;for(var d=e.getSize(),h=t[1],f=0;f<4&&h=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("F1eN"),a=n("WYPJ");t.default=function(){function e(e){this.boundingBox=new a.default(e),this.codewords=new Array(e.getMaxY()-e.getMinY()+1)}return e.prototype.getCodewordNearby=function(t){var n=this.getCodeword(t);if(null!=n)return n;for(var i=1;i=0&&null!=(n=this.codewords[r]))return n;if((r=this.imageRowToCodewordIndex(t)+i)0)for(var l=i.getX()-n.getX()+r.getX(),c=i.getY()-n.getY()+r.getY(),m=1-3/d,g=Math.floor(n.getX()+m*(l-n.getX())),p=Math.floor(n.getY()+m*(c-n.getY())),w=4;w<=16;w<<=1)try{h=this.findAlignmentInRegion(o,g,p,w);break}catch(D){if(!(D instanceof f.default))throw D}var y=e.createTransform(n,i,r,h,s),E=e.sampleGrid(this.image,y,s);return new a.default(E,null===h?[r,n,i]:[r,n,i,h])},e.createTransform=function(e,t,n,i,r){var a,o,u,F,d=r-3.5;return null!==i?(a=i.getX(),o=i.getY(),F=u=d-3):(a=t.getX()-e.getX()+n.getX(),o=t.getY()-e.getY()+n.getY(),u=d,F=d),s.default.quadrilateralToQuadrilateral(3.5,3.5,d,3.5,u,F,3.5,d,e.getX(),e.getY(),t.getX(),t.getY(),a,o,n.getX(),n.getY())},e.sampleGrid=function(e,t,n){return o.default.getInstance().sampleGridWithTransform(e,n,n,t)},e.computeDimension=function(e,t,n,i){var a=u.default.round(r.default.distance(e,t)/i),o=u.default.round(r.default.distance(e,n)/i),s=Math.floor((a+o)/2)+7;switch(3&s){case 0:s++;break;case 2:s--;break;case 3:throw new f.default("Dimensions could be not found.")}return s},e.prototype.calculateModuleSize=function(e,t,n){return(this.calculateModuleSizeOneWay(e,t)+this.calculateModuleSizeOneWay(e,n))/2},e.prototype.calculateModuleSizeOneWay=function(e,t){var n=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(e.getX()),Math.floor(e.getY()),Math.floor(t.getX()),Math.floor(t.getY())),i=this.sizeOfBlackWhiteBlackRunBothWays(Math.floor(t.getX()),Math.floor(t.getY()),Math.floor(e.getX()),Math.floor(e.getY()));return isNaN(n)?i/7:isNaN(i)?n/7:(n+i)/14},e.prototype.sizeOfBlackWhiteBlackRunBothWays=function(e,t,n,i){var r=this.sizeOfBlackWhiteBlackRun(e,t,n,i),a=1,o=e-(n-e);o<0?(a=e/(e-o),o=0):o>=this.image.getWidth()&&(a=(this.image.getWidth()-1-e)/(o-e),o=this.image.getWidth()-1);var s=Math.floor(t-(i-t)*a);return a=1,s<0?(a=t/(t-s),s=0):s>=this.image.getHeight()&&(a=(this.image.getHeight()-1-t)/(s-t),s=this.image.getHeight()-1),o=Math.floor(e+(o-e)*a),(r+=this.sizeOfBlackWhiteBlackRun(e,t,o,s))-1},e.prototype.sizeOfBlackWhiteBlackRun=function(e,t,n,i){var r=Math.abs(i-t)>Math.abs(n-e);if(r){var a=e;e=t,t=a,a=n,n=i,i=a}for(var o=Math.abs(n-e),s=Math.abs(i-t),F=-o/2,d=e0){if(m===i)break;m+=h,F-=o}}return 2===f?u.default.distance(n+d,i,e,t):NaN},e.prototype.findAlignmentInRegion=function(e,t,n,i){var r=Math.floor(i*e),a=Math.max(0,t-r),o=Math.min(this.image.getWidth()-1,t+r);if(o-a<3*e)throw new f.default("Alignment top exceeds estimated module size.");var s=Math.max(0,n-r),u=Math.min(this.image.getHeight()-1,n+r);if(u-s<3*e)throw new f.default("Alignment bottom exceeds estimated module size.");return new h.default(this.image,a,s,o-a,u-s,e,this.resultPointCallback).find()},e}()},AuZS:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("FY9b"),r=n("GY/I");t.default=function(){function e(){}return e.decode=function(e,t){var n=this.encodingName(t);return this.customDecoder?this.customDecoder(e,n):"undefined"==typeof TextDecoder||this.shouldDecodeOnFallback(n)?this.decodeFallback(e,n):new TextDecoder(n).decode(e)},e.shouldDecodeOnFallback=function(t){return!e.isBrowser()&&"ISO-8859-1"===t},e.encode=function(e,t){var n=this.encodingName(t);return this.customEncoder?this.customEncoder(e,n):"undefined"==typeof TextEncoder?this.encodeFallback(e):(new TextEncoder).encode(e)},e.isBrowser=function(){return"undefined"!=typeof window&&"[object Window]"==={}.toString.call(window)},e.encodingName=function(e){return"string"==typeof e?e:e.getName()},e.encodingCharacterSet=function(e){return e instanceof r.default?e:r.default.getCharacterSetECIByName(e)},e.decodeFallback=function(t,n){var a=this.encodingCharacterSet(n);if(e.isDecodeFallbackSupported(a)){for(var o="",s=0,u=t.length;s1&&0===t[0]){for(var i=1;io.length){var s=n;n=o,o=s}var u=new Int32Array(o.length),F=o.length-n.length;r.default.arraycopy(o,0,u,0,F);for(var d=F;d=e.getDegree()&&!i.isZero();){var s=i.getDegree()-e.getDegree(),u=t.multiply(i.getCoefficient(i.getDegree()),o),F=e.multiplyByMonomial(s,u),d=t.buildMonomial(s,u);n=n.addOrSubtract(d),i=i.addOrSubtract(F)}return[n,i]},e.prototype.toString=function(){for(var e="",t=this.getDegree();t>=0;t--){var n=this.getCoefficient(t);if(0!==n){if(n<0?(e+=" - ",n=-n):e.length>0&&(e+=" + "),0===t||1!==n){var i=this.field.log(n);0===i?e+="1":1===i?e+="a":(e+="a^",e+=i)}0!==t&&(1===t?e+="x":(e+="x^",e+=t))}}return e},e}()},CrUY:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("QAkY"),s=n("zENp"),u=n("bJYy"),F=n("5Bsn"),d=n("wXP5"),h=n("SDs9"),f=n("u2rX"),l=n("PRO/"),c=n("37vj"),m=n("5z/U"),g=n("a66B"),p=n("SuXt"),w=n("poFM"),y=n("6s9M");t.default=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.possibleLeftPairs=[],t.possibleRightPairs=[],t}return r(t,e),t.prototype.decodeRow=function(e,n,i){var r,o,s,u,F=this.decodePair(n,!1,e,i);t.addOrTally(this.possibleLeftPairs,F),n.reverse();var h=this.decodePair(n,!0,e,i);t.addOrTally(this.possibleRightPairs,h),n.reverse();try{for(var f=a(this.possibleLeftPairs),l=f.next();!l.done;l=f.next()){var c=l.value;if(c.getCount()>1)try{for(var m=a(this.possibleRightPairs),g=m.next();!g.done;g=m.next()){var p=g.value;if(p.getCount()>1&&t.checkChecksum(c,p))return t.constructResult(c,p)}}catch(w){s={error:w}}finally{try{g&&!g.done&&(u=m.return)&&u.call(m)}finally{if(s)throw s.error}}}}catch(y){r={error:y}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}throw new d.default},t.addOrTally=function(e,t){var n,i;if(null!=t){var r=!1;try{for(var o=a(e),s=o.next();!s.done;s=o.next()){var u=s.value;if(u.getValue()===t.getValue()){u.incrementCount(),r=!0;break}}}catch(F){n={error:F}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}r||e.push(t)}},t.prototype.reset=function(){this.possibleLeftPairs.length=0,this.possibleRightPairs.length=0},t.constructResult=function(e,t){for(var n=4537077*e.getValue()+t.getValue(),i=new String(n).toString(),r=new h.default,a=13-i.length;a>0;a--)r.append("0");r.append(i);var o=0;for(a=0;a<13;a++){var s=r.charAt(a).charCodeAt(0)-"0".charCodeAt(0);o+=0==(1&a)?3*s:s}10==(o=10-o%10)&&(o=0),r.append(o.toString());var F=e.getFinderPattern().getResultPoints(),d=t.getFinderPattern().getResultPoints();return new u.default(r.toString(),null,0,[F[0],F[1],d[0],d[1]],f.default.RSS_14,(new Date).getTime())},t.checkChecksum=function(e,t){var n=(e.getChecksumPortion()+16*t.getChecksumPortion())%79,i=9*e.getFinderPattern().getValue()+t.getFinderPattern().getValue();return i>72&&i--,i>8&&i--,n===i},t.prototype.decodePair=function(e,t,n,i){try{var r=this.findFinderPattern(e,t),a=this.parseFoundFinderPattern(e,n,t,r),o=null==i?null:i.get(F.default.NEED_RESULT_POINT_CALLBACK);if(null!=o){var u=(r[0]+r[1])/2;t&&(u=e.getSize()-1-u),o.foundPossibleResultPoint(new l.default(u,n))}var d=this.decodeDataCharacter(e,a,!0),h=this.decodeDataCharacter(e,a,!1);return new s.default(1597*d.getValue()+h.getValue(),d.getChecksumPortion()+4*h.getChecksumPortion(),a)}catch(f){return null}},t.prototype.decodeDataCharacter=function(e,n,i){for(var r=this.getDataCharacterCounters(),a=0;a8&&(D=8);var _=Math.floor(o/2);0==(1&o)?(f[_]=D,c[_]=E-D):(l[_]=D,w[_]=E-D)}this.adjustOddEvenCounts(i,F);var v=0,b=0;for(o=f.length-1;o>=0;o--)b*=9,b+=f[o],v+=f[o];var C=0,k=0;for(o=l.length-1;o>=0;o--)C*=9,C+=l[o],k+=l[o];var A,N,B=b+3*C;if(i){if(0!=(1&v)||v>12||v<4)throw new d.default;var S=9-(N=t.OUTSIDE_ODD_WIDEST[A=(12-v)/2]),I=p.default.getRSSvalue(f,N,!1),O=p.default.getRSSvalue(l,S,!0);return new m.default(I*t.OUTSIDE_EVEN_TOTAL_SUBSET[A]+O+t.OUTSIDE_GSUM[A],B)}if(0!=(1&k)||k>10||k<4)throw new d.default;return S=9-(N=t.INSIDE_ODD_WIDEST[A=(10-k)/2]),I=p.default.getRSSvalue(f,N,!0),O=p.default.getRSSvalue(l,S,!1),new m.default(O*t.INSIDE_ODD_TOTAL_SUBSET[A]+I+t.INSIDE_GSUM[A],B)},t.prototype.findFinderPattern=function(e,t){var n=this.getDecodeFinderCounters();n[0]=0,n[1]=0,n[2]=0,n[3]=0;for(var i=e.getSize(),r=!1,a=0;a=0&&a!==e.get(o);)o--;o++;var s=r[0]-o,u=this.getDecodeFinderCounters(),F=new Array(u.length);w.default.arraycopy(u,0,F,1,u.length-1),F[0]=s;var d=this.parseFinderValue(F,t.FINDER_PATTERNS),h=o,f=r[1];return i&&(h=e.getSize()-1-h,f=e.getSize()-1-f),new c.default(d,[o,r[1]],h,f,n)},t.prototype.adjustOddEvenCounts=function(e,t){var n=g.default.sum(new Int32Array(this.getOddCounts())),i=g.default.sum(new Int32Array(this.getEvenCounts())),r=!1,a=!1,s=!1,u=!1;e?(n>12?a=!0:n<4&&(r=!0),i>12?u=!0:i<4&&(s=!0)):(n>11?a=!0:n<5&&(r=!0),i>10?u=!0:i<4&&(s=!0));var F=n+i-t,h=(1&n)==(e?1:0),f=1==(1&i);if(1===F)if(h){if(f)throw new d.default;a=!0}else{if(!f)throw new d.default;u=!0}else if(-1===F)if(h){if(f)throw new d.default;r=!0}else{if(!f)throw new d.default;s=!0}else{if(0!==F)throw new d.default;if(h){if(!f)throw new d.default;n=n.getSize()||!n.isRange(D,_,!1))throw new h.default;var v=p.toString();if(v.length<8)throw new f.default;if(!t.checkChecksum(v))throw new l.default;var b=(r[1]+r[0])/2,C=(y[1]+y[0])/2,k=this.getBarcodeFormat(),A=[new u.default(b,e),new u.default(C,e)],N=new o.default(v,null,0,A,k,(new Date).getTime()),B=0;try{var S=F.default.decodeRow(e,n,y[1]);N.putMetadata(s.default.UPC_EAN_EXTENSION,S.getText()),N.putAllMetadata(S.getResultMetadata()),N.addResultPoints(S.getResultPoints()),B=S.getText().length}catch(M){}var I=null==i?null:i.get(a.default.ALLOWED_EAN_EXTENSIONS);if(null!=I){var O=!1;for(var T in I)if(B.toString()===T){O=!0;break}if(!O)throw new h.default}return N},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var n=e.length;if(0===n)return!1;var i=parseInt(e.charAt(n-1),10);return t.getStandardUPCEANChecksum(e.substring(0,n-1))===i},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,n=0,i=t-1;i>=0;i-=2){if((r=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0))<0||r>9)throw new f.default;n+=r}for(n*=3,i=t-2;i>=0;i-=2){var r;if((r=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0))<0||r>9)throw new f.default;n+=r}return(1e3-n)%10},t.decodeEnd=function(e,n){return t.findGuardPattern(e,n,!1,t.START_END_PATTERN,new Array(t.START_END_PATTERN.length).fill(0))},t}(d.default)},F1eN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){this.buffer=""}return e.form=function(e,t){var n=-1;return e.replace(/%(-)?(0?[0-9]+)?([.][0-9]+)?([#][0-9]+)?([scfpexd%])/g,(function(e,i,r,a,o,s){if("%%"===e)return"%";if(void 0!==t[++n]){e=a?parseInt(a.substr(1)):void 0;var u,F=o?parseInt(o.substr(1)):void 0;switch(s){case"s":u=t[n];break;case"c":u=t[n][0];break;case"f":u=parseFloat(t[n]).toFixed(e);break;case"p":u=parseFloat(t[n]).toPrecision(e);break;case"e":u=parseFloat(t[n]).toExponential(e);break;case"x":u=parseInt(t[n]).toString(F||16);break;case"d":u=parseFloat(parseInt(t[n],F||10).toPrecision(e)).toFixed(0)}u="object"==typeof u?JSON.stringify(u):(+u).toString(F);for(var d=parseInt(r),h=r&&r[0]+""=="0"?"0":" ";u.length=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("hkAl"),a=t.CharacterSetValueIdentifiers=function(e){return e[e.Cp437=0]="Cp437",e[e.ISO8859_1=1]="ISO8859_1",e[e.ISO8859_2=2]="ISO8859_2",e[e.ISO8859_3=3]="ISO8859_3",e[e.ISO8859_4=4]="ISO8859_4",e[e.ISO8859_5=5]="ISO8859_5",e[e.ISO8859_6=6]="ISO8859_6",e[e.ISO8859_7=7]="ISO8859_7",e[e.ISO8859_8=8]="ISO8859_8",e[e.ISO8859_9=9]="ISO8859_9",e[e.ISO8859_10=10]="ISO8859_10",e[e.ISO8859_11=11]="ISO8859_11",e[e.ISO8859_13=12]="ISO8859_13",e[e.ISO8859_14=13]="ISO8859_14",e[e.ISO8859_15=14]="ISO8859_15",e[e.ISO8859_16=15]="ISO8859_16",e[e.SJIS=16]="SJIS",e[e.Cp1250=17]="Cp1250",e[e.Cp1251=18]="Cp1251",e[e.Cp1252=19]="Cp1252",e[e.Cp1256=20]="Cp1256",e[e.UnicodeBigUnmarked=21]="UnicodeBigUnmarked",e[e.UTF8=22]="UTF8",e[e.ASCII=23]="ASCII",e[e.Big5=24]="Big5",e[e.GB18030=25]="GB18030",e[e.EUC_KR=26]="EUC_KR",e}(t.CharacterSetValueIdentifiers||{});t.default=function(){function e(t,n,r){for(var a,o,s=[],u=3;u=900)throw new r.default("incorect value");var n=e.VALUES_TO_ECI.get(t);if(void 0===n)throw new r.default("incorect value");return n},e.getCharacterSetECIByName=function(t){var n=e.NAME_TO_ECI.get(t);if(void 0===n)throw new r.default("incorect value");return n},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;return this.getName()===n.getName()},e.VALUE_IDENTIFIER_TO_ECI=new Map,e.VALUES_TO_ECI=new Map,e.NAME_TO_ECI=new Map,e.Cp437=new e(a.Cp437,Int32Array.from([0,2]),"Cp437"),e.ISO8859_1=new e(a.ISO8859_1,Int32Array.from([1,3]),"ISO-8859-1","ISO88591","ISO8859_1"),e.ISO8859_2=new e(a.ISO8859_2,4,"ISO-8859-2","ISO88592","ISO8859_2"),e.ISO8859_3=new e(a.ISO8859_3,5,"ISO-8859-3","ISO88593","ISO8859_3"),e.ISO8859_4=new e(a.ISO8859_4,6,"ISO-8859-4","ISO88594","ISO8859_4"),e.ISO8859_5=new e(a.ISO8859_5,7,"ISO-8859-5","ISO88595","ISO8859_5"),e.ISO8859_6=new e(a.ISO8859_6,8,"ISO-8859-6","ISO88596","ISO8859_6"),e.ISO8859_7=new e(a.ISO8859_7,9,"ISO-8859-7","ISO88597","ISO8859_7"),e.ISO8859_8=new e(a.ISO8859_8,10,"ISO-8859-8","ISO88598","ISO8859_8"),e.ISO8859_9=new e(a.ISO8859_9,11,"ISO-8859-9","ISO88599","ISO8859_9"),e.ISO8859_10=new e(a.ISO8859_10,12,"ISO-8859-10","ISO885910","ISO8859_10"),e.ISO8859_11=new e(a.ISO8859_11,13,"ISO-8859-11","ISO885911","ISO8859_11"),e.ISO8859_13=new e(a.ISO8859_13,15,"ISO-8859-13","ISO885913","ISO8859_13"),e.ISO8859_14=new e(a.ISO8859_14,16,"ISO-8859-14","ISO885914","ISO8859_14"),e.ISO8859_15=new e(a.ISO8859_15,17,"ISO-8859-15","ISO885915","ISO8859_15"),e.ISO8859_16=new e(a.ISO8859_16,18,"ISO-8859-16","ISO885916","ISO8859_16"),e.SJIS=new e(a.SJIS,20,"SJIS","Shift_JIS"),e.Cp1250=new e(a.Cp1250,21,"Cp1250","windows-1250"),e.Cp1251=new e(a.Cp1251,22,"Cp1251","windows-1251"),e.Cp1252=new e(a.Cp1252,23,"Cp1252","windows-1252"),e.Cp1256=new e(a.Cp1256,24,"Cp1256","windows-1256"),e.UnicodeBigUnmarked=new e(a.UnicodeBigUnmarked,25,"UnicodeBigUnmarked","UTF-16BE","UnicodeBig"),e.UTF8=new e(a.UTF8,26,"UTF8","UTF-8"),e.ASCII=new e(a.ASCII,Int32Array.from([27,170]),"ASCII","US-ASCII"),e.Big5=new e(a.Big5,28,"Big5"),e.GB18030=new e(a.GB18030,29,"GB18030","GB2312","EUC_CN","GBK"),e.EUC_KR=new e(a.EUC_KR,30,"EUC_KR","EUC-KR"),e}()},Glpx:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("nHjj");t.default=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.encodeCompressedGtin=function(e,t){e.append("(01)");var n=e.length();e.append("9"),this.encodeCompressedGtinWithoutAI(e,t,n)},t.prototype.encodeCompressedGtinWithoutAI=function(e,n,i){for(var r=0;r<4;++r){var a=this.getGeneralDecoder().extractNumericValueFromBitArray(n+10*r,10);a/100==0&&e.append("0"),a/10==0&&e.append("0"),e.append(a)}t.appendCheckDigit(e,i)},t.appendCheckDigit=function(e,t){for(var n=0,i=0;i<13;i++){var r=e.charAt(i+t).charCodeAt(0)-"0".charCodeAt(0);n+=0==(1&i)?3*r:r}10==(n=10-n%10)&&(n=0),e.append(n)},t.GTIN_SIZE=40,t}(a.default)},GmQW:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("126u");t.default=function(e){function t(t,n){var i=e.call(this,t)||this;return i.value=n,i}return r(t,e),t.prototype.getValue=function(){return this.value},t.prototype.isFNC1=function(){return this.value===t.FNC1},t.FNC1="$",t}(a.default)},JB6p:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PnHe"),r=n("tddb");t.default=function(){function e(){}return e.prototype.add=function(e,t){return(e+t)%this.modulus},e.prototype.subtract=function(e,t){return(this.modulus+e-t)%this.modulus},e.prototype.exp=function(e){return this.expTable[e]},e.prototype.log=function(e){if(0===e)throw new i.default;return this.logTable[e]},e.prototype.inverse=function(e){if(0===e)throw new r.default;return this.expTable[this.modulus-this.logTable[e]-1]},e.prototype.multiply=function(e,t){return 0===e||0===t?0:this.expTable[(this.logTable[e]+this.logTable[t])%(this.modulus-1)]},e.prototype.getSize=function(){return this.modulus},e.prototype.equals=function(e){return e===this},e}()},Jm8c:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("5Bsn"),a=n("u2rX"),o=n("PY/A"),s=n("dMyC"),u=n("qTxx"),F=n("8YcI"),d=n("wXP5"),h=n("uQrh"),f=n("i3sT");t.default=function(){function e(){}return e.prototype.decode=function(e,t){return this.setHints(t),this.decodeInternal(e)},e.prototype.decodeWithState=function(e){return null==this.readers&&this.setHints(null),this.decodeInternal(e)},e.prototype.setHints=function(e){this.hints=e;var t=null!=e&&void 0!==e.get(r.default.TRY_HARDER),n=null==e?null:e.get(r.default.POSSIBLE_FORMATS),i=new Array;if(null!=n){var d=n.some((function(e){return e===a.default.UPC_A||e===a.default.UPC_E||e===a.default.EAN_13||e===a.default.EAN_8||e===a.default.CODABAR||e===a.default.CODE_39||e===a.default.CODE_93||e===a.default.CODE_128||e===a.default.ITF||e===a.default.RSS_14||e===a.default.RSS_EXPANDED}));d&&!t&&i.push(new u.default(e)),n.includes(a.default.QR_CODE)&&i.push(new o.default),n.includes(a.default.DATA_MATRIX)&&i.push(new F.default),n.includes(a.default.AZTEC)&&i.push(new s.default),n.includes(a.default.PDF_417)&&i.push(new h.default),d&&t&&i.push(new u.default(e))}0===i.length&&(t||i.push(new u.default(e)),i.push(new o.default),i.push(new F.default),i.push(new s.default),i.push(new h.default),t&&i.push(new u.default(e))),this.readers=i},e.prototype.reset=function(){var e,t;if(null!==this.readers)try{for(var n=i(this.readers),r=n.next();!r.done;r=n.next())r.value.reset()}catch(a){e={error:a}}finally{try{r&&!r.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},e.prototype.decodeInternal=function(e){var t,n;if(null===this.readers)throw new f.default("No readers where selected, nothing can be read.");try{for(var r=i(this.readers),a=r.next();!a.done;a=r.next()){var o=a.value;try{return o.decode(e,this.hints)}catch(s){if(s instanceof f.default)continue}}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}throw new d.default("No MultiFormat Readers were able to detect the code.")},e}()},KZRM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("vaGy");t.default=function(){function e(){}return e.setGridSampler=function(t){e.gridSampler=t},e.getInstance=function(){return e.gridSampler},e.gridSampler=new i.default,e}()},KuZJ:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("BBG+"),o=n("QB1c"),s=n("7RB1"),u=n("PnHe"),F=n("tddb");t.default=function(e){function t(t,n,i){var r=e.call(this)||this;r.primitive=t,r.size=n,r.generatorBase=i;for(var o=new Int32Array(n),s=1,u=0;u=n&&(s^=t,s&=n-1);r.expTable=o;var F=new Int32Array(n);for(u=0;u=0;n--)e=this.copyBit(8,n,e);var i=this.bitMatrix.getHeight(),a=0,s=i-7;for(n=i-1;n>=s;n--)a=this.copyBit(8,n,a);for(t=i-8;t=0;a--)for(var s=e-9;s>=r;s--)n=this.copyBit(s,a,n);var u=i.default.decodeVersionInformation(n);if(null!==u&&u.getDimensionForVersion()===e)return this.parsedVersion=u,u;for(n=0,s=5;s>=0;s--)for(a=e-9;a>=r;a--)n=this.copyBit(s,a,n);if(null!==(u=i.default.decodeVersionInformation(n))&&u.getDimensionForVersion()===e)return this.parsedVersion=u,u;throw new o.default},e.prototype.copyBit=function(e,t,n){return(this.isMirror?this.bitMatrix.get(t,e):this.bitMatrix.get(e,t))?n<<1|1:n<<1},e.prototype.readCodewords=function(){var e=this.readFormatInformation(),t=this.readVersion(),n=a.default.values.get(e.getDataMask()),i=this.bitMatrix.getHeight();n.unmaskBitMatrix(this.bitMatrix,i);for(var r=t.buildFunctionPattern(),s=!0,u=new Uint8Array(t.getTotalCodewords()),F=0,d=0,h=0,f=i-1;f>0;f-=2){6===f&&f--;for(var l=0;l0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("mtib"),s=n("eZS3"),u=n("aLHR"),F=n("uW/q"),d=n("hkAl"),h=n("wXP5"),f=n("SD+R"),l=n("3aqw");t.BrowserCodeReader=function(){function e(e,t,n){void 0===t&&(t=500),this.reader=e,this.timeBetweenScansMillis=t,this._hints=n,this._stopContinuousDecode=!1,this._stopAsyncDecode=!1,this._timeBetweenDecodingAttempts=0}return Object.defineProperty(e.prototype,"hasNavigator",{get:function(){return"undefined"!=typeof navigator},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isMediaDevicesSuported",{get:function(){return this.hasNavigator&&!!navigator.mediaDevices},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"canEnumerateDevices",{get:function(){return!(!this.isMediaDevicesSuported||!navigator.mediaDevices.enumerateDevices)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"timeBetweenDecodingAttempts",{get:function(){return this._timeBetweenDecodingAttempts},set:function(e){this._timeBetweenDecodingAttempts=e<0?0:e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hints",{get:function(){return this._hints},set:function(e){this._hints=e||null},enumerable:!0,configurable:!0}),e.prototype.listVideoInputDevices=function(){return i(this,void 0,void 0,(function(){var e,t,n,i,o,s,u,F;return r(this,(function(r){switch(r.label){case 0:if(!this.hasNavigator)throw new Error("Can't enumerate devices, navigator is not present.");if(!this.canEnumerateDevices)throw new Error("Can't enumerate devices, method not supported.");return[4,navigator.mediaDevices.enumerateDevices()];case 1:n=r.sent(),i=[];try{for(o=a(n),s=o.next();!s.done;s=o.next())"videoinput"===(F="video"===(u=s.value).kind?"videoinput":u.kind)&&i.push({deviceId:u.deviceId||u.id,label:u.label||"Video device "+(i.length+1),kind:F,groupId:u.groupId})}catch(d){e={error:d}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return[2,i]}}))}))},e.prototype.getVideoInputDevices=function(){return i(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return[4,this.listVideoInputDevices()];case 1:return[2,e.sent().map((function(e){return new l.VideoInputDevice(e.deviceId,e.label)}))]}}))}))},e.prototype.findDeviceById=function(e){return i(this,void 0,void 0,(function(){var t;return r(this,(function(n){switch(n.label){case 0:return[4,this.listVideoInputDevices()];case 1:return(t=n.sent())?[2,t.find((function(t){return t.deviceId===e}))]:[2,null]}}))}))},e.prototype.decodeFromInputVideoDevice=function(e,t){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.decodeOnceFromVideoDevice(e,t)];case 1:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromVideoDevice=function(e,t){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return this.reset(),[4,this.decodeOnceFromConstraints({video:e?{deviceId:{exact:e}}:{facingMode:"environment"}},t)];case 1:return[2,n.sent()]}}))}))},e.prototype.decodeOnceFromConstraints=function(e,t){return i(this,void 0,void 0,(function(){var n;return r(this,(function(i){switch(i.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return n=i.sent(),[4,this.decodeOnceFromStream(n,t)];case 2:return[2,i.sent()]}}))}))},e.prototype.decodeOnceFromStream=function(e,t){return i(this,void 0,void 0,(function(){var n;return r(this,(function(i){switch(i.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return n=i.sent(),[4,this.decodeOnce(n)];case 2:return[2,i.sent()]}}))}))},e.prototype.decodeFromInputVideoDeviceContinuously=function(e,t,n){return i(this,void 0,void 0,(function(){return r(this,(function(i){switch(i.label){case 0:return[4,this.decodeFromVideoDevice(e,t,n)];case 1:return[2,i.sent()]}}))}))},e.prototype.decodeFromVideoDevice=function(e,t,n){return i(this,void 0,void 0,(function(){return r(this,(function(i){switch(i.label){case 0:return[4,this.decodeFromConstraints({video:e?{deviceId:{exact:e}}:{facingMode:"environment"}},t,n)];case 1:return[2,i.sent()]}}))}))},e.prototype.decodeFromConstraints=function(e,t,n){return i(this,void 0,void 0,(function(){var i;return r(this,(function(r){switch(r.label){case 0:return[4,navigator.mediaDevices.getUserMedia(e)];case 1:return i=r.sent(),[4,this.decodeFromStream(i,t,n)];case 2:return[2,r.sent()]}}))}))},e.prototype.decodeFromStream=function(e,t,n){return i(this,void 0,void 0,(function(){var i;return r(this,(function(r){switch(r.label){case 0:return this.reset(),[4,this.attachStreamToVideo(e,t)];case 1:return i=r.sent(),[4,this.decodeContinuously(i,n)];case 2:return[2,r.sent()]}}))}))},e.prototype.stopAsyncDecode=function(){this._stopAsyncDecode=!0},e.prototype.stopContinuousDecode=function(){this._stopContinuousDecode=!0},e.prototype.attachStreamToVideo=function(e,t){return i(this,void 0,void 0,(function(){var n;return r(this,(function(i){switch(i.label){case 0:return n=this.prepareVideoElement(t),this.addVideoSource(n,e),this.videoElement=n,this.stream=e,[4,this.playVideoOnLoadAsync(n)];case 1:return i.sent(),[2,n]}}))}))},e.prototype.playVideoOnLoadAsync=function(e){var t=this;return new Promise((function(n,i){return t.playVideoOnLoad(e,(function(){return n()}))}))},e.prototype.playVideoOnLoad=function(e,t){var n=this;this.videoEndedListener=function(){return n.stopStreams()},this.videoCanPlayListener=function(){return n.tryPlayVideo(e)},e.addEventListener("ended",this.videoEndedListener),e.addEventListener("canplay",this.videoCanPlayListener),e.addEventListener("playing",t),this.tryPlayVideo(e)},e.prototype.isVideoPlaying=function(e){return e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2},e.prototype.tryPlayVideo=function(e){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:if(this.isVideoPlaying(e))return console.warn("Trying to play video that is already playing."),[2];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,e.play()];case 2:return t.sent(),[3,4];case 3:return t.sent(),console.warn("It was not possible to play the video."),[3,4];case 4:return[2]}}))}))},e.prototype.getMediaElement=function(e,t){var n=document.getElementById(e);if(!n)throw new o.default("element with id '"+e+"' not found");if(n.nodeName.toLowerCase()!==t.toLowerCase())throw new o.default("element with id '"+e+"' must be an "+t+" element");return n},e.prototype.decodeFromImage=function(e,t){if(!e&&!t)throw new o.default("either imageElement with a src set or an url must be provided");return t&&!e?this.decodeFromImageUrl(t):this.decodeFromImageElement(e)},e.prototype.decodeFromVideo=function(e,t){if(!e&&!t)throw new o.default("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrl(t):this.decodeFromVideoElement(e)},e.prototype.decodeFromVideoContinuously=function(e,t,n){if(void 0===e&&void 0===t)throw new o.default("Either an element with a src set or an URL must be provided");return t&&!e?this.decodeFromVideoUrlContinuously(t,n):this.decodeFromVideoElementContinuously(e,n)},e.prototype.decodeFromImageElement=function(e){if(!e)throw new o.default("An image element must be provided.");this.reset();var t=this.prepareImageElement(e);return this.imageElement=t,this.isImageLoaded(t)?this.decodeOnce(t,!1,!0):this._decodeOnLoadImage(t)},e.prototype.decodeFromVideoElement=function(e){var t=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideo(t)},e.prototype.decodeFromVideoElementContinuously=function(e,t){var n=this._decodeFromVideoElementSetup(e);return this._decodeOnLoadVideoContinuously(n,t)},e.prototype._decodeFromVideoElementSetup=function(e){if(!e)throw new o.default("A video element must be provided.");this.reset();var t=this.prepareVideoElement(e);return this.videoElement=t,t},e.prototype.decodeFromImageUrl=function(e){if(!e)throw new o.default("An URL must be provided.");this.reset();var t=this.prepareImageElement();this.imageElement=t;var n=this._decodeOnLoadImage(t);return t.src=e,n},e.prototype.decodeFromVideoUrl=function(e){if(!e)throw new o.default("An URL must be provided.");this.reset();var t=this.prepareVideoElement(),n=this.decodeFromVideoElement(t);return t.src=e,n},e.prototype.decodeFromVideoUrlContinuously=function(e,t){if(!e)throw new o.default("An URL must be provided.");this.reset();var n=this.prepareVideoElement(),i=this.decodeFromVideoElementContinuously(n,t);return n.src=e,i},e.prototype._decodeOnLoadImage=function(e){var t=this;return new Promise((function(n,i){t.imageLoadedListener=function(){return t.decodeOnce(e,!1,!0).then(n,i)},e.addEventListener("load",t.imageLoadedListener)}))},e.prototype._decodeOnLoadVideo=function(e){return i(this,void 0,void 0,(function(){return r(this,(function(t){switch(t.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return t.sent(),[4,this.decodeOnce(e)];case 2:return[2,t.sent()]}}))}))},e.prototype._decodeOnLoadVideoContinuously=function(e,t){return i(this,void 0,void 0,(function(){return r(this,(function(n){switch(n.label){case 0:return[4,this.playVideoOnLoadAsync(e)];case 1:return n.sent(),this.decodeContinuously(e,t),[2]}}))}))},e.prototype.isImageLoaded=function(e){return!!e.complete&&0!==e.naturalWidth},e.prototype.prepareImageElement=function(e){var t;return void 0===e&&((t=document.createElement("img")).width=200,t.height=200),"string"==typeof e&&(t=this.getMediaElement(e,"img")),e instanceof HTMLImageElement&&(t=e),t},e.prototype.prepareVideoElement=function(e){var t;return e||"undefined"==typeof document||((t=document.createElement("video")).width=200,t.height=200),"string"==typeof e&&(t=this.getMediaElement(e,"video")),e instanceof HTMLVideoElement&&(t=e),t.setAttribute("autoplay","true"),t.setAttribute("muted","true"),t.setAttribute("playsinline","true"),t},e.prototype.decodeOnce=function(e,t,n){var i=this;void 0===t&&(t=!0),void 0===n&&(n=!0),this._stopAsyncDecode=!1;return new Promise((function(r,a){return function r(a,o){if(i._stopAsyncDecode)return o(new h.default("Video stream has ended before any code could be detected.")),void(i._stopAsyncDecode=void 0);try{a(i.decode(e))}catch(s){if(t&&s instanceof h.default||(s instanceof u.default||s instanceof d.default)&&n)return setTimeout(r,i._timeBetweenDecodingAttempts,a,o);o(s)}}(r,a)}))},e.prototype.decodeContinuously=function(e,t){var n=this;this._stopContinuousDecode=!1;!function i(){if(n._stopContinuousDecode)n._stopContinuousDecode=void 0;else try{var r=n.decode(e);t(r,null),setTimeout(i,n.timeBetweenScansMillis)}catch(a){t(null,a),(a instanceof u.default||a instanceof d.default||a instanceof h.default)&&setTimeout(i,n._timeBetweenDecodingAttempts)}}()},e.prototype.decode=function(e){var t=this.createBinaryBitmap(e);return this.decodeBitmap(t)},e.prototype.createBinaryBitmap=function(e){var t=this.getCaptureCanvasContext(e);this.drawImageOnCanvas(t,e);var n=this.getCaptureCanvas(e),i=new f.HTMLCanvasElementLuminanceSource(n),r=new F.default(i);return new s.default(r)},e.prototype.getCaptureCanvasContext=function(e){if(!this.captureCanvasContext){var t=this.getCaptureCanvas(e).getContext("2d");this.captureCanvasContext=t}return this.captureCanvasContext},e.prototype.getCaptureCanvas=function(e){if(!this.captureCanvas){var t=this.createCaptureCanvas(e);this.captureCanvas=t}return this.captureCanvas},e.prototype.drawImageOnCanvas=function(e,t){e.drawImage(t,0,0)},e.prototype.decodeBitmap=function(e){return this.reader.decode(e,this._hints)},e.prototype.createCaptureCanvas=function(e){if("undefined"==typeof document)return this._destroyCaptureCanvas(),null;var t,n,i=document.createElement("canvas");return void 0!==e&&(e instanceof HTMLVideoElement?(t=e.videoWidth,n=e.videoHeight):e instanceof HTMLImageElement&&(t=e.naturalWidth||e.width,n=e.naturalHeight||e.height)),i.style.width=t+"px",i.style.height=n+"px",i.width=t,i.height=n,i},e.prototype.stopStreams=function(){this.stream&&(this.stream.getVideoTracks().forEach((function(e){return e.stop()})),this.stream=void 0),!1===this._stopAsyncDecode&&this.stopAsyncDecode(),!1===this._stopContinuousDecode&&this.stopContinuousDecode()},e.prototype.reset=function(){this.stopStreams(),this._destroyVideoElement(),this._destroyImageElement(),this._destroyCaptureCanvas()},e.prototype._destroyVideoElement=function(){this.videoElement&&(void 0!==this.videoEndedListener&&this.videoElement.removeEventListener("ended",this.videoEndedListener),void 0!==this.videoPlayingEventListener&&this.videoElement.removeEventListener("playing",this.videoPlayingEventListener),void 0!==this.videoCanPlayListener&&this.videoElement.removeEventListener("loadedmetadata",this.videoCanPlayListener),this.cleanVideoSource(this.videoElement),this.videoElement=void 0)},e.prototype._destroyImageElement=function(){this.imageElement&&(void 0!==this.imageLoadedListener&&this.imageElement.removeEventListener("load",this.imageLoadedListener),this.imageElement.src=void 0,this.imageElement.removeAttribute("src"),this.imageElement=void 0)},e.prototype._destroyCaptureCanvas=function(){this.captureCanvasContext=void 0,this.captureCanvas=void 0},e.prototype.addVideoSource=function(e,t){try{e.srcObject=t}catch(n){e.src=URL.createObjectURL(t)}},e.prototype.cleanVideoSource=function(e){try{e.srcObject=null}catch(t){e.src=""}this.videoElement.removeAttribute("src")},e}()},NJOF:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("5Bsn"),a=n("PRO/"),o=n("dA5a"),s=n("ipxb"),u=n("wXP5"),F=function(){function e(e,t){this.image=e,this.resultPointCallback=t,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(5),this.resultPointCallback=t}return e.prototype.getImage=function(){return this.image},e.prototype.getPossibleCenters=function(){return this.possibleCenters},e.prototype.find=function(t){var n=null!=t&&void 0!==t.get(r.default.TRY_HARDER),i=null!=t&&void 0!==t.get(r.default.PURE_BARCODE),o=this.image,u=o.getHeight(),F=o.getWidth(),d=Math.floor(3*u/(4*e.MAX_MODULES));(df[2]&&(l+=g-f[2]-d,m=F-1)}c=0,f[0]=0,f[1]=0,f[2]=0,f[3]=0,f[4]=0}else f[0]=f[2],f[1]=f[3],f[2]=f[4],f[3]=1,f[4]=0,c=3;else f[++c]++;else f[c]++;e.foundPatternCross(f)&&!0===this.handlePossibleCenter(f,l,F,i)&&(d=f[0],this.hasSkipped&&(h=this.haveMultiplyConfirmedCenters()))}var p=this.selectBestPatterns();return a.default.orderBestPatterns(p),new s.default(p)},e.centerFromEnd=function(e,t){return t-e[4]-e[3]-e[2]/2},e.foundPatternCross=function(e){for(var t=0,n=0;n<5;n++){var i=e[n];if(0===i)return!1;t+=i}if(t<7)return!1;var r=t/7,a=r/2;return Math.abs(r-e[0])=o&&n>=o&&s.get(n-o,t-o);)a[2]++,o++;if(t=o&&n>=o&&!s.get(n-o,t-o)&&a[1]<=i;)a[1]++,o++;if(ti)return!1;for(;t>=o&&n>=o&&s.get(n-o,t-o)&&a[0]<=i;)a[0]++,o++;if(a[0]>i)return!1;var u=s.getHeight(),F=s.getWidth();for(o=1;t+o=u||n+o>=F)return!1;for(;t+o=u||n+o>=F||a[3]>=i)return!1;for(;t+o=i)&&Math.abs(a[0]+a[1]+a[2]+a[3]+a[4]-r)<2*r&&e.foundPatternCross(a)},e.prototype.crossCheckVertical=function(t,n,i,r){for(var a=this.image,o=a.getHeight(),s=this.getCrossCheckStateCount(),u=t;u>=0&&a.get(n,u);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!a.get(n,u)&&s[1]<=i;)s[1]++,u--;if(u<0||s[1]>i)return NaN;for(;u>=0&&a.get(n,u)&&s[0]<=i;)s[0]++,u--;if(s[0]>i)return NaN;for(u=t+1;u=i)return NaN;for(;u=i||5*Math.abs(s[0]+s[1]+s[2]+s[3]+s[4]-r)>=2*r?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.crossCheckHorizontal=function(t,n,i,r){for(var a=this.image,o=a.getWidth(),s=this.getCrossCheckStateCount(),u=t;u>=0&&a.get(u,n);)s[2]++,u--;if(u<0)return NaN;for(;u>=0&&!a.get(u,n)&&s[1]<=i;)s[1]++,u--;if(u<0||s[1]>i)return NaN;for(;u>=0&&a.get(u,n)&&s[0]<=i;)s[0]++,u--;if(s[0]>i)return NaN;for(u=t+1;u=i)return NaN;for(;u=i||5*Math.abs(s[0]+s[1]+s[2]+s[3]+s[4]-r)>=r?NaN:e.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.handlePossibleCenter=function(t,n,i,r){var a=t[0]+t[1]+t[2]+t[3]+t[4],s=e.centerFromEnd(t,i),u=this.crossCheckVertical(n,Math.floor(s),t[2],a);if(!isNaN(u)&&(s=this.crossCheckHorizontal(Math.floor(s),Math.floor(u),t[2],a),!isNaN(s)&&(!r||this.crossCheckDiagonal(Math.floor(u),Math.floor(s),t[2],a)))){for(var F=a/7,d=!1,h=this.possibleCenters,f=0,l=h.length;f=e.CENTER_QUORUM){if(null!=r)return this.hasSkipped=!0,Math.floor((Math.abs(r.getX()-s.getX())-Math.abs(r.getY()-s.getY()))/2);r=s}}}catch(u){t={error:u}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return 0},e.prototype.haveMultiplyConfirmedCenters=function(){var t,n,r,a,o=0,s=0,u=this.possibleCenters.length;try{for(var F=i(this.possibleCenters),d=F.next();!d.done;d=F.next())(m=d.value).getCount()>=e.CENTER_QUORUM&&(o++,s+=m.getEstimatedModuleSize())}catch(g){t={error:g}}finally{try{d&&!d.done&&(n=F.return)&&n.call(F)}finally{if(t)throw t.error}}if(o<3)return!1;var h=s/u,f=0;try{for(var l=i(this.possibleCenters),c=l.next();!c.done;c=l.next()){var m=c.value;f+=Math.abs(m.getEstimatedModuleSize()-h)}}catch(p){r={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}return f<=.05*s},e.prototype.selectBestPatterns=function(){var e,t,n,r,a=this.possibleCenters.length;if(a<3)throw new u.default;var o,s=this.possibleCenters;if(a>3){var F=0,d=0;try{for(var h=i(this.possibleCenters),f=h.next();!f.done;f=h.next()){var l=f.value.getEstimatedModuleSize();F+=l,d+=l*l}}catch(y){e={error:y}}finally{try{f&&!f.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}o=F/a;var c=Math.sqrt(d/a-o*o);s.sort((function(e,t){var n=Math.abs(t.getEstimatedModuleSize()-o),i=Math.abs(e.getEstimatedModuleSize()-o);return ni?1:0}));for(var m=Math.max(.2*o,c),g=0;g3;g++)Math.abs(s[g].getEstimatedModuleSize()-o)>m&&(s.splice(g,1),g--)}if(s.length>3){F=0;try{for(var p=i(s),w=p.next();!w.done;w=p.next())F+=w.value.getEstimatedModuleSize()}catch(E){n={error:E}}finally{try{w&&!w.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}o=F/s.length,s.sort((function(e,t){if(t.getCount()===e.getCount()){var n=Math.abs(t.getEstimatedModuleSize()-o),i=Math.abs(e.getEstimatedModuleSize()-o);return ni?-1:0}return t.getCount()-e.getCount()})),s.splice(3)}return[s[0],s[1],s[2]]},e.CENTER_QUORUM=2,e.MIN_SKIP=3,e.MAX_MODULES=57,e}();t.default=F},O2Gj:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("hkAl"),o=n("126u");t.default=function(e){function t(t,n,i){var r=e.call(this,t)||this;if(n<0||n>10||i<0||i>10)throw new a.default;return r.firstDigit=n,r.secondDigit=i,r}return r(t,e),t.prototype.getFirstDigit=function(){return this.firstDigit},t.prototype.getSecondDigit=function(){return this.secondDigit},t.prototype.getValue=function(){return 10*this.firstDigit+this.secondDigit},t.prototype.isFirstDigitFNC1=function(){return this.firstDigit==t.FNC1},t.prototype.isSecondDigitFNC1=function(){return this.secondDigit==t.FNC1},t.prototype.isAnyFNC1=function(){return this.firstDigit===t.FNC1||this.secondDigit===t.FNC1},t.FNC1=10,t}(o.default)},OlRx:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.default)},Om8P:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("zKBm"),r=n("k/aH"),a=n("/r7I");t.default=function(){function e(){}return e.decodeRow=function(e,t,n){var o=i.default.findGuardPattern(t,n,!1,this.EXTENSION_START_PATTERN,new Array(this.EXTENSION_START_PATTERN.length).fill(0));try{return(new r.default).decodeRow(e,t,o)}catch(s){return(new a.default).decodeRow(e,t,o)}},e.EXTENSION_START_PATTERN=[1,1,2],e}()},OoNi:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("N458"),o=n("8YcI");t.BrowserDatamatrixCodeReader=function(e){function t(t){return void 0===t&&(t=500),e.call(this,new o.default,t)||this}return r(t,e),t}(a.BrowserCodeReader)},"PRO/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("a66B"),r=n("DL63");t.default=function(){function e(e,t){this.x=e,this.y=t}return e.prototype.getX=function(){return this.x},e.prototype.getY=function(){return this.y},e.prototype.equals=function(t){return t instanceof e&&this.x===t.x&&this.y===t.y},e.prototype.hashCode=function(){return 31*r.default.floatToIntBits(this.x)+r.default.floatToIntBits(this.y)},e.prototype.toString=function(){return"("+this.x+","+this.y+")"},e.orderBestPatterns=function(e){var t,n,i,r=this.distance(e[0],e[1]),a=this.distance(e[1],e[2]),o=this.distance(e[0],e[2]);if(a>=r&&a>=o?(n=e[0],t=e[1],i=e[2]):o>=a&&o>=r?(n=e[1],t=e[0],i=e[2]):(n=e[2],t=e[0],i=e[1]),this.crossProductZ(t,n,i)<0){var s=t;t=i,i=s}e[0]=t,e[1]=n,e[2]=i},e.distance=function(e,t){return i.default.distance(e.x,e.y,t.x,t.y)},e.crossProductZ=function(e,t,n){var i=t.x,r=t.y;return(n.x-i)*(e.y-r)-(n.y-r)*(e.x-i)},e}()},"PY/A":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("u2rX"),r=n("5Bsn"),a=n("bJYy"),o=n("snnL"),s=n("lbVw"),u=n("QvJ5"),F=n("uJ7E"),d=n("A397"),h=n("wXP5");t.default=function(){function e(){this.decoder=new u.default}return e.prototype.getDecoder=function(){return this.decoder},e.prototype.decode=function(t,n){var s,u;if(null!=n&&void 0!==n.get(r.default.PURE_BARCODE)){var h=e.extractPureBits(t.getBlackMatrix());s=this.decoder.decodeBitMatrix(h,n),u=e.NO_POINTS}else{var f=new d.default(t.getBlackMatrix()).detect(n);s=this.decoder.decodeBitMatrix(f.getBits(),n),u=f.getPoints()}s.getOther()instanceof F.default&&s.getOther().applyMirroredCorrection(u);var l=new a.default(s.getText(),s.getRawBytes(),void 0,u,i.default.QR_CODE,void 0),c=s.getByteSegments();null!==c&&l.putMetadata(o.default.BYTE_SEGMENTS,c);var m=s.getECLevel();return null!==m&&l.putMetadata(o.default.ERROR_CORRECTION_LEVEL,m),s.hasStructuredAppend()&&(l.putMetadata(o.default.STRUCTURED_APPEND_SEQUENCE,s.getStructuredAppendSequenceNumber()),l.putMetadata(o.default.STRUCTURED_APPEND_PARITY,s.getStructuredAppendParity())),l},e.prototype.reset=function(){},e.extractPureBits=function(e){var t=e.getTopLeftOnBit(),n=e.getBottomRightOnBit();if(null===t||null===n)throw new h.default;var i=this.moduleSize(t,e),r=t[1],a=n[1],o=t[0],u=n[0];if(o>=u||r>=a)throw new h.default;if(a-r!=u-o&&(u=o+(a-r))>=e.getWidth())throw new h.default;var F=Math.round((u-o+1)/i),d=Math.round((a-r+1)/i);if(F<=0||d<=0)throw new h.default;if(d!==F)throw new h.default;var f=Math.floor(i/2);r+=f;var l=(o+=f)+Math.floor((F-1)*i)-u;if(l>0){if(l>f)throw new h.default;o-=l}var c=r+Math.floor((d-1)*i)-a;if(c>0){if(c>f)throw new h.default;r-=c}for(var m=new s.default(F,d),g=0;g=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("5Bsn"),u=n("bJYy"),F=n("PRO/"),d=n("6s9M"),h=n("SDs9"),f=n("poFM"),l=n("hkAl"),c=n("wXP5");t.default=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.narrowLineWidth=-1,t}return r(t,e),t.prototype.decodeRow=function(e,n,i){var r,d,f=this.decodeStart(n),c=this.decodeEnd(n),m=new h.default;t.decodeMiddle(n,f[1],c[0],m);var g=m.toString(),p=null;null!=i&&(p=i.get(s.default.ALLOWED_LENGTHS)),null==p&&(p=t.DEFAULT_ALLOWED_LENGTHS);var w=g.length,y=!1,E=0;try{for(var D=a(p),_=D.next();!_.done;_=D.next()){var v=_.value;if(w===v){y=!0;break}v>E&&(E=v)}}catch(C){r={error:C}}finally{try{_&&!_.done&&(d=D.return)&&d.call(D)}finally{if(r)throw r.error}}if(!y&&w>E&&(y=!0),!y)throw new l.default;var b=[new F.default(f[1],e),new F.default(c[0],e)];return new u.default(g,null,0,b,o.default.ITF,(new Date).getTime())},t.decodeMiddle=function(e,n,i,r){var a=new Array(10),o=new Array(5),s=new Array(5);for(a.fill(0),o.fill(0),s.fill(0);n0&&i>=0&&!e.get(i);i--)n--;if(0!==n)throw new c.default},t.skipWhiteSpace=function(e){var t=e.getSize(),n=e.getNextSet(0);if(n===t)throw new c.default;return n},t.prototype.decodeEnd=function(e){e.reverse();try{var n=t.skipWhiteSpace(e),i=void 0;try{i=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[0])}catch(a){i=t.findGuardPattern(e,n,t.END_PATTERN_REVERSED[1])}this.validateQuietZone(e,i[0]);var r=i[0];return i[0]=e.getSize()-i[1],i[1]=e.getSize()-r,i}finally{e.reverse()}},t.findGuardPattern=function(e,n,i){var r=i.length,a=new Array(r),o=e.getSize(),s=!1,u=0,F=n;a.fill(0);for(var h=n;h=0)return i%10;throw new c.default},t.W=3,t.w=2,t.N=1,t.PATTERNS=[[1,1,2,2,1],[2,1,1,1,2],[1,2,1,1,2],[2,2,1,1,1],[1,1,2,1,2],[2,1,2,1,1],[1,2,2,1,1],[1,1,1,2,2],[2,1,1,2,1],[1,2,1,2,1],[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]],t.MAX_AVG_VARIANCE=.38,t.MAX_INDIVIDUAL_VARIANCE=.5,t.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],t.START_PATTERN=[1,1,1,1],t.END_PATTERN_REVERSED=[[1,1,2],[1,1,3]],t}(d.default)},QAkY:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("6s9M"),s=n("wXP5"),u=n("a66B");t.default=function(e){function t(){var t=e.call(this)||this;return t.decodeFinderCounters=new Array(4),t.dataCharacterCounters=new Array(8),t.oddRoundingErrors=new Array(4),t.evenRoundingErrors=new Array(4),t.oddCounts=new Array(t.dataCharacterCounters.length/2),t.evenCounts=new Array(t.dataCharacterCounters.length/2),t}return r(t,e),t.prototype.getDecodeFinderCounters=function(){return this.decodeFinderCounters},t.prototype.getDataCharacterCounters=function(){return this.dataCharacterCounters},t.prototype.getOddRoundingErrors=function(){return this.oddRoundingErrors},t.prototype.getEvenRoundingErrors=function(){return this.evenRoundingErrors},t.prototype.getOddCounts=function(){return this.oddCounts},t.prototype.getEvenCounts=function(){return this.evenCounts},t.prototype.parseFinderValue=function(e,n){for(var i=0;ii&&(i=t[r],n=r);e[n]++},t.decrement=function(e,t){for(var n=0,i=t[0],r=1;r=t.MIN_FINDER_PATTERN_RATIO&&o<=t.MAX_FINDER_PATTERN_RATIO){var s=Number.MAX_SAFE_INTEGER,u=Number.MIN_SAFE_INTEGER;try{for(var F=a(e),d=F.next();!d.done;d=F.next()){var h=d.value;h>u&&(u=h),h=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}},r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o};Object.defineProperty(t,"__esModule",{value:!0});var a=n("vpob");t.default=function(){function e(){this.values=new Map}return e.prototype.setValue=function(e){e=Math.trunc(e);var t=this.values.get(e);null==t&&(t=0),t++,this.values.set(e,t)},e.prototype.getValue=function(){var e,t,n=-1,o=new Array,s=function(e,t){var i=function(){return e},r=function(){return t};r()>n?(n=r(),(o=[]).push(i())):r()===n&&o.push(i())};try{for(var u=i(this.values.entries()),F=u.next();!F.done;F=u.next()){var d=r(F.value,2);s(d[0],d[1])}}catch(h){e={error:h}}finally{try{F&&!F.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}return a.default.toIntArray(o)},e.prototype.getConfidence=function(e){return this.values.get(e)},e}()},QJd3:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("poFM"),o=n("v7Zz"),s=n("4LZe"),u=n("PnHe");t.default=function(e){function t(t,n,i,r,a,o,s,F){var d=e.call(this,o,s)||this;if(d.yuvData=t,d.dataWidth=n,d.dataHeight=i,d.left=r,d.top=a,r+o>n||a+s>i)throw new u.default("Crop rectangle does not fit within image data.");return F&&d.reverseHorizontal(o,s),d}return r(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new u.default("Requested row is outside the image: "+e);var n=this.getWidth();return(null==t||t.length>=1;i=1&n,e.RATIOS_TABLE[t]||(e.RATIOS_TABLE[t]=new Array(r.default.BARS_IN_MODULE)),e.RATIOS_TABLE[t][r.default.BARS_IN_MODULE-a-1]=Math.fround(o/r.default.MODULES_IN_CODEWORD)}this.bSymbolTableReady=!0},e.getDecodedValue=function(t){var n=e.getDecodedCodewordValue(e.sampleBitCounts(t));return-1!==n?n:e.getClosestDecodedValue(t)},e.sampleBitCounts=function(e){for(var t=i.default.sum(e),n=new Int32Array(r.default.BARS_IN_MODULE),a=0,o=0,s=0;s1)for(var s=0;s=u)break}h=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("lbVw"),a=n("KuZJ"),o=n("yKVe"),s=n("MYby"),u=n("uJ7E"),F=n("/IU9"),d=n("kaLH"),h=n("aLHR");t.default=function(){function e(){this.rsDecoder=new o.default(a.default.QR_CODE_FIELD_256)}return e.prototype.decodeBooleanArray=function(e,t){return this.decodeBitMatrix(r.default.parseFromBooleanArray(e),t)},e.prototype.decodeBitMatrix=function(e,t){var n=new s.default(e),i=null;try{return this.decodeBitMatrixParser(n,t)}catch(a){i=a}try{n.remask(),n.setMirror(!0),n.readVersion(),n.readFormatInformation(),n.mirror();var r=this.decodeBitMatrixParser(n,t);return r.setOther(new u.default(!0)),r}catch(a){if(null!==i)throw i;throw a}},e.prototype.decodeBitMatrixParser=function(e,t){var n,r,a,o,s=e.readVersion(),u=e.readFormatInformation().getErrorCorrectionLevel(),h=e.readCodewords(),f=F.default.getDataBlocks(h,s,u),l=0;try{for(var c=i(f),m=c.next();!m.done;m=c.next())l+=(E=m.value).getNumDataCodewords()}catch(b){n={error:b}}finally{try{m&&!m.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}var g=new Uint8Array(l),p=0;try{for(var w=i(f),y=w.next();!y.done;y=w.next()){var E,D=(E=y.value).getCodewords(),_=E.getNumDataCodewords();this.correctErrors(D,_);for(var v=0;v<_;v++)g[p++]=D[v]}}catch(C){a={error:C}}finally{try{y&&!y.done&&(o=w.return)&&o.call(w)}finally{if(a)throw a.error}}return d.default.decode(g,s,u,t)},e.prototype.correctErrors=function(e,t){var n=new Int32Array(e);try{this.rsDecoder.decode(n,e.length-t)}catch(r){throw new h.default}for(var i=0;i>10;return i},t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new s.default("Requested row is outside the image: "+e);var n=this.getWidth(),i=e*n;return null===t?t=this.buffer.slice(i,i+n):(t.length=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.prototype.RSSUtils=function(){},e.getRSSvalue=function(t,n,r){var a,o,s=0;try{for(var u=i(t),F=u.next();!F.done;F=u.next())s+=F.value}catch(w){a={error:w}}finally{try{F&&!F.done&&(o=u.return)&&o.call(u)}finally{if(a)throw a.error}}for(var d=0,h=0,f=t.length,l=0;l=f-l-1&&(m-=e.combins(s-c-(f-l),f-l-2)),f-l-1>1){for(var g=0,p=s-c-(f-l-2);p>n;p--)g+=e.combins(s-c-p-1,f-l-3);m-=g*(f-1-l)}else s-c>n&&m--;d+=m}s-=c}return d},e.combins=function(e,t){var n,i;e-t>t?(i=t,n=e-t):(i=e-t,n=t);for(var r=1,a=1,o=e;o>n;o--)r*=o,a<=i&&(r/=a,a++);for(;a<=i;)r/=a,a++;return r},e}()},Tdgg:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("yKVe"),a=n("KuZJ"),o=n("eMS/"),s=n("lQQs"),u=n("gG0n"),F=n("aLHR");t.default=function(){function e(){this.rsDecoder=new r.default(a.default.DATA_MATRIX_FIELD_256)}return e.prototype.decode=function(e){var t,n,r=new o.default(e),a=r.getVersion(),F=r.readCodewords(),d=s.default.getDataBlocks(F,a),h=0;try{for(var f=i(d),l=f.next();!l.done;l=f.next())h+=l.value.getNumDataCodewords()}catch(D){t={error:D}}finally{try{l&&!l.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}for(var c=new Uint8Array(h),m=d.length,g=0;g=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("u2rX"),s=n("aLHR"),u=n("hkAl"),F=n("wXP5"),d=n("6s9M"),h=n("bJYy"),f=n("PRO/");t.default=function(e){function t(t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.call(this)||this;return i.usingCheckDigit=t,i.extendedMode=n,i.decodeRowResult="",i.counters=new Array(9),i}return r(t,e),t.prototype.decodeRow=function(e,n,i){var r,u,d,l,c=this.counters;c.fill(0),this.decodeRowResult="";var m,g,p=t.findAsteriskPattern(n,c),w=n.getNextSet(p[1]),y=n.getSize();do{t.recordPattern(n,w,c);var E=t.toNarrowWidePattern(c);if(E<0)throw new F.default;m=t.patternToChar(E),this.decodeRowResult+=m,g=w;try{for(var D=a(c),_=D.next();!_.done;_=D.next())w+=_.value}catch(I){r={error:I}}finally{try{_&&!_.done&&(u=D.return)&&u.call(D)}finally{if(r)throw r.error}}w=n.getNextSet(w)}while("*"!==m);this.decodeRowResult=this.decodeRowResult.substring(0,this.decodeRowResult.length-1);var v,b=0;try{for(var C=a(c),k=C.next();!k.done;k=C.next())b+=k.value}catch(O){d={error:O}}finally{try{k&&!k.done&&(l=C.return)&&l.call(C)}finally{if(d)throw d.error}}if(w!==y&&2*(w-g-b)o&&(s=l)}catch(c){t={error:c}}finally{try{F&&!F.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}o=s,i=0;for(var d=0,h=0,f=0;fo&&(h|=1<0;f++){var l;if((l=e[f])>o&&(i--,2*l>=d))return-1}return h}}while(i>3);return-1},t.patternToChar=function(e){for(var n=0;n="A"&&a<="Z"))throw new u.default;o=String.fromCharCode(a.charCodeAt(0)+32);break;case"$":if(!(a>="A"&&a<="Z"))throw new u.default;o=String.fromCharCode(a.charCodeAt(0)-64);break;case"%":if(a>="A"&&a<="E")o=String.fromCharCode(a.charCodeAt(0)-38);else if(a>="F"&&a<="J")o=String.fromCharCode(a.charCodeAt(0)-11);else if(a>="K"&&a<="O")o=String.fromCharCode(a.charCodeAt(0)+16);else if(a>="P"&&a<="T")o=String.fromCharCode(a.charCodeAt(0)+43);else if("U"===a)o="\0";else if("V"===a)o="@";else if("W"===a)o="`";else{if("X"!==a&&"Y"!==a&&"Z"!==a)throw new u.default;o="\x7f"}break;case"/":if(a>="A"&&a<="O")o=String.fromCharCode(a.charCodeAt(0)-32);else{if("Z"!==a)throw new u.default;o=":"}}n+=o,i++}else n+=r}return n},t.ALPHABET_STRING="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ-. $/+%",t.CHARACTER_ENCODINGS=[52,289,97,352,49,304,112,37,292,100,265,73,328,25,280,88,13,268,76,28,259,67,322,19,274,82,7,262,70,22,385,193,448,145,400,208,133,388,196,168,162,138,42],t.ASTERISK_ENCODING=148,t}(d.default)},UnFl:function(e,t,n){"use strict";function i(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),i(n("SleU")),i(n("yT+q")),i(n("N458")),i(n("OoNi")),i(n("VAKU")),i(n("WLfZ")),i(n("MvSJ")),i(n("bJeb")),i(n("SD+R")),i(n("3aqw"))},UsHn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("hkAl"),r=n("OlRx"),a=n("SDs9"),o=n("GmQW"),s=n("O2Gj"),u=n("o6tG"),F=n("VAip"),d=n("+vv6");t.default=function(){function e(e){this.buffer=new a.default,this.information=e}return e.prototype.decodeAllCodes=function(e,t){for(var n=t,i=null;;){var r=this.decodeGeneralPurposeField(n,i),a=F.default.parseFieldsInGeneralPurpose(r.getNewString());if(null!=a&&e.append(a),i=r.isRemaining()?""+r.getRemainingValue():null,n==r.getNewPosition())break;n=r.getNewPosition()}return e.toString()},e.prototype.isStillNumeric=function(e){if(e+7>this.information.getSize())return e+4<=this.information.getSize();for(var t=e;tthis.information.getSize()){var t=this.extractNumericValueFromBitArray(e,4);return new s.default(this.information.getSize(),0==t?s.default.FNC1:t-1,s.default.FNC1)}var n=this.extractNumericValueFromBitArray(e,7);return new s.default(e+7,(n-8)/11,(n-8)%11)},e.prototype.extractNumericValueFromBitArray=function(t,n){return e.extractNumericValueFromBitArray(this.information,t,n)},e.extractNumericValueFromBitArray=function(e,t,n){for(var i=0,r=0;rthis.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+7>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,7);if(n>=64&&n<116)return!0;if(e+8>this.information.getSize())return!1;var i=this.extractNumericValueFromBitArray(e,8);return i>=232&&i<253},e.prototype.decodeIsoIec646=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15==t)return new o.default(e+5,o.default.FNC1);if(t>=5&&t<15)return new o.default(e+5,"0"+(t-5));var n,r=this.extractNumericValueFromBitArray(e,7);if(r>=64&&r<90)return new o.default(e+7,""+(r+1));if(r>=90&&r<116)return new o.default(e+7,""+(r+7));switch(this.extractNumericValueFromBitArray(e,8)){case 232:n="!";break;case 233:n='"';break;case 234:n="%";break;case 235:n="&";break;case 236:n="'";break;case 237:n="(";break;case 238:n=")";break;case 239:n="*";break;case 240:n="+";break;case 241:n=",";break;case 242:n="-";break;case 243:n=".";break;case 244:n="/";break;case 245:n=":";break;case 246:n=";";break;case 247:n="<";break;case 248:n="=";break;case 249:n=">";break;case 250:n="?";break;case 251:n="_";break;case 252:n=" ";break;default:throw new i.default}return new o.default(e+8,n)},e.prototype.isStillAlpha=function(e){if(e+5>this.information.getSize())return!1;var t=this.extractNumericValueFromBitArray(e,5);if(t>=5&&t<16)return!0;if(e+6>this.information.getSize())return!1;var n=this.extractNumericValueFromBitArray(e,6);return n>=16&&n<63},e.prototype.decodeAlphanumeric=function(e){var t=this.extractNumericValueFromBitArray(e,5);if(15==t)return new o.default(e+5,o.default.FNC1);if(t>=5&&t<15)return new o.default(e+5,"0"+(t-5));var n,i=this.extractNumericValueFromBitArray(e,6);if(i>=32&&i<58)return new o.default(e+6,""+(i+33));switch(i){case 58:n="*";break;case 59:n=",";break;case 60:n="-";break;case 61:n=".";break;case 62:n="/";break;default:throw new r.default("Decoding invalid alphanumeric value: "+i)}return new o.default(e+6,n)},e.prototype.isAlphaTo646ToAlphaLatch=function(e){if(e+1>this.information.getSize())return!1;for(var t=0;t<5&&t+ethis.information.getSize())return!1;for(var t=e;tthis.information.getSize())return!1;for(var t=0;t<4&&t+e=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("wXP5");t.default=function(){function e(){}return e.parseFieldsInGeneralPurpose=function(t){var n,a,o,s,u,F,d,h;if(!t)return null;if(t.length<2)throw new r.default;var f=t.substring(0,2);try{for(var l=i(e.TWO_DIGIT_DATA_LENGTH),c=l.next();!c.done;c=l.next())if((v=c.value)[0]===f)return v[1]===e.VARIABLE_LENGTH?e.processVariableAI(2,v[2],t):e.processFixedAI(2,v[1],t)}catch(b){n={error:b}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}if(t.length<3)throw new r.default;var m=t.substring(0,3);try{for(var g=i(e.THREE_DIGIT_DATA_LENGTH),p=g.next();!p.done;p=g.next())if((v=p.value)[0]===m)return v[1]===e.VARIABLE_LENGTH?e.processVariableAI(3,v[2],t):e.processFixedAI(3,v[1],t)}catch(C){o={error:C}}finally{try{p&&!p.done&&(s=g.return)&&s.call(g)}finally{if(o)throw o.error}}try{for(var w=i(e.THREE_DIGIT_PLUS_DIGIT_DATA_LENGTH),y=w.next();!y.done;y=w.next())if((v=y.value)[0]===m)return v[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,v[2],t):e.processFixedAI(4,v[1],t)}catch(k){u={error:k}}finally{try{y&&!y.done&&(F=w.return)&&F.call(w)}finally{if(u)throw u.error}}if(t.length<4)throw new r.default;var E=t.substring(0,4);try{for(var D=i(e.FOUR_DIGIT_DATA_LENGTH),_=D.next();!_.done;_=D.next()){var v;if((v=_.value)[0]===E)return v[1]===e.VARIABLE_LENGTH?e.processVariableAI(4,v[2],t):e.processFixedAI(4,v[1],t)}}catch(A){d={error:A}}finally{try{_&&!_.done&&(h=D.return)&&h.call(D)}finally{if(d)throw d.error}}throw new r.default},e.processFixedAI=function(t,n,i){if(i.length0){var F=i?this.topLeft:this.topRight,d=Math.trunc(F.getY()-t);d<0&&(d=0);var h=new r.default(F.getX(),d);i?a=h:s=h}if(n>0){var f=i?this.bottomLeft:this.bottomRight,l=Math.trunc(f.getY()+n);l>=this.image.getHeight()&&(l=this.image.getHeight()-1);var c=new r.default(f.getX(),l);i?o=c:u=c}return new e(this.image,a,o,s,u)},e.prototype.getMinX=function(){return this.minX},e.prototype.getMaxX=function(){return this.maxX},e.prototype.getMinY=function(){return this.minY},e.prototype.getMaxY=function(){return this.maxY},e.prototype.getTopLeft=function(){return this.topLeft},e.prototype.getTopRight=function(){return this.topRight},e.prototype.getBottomLeft=function(){return this.bottomLeft},e.prototype.getBottomRight=function(){return this.bottomRight},e}()},XBzc:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("Glpx"),o=n("SDs9");t.default=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.parseInformation=function(){var e=new o.default;e.append("(01)");var n=e.length(),i=this.getGeneralDecoder().extractNumericValueFromBitArray(t.HEADER_SIZE,4);return e.append(i),this.encodeCompressedGtinWithoutAI(e,t.HEADER_SIZE+4,n),this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE+44)},t.HEADER_SIZE=4,t}(a.default)},Xuyn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PRO/"),r=n("a66B"),a=n("wXP5"),o=function(){function e(t,n,i,r){this.image=t,this.height=t.getHeight(),this.width=t.getWidth(),null==n&&(n=e.INIT_SIZE),null==i&&(i=t.getWidth()/2|0),null==r&&(r=t.getHeight()/2|0);var o=n/2|0;if(this.leftInit=i-o,this.rightInit=i+o,this.upInit=r-o,this.downInit=r+o,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new a.default}return e.prototype.detect=function(){for(var e=this.leftInit,t=this.rightInit,n=this.upInit,i=this.downInit,r=!1,o=!0,s=!1,u=!1,F=!1,d=!1,h=!1,f=this.width,l=this.height;o;){o=!1;for(var c=!0;(c||!u)&&t=f){r=!0;break}for(var m=!0;(m||!F)&&i=l){r=!0;break}for(var g=!0;(g||!d)&&e>=0;)(g=this.containsBlackPoint(n,i,e,!1))?(e--,o=!0,d=!0):d||e--;if(e<0){r=!0;break}for(var p=!0;(p||!h)&&n>=0;)(p=this.containsBlackPoint(e,t,n,!0))?(n--,o=!0,h=!0):h||n--;if(n<0){r=!0;break}o&&(s=!0)}if(!r&&s){for(var w=t-e,y=null,E=1;null===y&&E=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("hkAl"),a=function(){function e(e,t,n){this.ecCodewords=e,this.ecBlocks=[t],n&&this.ecBlocks.push(n)}return e.prototype.getECCodewords=function(){return this.ecCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e}();t.ECBlocks=a;var o=function(){function e(e,t){this.count=e,this.dataCodewords=t}return e.prototype.getCount=function(){return this.count},e.prototype.getDataCodewords=function(){return this.dataCodewords},e}();t.ECB=o,t.default=function(){function e(e,t,n,r,a,o){var s,u;this.versionNumber=e,this.symbolSizeRows=t,this.symbolSizeColumns=n,this.dataRegionSizeRows=r,this.dataRegionSizeColumns=a,this.ecBlocks=o;var F=0,d=o.getECCodewords(),h=o.getECBlocks();try{for(var f=i(h),l=f.next();!l.done;l=f.next()){var c=l.value;F+=c.getCount()*(c.getDataCodewords()+d)}}catch(m){s={error:m}}finally{try{l&&!l.done&&(u=f.return)&&u.call(f)}finally{if(s)throw s.error}}this.totalCodewords=F}return e.prototype.getVersionNumber=function(){return this.versionNumber},e.prototype.getSymbolSizeRows=function(){return this.symbolSizeRows},e.prototype.getSymbolSizeColumns=function(){return this.symbolSizeColumns},e.prototype.getDataRegionSizeRows=function(){return this.dataRegionSizeRows},e.prototype.getDataRegionSizeColumns=function(){return this.dataRegionSizeColumns},e.prototype.getTotalCodewords=function(){return this.totalCodewords},e.prototype.getECBlocks=function(){return this.ecBlocks},e.getVersionForDimensions=function(t,n){var a,o;if(0!=(1&t)||0!=(1&n))throw new r.default;try{for(var s=i(e.VERSIONS),u=s.next();!u.done;u=s.next()){var F=u.value;if(F.symbolSizeRows===t&&F.symbolSizeColumns===n)return F}}catch(d){a={error:d}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}throw new r.default},e.prototype.toString=function(){return""+this.versionNumber},e.buildVersions=function(){return[new e(1,10,10,8,8,new a(5,new o(1,3))),new e(2,12,12,10,10,new a(7,new o(1,5))),new e(3,14,14,12,12,new a(10,new o(1,8))),new e(4,16,16,14,14,new a(12,new o(1,12))),new e(5,18,18,16,16,new a(14,new o(1,18))),new e(6,20,20,18,18,new a(18,new o(1,22))),new e(7,22,22,20,20,new a(20,new o(1,30))),new e(8,24,24,22,22,new a(24,new o(1,36))),new e(9,26,26,24,24,new a(28,new o(1,44))),new e(10,32,32,14,14,new a(36,new o(1,62))),new e(11,36,36,16,16,new a(42,new o(1,86))),new e(12,40,40,18,18,new a(48,new o(1,114))),new e(13,44,44,20,20,new a(56,new o(1,144))),new e(14,48,48,22,22,new a(68,new o(1,174))),new e(15,52,52,24,24,new a(42,new o(2,102))),new e(16,64,64,14,14,new a(56,new o(2,140))),new e(17,72,72,16,16,new a(36,new o(4,92))),new e(18,80,80,18,18,new a(48,new o(4,114))),new e(19,88,88,20,20,new a(56,new o(4,144))),new e(20,96,96,22,22,new a(68,new o(4,174))),new e(21,104,104,24,24,new a(56,new o(6,136))),new e(22,120,120,18,18,new a(68,new o(6,175))),new e(23,132,132,20,20,new a(62,new o(8,163))),new e(24,144,144,22,22,new a(62,new o(8,156),new o(2,155))),new e(25,8,18,6,16,new a(7,new o(1,5))),new e(26,8,32,6,14,new a(11,new o(1,10))),new e(27,12,26,10,24,new a(14,new o(1,16))),new e(28,12,36,10,16,new a(18,new o(1,22))),new e(29,16,36,14,16,new a(24,new o(1,32))),new e(30,16,48,14,22,new a(28,new o(1,49)))]},e.VERSIONS=e.buildVersions(),e}()},YpR8:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("kAtF"),o=n("rOTk"),s=n("7RB1"),u=n("PnHe"),F=n("wwf5"),d=n("poFM"),h=n("acWS");t.default=function(e){function t(t){void 0===t&&(t=32);var n=e.call(this)||this;if(n.count=0,t<0)throw new u.default("Negative initial size: "+t);return n.buf=new Uint8Array(t),n}return r(t,e),t.prototype.ensureCapacity=function(e){e-this.buf.length>0&&this.grow(e)},t.prototype.grow=function(e){var t=this.buf.length<<1;if(t-e<0&&(t=e),t<0){if(e<0)throw new F.default;t=s.default.MAX_VALUE}this.buf=a.default.copyOfUint8Array(this.buf,t)},t.prototype.write=function(e){this.ensureCapacity(this.count+1),this.buf[this.count]=e,this.count+=1},t.prototype.writeBytesOffset=function(e,t,n){if(t<0||t>e.length||n<0||t+n-e.length>0)throw new h.default;this.ensureCapacity(this.count+n),d.default.arraycopy(e,t,this.buf,this.count,n),this.count+=n},t.prototype.writeTo=function(e){e.writeBytesOffset(this.buf,0,this.count)},t.prototype.reset=function(){this.count=0},t.prototype.toByteArray=function(){return a.default.copyOfUint8Array(this.buf,this.count)},t.prototype.size=function(){return this.count},t.prototype.toString=function(e){return e?"string"==typeof e?this.toString_string(e):this.toString_number(e):this.toString_void()},t.prototype.toString_void=function(){return new String(this.buf).toString()},t.prototype.toString_string=function(e){return new String(this.buf).toString()},t.prototype.toString_number=function(e){return new String(this.buf).toString()},t.prototype.close=function(){},t}(o.default)},a66B:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.prototype.MathUtils=function(){},e.round=function(e){return NaN===e?0:e<=Number.MIN_SAFE_INTEGER?Number.MIN_SAFE_INTEGER:e>=Number.MAX_SAFE_INTEGER?Number.MAX_SAFE_INTEGER:e+(e<0?-.5:.5)|0},e.distance=function(e,t,n,i){var r=e-n,a=t-i;return Math.sqrt(r*r+a*a)},e.sum=function(e){for(var t=0,n=0,i=e.length;n!==i;n++)t+=e[n];return t},e}()},aLHR:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.getChecksumInstance=function(){return new t},t}(a.default)},acWS:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.default)},bJYy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("poFM"),r=function(){function e(e,t,n,r,a,o){void 0===n&&(n=null==t?0:8*t.length),void 0===o&&(o=i.default.currentTimeMillis()),this.text=e,this.rawBytes=t,this.numBits=n,this.resultPoints=r,this.format=a,this.timestamp=o,this.text=e,this.rawBytes=t,this.numBits=null==n?null==t?0:8*t.length:n,this.resultPoints=r,this.format=a,this.resultMetadata=null,this.timestamp=null==o?i.default.currentTimeMillis():o}return e.prototype.getText=function(){return this.text},e.prototype.getRawBytes=function(){return this.rawBytes},e.prototype.getNumBits=function(){return this.numBits},e.prototype.getResultPoints=function(){return this.resultPoints},e.prototype.getBarcodeFormat=function(){return this.format},e.prototype.getResultMetadata=function(){return this.resultMetadata},e.prototype.putMetadata=function(e,t){null===this.resultMetadata&&(this.resultMetadata=new Map),this.resultMetadata.set(e,t)},e.prototype.putAllMetadata=function(e){null!==e&&(this.resultMetadata=null===this.resultMetadata?e:new Map(e))},e.prototype.addResultPoints=function(e){var t=this.resultPoints;if(null===t)this.resultPoints=e;else if(null!==e&&e.length>0){var n=new Array(t.length+e.length);i.default.arraycopy(t,0,n,0,t.length),i.default.arraycopy(e,0,n,t.length,e.length),this.resultPoints=n}},e.prototype.getTimestamp=function(){return this.timestamp},e.prototype.toString=function(){return this.text},e}();t.default=r},bJeb:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mbx9"),r=n("8wFp"),a=n("r8uX"),o=n("PnHe"),s=n("OlRx");t.BrowserQRCodeSvgWriter=function(){function e(){}return e.prototype.write=function(t,n,s,u){if(void 0===u&&(u=null),0===t.length)throw new o.default("Found empty contents");if(n<0||s<0)throw new o.default("Requested dimensions are too small: "+n+"x"+s);var F=a.default.L,d=e.QUIET_ZONE_SIZE;null!==u&&(void 0!==u.get(i.default.ERROR_CORRECTION)&&(F=a.default.fromString(u.get(i.default.ERROR_CORRECTION).toString())),void 0!==u.get(i.default.MARGIN)&&(d=Number.parseInt(u.get(i.default.MARGIN).toString(),10)));var h=r.default.encode(t,F,u);return this.renderResult(h,n,s,d)},e.prototype.writeToDom=function(e,t,n,i,r){void 0===r&&(r=null),"string"==typeof e&&(e=document.querySelector(e));var a=this.write(t,n,i,r);e&&e.appendChild(a)},e.prototype.renderResult=function(e,t,n,i){var r=e.getMatrix();if(null===r)throw new s.default;for(var a=r.getWidth(),o=r.getHeight(),u=a+2*i,F=o+2*i,d=Math.max(t,u),h=Math.max(n,F),f=Math.min(Math.floor(d/u),Math.floor(h/F)),l=Math.floor((d-a*f)/2),c=Math.floor((h-o*f)/2),m=this.createSVGElement(d,h),g=0,p=c;g=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("PnHe"),a=n("poFM"),o=n("SDs9");t.default=function(){function e(e,t){if(0===t.length)throw new r.default;this.field=e;var n=t.length;if(n>1&&0===t[0]){for(var i=1;ii.length){var o=n;n=i,i=o}var s=new Int32Array(i.length),u=i.length-n.length;a.default.arraycopy(i,0,s,0,u);for(var F=u;F=0;t--){var n=this.getCoefficient(t);0!==n&&(n<0?(e.append(" - "),n=-n):e.length()>0&&e.append(" + "),0!==t&&1===n||e.append(n),0!==t&&(1===t?e.append("x"):(e.append("x^"),e.append(t))))}return e.toString()},e}()},brUz:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("aLHR"),a=n("hkAl"),o=n("wXP5"),s=n("a66B"),u=n("vpob"),F=n("g9Qw"),d=n("WYPJ"),h=n("fy1c"),f=n("qU7a"),l=n("9hxZ"),c=n("fiM6"),m=n("QBYl"),g=n("QkY+"),p=n("jE/7"),w=n("F1eN");t.default=function(){function e(){}return e.decode=function(t,n,i,r,a,s,u){for(var F,f=new d.default(t,n,i,r,a),c=null,m=null,g=!0;;g=!1){if(null!=n&&(c=e.getRowIndicatorColumn(t,f,n,!0,s,u)),null!=r&&(m=e.getRowIndicatorColumn(t,f,r,!1,s,u)),null==(F=e.merge(c,m)))throw o.default.getNotFoundInstance();var p=F.getBoundingBox();if(!g||null==p||!(p.getMinY()f.getMaxY()))break;f=p}F.setBoundingBox(f);var w=F.getBarcodeColumnCount()+1;F.setDetectionResultColumn(0,c),F.setDetectionResultColumn(w,m);for(var y=null!=c,E=1;E<=w;E++){var D=y?E:w-E;if(void 0===F.getDetectionResultColumn(D)){var _=void 0;_=0===D||D===w?new h.default(f,0===D):new l.default(f),F.setDetectionResultColumn(D,_);for(var v=-1,b=v,C=f.getMinY();C<=f.getMaxY();C++){if((v=e.getStartColumn(F,D,C,y))<0||v>f.getMaxX()){if(-1===b)continue;v=b}var k=e.detectCodeword(t,f.getMinX(),f.getMaxX(),y,v,C,s,u);null!=k&&(_.setCodeword(C,k),b=v,s=Math.min(s,k.getWidth()),u=Math.max(u,k.getWidth()))}}}return e.createDecoderResult(F)},e.merge=function(t,n){if(null==t&&null==n)return null;var i=e.getBarcodeMetadata(t,n);if(null==i)return null;var r=d.default.merge(e.adjustBoundingBox(t),e.adjustBoundingBox(n));return new f.default(i,r)},e.adjustBoundingBox=function(t){var n,r;if(null==t)return null;var a=t.getRowHeights();if(null==a)return null;var o=e.getMax(a),s=0;try{for(var u=i(a),F=u.next();!F.done;F=u.next()){var d=F.value;if(s+=o-d,d>0)break}}catch(c){n={error:c}}finally{try{F&&!F.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}for(var h=t.getCodewords(),f=0;s>0&&null==h[f];f++)s--;var l=0;for(f=a.length-1;f>=0&&(l+=o-a[f],!(a[f]>0));f--);for(f=h.length-1;l>0&&null==h[f];f--)l--;return t.getBoundingBox().addMissingRows(s,l,t.isLeft())},e.getMax=function(e){var t,n,r=-1;try{for(var a=i(e),o=a.next();!o.done;o=a.next())r=Math.max(r,o.value)}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return r},e.getBarcodeMetadata=function(e,t){var n,i;return null==e||null==(n=e.getBarcodeMetadata())?null==t?null:t.getBarcodeMetadata():null==t||null==(i=t.getBarcodeMetadata())?n:n.getColumnCount()!==i.getColumnCount()&&n.getErrorCorrectionLevel()!==i.getErrorCorrectionLevel()&&n.getRowCount()!==i.getRowCount()?null:n},e.getRowIndicatorColumn=function(t,n,i,r,a,o){for(var s=new h.default(n,r),u=0;u<2;u++)for(var F=0===u?1:-1,d=Math.trunc(Math.trunc(i.getX())),f=Math.trunc(Math.trunc(i.getY()));f<=n.getMaxY()&&f>=n.getMinY();f+=F){var l=e.detectCodeword(t,0,t.getWidth(),r,d,f,a,o);null!=l&&(s.setCodeword(f,l),d=r?l.getStartX():l.getEndX())}return s},e.adjustCodewordCount=function(t,n){var i=n[0][1],r=i.getValue(),a=t.getBarcodeColumnCount()*t.getBarcodeRowCount()-e.getNumberOfECCodeWords(t.getBarcodeECLevel());if(0===r.length){if(a<1||a>u.default.MAX_CODEWORDS_IN_BARCODE)throw o.default.getNotFoundInstance();i.setValue(a)}else r[0]!==a&&i.setValue(a)},e.createDecoderResult=function(t){var n=e.createBarcodeMatrix(t);e.adjustCodewordCount(t,n);for(var i=new Array,r=new Int32Array(t.getBarcodeRowCount()*t.getBarcodeColumnCount()),a=[],o=new Array,s=0;s0;){for(var F=0;F=0){if(p>=o.length)continue;o[p][F].setValue(g.getValue())}}}}catch(w){r={error:w}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(r)throw r.error}}F++}}catch(y){t={error:y}}finally{try{h&&!h.done&&(n=d.return)&&n.call(d)}finally{if(t)throw t.error}}return o},e.isValidBarcodeColumn=function(e,t){return t>=0&&t<=e.getBarcodeColumnCount()+1},e.getStartColumn=function(t,n,r,a){var o,s,u=a?1:-1,F=null;if(e.isValidBarcodeColumn(t,n-u)&&(F=t.getDetectionResultColumn(n-u).getCodeword(r)),null!=F)return a?F.getEndX():F.getStartX();if(null!=(F=t.getDetectionResultColumn(n).getCodewordNearby(r)))return a?F.getStartX():F.getEndX();if(e.isValidBarcodeColumn(t,n-u)&&(F=t.getDetectionResultColumn(n-u).getCodewordNearby(r)),null!=F)return a?F.getEndX():F.getStartX();for(var d=0;e.isValidBarcodeColumn(t,n-u);){n-=u;try{for(var h=i(t.getDetectionResultColumn(n).getCodewords()),f=h.next();!f.done;f=h.next()){var l=f.value;if(null!=l)return(a?l.getEndX():l.getStartX())+u*d*(l.getEndX()-l.getStartX())}}catch(c){o={error:c}}finally{try{f&&!f.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}d++}return a?t.getBoundingBox().getMinX():t.getBoundingBox().getMaxX()},e.detectCodeword=function(t,n,i,r,a,o,F,d){a=e.adjustCodewordStartColumn(t,n,i,r,a,o);var h,f=e.getModuleBitCount(t,n,i,r,a,o);if(null==f)return null;var l=s.default.sum(f);if(r)h=a+l;else{for(var m=0;m=t)&&u=n:se.CODEWORD_SKEW_SIZE)return a;s+=u}u=-u,r=!r}return s},e.checkCodewordSkew=function(t,n,i){return n-e.CODEWORD_SKEW_SIZE<=t&&t<=i+e.CODEWORD_SKEW_SIZE},e.decodeCodewords=function(t,n,i){if(0===t.length)throw a.default.getFormatInstance();var r=1<i/2+e.MAX_ERRORS||i<0||i>e.MAX_EC_CODEWORDS)throw r.default.getChecksumInstance();return e.errorCorrection.decode(t,i,n)},e.verifyCodewordCount=function(e,t){if(e.length<4)throw a.default.getFormatInstance();var n=e[0];if(n>e.length)throw a.default.getFormatInstance();if(0===n){if(!(t>=1;return t},e.getCodewordBucketNumber=function(e){return e instanceof Int32Array?this.getCodewordBucketNumber_Int32Array(e):this.getCodewordBucketNumber_number(e)},e.getCodewordBucketNumber_number=function(t){return e.getCodewordBucketNumber(e.getBitCountForCodeword(t))},e.getCodewordBucketNumber_Int32Array=function(e){return(e[0]-e[2]+e[4]-e[6]+9)%9},e.toString=function(e){for(var t=new w.default,n=0;n=t.length)for(var n=t[t.length-1],r=this.field,a=t.length;a<=e;a++){var o=n.multiply(new i.default(r,Int32Array.from([1,r.exp(a-1+r.getGeneratorBase())])));t.push(o),n=o}return t[e]},e.prototype.encode=function(e,t){if(0===t)throw new a.default("No error correction bytes");var n=e.length-t;if(n<=0)throw new a.default("No data bytes provided");var o=this.buildGenerator(t),s=new Int32Array(n);r.default.arraycopy(e,0,s,0,n);for(var u=new i.default(this.field,s),F=(u=u.multiplyByMonomial(t,1)).divide(o)[1].getCoefficients(),d=t-F.length,h=0;hthis.maxMargin?this.maxMargin:t)!==this.margin&&(this.hasStickyPosition||(this.label.nativeElement.style.top=t+"px"),this.margin=t,!0)}},{key:"getEmojis",value:function(){var e=this;if("Recent"===this.name){var t=this.recent||this.frequently.get(this.perLine,this.totalFrequentLines);if(t&&t.length||(t=this.frequently.get(this.perLine,this.totalFrequentLines)),t.length&&(this.emojis=t.map((function(t){return e.custom.filter((function(e){return e.id===t}))[0]||t})).filter((function(t){return!!e.emojiService.getData(t)}))),(!this.emojis||0===this.emojis.length)&&t.length>0)return null}return this.emojis&&(this.emojis=this.emojis.slice(0)),this.emojis}},{key:"updateDisplay",value:function(e){this.containerStyles.display=e,this.getEmojis(),this.ref.detectChanges()}},{key:"trackById",value:function(e,t){return t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Sb(o.h),o.Sb(u.c),o.Sb(T))},e.\u0275cmp=o.Mb({type:e,selectors:[["emoji-category"]],viewQuery:function(e,t){var n;1&e&&(o.Cc(l,!0),o.Cc(c,!0)),2&e&&(o.uc(n=o.gc())&&(t.container=n.first),o.uc(n=o.gc())&&(t.label=n.first))},inputs:{hasStickyPosition:"hasStickyPosition",name:"name",perLine:"perLine",totalFrequentLines:"totalFrequentLines",recent:"recent",custom:"custom",hideObsolete:"hideObsolete",emojis:"emojis",i18n:"i18n",id:"id",notFoundEmoji:"notFoundEmoji",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiForceSize:"emojiForceSize",emojiTooltip:"emojiTooltip",emojiBackgroundImageFn:"emojiBackgroundImageFn",emojiUseButton:"emojiUseButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},decls:8,vars:10,consts:[[1,"emoji-mart-category",3,"ngStyle"],["container",""],[1,"emoji-mart-category-label",3,"ngStyle"],["aria-hidden","true",3,"ngStyle"],["label",""],[3,"ngIf"],[4,"ngIf"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","hideObsolete","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],[3,"emoji","size","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","hideObsolete","emojiOver","emojiLeave","emojiClick"],["size","38",3,"emoji","skin","isNative","set","sheetSize","forceSize","tooltip","backgroundImageFn","useButton"],[1,"emoji-mart-no-results-label"]],template:function(e,t){1&e&&(o.Yb(0,"section",0,1),o.Yb(2,"div",2),o.Yb(3,"span",3,4),o.Ic(5),o.Xb(),o.Xb(),o.Gc(6,g,1,2,"ng-template",5),o.Gc(7,p,5,10,"div",6),o.Xb()),2&e&&(o.Kb("emoji-mart-no-results",t.emojis&&!t.emojis.length),o.pc("ngStyle",t.containerStyles),o.Gb("aria-label",t.i18n.categories[t.id]),o.Fb(2),o.pc("ngStyle",t.labelStyles),o.Gb("data-name",t.name),o.Fb(1),o.pc("ngStyle",t.labelSpanStyles),o.Fb(2),o.Kc(" ",t.i18n.categories[t.id]," "),o.Fb(1),o.pc("ngIf",t.emojis),o.Fb(1),o.pc("ngIf",t.emojis&&!t.emojis.length))},directives:[F.n,F.m,F.l,u.a],encapsulation:2,changeDetection:0}),e}();function R(e){return e.reduce((function(e,t){return e.includes(t)||e.push(t),e}),[])}function P(e,t){var n=R(e),i=R(t);return n.filter((function(e){return i.indexOf(e)>=0}))}var x=function(){var e=function(){function e(t){var i=this;a(this,e),this.emojiService=t,this.originalPool={},this.index={},this.emojisList={},this.emoticonsList={},this.emojiSearch={};var r,o=n(this.emojiService.emojis);try{var s=function(){var e=r.value,t=e.shortNames,n=e.emoticons,a=t[0];n.forEach((function(e){i.emoticonsList[e]||(i.emoticonsList[e]=a)})),i.emojisList[a]=i.emojiService.getSanitizedData(a),i.originalPool[a]=e};for(o.s();!(r=o.n()).done;)s()}catch(u){o.e(u)}finally{o.f()}}return s(e,[{key:"addCustomToPool",value:function(e,t){var n=this;e.forEach((function(e){var i=e.id||e.shortNames[0];i&&!t[i]&&(t[i]=n.emojiService.getData(e),n.emojisList[i]=n.emojiService.getSanitizedData(e))}))}},{key:"search",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:75,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];this.addCustomToPool(s,this.originalPool);var F=this.originalPool;if(e.length){if("-"===e||"-1"===e)return[this.emojisList[-1]];if("+"===e||"+1"===e)return[this.emojisList["+1"]];var d=e.toLowerCase().split(/[\s|,|\-|_]+/),h=[];if(d.length>2&&(d=[d[0],d[1]]),(a.length||o.length)&&(F={},u.d.forEach((function(e){var t,n=!a||!a.length||a.indexOf(e.id)>-1,r=!(!o||!o.length)&&o.indexOf(e.id)>-1;n&&!r&&(null===(t=e.emojis)||void 0===t||t.forEach((function(e){var t,n=i.emojiService.getData(e);F[null!==(t=null==n?void 0:n.id)&&void 0!==t?t:""]=n})))})),s.length)){var f=!a||!a.length||a.indexOf("custom")>-1,l=!(!o||!o.length)&&o.indexOf("custom")>-1;f&&!l&&this.addCustomToPool(s,F)}n=(h=d.map((function(e){for(var t=F,n=i.index,r=0,a=0;a1?P.apply(null,h):h.length?h[0]:[]}return n&&(t&&(n=n.filter((function(e){return!(!e||!e.id)&&t(i.emojiService.names[e.id])}))),n&&n.length>r&&(n=n.slice(0,r))),n||null}},{key:"buildSearch",value:function(e,t,n,i,r){var a=[],o=function(e,t){e&&(Array.isArray(e)?e:[e]).forEach((function(e){(t?e.split(/[-|_|\s]+/):[e]).forEach((function(e){e=e.toLowerCase(),a.includes(e)||a.push(e)}))}))};return o(e,!0),o(t,!0),o(n,!0),o(i,!0),o(r,!1),a.join(",")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.cc(u.c))},e.\u0275prov=Object(o.Ob)({factory:function(){return new e(Object(o.cc)(u.c))},token:e,providedIn:"root"}),e}(),L={activity:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m10 11h-5c.3-2.5 1.3-4.8 2-6.1a10 10 0 0 1 3 6.1m-9 0V2a10 10 0 0 1 4.4 1.6A18 18 0 0 0 15 11h-2zm-2 0H9a18 18 0 0 0-2.4-7.4A10 10 0 0 1 11 2.1V11zm0 2v9a10 10 0 0 1-4.4-1.6A18 18 0 0 0 9 13h2zm4 0a18 18 0 0 0 2.4 7.4 10 10 0 0 1-4.4 1.5V13h2zM5 4.9c.7 1.3 1.7 3.6 2 6.1H2a10 10 0 0 1 3-6.1M2 13h5c-.3 2.5-1.3 4.8-2 6.1A10 10 0 0 1 2 13m17 6.1c-.7-1.3-1.7-3.6-2-6.1h5a10 10 0 0 1-3 6.1",custom:"M10 1h3v21h-3zm10.186 4l1.5 2.598L3.5 18.098 2 15.5zM2 7.598L3.5 5l18.186 10.5-1.5 2.598z",flags:"M0 0l6 24h2L2 0zm21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.6 3h7.8l2 8H8.6l-2-8zm8.8 10l-2.9 1.9-.4-1.9h3.3zm3.6 0l-1.5-6h2l2 8H16l3-2z",foods:"M17 5c-1.8 0-2.9.4-3.7 1 .5-1.3 1.8-3 4.7-3a1 1 0 0 0 0-2c-3 0-4.6 1.3-5.5 2.5l-.2.2c-.6-1.9-1.5-3.7-3-3.7C8.5 0 7.7.3 7 1c-2 1.5-1.7 2.9-.5 4C3.6 5.2 0 7.4 0 13c0 4.6 5 11 9 11 2 0 2.4-.5 3-1 .6.5 1 1 3 1 4 0 9-6.4 9-11 0-6-4-8-7-8M8.2 2.5c.7-.5 1-.5 1-.5.4.2 1 1.4 1.4 3-1.6-.6-2.8-1.3-3-1.8l.6-.7M15 22c-1 0-1.2-.1-1.6-.4l-.1-.2a2 2 0 0 0-2.6 0l-.1.2c-.4.3-.5.4-1.6.4-2.8 0-7-5.4-7-9 0-6 4.5-6 5-6 2 0 2.5.4 3.4 1.2l.3.3a2 2 0 0 0 2.6 0l.3-.3c1-.8 1.5-1.2 3.4-1.2.5 0 5 .1 5 6 0 3.6-4.2 9-7 9",nature:"M15.5 8a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-7 0a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m10.43-8h-.02c-.97 0-2.14.79-3.02 1.5A13.88 13.88 0 0 0 12 .99c-1.28 0-2.62.13-3.87.51C7.24.8 6.07 0 5.09 0h-.02C3.35 0 .07 2.67 0 7.03c-.04 2.47.28 4.23 1.04 5 .26.27.88.69 1.3.9.19 3.17.92 5.23 2.53 6.37.9.64 2.19.95 3.2 1.1-.03.2-.07.4-.07.6 0 1.77 2.35 3 4 3s4-1.23 4-3c0-.2-.04-.4-.07-.59 2.57-.38 5.43-1.87 5.92-7.58.4-.22.89-.57 1.1-.8.77-.76 1.09-2.52 1.05-5C23.93 2.67 20.65 0 18.93 0M3.23 9.13c-.24.29-.84 1.16-.9 1.24A9.67 9.67 0 0 1 2 7.08c.05-3.28 2.48-4.97 3.1-5.03.25.02.72.27 1.26.65A7.95 7.95 0 0 0 4 7.82c-.14.55-.4.86-.79 1.31M12 22c-.9 0-1.95-.7-2-1 0-.65.47-1.24 1-1.6v.6a1 1 0 1 0 2 0v-.6c.52.36 1 .95 1 1.6-.05.3-1.1 1-2 1m3-3.48v.02a4.75 4.75 0 0 0-1.26-1.02c1.09-.52 2.24-1.33 2.24-2.22 0-1.84-1.78-2.2-3.98-2.2s-3.98.36-3.98 2.2c0 .89 1.15 1.7 2.24 2.22A4.8 4.8 0 0 0 9 18.54v-.03a6.1 6.1 0 0 1-2.97-.84c-1.3-.92-1.84-3.04-1.86-6.48l.03-.04c.5-.82 1.49-1.45 1.8-3.1C6 6 7.36 4.42 8.36 3.53c1.01-.35 2.2-.53 3.59-.53 1.45 0 2.68.2 3.73.57 1 .9 2.32 2.46 2.32 4.48.31 1.65 1.3 2.27 1.8 3.1l.1.18c-.06 5.97-1.95 7.01-4.9 7.19m6.63-8.2l-.11-.2a7.59 7.59 0 0 0-.74-.98 3.02 3.02 0 0 1-.79-1.32 7.93 7.93 0 0 0-2.35-5.12c.53-.38 1-.63 1.26-.65.64.07 3.05 1.77 3.1 5.03.02 1.81-.35 3.22-.37 3.24",objects:"M12 0a9 9 0 0 0-5 16.5V21s2 3 5 3 5-3 5-3v-4.5A9 9 0 0 0 12 0zm0 2a7 7 0 1 1 0 14 7 7 0 0 1 0-14zM9 17.5a9 9 0 0 0 6 0v.8a7 7 0 0 1-3 .7 7 7 0 0 1-3-.7v-.8zm.2 3a8.9 8.9 0 0 0 2.8.5c1 0 1.9-.2 2.8-.5-.6.7-1.6 1.5-2.8 1.5-1.1 0-2.1-.8-2.8-1.5zm5.5-8.1c-.8 0-1.1-.8-1.5-1.8-.5-1-.7-1.5-1.2-1.5s-.8.5-1.3 1.5c-.4 1-.8 1.8-1.6 1.8h-.3c-.5-.2-.8-.7-1.3-1.8l-.2-1A3 3 0 0 0 7 9a1 1 0 0 1 0-2c1.7 0 2 1.4 2.2 2.1.5-1 1.3-2 2.8-2 1.5 0 2.3 1.1 2.7 2.1.2-.8.6-2.2 2.3-2.2a1 1 0 1 1 0 2c-.2 0-.3.5-.3.7a6.5 6.5 0 0 1-.3 1c-.5 1-.8 1.7-1.7 1.7",people:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20M8 7a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m-.8 8c-.7 1.2-1.8 2-3.3 2-1.5 0-2.7-.8-3.4-2H15m3-2H6a6 6 0 1 0 12 0",places:"M6.5 12a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m11-3a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 3c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5m5-5.5l-1-.4-.1-.1h.6c.6 0 1-.4 1-1 0-1-.9-2-2-2h-.6l-.8-1.7A3 3 0 0 0 16.8 2H7.2a3 3 0 0 0-2.8 2.3L3.6 6H3a2 2 0 0 0-2 2c0 .6.4 1 1 1h.6v.1l-1 .4a2 2 0 0 0-1.4 2l.7 7.6a1 1 0 0 0 1 .9H3v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h6v1c0 1.1.9 2 2 2h2a2 2 0 0 0 2-2v-1h1.1a1 1 0 0 0 1-.9l.7-7.5a2 2 0 0 0-1.3-2.1M6.3 4.9c.1-.5.5-.9 1-.9h9.5c.4 0 .8.4 1 .9L19.2 9H4.7l1.6-4.1zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.2-3H2.8l-.7-6.6.9-.4h18l.9.4-.7 6.6z",recent:"M13 4h-2v7H9v2h2v2h2v-2h4v-2h-4zm-1-4a12 12 0 1 0 0 24 12 12 0 0 0 0-24m0 22a10 10 0 1 1 0-20 10 10 0 0 1 0 20",symbols:"M0 0h11v2H0zm4 11h3V6h4V4H0v2h4zm11.5 6a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5m0-2.99a.5.5 0 0 1 0 .99c-.28 0-.5-.22-.5-.5s.22-.49.5-.49m6 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5m0 2.99a.5.5 0 0 1-.5-.5.5.5 0 0 1 1 .01.5.5 0 0 1-.5.49m.5-9l-9 9 1.51 1.5 9-9zm-5-2c2.2 0 4-1.12 4-2.5V2s.98-.16 1.5.95C23 4.05 23 6 23 6s1-1.12 1-3.13C24-.02 21 0 21 0h-2v6.35A5.85 5.85 0 0 0 17 6c-2.2 0-4 1.12-4 2.5s1.8 2.5 4 2.5m-6.7 9.48L8.82 18.9a47.54 47.54 0 0 1-1.44 1.13c-.3-.3-.99-1.02-2.04-2.19.9-.83 1.47-1.46 1.72-1.89s.38-.87.38-1.33c0-.6-.27-1.18-.82-1.76-.54-.58-1.33-.87-2.35-.87-1 0-1.79.29-2.34.87-.56.6-.83 1.18-.83 1.79 0 .81.42 1.75 1.25 2.8a6.57 6.57 0 0 0-1.8 1.79 3.46 3.46 0 0 0-.51 1.83c0 .86.3 1.56.92 2.1a3.5 3.5 0 0 0 2.42.83c1.17 0 2.44-.38 3.81-1.14L8.23 24h2.82l-2.09-2.38 1.34-1.14zM3.56 14.1a1.02 1.02 0 0 1 .73-.28c.31 0 .56.08.75.25a.85.85 0 0 1 .28.66c0 .52-.42 1.11-1.26 1.78-.53-.65-.8-1.23-.8-1.74a.9.9 0 0 1 .3-.67m.18 7.9c-.43 0-.78-.12-1.06-.35-.28-.23-.41-.49-.41-.76 0-.6.5-1.3 1.52-2.09a31.23 31.23 0 0 0 2.25 2.44c-.92.5-1.69.76-2.3.76"},j={search:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z",delete:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"},V={search:"Search",emojilist:"List of emoji",notfound:"No Emoji Found",clear:"Clear",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},skintones:{1:"Default Skin Tone",2:"Light Skin Tone",3:"Medium-Light Skin Tone",4:"Medium Skin Tone",5:"Medium-Dark Skin Tone",6:"Dark Skin Tone"}},H=function(){var e=function(){function e(t,n){var i=this;a(this,e),this.ref=t,this.frequently=n,this.perLine=9,this.totalFrequentLines=4,this.i18n={},this.style={},this.title="Emoji Mart\u2122",this.emoji="department_store",this.darkMode=!("function"!=typeof matchMedia||!matchMedia("(prefers-color-scheme: dark)").matches),this.color="#ae65c5",this.hideObsolete=!0,this.categories=[],this.activeCategories=[],this.set="apple",this.skin=1,this.isNative=!1,this.emojiSize=24,this.sheetSize=64,this.showPreview=!0,this.emojiTooltip=!1,this.autoFocus=!1,this.custom=[],this.hideRecent=!0,this.notFoundEmoji="sleuth_or_spy",this.categoriesIcons=L,this.searchIcons=j,this.useButton=!1,this.enableFrequentEmojiSort=!1,this.enableSearch=!0,this.showSingleCategory=!1,this.emojiClick=new o.p,this.emojiSelect=new o.p,this.skinChange=new o.p,this.scrollHeight=0,this.clientHeight=0,this.firstRender=!0,this.NAMESPACE="emoji-mart",this.measureScrollbar=0,this.RECENT_CATEGORY={id:"recent",name:"Recent",emojis:null},this.SEARCH_CATEGORY={id:"search",name:"Search",emojis:null,anchor:!1},this.CUSTOM_CATEGORY={id:"custom",name:"Custom",emojis:[]},this.backgroundImageFn=function(e,t){return"https://unpkg.com/emoji-datasource-".concat(i.set,"@5.0.1/img/").concat(i.set,"/sheets-256/").concat(i.sheetSize,".png")}}return s(e,[{key:"ngOnInit",value:function(){var e=this;this.measureScrollbar=function(){if("undefined"==typeof document)return 0;var e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}(),this.i18n=Object.assign(Object.assign({},V),this.i18n),this.i18n.categories=Object.assign(Object.assign({},V.categories),this.i18n.categories),this.skin=JSON.parse(localStorage.getItem(this.NAMESPACE+".skin")||"null")||this.skin;var i=t(u.d);this.custom.length>0&&(this.CUSTOM_CATEGORY.emojis=this.custom.map((function(e){return Object.assign(Object.assign({},e),{id:e.shortNames[0],custom:!0})})),i.push(this.CUSTOM_CATEGORY)),void 0!==this.include&&i.sort((function(t,n){return e.include.indexOf(t.id)>e.include.indexOf(n.id)?1:-1}));var r,a=n(i);try{for(a.s();!(r=a.n()).done;){var o=r.value,s=!this.include||!this.include.length||this.include.indexOf(o.id)>-1,F=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(o.id)>-1;if(s&&!F){if(this.emojisToShowFilter){for(var d=[],h=o.emojis,f=0;f-1,m=!(!this.exclude||!this.exclude.length)&&this.exclude.indexOf(this.RECENT_CATEGORY.id)>-1;c&&!m&&(this.hideRecent=!1,this.categories.unshift(this.RECENT_CATEGORY)),this.categories[0]&&(this.categories[0].first=!0),this.categories.unshift(this.SEARCH_CATEGORY),this.selected=this.categories.filter((function(e){return e.first}))[0].name;var g=Math.min(this.categories.length,3);this.setActiveCategories(this.activeCategories=this.categories.slice(0,g));var p=this.categories[g-1].emojis.slice();this.categories[g-1].emojis=p.slice(0,60),this.ref.markForCheck(),setTimeout((function(){e.categories[g-1].emojis=p,e.setActiveCategories(e.categories),e.ref.markForCheck(),setTimeout((function(){return e.updateCategoriesSize()}))}))}},{key:"setActiveCategories",value:function(e){var t=this;this.activeCategories=this.showSingleCategory?e.filter((function(e){return e.name===t.selected||e===t.SEARCH_CATEGORY})):e}},{key:"updateCategoriesSize",value:function(){if(this.categoryRefs.forEach((function(e){return e.memoizeSize()})),this.scrollRef){var e=this.scrollRef.nativeElement;this.scrollHeight=e.scrollHeight,this.clientHeight=e.clientHeight}}},{key:"handleAnchorClick",value:function(e){if(this.updateCategoriesSize(),this.selected=e.category.name,this.setActiveCategories(this.categories),this.SEARCH_CATEGORY.emojis)return this.handleSearch(null),this.searchRef.clear(),void this.handleAnchorClick(e);var t=this.categoryRefs.find((function(t){return t.id===e.category.id}));if(t){var n=t.top;e.category.first?n=0:n+=1,this.scrollRef.nativeElement.scrollTop=n}this.selected=e.category.name,this.nextScroll=e.category.name}},{key:"categoryTrack",value:function(e,t){return t.id}},{key:"handleScroll",value:function(){var e=this;if(this.nextScroll)return this.selected=this.nextScroll,void(this.nextScroll=void 0);if(this.scrollRef&&!this.showSingleCategory){var t=null;if(this.SEARCH_CATEGORY.emojis)t=this.SEARCH_CATEGORY;else{var i=this.scrollRef.nativeElement;if(0===i.scrollTop)t=this.categories.find((function(e){return!0===e.first}));else if(i.scrollHeight-i.scrollTop===this.clientHeight)t=this.categories[this.categories.length-1];else{var r,a=n(this.categories);try{var o=function(){var n=r.value;e.categoryRefs.find((function(e){return e.id===n.id})).handleScroll(i.scrollTop)&&(t=n)};for(a.s();!(r=a.n()).done;)o()}catch(s){a.e(s)}finally{a.f()}}this.scrollTop=i.scrollTop}t&&(this.selected=t.name)}}},{key:"handleSearch",value:function(e){this.SEARCH_CATEGORY.emojis=e;var t,i=n(this.categoryRefs.toArray());try{for(i.s();!(t=i.n()).done;){var r=t.value;"Search"===r.name?(r.emojis=e,r.updateDisplay(e?"block":"none")):r.updateDisplay(e?"none":"block")}}catch(a){i.e(a)}finally{i.f()}this.scrollRef.nativeElement.scrollTop=0,this.handleScroll()}},{key:"handleEnterKey",value:function(e,t){if(!t&&null!==this.SEARCH_CATEGORY.emojis&&this.SEARCH_CATEGORY.emojis.length){if(!(t=this.SEARCH_CATEGORY.emojis[0]))return;this.emojiSelect.emit({$event:e,emoji:t})}this.hideRecent||this.recent||!t||this.frequently.add(t);var n=this.categoryRefs.toArray()[1];n&&this.enableFrequentEmojiSort&&(n.getEmojis(),n.ref.markForCheck())}},{key:"handleEmojiOver",value:function(e){if(this.showPreview&&this.previewRef){var t=this.CUSTOM_CATEGORY.emojis.find((function(t){return t.id===e.emoji.id}));t&&(e.emoji=Object.assign({},t)),this.previewEmoji=e.emoji,clearTimeout(this.leaveTimeout)}}},{key:"handleEmojiLeave",value:function(){var e=this;this.showPreview&&this.previewRef&&(this.leaveTimeout=setTimeout((function(){e.previewEmoji=null,e.previewRef.ref.markForCheck()}),16))}},{key:"handleEmojiClick",value:function(e){this.emojiClick.emit(e),this.emojiSelect.emit(e),this.handleEnterKey(e.$event,e.emoji)}},{key:"handleSkinChange",value:function(e){this.skin=e,localStorage.setItem(this.NAMESPACE+".skin",String(e)),this.skinChange.emit(e)}},{key:"getWidth",value:function(){return this.style&&this.style.width?this.style.width:this.perLine*(this.emojiSize+12)+12+2+this.measureScrollbar+"px"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Sb(o.h),o.Sb(T))},e.\u0275cmp=o.Mb({type:e,selectors:[["emoji-mart"]],viewQuery:function(e,t){var n;1&e&&(o.Cc(w,!0),o.Mc(y,!0),o.Cc(E,!0),o.Mc(D,!0)),2&e&&(o.uc(n=o.gc())&&(t.scrollRef=n.first),o.uc(n=o.gc())&&(t.previewRef=n.first),o.uc(n=o.gc())&&(t.searchRef=n.first),o.uc(n=o.gc())&&(t.categoryRefs=n))},inputs:{perLine:"perLine",totalFrequentLines:"totalFrequentLines",i18n:"i18n",style:"style",title:"title",emoji:"emoji",darkMode:"darkMode",color:"color",hideObsolete:"hideObsolete",categories:"categories",activeCategories:"activeCategories",set:"set",skin:"skin",isNative:"isNative",emojiSize:"emojiSize",sheetSize:"sheetSize",showPreview:"showPreview",emojiTooltip:"emojiTooltip",autoFocus:"autoFocus",custom:"custom",hideRecent:"hideRecent",notFoundEmoji:"notFoundEmoji",categoriesIcons:"categoriesIcons",searchIcons:"searchIcons",useButton:"useButton",enableFrequentEmojiSort:"enableFrequentEmojiSort",enableSearch:"enableSearch",showSingleCategory:"showSingleCategory",backgroundImageFn:"backgroundImageFn",emojisToShowFilter:"emojisToShowFilter",include:"include",exclude:"exclude"},outputs:{emojiClick:"emojiClick",emojiSelect:"emojiSelect",skinChange:"skinChange"},decls:8,vars:16,consts:[[3,"ngStyle"],[1,"emoji-mart-bar"],[3,"categories","color","selected","i18n","icons","anchorClick"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey",4,"ngIf"],[1,"emoji-mart-scroll",3,"scroll"],["scrollRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiUseButton","emojiOver","emojiLeave","emojiClick",4,"ngFor","ngForOf","ngForTrackBy"],["class","emoji-mart-bar",4,"ngIf"],[3,"i18n","include","exclude","custom","autoFocus","icons","emojisToShowFilter","searchResults","enterKey"],["searchRef",""],[3,"id","name","emojis","perLine","totalFrequentLines","hasStickyPosition","i18n","hideObsolete","notFoundEmoji","custom","recent","emojiIsNative","emojiSkin","emojiSize","emojiSet","emojiSheetSize","emojiForceSize","emojiTooltip","emojiBackgroundImageFn","emojiUseButton","emojiOver","emojiLeave","emojiClick"],["categoryRef",""],[3,"title","emoji","idleEmoji","emojiIsNative","emojiSize","emojiSkin","emojiSet","i18n","emojiSheetSize","emojiBackgroundImageFn","skinChange"],["previewRef",""]],template:function(e,t){1&e&&(o.Yb(0,"section",0),o.Yb(1,"div",1),o.Yb(2,"emoji-mart-anchors",2),o.fc("anchorClick",(function(e){return t.handleAnchorClick(e)})),o.Xb(),o.Xb(),o.Gc(3,_,2,7,"emoji-search",3),o.Yb(4,"section",4,5),o.fc("scroll",(function(){return t.handleScroll()})),o.Gc(6,v,2,20,"emoji-category",6),o.Xb(),o.Gc(7,b,3,10,"div",7),o.Xb()),2&e&&(o.Ib("emoji-mart ",t.darkMode?"emoji-mart-dark":"",""),o.Dc("width",t.getWidth()),o.pc("ngStyle",t.style),o.Fb(2),o.pc("categories",t.categories)("color",t.color)("selected",t.selected)("i18n",t.i18n)("icons",t.categoriesIcons),o.Fb(1),o.pc("ngIf",t.enableSearch),o.Fb(1),o.Gb("aria-label",t.i18n.emojilist),o.Fb(2),o.pc("ngForOf",t.activeCategories)("ngForTrackBy",t.categoryTrack),o.Fb(1),o.pc("ngIf",t.showPreview))},directives:function(){return[F.n,O,F.m,F.l,G,M,z]},encapsulation:2,changeDetection:0}),e}(),z=function(){var e=function(){function e(t,n){a(this,e),this.ref=t,this.emojiService=n,this.skinChange=new o.p,this.emojiData={}}return s(e,[{key:"ngOnChanges",value:function(){if(this.emoji){this.emojiData=this.emojiService.getData(this.emoji,this.emojiSkin,this.emojiSet);var e=[],t=[];(this.emojiData.emoticons||[]).forEach((function(n){e.indexOf(n.toLowerCase())>=0||(e.push(n.toLowerCase()),t.push(n))})),this.listedEmoticons=t}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Sb(o.h),o.Sb(u.c))},e.\u0275cmp=o.Mb({type:e,selectors:[["emoji-preview"]],inputs:{title:"title",emoji:"emoji",idleEmoji:"idleEmoji",i18n:"i18n",emojiIsNative:"emojiIsNative",emojiSkin:"emojiSkin",emojiSize:"emojiSize",emojiSet:"emojiSet",emojiSheetSize:"emojiSheetSize",emojiBackgroundImageFn:"emojiBackgroundImageFn"},outputs:{skinChange:"skinChange"},features:[o.Db],decls:2,vars:2,consts:[["class","emoji-mart-preview",4,"ngIf"],[1,"emoji-mart-preview"],[1,"emoji-mart-preview-emoji"],[3,"emoji","size","isNative","skin","set","sheetSize","backgroundImageFn"],[1,"emoji-mart-preview-data"],[1,"emoji-mart-preview-name"],[1,"emoji-mart-preview-shortname"],["class","emoji-mart-preview-shortname",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticons"],["class","emoji-mart-preview-emoticon",4,"ngFor","ngForOf"],[1,"emoji-mart-preview-emoticon"],[3,"isNative","skin","set","emoji","backgroundImageFn","size",4,"ngIf"],[1,"emoji-mart-title-label"],[1,"emoji-mart-preview-skins"],[3,"skin","i18n","changeSkin"],[3,"isNative","skin","set","emoji","backgroundImageFn","size"]],template:function(e,t){1&e&&(o.Gc(0,A,10,11,"div",0),o.Gc(1,B,8,4,"div",0)),2&e&&(o.pc("ngIf",t.emoji&&t.emojiData),o.Fb(1),o.pc("ngIf",!t.emoji))},directives:function(){return[F.m,u.a,F.l,W]},encapsulation:2,changeDetection:0}),e}(),U=0,G=function(){var e=function(){function e(t){a(this,e),this.emojiSearch=t,this.maxResults=75,this.autoFocus=!1,this.include=[],this.exclude=[],this.custom=[],this.searchResults=new o.p,this.enterKey=new o.p,this.isSearching=!1,this.query="",this.inputId="emoji-mart-search-"+ ++U}return s(e,[{key:"ngOnInit",value:function(){this.icon=this.icons.search}},{key:"ngAfterViewInit",value:function(){this.autoFocus&&this.inputRef.nativeElement.focus()}},{key:"clear",value:function(){this.query="",this.handleSearch(""),this.inputRef.nativeElement.focus()}},{key:"handleEnterKey",value:function(e){this.query&&(this.enterKey.emit(e),e.preventDefault())}},{key:"handleSearch",value:function(e){""===e?(this.icon=this.icons.search,this.isSearching=!1):(this.icon=this.icons.delete,this.isSearching=!0);var t=this.emojiSearch.search(this.query,this.emojisToShowFilter,this.maxResults,this.include,this.exclude,this.custom);this.searchResults.emit(t)}},{key:"handleChange",value:function(){this.handleSearch(this.query)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Sb(x))},e.\u0275cmp=o.Mb({type:e,selectors:[["emoji-search"]],viewQuery:function(e,t){var n;1&e&&o.Cc(S,!0),2&e&&o.uc(n=o.gc())&&(t.inputRef=n.first)},inputs:{maxResults:"maxResults",autoFocus:"autoFocus",include:"include",exclude:"exclude",custom:"custom",i18n:"i18n",icons:"icons",emojisToShowFilter:"emojisToShowFilter"},outputs:{searchResults:"searchResults",enterKey:"enterKey"},decls:8,vars:9,consts:[[1,"emoji-mart-search"],["type","search",3,"id","placeholder","autofocus","ngModel","keyup.enter","ngModelChange"],["inputRef",""],[1,"emoji-mart-sr-only",3,"htmlFor"],["type","button",1,"emoji-mart-search-icon",3,"disabled","click","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 20 20","width","13","height","13","opacity","0.5"]],template:function(e,t){1&e&&(o.Yb(0,"div",0),o.Yb(1,"input",1,2),o.fc("keyup.enter",(function(e){return t.handleEnterKey(e)}))("ngModelChange",(function(e){return t.query=e}))("ngModelChange",(function(){return t.handleChange()})),o.Xb(),o.Yb(3,"label",3),o.Ic(4),o.Xb(),o.Yb(5,"button",4),o.fc("click",(function(){return t.clear()}))("keyup.enter",(function(){return t.clear()})),o.ic(),o.Yb(6,"svg",5),o.Tb(7,"path"),o.Xb(),o.Xb(),o.Xb()),2&e&&(o.Fb(1),o.pc("id",t.inputId)("placeholder",t.i18n.search)("autofocus",t.autoFocus)("ngModel",t.query),o.Fb(2),o.pc("htmlFor",t.inputId),o.Fb(1),o.Kc(" ",t.i18n.search," "),o.Fb(1),o.pc("disabled",!t.isSearching),o.Gb("aria-label",t.i18n.clear),o.Fb(2),o.Gb("d",t.icon))},directives:[d.b,d.j,d.m],encapsulation:2}),e}(),W=function(){var e=function(){function e(){a(this,e),this.changeSkin=new o.p,this.opened=!1,this.skinTones=[1,2,3,4,5,6]}return s(e,[{key:"toggleOpen",value:function(){this.opened=!this.opened}},{key:"isSelected",value:function(e){return e===this.skin}},{key:"isVisible",value:function(e){return this.opened||this.isSelected(e)}},{key:"pressed",value:function(e){return this.opened?!!this.isSelected(e):""}},{key:"tabIndex",value:function(e){return this.isVisible(e)?"0":""}},{key:"expanded",value:function(e){return this.isSelected(e)?this.opened:""}},{key:"handleClick",value:function(e){this.opened?(this.opened=!1,e!==this.skin&&this.changeSkin.emit(e)):this.opened=!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Mb({type:e,selectors:[["emoji-skins"]],inputs:{skin:"skin",i18n:"i18n"},outputs:{changeSkin:"changeSkin"},decls:2,vars:3,consts:[[1,"emoji-mart-skin-swatches"],["class","emoji-mart-skin-swatch",3,"selected",4,"ngFor","ngForOf"],[1,"emoji-mart-skin-swatch"],["role","button",3,"tabIndex","title","click","keyup.enter","keyup.space"]],template:function(e,t){1&e&&(o.Yb(0,"section",0),o.Gc(1,I,2,12,"span",1),o.Xb()),2&e&&(o.Kb("opened",t.opened),o.Fb(1),o.pc("ngForOf",t.skinTones))},directives:[F.l],encapsulation:2,changeDetection:0}),e}(),X=function(){var e=function e(){a(this,e)};return e.\u0275mod=o.Qb({type:e}),e.\u0275inj=o.Pb({factory:function(t){return new(t||e)},imports:[[F.c,d.f,u.b]]}),e}()},dA5a:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("PRO/");t.default=function(e){function t(t,n,i,r){var a=e.call(this,t,n)||this;return a.estimatedModuleSize=i,a.count=r,void 0===r&&(a.count=1),a}return r(t,e),t.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},t.prototype.getCount=function(){return this.count},t.prototype.aboutEquals=function(e,t,n){if(Math.abs(t-this.getY())<=e&&Math.abs(n-this.getX())<=e){var i=Math.abs(e-this.estimatedModuleSize);return i<=1||i<=this.estimatedModuleSize}return!1},t.prototype.combineEstimate=function(e,n,i){var r=this.count+1;return new t((this.count*this.getX()+n)/r,(this.count*this.getY()+e)/r,(this.count*this.estimatedModuleSize+i)/r,r)},t}(a.default)},dMyC:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("bJYy"),r=n("u2rX"),a=n("5Bsn"),o=n("snnL"),s=n("poFM"),u=n("wO3O"),F=n("f8HH");t.default=function(){function e(){}return e.prototype.decode=function(e,t){void 0===t&&(t=null);var n=null,a=new F.default(e.getBlackMatrix()),d=null,h=null;try{d=(f=a.detectMirror(!1)).getPoints(),this.reportFoundResultPoints(t,d),h=(new u.default).decode(f)}catch(g){n=g}if(null==h)try{var f;d=(f=a.detectMirror(!0)).getPoints(),this.reportFoundResultPoints(t,d),h=(new u.default).decode(f)}catch(g){if(null!=n)throw n;throw g}var l=new i.default(h.getText(),h.getRawBytes(),h.getNumBits(),d,r.default.AZTEC,s.default.currentTimeMillis()),c=h.getByteSegments();null!=c&&l.putMetadata(o.default.BYTE_SEGMENTS,c);var m=h.getECLevel();return null!=m&&l.putMetadata(o.default.ERROR_CORRECTION_LEVEL,m),l},e.prototype.reportFoundResultPoints=function(e,t){if(null!=e){var n=e.get(a.default.NEED_RESULT_POINT_CALLBACK);null!=n&&t.forEach((function(e,t,i){n.foundPossibleResultPoint(e)}))}},e.prototype.reset=function(){},e}()},dxA0:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("cbcV"),o=n("5i/S"),s=n("lbVw"),u=n("wXP5");t.default=function(e){function t(n){var i=e.call(this,n)||this;return i.luminances=t.EMPTY,i.buckets=new Int32Array(t.LUMINANCE_BUCKETS),i}return r(t,e),t.prototype.getBlackRow=function(e,n){var i=this.getLuminanceSource(),r=i.getWidth();null==n||n.getSize()>t.LUMINANCE_SHIFT]++;var F=t.estimateBlackPoint(s);if(r<3)for(u=0;u>t.LUMINANCE_SHIFT]++;var f=t.estimateBlackPoint(a),l=e.getMatrix();for(o=0;oa&&(r=o,a=e[o]),e[o]>i&&(i=e[o]);var s=0,F=0;for(o=0;oF&&(s=o,F=c)}if(r>s){var h=r;r=s,s=h}if(s-r<=n/16)throw new u.default;var f=s-1,l=-1;for(o=s-1;o>r;o--){var c,m=o-r;(c=m*m*(s-o)*(i-e[o]))>l&&(f=o,l=c)}return f<=5&&(i+=e.N1+(u-5)),u=1,F=h)}u>=5&&(i+=e.N1+(u-5))}return i},e.N1=3,e.N2=3,e.N3=40,e.N4=10,e}()},eIWv:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("kAtF"),a=n("SDs9");t.default=function(){function e(e,t){this.width=e,this.height=t;for(var n=new Array(t),i=0;i!==t;i++)n[i]=new Uint8Array(e);this.bytes=n}return e.prototype.getHeight=function(){return this.height},e.prototype.getWidth=function(){return this.width},e.prototype.get=function(e,t){return this.bytes[t][e]},e.prototype.getArray=function(){return this.bytes},e.prototype.setNumber=function(e,t,n){this.bytes[t][e]=n},e.prototype.setBoolean=function(e,t,n){this.bytes[t][e]=n?1:0},e.prototype.clear=function(e){var t,n;try{for(var a=i(this.bytes),o=a.next();!o.done;o=a.next())r.default.fill(o.value,e)}catch(s){t={error:s}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}},e.prototype.equals=function(t){if(!(t instanceof e))return!1;var n=t;if(this.width!==n.width)return!1;if(this.height!==n.height)return!1;for(var i=0,r=this.height;i144||0!=(1&n))throw new a.default;this.version=e.readVersion(t),this.mappingBitMatrix=this.extractDataRegion(t),this.readMappingMatrix=new i.default(this.mappingBitMatrix.getWidth(),this.mappingBitMatrix.getHeight())}return e.prototype.getVersion=function(){return this.version},e.readVersion=function(e){var t=e.getHeight(),n=e.getWidth();return r.default.getVersionForDimensions(t,n)},e.prototype.readCodewords=function(){var e=new Int8Array(this.version.getTotalCodewords()),t=0,n=4,i=0,r=this.mappingBitMatrix.getHeight(),o=this.mappingBitMatrix.getWidth(),s=!1,u=!1,F=!1,d=!1;do{if(n!==r||0!==i||s)if(n!==r-2||0!==i||0==(3&o)||u)if(n!==r+4||2!==i||0!=(7&o)||F)if(n!==r-2||0!==i||4!=(7&o)||d){do{n=0&&!this.readMappingMatrix.get(i,n)&&(e[t++]=255&this.readUtah(n,i,r,o)),n-=2,i+=2}while(n>=0&&i=0&&i=0);n+=3,i+=1}else e[t++]=255&this.readCorner4(r,o),n-=2,i+=2,d=!0;else e[t++]=255&this.readCorner3(r,o),n-=2,i+=2,F=!0;else e[t++]=255&this.readCorner2(r,o),n-=2,i+=2,u=!0;else e[t++]=255&this.readCorner1(r,o),n-=2,i+=2,s=!0}while(n>1&127):(i<<=10,i+=(a>>2&992)+(a>>1&31))}var o=this.getCorrectedParameterData(i,this.compact);this.compact?(this.nbLayers=1+(o>>6),this.nbDataBlocks=1+(63&o)):(this.nbLayers=1+(o>>11),this.nbDataBlocks=1+(2047&o))},e.prototype.getRotation=function(e,t){var n=0;e.forEach((function(e,i,r){n=(e>>t-2<<1)+(1&e)+(n<<3)})),n=((1&n)<<11)+(n>>1);for(var i=0;i<4;i++)if(h.default.bitCount(n^this.EXPECTED_CORNER_BITS[i])<=2)return i;throw new F.default},e.prototype.getCorrectedParameterData=function(e,t){var n,i;t?(n=7,i=2):(n=10,i=4);for(var r=n-i,a=new Int32Array(n),o=n-1;o>=0;--o)a[o]=15&e,e>>=4;try{new u.default(s.default.AZTEC_PARAM).decode(a,r)}catch(h){throw new F.default}var d=0;for(o=0;o2){var f=this.distancePoint(h,s)*this.nbCenterLayers/(this.distancePoint(a,t)*(this.nbCenterLayers+2));if(f<.75||f>1.25||!this.isWhiteOrBlackRectangle(s,u,d,h))break}t=s,n=u,r=d,a=h,o=!o}if(5!==this.nbCenterLayers&&7!==this.nbCenterLayers)throw new F.default;this.compact=5===this.nbCenterLayers;var l=new i.default(t.getX()+.5,t.getY()-.5),c=new i.default(n.getX()+.5,n.getY()+.5),m=new i.default(r.getX()-.5,r.getY()+.5),g=new i.default(a.getX()-.5,a.getY()-.5);return this.expandSquare([l,c,m,g],2*this.nbCenterLayers-3,2*this.nbCenterLayers)},e.prototype.getMatrixCenter=function(){var e,t,n,i;try{e=(d=new o.default(this.image).detect())[0],t=d[1],n=d[2],i=d[3]}catch(h){var r=this.image.getWidth()/2,s=this.image.getHeight()/2;e=this.getFirstDifferent(new f(r+7,s-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new f(r+7,s+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(r-7,s+7),!1,-1,1).toResultPoint(),i=this.getFirstDifferent(new f(r-7,s-7),!1,-1,-1).toResultPoint()}var u=a.default.round((e.getX()+i.getX()+t.getX()+n.getX())/4),F=a.default.round((e.getY()+i.getY()+t.getY()+n.getY())/4);try{var d;e=(d=new o.default(this.image,15,u,F).detect())[0],t=d[1],n=d[2],i=d[3]}catch(h){e=this.getFirstDifferent(new f(u+7,F-7),!1,1,-1).toResultPoint(),t=this.getFirstDifferent(new f(u+7,F+7),!1,1,1).toResultPoint(),n=this.getFirstDifferent(new f(u-7,F+7),!1,-1,1).toResultPoint(),i=this.getFirstDifferent(new f(u-7,F-7),!1,-1,-1).toResultPoint()}return u=a.default.round((e.getX()+i.getX()+t.getX()+n.getX())/4),F=a.default.round((e.getY()+i.getY()+t.getY()+n.getY())/4),new f(u,F)},e.prototype.getMatrixCornerPoints=function(e){return this.expandSquare(e,2*this.nbCenterLayers,this.getDimension())},e.prototype.sampleGrid=function(e,t,n,i,r){var a=d.default.getInstance(),o=this.getDimension(),s=o/2-this.nbCenterLayers,u=o/2+this.nbCenterLayers;return a.sampleGrid(e,o,o,s,s,u,s,u,u,s,u,t.getX(),t.getY(),n.getX(),n.getY(),i.getX(),i.getY(),r.getX(),r.getY())},e.prototype.sampleLine=function(e,t,n){for(var i=0,r=this.distanceResultPoint(e,t),o=r/n,s=e.getX(),u=e.getY(),F=o*(t.getX()-e.getX())/r,d=o*(t.getY()-e.getY())/r,h=0;h.1&&f<.9?0:f<=.1===F?1:-1},e.prototype.getFirstDifferent=function(e,t,n,i){for(var r=e.getX()+n,a=e.getY()+i;this.isValid(r,a)&&this.image.get(r,a)===t;)r+=n,a+=i;for(r-=n,a-=i;this.isValid(r,a)&&this.image.get(r,a)===t;)r+=n;for(r-=n;this.isValid(r,a)&&this.image.get(r,a)===t;)a+=i;return new f(r,a-=i)},e.prototype.expandSquare=function(e,t,n){var r=n/(2*t),a=e[0].getX()-e[2].getX(),o=e[0].getY()-e[2].getY(),s=(e[0].getX()+e[2].getX())/2,u=(e[0].getY()+e[2].getY())/2,F=new i.default(s+r*a,u+r*o),d=new i.default(s-r*a,u-r*o);return a=e[1].getX()-e[3].getX(),o=e[1].getY()-e[3].getY(),s=(e[1].getX()+e[3].getX())/2,u=(e[1].getY()+e[3].getY())/2,[F,new i.default(s+r*a,u+r*o),d,new i.default(s-r*a,u-r*o)]},e.prototype.isValid=function(e,t){return e>=0&&e0&&t=0;n--)!0===t(e[n])&&e.splice(n,1)}function o(e){throw new Error("Unhandled case for value: '"+e+"'")}n.d(t,"a",(function(){return oe})),n.d(t,"b",(function(){return ae}));var u,F,d,h=function(){function e(e){void 0===e&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return e.prototype.setTagName=function(e){return this.tagName=e,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(e,t){return this.getAttrs()[e]=t,this},e.prototype.getAttr=function(e){return this.getAttrs()[e]},e.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(e){return this.setAttr("class",e)},e.prototype.addClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,a=n?n.split(r):[],o=e.split(r);t=o.shift();)-1===i(a,t)&&a.push(t);return this.getAttrs().class=a.join(" "),this},e.prototype.removeClass=function(e){for(var t,n=this.getClass(),r=this.whitespaceRegex,a=n?n.split(r):[],o=e.split(r);a.length&&(t=o.shift());){var s=i(a,t);-1!==s&&a.splice(s,1)}return this.getAttrs().class=a.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(e){return-1!==(" "+this.getClass()+" ").indexOf(" "+e+" ")},e.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},e.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var e=this.getTagName(),t=this.buildAttrsStr();return["<",e,t=t?" "+t:"",">",this.getInnerHtml(),""].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n+'="'+e[n]+'"');return t.join(" ")},e}(),f=function(){function e(e){void 0===e&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return e.prototype.build=function(e){return new h({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},e.prototype.createAttrs=function(e){var t={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(t.class=n),this.newWindow&&(t.target="_blank",t.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length=s)return u.host.length==t?(u.host.substr(0,t-r)+n).substr(0,s+i):o(d,s).substr(0,s+i);var h="";if(u.path&&(h+="/"+u.path),u.query&&(h+="?"+u.query),h){if((d+h).length>=s)return(d+h).length==t?(d+h).substr(0,t):(d+o(h,s-d.length)).substr(0,s+i);d+=h}if(u.fragment){var f="#"+u.fragment;if((d+f).length>=s)return(d+f).length==t?(d+f).substr(0,t):(d+o(f,s-d.length)).substr(0,s+i);d+=f}if(u.scheme&&u.host){var l=u.scheme+"://";if((d+l).length0&&(c=d.substr(-1*Math.floor(s/2))),(d.substr(0,Math.ceil(s/2))+n+c).substr(0,s+i)}(e,n):"middle"===i?function(e,t,n){if(e.length<=t)return e;var i,r;null==n?(n="…",i=8,r=3):(i=n.length,r=n.length);var a=t-r,o="";return a>0&&(o=e.substr(-1*Math.floor(a/2))),(e.substr(0,Math.ceil(a/2))+n+o).substr(0,a+i)}(e,n):function(e,t,n){return function(e,t,n){var i;return e.length>t&&(null==n?(n="…",i=3):i=n.length,e=e.substring(0,t-i)+n),e}(e,t,void 0)}(e,n)},e}(),l=function(){function e(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(e){this.offset=e},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e}(),c=n("pECV"),m=function(e){function t(t){var n=e.call(this,t)||this;return n.email="",n.email=t.email,n}return c.c(t,e),t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t}(l),g=function(e){function t(t){var n=e.call(this,t)||this;return n.serviceName="",n.hashtag="",n.serviceName=t.serviceName,n.hashtag=t.hashtag,n}return c.c(t,e),t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.prototype.getAnchorHref=function(){var e=this.serviceName,t=this.hashtag;switch(e){case"twitter":return"https://twitter.com/hashtag/"+t;case"facebook":return"https://www.facebook.com/hashtag/"+t;case"instagram":return"https://instagram.com/explore/tags/"+t;default:throw new Error("Unknown service name to point hashtag to: "+e)}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t}(l),p=function(e){function t(t){var n=e.call(this,t)||this;return n.serviceName="twitter",n.mention="",n.mention=t.mention,n.serviceName=t.serviceName,n}return c.c(t,e),t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var t=e.prototype.getCssClassSuffixes.call(this),n=this.getServiceName();return n&&t.push(n),t},t}(l),w=function(e){function t(t){var n=e.call(this,t)||this;return n.number="",n.plusSign=!1,n.number=t.number,n.plusSign=t.plusSign,n}return c.c(t,e),t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t}(l),y=function(e){function t(t){var n=e.call(this,t)||this;return n.url="",n.urlMatchType="scheme",n.protocolUrlMatch=!1,n.protocolRelativeMatch=!1,n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.schemePrefixRegex=/^(https?:\/\/)?/i,n.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,n.protocolRelativeRegex=/^\/\//,n.protocolPrepended=!1,n.urlMatchType=t.urlMatchType,n.url=t.url,n.protocolUrlMatch=t.protocolUrlMatch,n.protocolRelativeMatch=t.protocolRelativeMatch,n.stripPrefix=t.stripPrefix,n.stripTrailingSlash=t.stripTrailingSlash,n.decodePercentEncoding=t.decodePercentEncoding,n}return c.c(t,e),t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var e=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(e=this.url="http://"+e,this.protocolPrepended=!0),e},t.prototype.getAnchorHref=function(){return this.getUrl().replace(/&/g,"&")},t.prototype.getAnchorText=function(){var e=this.getMatchedText();return this.protocolRelativeMatch&&(e=this.stripProtocolRelativePrefix(e)),this.stripPrefix.scheme&&(e=this.stripSchemePrefix(e)),this.stripPrefix.www&&(e=this.stripWwwPrefix(e)),this.stripTrailingSlash&&(e=this.removeTrailingSlash(e)),this.decodePercentEncoding&&(e=this.removePercentEncoding(e)),e},t.prototype.stripSchemePrefix=function(e){return e.replace(this.schemePrefixRegex,"")},t.prototype.stripWwwPrefix=function(e){return e.replace(this.wwwPrefixRegex,"$1")},t.prototype.stripProtocolRelativePrefix=function(e){return e.replace(this.protocolRelativeRegex,"")},t.prototype.removeTrailingSlash=function(e){return"/"===e.charAt(e.length-1)&&(e=e.slice(0,-1)),e},t.prototype.removePercentEncoding=function(e){var t=e.replace(/%22/gi,""").replace(/%26/gi,"&").replace(/%27/gi,"'").replace(/%3C/gi,"<").replace(/%3E/gi,">");try{return decodeURIComponent(t)}catch(n){return t}},t}(l),E=function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder},D=/[A-Za-z]/,_=/[\d]/,v=/[\D]/,b=/\s/,C=/['"]/,k=/[\x00-\x1F\x7F]/,A=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,N=A+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\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\u08D4-\u08E1\u08E3-\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\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\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\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\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-\uFE2F/.source,B=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,S=N+B,I=N+B,O="(?:["+B+"]{1,3}\\.){3}["+B+"]{1,3}",T="["+I+"](?:["+I+"\\-]{0,61}["+I+"])?",M=function(e){return"(?=("+T+"))\\"+e},R=function(e){return"(?:"+M(e)+"(?:\\."+M(e+1)+"){0,126}|"+O+")"},P=(new RegExp("["+I+".\\-]*["+I+"\\-]"),new RegExp("["+I+"]")),x=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|verm\xf6gensberatung|xn--3oq18vl8pn36a|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|verm\xf6gensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|afamilycompany|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|spreadbetting|travelchannel|wolterskluwer|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|rightathome|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pbt977c|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|\u0b9a\u0bbf\u0b99\u0bcd\u0b95\u0baa\u0bcd\u0baa\u0bc2\u0bb0\u0bcd|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nationwide|newholland|nextdirect|onyourside|properties|protection|prudential|realestate|republican|restaurant|schaeffler|swiftcover|tatamotors|technology|telefonica|university|vistaprint|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|fujixerox|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|honeywell|institute|insurance|kuokgroup|ladbrokes|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|scjohnson|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--tckwe|xn--vhquv|yodobashi|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|budapest|builders|business|capetown|catering|catholic|chrysler|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|esurance|etisalat|everbank|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|movistar|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|symantec|training|uconnect|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|\u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|cartier|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|iselect|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lancome|lanxess|lasalle|latrobe|leclerc|liaison|limited|lincoln|markets|metlife|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|shriram|singles|staples|starhub|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|\u043a\u0430\u0442\u043e\u043b\u0438\u043a|\u0627\u062a\u0635\u0627\u0644\u0627\u062a|\u0627\u0644\u062c\u0632\u0627\u0626\u0631|\u0627\u0644\u0639\u0644\u064a\u0627\u0646|\u067e\u0627\u06a9\u0633\u062a\u0627\u0646|\u0643\u0627\u062b\u0648\u0644\u064a\u0643|\u0645\u0648\u0628\u0627\u064a\u0644\u064a|\u0b87\u0ba8\u0bcd\u0ba4\u0bbf\u0baf\u0bbe|abarth|abbott|abbvie|active|africa|agency|airbus|airtel|alipay|alsace|alstom|anquan|aramco|author|bayern|beauty|berlin|bharti|blanco|bostik|boston|broker|camera|career|caseih|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|mobily|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|piaget|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|warman|webcam|xihuan|yachts|yandex|zappos|\u043c\u043e\u0441\u043a\u0432\u0430|\u043e\u043d\u043b\u0430\u0439\u043d|\u0627\u0628\u0648\u0638\u0628\u064a|\u0627\u0631\u0627\u0645\u0643\u0648|\u0627\u0644\u0627\u0631\u062f\u0646|\u0627\u0644\u0645\u063a\u0631\u0628|\u0627\u0645\u0627\u0631\u0627\u062a|\u0641\u0644\u0633\u0637\u064a\u0646|\u0645\u0644\u064a\u0633\u064a\u0627|\u092d\u093e\u0930\u0924\u092e\u094d|\u0b87\u0bb2\u0b99\u0bcd\u0b95\u0bc8|\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|dodge|drive|dubai|earth|edeka|email|epost|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glade|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|intel|irish|iveco|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|lixil|loans|locus|lotte|lotto|lupin|macys|mango|media|miami|money|mopar|movie|nadex|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|zippo|\u0627\u06cc\u0631\u0627\u0646|\u0628\u0627\u0632\u0627\u0631|\u0628\u06be\u0627\u0631\u062a|\u0633\u0648\u062f\u0627\u0646|\u0633\u0648\u0631\u064a\u0629|\u0647\u0645\u0631\u0627\u0647|\u092d\u093e\u0930\u094b\u0924|\u0938\u0902\u0917\u0920\u0928|\u09ac\u09be\u0982\u09b2\u09be|\u0c2d\u0c3e\u0c30\u0c24\u0c4d|\u0d2d\u0d3e\u0d30\u0d24\u0d02|\u5609\u91cc\u5927\u9152\u5e97|aarp|able|adac|aero|aigo|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|doha|duck|duns|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|raid|read|reit|rent|rest|rich|rmit|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scor|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|\u0434\u0435\u0442\u0438|\u0441\u0430\u0439\u0442|\u0628\u0627\u0631\u062a|\u0628\u064a\u062a\u0643|\u0680\u0627\u0631\u062a|\u062a\u0648\u0646\u0633|\u0634\u0628\u0643\u0629|\u0639\u0631\u0627\u0642|\u0639\u0645\u0627\u0646|\u0645\u0648\u0642\u0639|\u092d\u093e\u0930\u0924|\u09ad\u09be\u09b0\u09a4|\u09ad\u09be\u09f0\u09a4|\u0a2d\u0a3e\u0a30\u0a24|\u0aad\u0abe\u0ab0\u0aa4|\u0b2d\u0b3e\u0b30\u0b24|\u0cad\u0cbe\u0cb0\u0ca4|\u0dbd\u0d82\u0d9a\u0dcf|\u30b0\u30fc\u30b0\u30eb|\u30af\u30e9\u30a6\u30c9|\u30dd\u30a4\u30f3\u30c8|\u5927\u4f17\u6c7d\u8f66|\u7ec4\u7ec7\u673a\u6784|\u96fb\u8a0a\u76c8\u79d1|\u9999\u683c\u91cc\u62c9|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bnl|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceb|ceo|cfa|cfd|com|crs|csc|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jcp|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|off|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|qvc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|srl|srt|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|\u0431\u0435\u043b|\u043a\u043e\u043c|\u049b\u0430\u0437|\u043c\u043a\u0434|\u043c\u043e\u043d|\u043e\u0440\u0433|\u0440\u0443\u0441|\u0441\u0440\u0431|\u0443\u043a\u0440|\u0570\u0561\u0575|\u05e7\u05d5\u05dd|\u0639\u0631\u0628|\u0642\u0637\u0631|\u0643\u0648\u0645|\u0645\u0635\u0631|\u0915\u0949\u092e|\u0928\u0947\u091f|\u0e04\u0e2d\u0e21|\u0e44\u0e17\u0e22|\u30b9\u30c8\u30a2|\u30bb\u30fc\u30eb|\u307f\u3093\u306a|\u4e2d\u6587\u7f51|\u5929\u4e3b\u6559|\u6211\u7231\u4f60|\u65b0\u52a0\u5761|\u6de1\u9a6c\u9521|\u8bfa\u57fa\u4e9a|\u98de\u5229\u6d66|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|\u03b5\u03bb|\u0431\u0433|\u0435\u044e|\u0440\u0444|\u10d2\u10d4|\ub2f7\ub137|\ub2f7\ucef4|\uc0bc\uc131|\ud55c\uad6d|\u30b3\u30e0|\u4e16\u754c|\u4e2d\u4fe1|\u4e2d\u56fd|\u4e2d\u570b|\u4f01\u4e1a|\u4f5b\u5c71|\u4fe1\u606f|\u5065\u5eb7|\u516b\u5366|\u516c\u53f8|\u516c\u76ca|\u53f0\u6e7e|\u53f0\u7063|\u5546\u57ce|\u5546\u5e97|\u5546\u6807|\u5609\u91cc|\u5728\u7ebf|\u5927\u62ff|\u5a31\u4e50|\u5bb6\u96fb|\u5de5\u884c|\u5e7f\u4e1c|\u5fae\u535a|\u6148\u5584|\u624b\u673a|\u624b\u8868|\u62db\u8058|\u653f\u52a1|\u653f\u5e9c|\u65b0\u95fb|\u65f6\u5c1a|\u66f8\u7c4d|\u673a\u6784|\u6e38\u620f|\u6fb3\u9580|\u70b9\u770b|\u73e0\u5b9d|\u79fb\u52a8|\u7f51\u5740|\u7f51\u5e97|\u7f51\u7ad9|\u7f51\u7edc|\u8054\u901a|\u8c37\u6b4c|\u8d2d\u7269|\u901a\u8ca9|\u96c6\u56e2|\u98df\u54c1|\u9910\u5385|\u9999\u6e2f)/,L=new RegExp("["+I+"!#$%&'*+/=?^_`{|}~-]"),j=new RegExp("^"+x.source+"$"),V=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.localPartCharRegex=L,t.strictTldRegex=j,t}return c.c(t,e),t.prototype.parseMatches=function(e){for(var t=this.tagBuilder,n=this.localPartCharRegex,i=this.strictTldRegex,r=[],a=e.length,s=new H,u={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},F=0,d=0,h=s;F-1},e.isValidUriScheme=function(e){var t=e.match(this.uriSchemeRegex),n=t&&t[0].toLowerCase();return"javascript:"!==n&&"vbscript:"!==n},e.urlMatchDoesNotHaveProtocolOrDot=function(e,t){return!(!e||t&&this.hasFullProtocolRegex.test(t)||-1!==e.indexOf("."))},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,t){return!(!e||!t||this.hasFullProtocolRegex.test(t)||this.hasWordCharAfterProtocolRegex.test(e))},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+A+"]"),e.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,e}(),U=(u=new RegExp("[/?#](?:["+I+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^\u2713]*["+I+"\\-+&@#/%=~_()|'$*\\[\\]{}\u2713])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,R(2),")","|","(","(//)?",/(?:www\.)/.source,R(6),")","|","(","(//)?",R(10)+"\\.",x.source,"(?![-"+S+"])",")",")","(?::[0-9]+)?","(?:"+u.source+")?"].join(""),"gi")),G=new RegExp("["+I+"]"),W=function(e){function t(t){var n=e.call(this,t)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=U,n.wordCharRegExp=G,n.stripPrefix=t.stripPrefix,n.stripTrailingSlash=t.stripTrailingSlash,n.decodePercentEncoding=t.decodePercentEncoding,n}return c.c(t,e),t.prototype.parseMatches=function(e){for(var t,n=this.matcherRegex,i=this.stripPrefix,r=this.stripTrailingSlash,a=this.decodePercentEncoding,o=this.tagBuilder,s=[],u=function(){var n=t[0],u=t[1],d=t[4],h=t.index,f=t[5]||t[9],l=e.charAt(h-1);if(!z.isValid(n,u))return"continue";if(h>0&&"@"===l)return"continue";if(h>0&&f&&F.wordCharRegExp.test(l))return"continue";if(/\?$/.test(n)&&(n=n.substr(0,n.length-1)),F.matchHasUnbalancedClosingParen(n))n=n.substr(0,n.length-1);else{var c=F.matchHasInvalidCharAfterTld(n,u);c>-1&&(n=n.substr(0,c))}var m=["http://","https://"].find((function(e){return!!u&&-1!==u.indexOf(e)}));if(m){var g=n.indexOf(m);n=n.substr(g),u=u.substr(g),h+=g}s.push(new y({tagBuilder:o,matchedText:n,offset:h,urlMatchType:u?"scheme":d?"www":"tld",url:n,protocolUrlMatch:!!u,protocolRelativeMatch:!!f,stripPrefix:i,stripTrailingSlash:r,decodePercentEncoding:a}))},F=this;null!==(t=n.exec(e));)u();return s},t.prototype.matchHasUnbalancedClosingParen=function(e){var t,n=e.charAt(e.length-1);if(")"===n)t="(";else if("]"===n)t="[";else{if("}"!==n)return!1;t="{"}for(var i=0,r=0,a=e.length-1;r"===(M=g)?P():D.test(M)?f=3:P();break;case 3:T=g,b.test(T)?(m=new ne(c.a({},m,{name:j()})),f=4):"<"===T?x():"/"===T?(m=new ne(c.a({},m,{name:j()})),f=12):">"===T?(m=new ne(c.a({},m,{name:j()})),L()):D.test(T)||_.test(T)||":"===T||P();break;case 4:O=g,b.test(O)||("/"===O?f=12:">"===O?L():"<"===O?x():"="===O||C.test(O)||k.test(O)?P():f=5);break;case 5:I=g,b.test(I)?f=6:"/"===I?f=12:"="===I?f=7:">"===I?L():"<"===I?x():C.test(I)&&P();break;case 6:S=g,b.test(S)||("/"===S?f=12:"="===S?f=7:">"===S?L():"<"===S?x():C.test(S)?P():f=5);break;case 7:B=g,b.test(B)||('"'===B?f=8:"'"===B?f=9:/[>=`]/.test(B)?P():"<"===B?x():f=10);break;case 8:'"'===g&&(f=11);break;case 9:"'"===g&&(f=11);break;case 10:N=g,b.test(N)?f=4:">"===N?L():"<"===N&&x();break;case 11:A=g,b.test(A)?f=4:"/"===A?f=12:">"===A?L():"<"===A?x():(f=4,d--);break;case 12:">"===g?(m=new ne(c.a({},m,{isClosing:!0})),L()):f=4;break;case 13:"--"===e.substr(d,2)?(d+=2,m=new ne(c.a({},m,{type:"comment"})),f=14):"DOCTYPE"===e.substr(d,7).toUpperCase()?(d+=7,m=new ne(c.a({},m,{type:"doctype"})),f=20):P();break;case 14:"-"===(v=g)?f=15:">"===v?P():f=16;break;case 15:"-"===(E=g)?f=18:">"===E?P():f=16;break;case 16:"-"===g&&(f=17);break;case 17:f="-"===g?18:16;break;case 18:">"===(y=g)?L():"!"===y?f=19:"-"===y||(f=16);break;case 19:"-"===(w=g)?f=17:">"===w?L():f=16;break;case 20:">"===(p=g)?L():"<"===p&&x();break;default:o(f)}d++}var p,w,y,E,v,A,N,B,S,I,O,T,M,R;function P(){f=0,m=F}function x(){f=1,m=new ne({idx:d})}function L(){var t=e.slice(l,m.idx);t&&a(t,l),"comment"===m.type?s(m.idx):"doctype"===m.type?u(m.idx):(m.isOpening&&i(m.name,m.idx),m.isClosing&&r(m.name,m.idx)),P(),l=d+1}function j(){return e.slice(m.idx+(m.isClosing?2:1),d).toLowerCase()}l=0&&i++},onText:function(e,n){if(0===i){var a=function(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var n,i=[],r=0;n=t.exec(e);)i.push(e.substring(r,n.index)),i.push(n[0]),r=n.index+n[0].length;return i.push(e.substring(r)),i}(e,/( | |<|<|>|>|"|"|')/gi),o=n;a.forEach((function(e,n){if(n%2==0){var i=t.parseText(e,o);r.push.apply(r,i)}o+=e.length}))}},onCloseTag:function(e){n.indexOf(e)>=0&&(i=Math.max(i-1,0))},onComment:function(e){},onDoctype:function(e){}}),r=this.compactMatches(r),r=this.removeUnwantedMatches(r)},e.prototype.compactMatches=function(e){e.sort((function(e,t){return e.getOffset()-t.getOffset()}));for(var t=0;tr?t:t+1;e.splice(o,1);continue}e[t+1].getOffset()/g,">"));for(var t=this.parse(e),n=[],i=0,r=0,a=t.length;r=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var o=n("vpob"),s=n("gOp4"),u=n("9hxZ"),F=n("QBYl");t.default=function(e){function t(t,n){var i=e.call(this,t)||this;return i._isLeft=n,i}return r(t,e),t.prototype.setRowNumbers=function(){var e,t;try{for(var n=a(this.getCodewords()),i=n.next();!i.done;i=n.next()){var r=i.value;null!=r&&r.setRowNumberAsRowIndicatorColumn()}}catch(o){e={error:o}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.adjustCompleteIndicatorColumnRowNumbers=function(e){var t=this.getCodewords();this.setRowNumbers(),this.removeIncorrectCodewords(t,e);for(var n=this.getBoundingBox(),i=this._isLeft?n.getTopLeft():n.getTopRight(),r=this._isLeft?n.getBottomLeft():n.getBottomRight(),a=this.imageRowToCodewordIndex(Math.trunc(i.getY())),o=this.imageRowToCodewordIndex(Math.trunc(r.getY())),s=-1,u=1,F=0,d=a;d=e.getRowCount()||f>d)t[d]=null;else{for(var l,c=(l=u>2?(u-2)*f:f)>=d,m=1;m<=l&&!c;m++)c=null!=t[d-m];c?t[d]=null:(s=h.getRowNumber(),F=1)}}},t.prototype.getRowHeights=function(){var e,t,n=this.getBarcodeMetadata();if(null==n)return null;this.adjustIncompleteIndicatorColumnRowNumbers(n);var i=new Int32Array(n.getRowCount());try{for(var r=a(this.getCodewords()),o=r.next();!o.done;o=r.next()){var s=o.value;if(null!=s){var u=s.getRowNumber();if(u>=i.length)continue;i[u]++}}}catch(F){e={error:F}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return i},t.prototype.adjustIncompleteIndicatorColumnRowNumbers=function(e){for(var t=this.getBoundingBox(),n=this._isLeft?t.getTopLeft():t.getTopRight(),i=this._isLeft?t.getBottomLeft():t.getBottomRight(),r=this.imageRowToCodewordIndex(Math.trunc(n.getY())),a=this.imageRowToCodewordIndex(Math.trunc(i.getY())),o=this.getCodewords(),s=-1,u=1,F=0,d=r;d=e.getRowCount()?o[d]=null:(s=h.getRowNumber(),F=1)}},t.prototype.getBarcodeMetadata=function(){var e,t,n=this.getCodewords(),i=new F.default,r=new F.default,u=new F.default,d=new F.default;try{for(var h=a(n),f=h.next();!f.done;f=h.next()){var l=f.value;if(null!=l){l.setRowNumberAsRowIndicatorColumn();var c=l.getValue()%30,m=l.getRowNumber();switch(this._isLeft||(m+=2),m%3){case 0:r.setValue(3*c+1);break;case 1:d.setValue(c/3),u.setValue(c%3);break;case 2:i.setValue(c+1)}}}}catch(p){e={error:p}}finally{try{f&&!f.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}if(0===i.getValue().length||0===r.getValue().length||0===u.getValue().length||0===d.getValue().length||i.getValue()[0]<1||r.getValue()[0]+u.getValue()[0]o.default.MAX_ROWS_IN_BARCODE)return null;var g=new s.default(i.getValue()[0],r.getValue()[0],u.getValue()[0],d.getValue()[0]);return this.removeIncorrectCodewords(n,g),g},t.prototype.removeIncorrectCodewords=function(e,t){for(var n=0;nt.getRowCount())e[n]=null;else switch(this._isLeft||(a+=2),a%3){case 0:3*r+1!==t.getRowCountUpperPart()&&(e[n]=null);break;case 1:Math.trunc(r/3)===t.getErrorCorrectionLevel()&&r%3===t.getRowCountLowerPart()||(e[n]=null);break;case 2:r+1!==t.getColumnCount()&&(e[n]=null)}}}},t.prototype.isLeft=function(){return this._isLeft},t.prototype.toString=function(){return"IsLeft: "+this._isLeft+"\n"+e.prototype.toString.call(this)},t}(u.default)},g9Qw:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("aLHR"),a=n("bhyY"),o=n("scux");t.default=function(){function e(){this.field=o.default.PDF417_GF}return e.prototype.decode=function(e,t,n){for(var o,s,u=new a.default(this.field,e),F=new Int32Array(t),d=!1,h=t;h>0;h--){var f=u.evaluateAt(this.field.exp(h));F[t-h]=f,0!==f&&(d=!0)}if(!d)return 0;var l=this.field.getOne();if(null!=n)try{for(var c=i(n),m=c.next();!m.done;m=c.next()){var g=this.field.exp(e.length-1-m.value),p=new a.default(this.field,new Int32Array([this.field.subtract(0,g),1]));l=l.multiply(p)}}catch(C){o={error:C}}finally{try{m&&!m.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}var w=new a.default(this.field,F),y=this.runEuclideanAlgorithm(this.field.buildMonomial(t,1),w,t),E=y[0],D=y[1],_=this.findErrorLocations(E),v=this.findErrorMagnitudes(D,E,_);for(h=0;h<_.length;h++){var b=e.length-1-this.field.log(_[h]);if(b<0)throw r.default.getChecksumInstance();e[b]=this.field.subtract(e[b],v[h])}return _.length},e.prototype.runEuclideanAlgorithm=function(e,t,n){if(e.getDegree()=Math.round(n/2);){var F=a,d=s;if(s=u,(a=o).isZero())throw r.default.getChecksumInstance();o=F;for(var h=this.field.getZero(),f=a.getCoefficient(a.getDegree()),l=this.field.inverse(f);o.getDegree()>=a.getDegree()&&!o.isZero();){var c=o.getDegree()-a.getDegree(),m=this.field.multiply(o.getCoefficient(o.getDegree()),l);h=h.add(this.field.buildMonomial(c,m)),o=o.subtract(a.multiplyByMonomial(c,m))}u=h.multiply(s).subtract(d).negative()}var g=u.getCoefficient(0);if(0===g)throw r.default.getChecksumInstance();var p=this.field.inverse(g);return[u.multiply(p),o.multiply(p)]},e.prototype.findErrorLocations=function(e){for(var t=e.getDegree(),n=new Int32Array(t),i=0,a=1;a0);return o.length()>0&&n.append(o.toString()),new i.default(e,n.toString(),0===s.length?null:s,null)},e.decodeAsciiSegment=function(e,t,n){var i=!1;do{var r=e.readBits(8);if(0===r)throw new u.default;if(r<=128)return i&&(r+=128),t.append(String.fromCharCode(r-1)),d.ASCII_ENCODE;if(129===r)return d.PAD_ENCODE;if(r<=229){var a=r-130;a<10&&t.append("0"),t.append(""+a)}else switch(r){case 230:return d.C40_ENCODE;case 231:return d.BASE256_ENCODE;case 232:t.append(String.fromCharCode(29));break;case 233:case 234:break;case 235:i=!0;break;case 236:t.append("[)>\x1e05\x1d"),n.insert(0,"\x1e\x04");break;case 237:t.append("[)>\x1e06\x1d"),n.insert(0,"\x1e\x04");break;case 238:return d.ANSIX12_ENCODE;case 239:return d.TEXT_ENCODE;case 240:return d.EDIFACT_ENCODE;case 241:break;default:if(254!==r||0!==e.available())throw new u.default}}while(e.available()>0);return d.ASCII_ENCODE},e.decodeC40Segment=function(e,t){var n=!1,i=[],r=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),i);for(var o=0;o<3;o++){var s=i[o];switch(r){case 0:if(s<3)r=s+1;else{if(!(s0)},e.decodeTextSegment=function(e,t){var n=!1,i=[],r=0;do{if(8===e.available())return;var a=e.readBits(8);if(254===a)return;this.parseTwoBytes(a,e.readBits(8),i);for(var o=0;o<3;o++){var s=i[o];switch(r){case 0:if(s<3)r=s+1;else{if(!(s0)},e.decodeAnsiX12Segment=function(e,t){var n=[];do{if(8===e.available())return;var i=e.readBits(8);if(254===i)return;this.parseTwoBytes(i,e.readBits(8),n);for(var r=0;r<3;r++){var a=n[r];switch(a){case 0:t.append("\r");break;case 1:t.append("*");break;case 2:t.append(">");break;case 3:t.append(" ");break;default:if(a<14)t.append(String.fromCharCode(a+44));else{if(!(a<40))throw new u.default;t.append(String.fromCharCode(a+51))}}}}while(e.available()>0)},e.parseTwoBytes=function(e,t,n){var i=(e<<8)+t-1,r=Math.floor(i/1600);n[0]=r,i-=1600*r,r=Math.floor(i/40),n[1]=r,n[2]=i-40*r},e.decodeEdifactSegment=function(e,t){do{if(e.available()<=16)return;for(var n=0;n<4;n++){var i=e.readBits(6);if(31===i){var r=8-e.getBitOffset();return void(8!==r&&e.readBits(r))}0==(32&i)&&(i|=64),t.append(String.fromCharCode(i))}}while(e.available()>0)},e.decodeBase256Segment=function(e,t,n){var i,r=1+e.getByteOffset(),a=this.unrandomize255State(e.readBits(8),r++);if((i=0===a?e.available()/8|0:a<250?a:250*(a-249)+this.unrandomize255State(e.readBits(8),r++))<0)throw new u.default;for(var d=new Uint8Array(i),h=0;h=0?n:n+256},e.C40_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],e.C40_SHIFT2_SET_CHARS=["!",'"',"#","$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","?","@","[","\\","]","^","_"],e.TEXT_BASIC_SET_CHARS=["*","*","*"," ","0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"],e.TEXT_SHIFT2_SET_CHARS=e.C40_SHIFT2_SET_CHARS,e.TEXT_SHIFT3_SET_CHARS=["`","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","{","|","}","~",String.fromCharCode(127)],e}()},gKQZ:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("f59o"),o=n("wXP5"),s=n("SDs9");t.default=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.dateCode=i,r.firstAIdigits=n,r}return r(t,e),t.prototype.parseInformation=function(){if(this.getInformation().getSize()!=t.HEADER_SIZE+t.GTIN_SIZE+t.WEIGHT_SIZE+t.DATE_SIZE)throw new o.default;var e=new s.default;return this.encodeCompressedGtin(e,t.HEADER_SIZE),this.encodeCompressedWeight(e,t.HEADER_SIZE+t.GTIN_SIZE,t.WEIGHT_SIZE),this.encodeCompressedDate(e,t.HEADER_SIZE+t.GTIN_SIZE+t.WEIGHT_SIZE),e.toString()},t.prototype.encodeCompressedDate=function(e,n){var i=this.getGeneralDecoder().extractNumericValueFromBitArray(n,t.DATE_SIZE);if(38400!=i){e.append("("),e.append(this.dateCode),e.append(")");var r=i%32,a=(i/=32)%12+1,o=i/=12;o/10==0&&e.append("0"),e.append(o),a/10==0&&e.append("0"),e.append(a),r/10==0&&e.append("0"),e.append(r)}},t.prototype.addWeightCode=function(e,t){e.append("("),e.append(this.firstAIdigits),e.append(t/1e5),e.append(")")},t.prototype.checkWeight=function(e){return e%1e5},t.HEADER_SIZE=8,t.WEIGHT_SIZE=20,t.DATE_SIZE=16,t}(a.default)},gOp4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e,t,n,i){this.columnCount=e,this.errorCorrectionLevel=i,this.rowCountUpperPart=t,this.rowCountLowerPart=n,this.rowCount=t+n}return e.prototype.getColumnCount=function(){return this.columnCount},e.prototype.getErrorCorrectionLevel=function(){return this.errorCorrectionLevel},e.prototype.getRowCount=function(){return this.rowCount},e.prototype.getRowCountUpperPart=function(){return this.rowCountUpperPart},e.prototype.getRowCountLowerPart=function(){return this.rowCountLowerPart},e}()},gt76:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e){for(var t=[],n=1;n=0;--o)0!=(a&1<=0;--F)0!=(u&1<=0;--F)0!=(d&1<t[0])throw r.default.getFormatInstance();for(var a=new Int32Array(e.NUMBER_OF_SEQUENCE_CODEWORDS),o=0;o0){for(var c=0;c<6;++c)o.write(Number(g(u)>>g(8*(5-c))));u=0,s=0}}r===n[0]&&h0){for(c=0;c<6;++c)o.write(Number(g(u)>>g(8*(5-c))));u=0,s=0}}}return a.append(l.default.decode(o.toByteArray(),i)),r},e.numericCompaction=function(t,n,i){for(var r=0,a=!1,o=new Int32Array(e.MAX_NUMERIC_CODEWORDS);n0&&(i.append(e.decodeBase900toBase10(o,r)),r=0)}return n},e.decodeBase900toBase10=function(t,n){for(var i=g(0),a=0;a@[\\]_`~!\r\t,:\n-.$/\"|*()?{}'",e.MIXED_CHARS="0123456789&\r\t,:#-.$/+%*=^",e.EXP900=m()?function(){var e=[];e[0]=g(1);var t=g(900);e[1]=t;for(var n=2;n<16;n++)e[n]=e[n-1]*t;return e}():[],e.NUMBER_OF_SEQUENCE_CODEWORDS=2,e}()}).call(this,n("yLpj"))},jHy1:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("tupf");t.default=function(e){function t(t,n,i,r,a){var o=e.call(this,t,n)||this;return o.compact=i,o.nbDatablocks=r,o.nbLayers=a,o}return r(t,e),t.prototype.getNbLayers=function(){return this.nbLayers},t.prototype.getNbDatablocks=function(){return this.nbDatablocks},t.prototype.isCompact=function(){return this.compact},t}(a.default)},jLlG:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.default)},ji7Q:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("r8uX"),a=n("7RB1");t.default=function(){function e(e){this.errorCorrectionLevel=r.default.forBits(e>>3&3),this.dataMask=7&e}return e.numBitsDiffering=function(e,t){return a.default.bitCount(e^t)},e.decodeFormatInformation=function(t,n){var i=e.doDecodeFormatInformation(t,n);return null!==i?i:e.doDecodeFormatInformation(t^e.FORMAT_INFO_MASK_QR,n^e.FORMAT_INFO_MASK_QR)},e.doDecodeFormatInformation=function(t,n){var r,a,o=Number.MAX_SAFE_INTEGER,s=0;try{for(var u=i(e.FORMAT_INFO_DECODE_LOOKUP),F=u.next();!F.done;F=u.next()){var d=F.value,h=d[0];if(h===t||h===n)return new e(d[1]);var f=e.numBitsDiffering(t,h);f=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("u2rX"),a=n("zKBm"),o=n("bJYy"),s=n("PRO/"),u=n("snnL"),F=n("wXP5");t.default=function(){function e(){this.CHECK_DIGIT_ENCODINGS=[24,20,18,17,12,6,3,10,9,5],this.decodeMiddleCounters=[0,0,0,0],this.decodeRowStringBuffer=""}return e.prototype.decodeRow=function(t,n,i){var a=this.decodeRowStringBuffer,u=this.decodeMiddle(n,i,a),F=a.toString(),d=e.parseExtensionString(F),h=[new s.default((i[0]+i[1])/2,t),new s.default(u,t)],f=new o.default(F,null,0,h,r.default.UPC_EAN_EXTENSION,(new Date).getTime());return null!=d&&f.putAllMetadata(d),f},e.prototype.decodeMiddle=function(t,n,r){var o,s,u=this.decodeMiddleCounters;u[0]=0,u[1]=0,u[2]=0,u[3]=0;for(var d=t.getSize(),h=n[1],f=0,l=0;l<5&&h=10&&(f|=1<<4-l),4!==l&&(h=t.getNextSet(h),h=t.getNextUnset(h))}if(5!==r.length)throw new F.default;var p=this.determineCheckDigit(f);if(e.extensionChecksum(r.toString())!==p)throw new F.default;return h},e.extensionChecksum=function(e){for(var t=e.length,n=0,i=t-2;i>=0;i-=2)n+=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0);for(n*=3,i=t-1;i>=0;i-=2)n+=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0);return(n*=3)%10},e.prototype.determineCheckDigit=function(e){for(var t=0;t<10;t++)if(e===this.CHECK_DIGIT_ENCODINGS[t])return t;throw new F.default},e.parseExtensionString=function(t){if(5!==t.length)return null;var n=e.parseExtension5String(t);return null==n?null:new Map([[u.default.SUGGESTED_PRICE,n]])},e.parseExtension5String=function(e){var t;switch(e.charAt(0)){case"0":t="\xa3";break;case"5":t="$";break;case"9":switch(e){case"90000":return null;case"99991":return"0.00";case"99990":return"Used"}t="";break;default:t=""}var n=parseInt(e.substring(1)),i=n%100;return t+(n/100).toString()+"."+(i<10?"0"+i:i.toString())},e}()},kAtF:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("poFM"),a=n("PnHe"),o=n("or9r");t.default=function(){function e(){}return e.fill=function(e,t){for(var n=0,i=e.length;nn)throw new a.default("fromIndex("+t+") > toIndex("+n+")");if(t<0)throw new o.default(t);if(n>e)throw new o.default(n)},e.asList=function(){for(var e=[],t=0;t>1,s=i(n,t[o]);if(s>0)r=o+1;else{if(!(s<0))return o;a=o-1}}return-r-1},e.numberComparator=function(e,t){return e-t},e}()},kPel:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("R4VP");t.default=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.addWeightCode=function(e,t){e.append(t<1e4?"(3202)":"(3203)")},t.prototype.checkWeight=function(e){return e<1e4?e:e-1e4},t}(a.default)},kQks:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("SDs9"),o=n("nHjj");t.default=function(e){function t(t){return e.call(this,t)||this}return r(t,e),t.prototype.parseInformation=function(){var e=new a.default;return this.getGeneralDecoder().decodeAllCodes(e,t.HEADER_SIZE)},t.HEADER_SIZE=5,t}(o.default)},kaLH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("1Jy0"),r=n("GY/I"),a=n("1alA"),o=n("/07r"),s=n("emVd"),u=n("SDs9"),F=n("AuZS"),d=n("hkAl");t.default=function(){function e(){}return e.decode=function(t,n,o,F){var h=new i.default(t),f=new u.default,l=new Array,c=-1,m=-1;try{var g=null,p=!1,w=void 0;do{if(h.available()<4)w=s.default.TERMINATOR;else{var y=h.readBits(4);w=s.default.forBits(y)}switch(w){case s.default.TERMINATOR:break;case s.default.FNC1_FIRST_POSITION:case s.default.FNC1_SECOND_POSITION:p=!0;break;case s.default.STRUCTURED_APPEND:if(h.available()<16)throw new d.default;c=h.readBits(8),m=h.readBits(8);break;case s.default.ECI:var E=e.parseECIValue(h);if(null===(g=r.default.getCharacterSetECIByValue(E)))throw new d.default;break;case s.default.HANZI:var D=h.readBits(4),_=h.readBits(w.getCharacterCountBits(n));D===e.GB2312_SUBSET&&e.decodeHanziSegment(h,f,_);break;default:var v=h.readBits(w.getCharacterCountBits(n));switch(w){case s.default.NUMERIC:e.decodeNumericSegment(h,f,v);break;case s.default.ALPHANUMERIC:e.decodeAlphanumericSegment(h,f,v,p);break;case s.default.BYTE:e.decodeByteSegment(h,f,v,g,l,F);break;case s.default.KANJI:e.decodeKanjiSegment(h,f,v);break;default:throw new d.default}}}while(w!==s.default.TERMINATOR)}catch(b){throw new d.default}return new a.default(t,f.toString(),0===l.length?null:l,null===o?null:o.toString(),c,m)},e.decodeHanziSegment=function(e,t,n){if(13*n>e.available())throw new d.default;for(var i=new Uint8Array(2*n),r=0;n>0;){var a=e.readBits(13),s=a/96<<8&4294967295|a%96;i[r]=(s+=s<959?41377:42657)>>8&255,i[r+1]=255&s,r+=2,n--}try{t.append(F.default.decode(i,o.default.GB2312))}catch(u){throw new d.default(u)}},e.decodeKanjiSegment=function(e,t,n){if(13*n>e.available())throw new d.default;for(var i=new Uint8Array(2*n),r=0;n>0;){var a=e.readBits(13),s=a/192<<8&4294967295|a%192;i[r]=(s+=s<7936?33088:49472)>>8,i[r+1]=s,r+=2,n--}try{t.append(F.default.decode(i,o.default.SHIFT_JIS))}catch(u){throw new d.default(u)}},e.decodeByteSegment=function(e,t,n,i,r,a){if(8*n>e.available())throw new d.default;for(var s,u=new Uint8Array(n),h=0;h=e.ALPHANUMERIC_CHARS.length)throw new d.default;return e.ALPHANUMERIC_CHARS[t]},e.decodeAlphanumericSegment=function(t,n,i,r){for(var a=n.length();i>1;){if(t.available()<11)throw new d.default;var o=t.readBits(11);n.append(e.toAlphaNumericChar(Math.floor(o/45))),n.append(e.toAlphaNumericChar(o%45)),i-=2}if(1===i){if(t.available()<6)throw new d.default;n.append(e.toAlphaNumericChar(t.readBits(6)))}if(r)for(var s=a;s=3;){if(t.available()<10)throw new d.default;var r=t.readBits(10);if(r>=1e3)throw new d.default;n.append(e.toAlphaNumericChar(Math.floor(r/100))),n.append(e.toAlphaNumericChar(Math.floor(r/10)%10)),n.append(e.toAlphaNumericChar(r%10)),i-=3}if(2===i){if(t.available()<7)throw new d.default;var a=t.readBits(7);if(a>=100)throw new d.default;n.append(e.toAlphaNumericChar(Math.floor(a/10))),n.append(e.toAlphaNumericChar(a%10))}else if(1===i){if(t.available()<4)throw new d.default;var o=t.readBits(4);if(o>=10)throw new d.default;n.append(e.toAlphaNumericChar(o))}},e.parseECIValue=function(e){var t=e.readBits(8);if(0==(128&t))return 127&t;if(128==(192&t))return(63&t)<<8&4294967295|e.readBits(8);if(192==(224&t))return(31&t)<<16&4294967295|e.readBits(16);throw new d.default},e.ALPHANUMERIC_CHARS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.GB2312_SUBSET=1,e}()},lQQs:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("PnHe");t.default=function(){function e(e,t){this.numDataCodewords=e,this.codewords=t}return e.getDataBlocks=function(t,n){var a,o,s,u,F=n.getECBlocks(),d=0,h=F.getECBlocks();try{for(var f=i(h),l=f.next();!l.done;l=f.next())d+=(w=l.value).getCount()}catch(S){a={error:S}}finally{try{l&&!l.done&&(o=f.return)&&o.call(f)}finally{if(a)throw a.error}}var c=new Array(d),m=0;try{for(var g=i(h),p=g.next();!p.done;p=g.next())for(var w=p.value,y=0;y7?y-1:y]=t[b++]}if(b!==t.length)throw new r.default;return c},e.prototype.getNumDataCodewords=function(){return this.numDataCodewords},e.prototype.getCodewords=function(){return this.codewords},e}()},lbVw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("5i/S"),r=n("poFM"),a=n("kAtF"),o=n("SDs9"),s=n("PnHe"),u=function(){function e(e,t,n,i){if(this.width=e,this.height=t,this.rowSize=n,this.bits=i,null==t&&(t=e),this.height=t,e<1||t<1)throw new s.default("Both dimensions must be greater than 0");null==n&&(n=Math.floor((e+31)/32)),this.rowSize=n,null==i&&(this.bits=new Int32Array(this.rowSize*this.height))}return e.parseFromBooleanArray=function(t){for(var n=t.length,i=t[0].length,r=new e(i,n),a=0;ao){if(-1===u)u=a-o;else if(a-o!==u)throw new s.default("row lengths do not match");o=a,F++}d++}else if(t.substring(d,d+n.length)===n)d+=n.length,r[a]=!0,a++;else{if(t.substring(d,d+i.length)!==i)throw new s.default("illegal character encountered: "+t.substring(d));d+=i.length,r[a]=!1,a++}if(a>o){if(-1===u)u=a-o;else if(a-o!==u)throw new s.default("row lengths do not match");F++}for(var h=new e(u,F),f=0;f>>(31&e)&1)},e.prototype.set=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]|=1<<(31&e)&4294967295},e.prototype.unset=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]&=~(1<<(31&e)&4294967295)},e.prototype.flip=function(e,t){var n=t*this.rowSize+Math.floor(e/32);this.bits[n]^=1<<(31&e)&4294967295},e.prototype.xor=function(e){if(this.width!==e.getWidth()||this.height!==e.getHeight()||this.rowSize!==e.getRowSize())throw new s.default("input matrix dimensions do not match");for(var t=new i.default(Math.floor(this.width/32)+1),n=this.rowSize,r=this.bits,a=0,o=this.height;athis.height||r>this.width)throw new s.default("The region must fit inside the matrix");for(var o=this.rowSize,u=this.bits,F=t;Fo&&(o=s),32*ua){for(d=31;F>>>d==0;)d--;32*u+d>a&&(a=32*u+d)}}}return a=0&&0===t[n];)n--;if(n<0)return null;for(var i=Math.floor(n/e),r=32*Math.floor(n%e),a=t[n],o=31;a>>>o==0;)o--;return Int32Array.from([r+=o,i])},e.prototype.getWidth=function(){return this.width},e.prototype.getHeight=function(){return this.height},e.prototype.getRowSize=function(){return this.rowSize},e.prototype.equals=function(t){return t instanceof e&&this.width===t.width&&this.height===t.height&&this.rowSize===t.rowSize&&a.default.equals(this.bits,t.bits)},e.prototype.hashCode=function(){var e=this.width;return 31*(e=31*(e=31*(e=31*e+this.width)+this.height)+this.rowSize)+a.default.hashCode(this.bits)},e.prototype.toString=function(e,t,n){return void 0===e&&(e="X "),void 0===t&&(t=" "),void 0===n&&(n="\n"),this.buildToString(e,t,n)},e.prototype.buildToString=function(e,t,n){for(var i=new o.default,r=0,a=this.height;r>16&255)+(l>>7&510)+(255&l))/4&255}F.luminances=h}else F.luminances=t;if(void 0===r&&(F.dataWidth=n),void 0===a&&(F.dataHeight=i),void 0===o&&(F.left=0),void 0===s&&(F.top=0),F.left+n>F.dataWidth||F.top+i>F.dataHeight)throw new u.default("Crop rectangle does not fit within image data.");return F}return r(t,e),t.prototype.getRow=function(e,t){if(e<0||e>=this.getHeight())throw new u.default("Requested row is outside the image: "+e);var n=this.getWidth();return(null==t||t.lengthn||u<-1||u>r)throw new i.default;a=!1,-1===s?(t[o]=0,a=!0):s===n&&(t[o]=n-1,a=!0),-1===u?(t[o+1]=0,a=!0):u===r&&(t[o+1]=r-1,a=!0)}for(a=!0,o=t.length-2;o>=0&&a;o-=2){if(s=Math.floor(t[o]),u=Math.floor(t[o+1]),s<-1||s>n||u<-1||u>r)throw new i.default;a=!1,-1===s?(t[o]=0,a=!0):s===n&&(t[o]=n-1,a=!0),-1===u?(t[o+1]=0,a=!0):u===r&&(t[o+1]=r-1,a=!0)}},e}()},or9r:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("acWS");t.default=function(e){function t(t,n){void 0===t&&(t=void 0),void 0===n&&(n=void 0);var i=e.call(this,n)||this;return i.index=t,i.message=n,i}return r(t,e),t}(a.default)},poFM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(){}return e.arraycopy=function(e,t,n,i,r){for(;r--;)n[i++]=e[t++]},e.currentTimeMillis=function(){return Date.now()},e}()},qTxx:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("u2rX"),o=n("TlOk"),s=n("1Jy4"),u=n("CrUY"),F=n("5Bsn"),d=n("Pnij"),h=n("7stF"),f=n("wXP5"),l=n("6s9M");t.default=function(e){function t(t){var n=e.call(this)||this;n.readers=[];var i=t?t.get(F.default.POSSIBLE_FORMATS):null,r=t&&void 0!==t.get(F.default.ASSUME_CODE_39_CHECK_DIGIT);return i&&((i.includes(a.default.EAN_13)||i.includes(a.default.EAN_8))&&n.readers.push(new h.default(t)),i.includes(a.default.CODE_39)&&n.readers.push(new o.default(r)),i.includes(a.default.CODE_128)&&n.readers.push(new s.default),i.includes(a.default.ITF)&&n.readers.push(new d.default),i.includes(a.default.RSS_14)&&n.readers.push(new u.default)),0===n.readers.length&&(n.readers.push(new o.default),n.readers.push(new h.default(t)),n.readers.push(new s.default),n.readers.push(new d.default),n.readers.push(new u.default)),n}return r(t,e),t.prototype.decodeRow=function(e,t,n){for(var i=0;i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("vpob"),a=n("F1eN");t.default=function(){function e(e,t){this.ADJUST_ROW_NUMBER_SKIP=2,this.barcodeMetadata=e,this.barcodeColumnCount=e.getColumnCount(),this.boundingBox=t,this.detectionResultColumns=new Array(this.barcodeColumnCount+2)}return e.prototype.getDetectionResultColumns=function(){this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[0]),this.adjustIndicatorColumnRowNumbers(this.detectionResultColumns[this.barcodeColumnCount+1]);var e,t=r.default.MAX_CODEWORDS_IN_BARCODE;do{e=t,t=this.adjustRowNumbersAndGetCount()}while(t>0&&t0&&a0&&(d[0]=r[n-1],d[4]=u[n-1],d[5]=F[n-1]),n>1&&(d[8]=r[n-2],d[10]=u[n-2],d[11]=F[n-2]),n0;){for(6===u&&(u-=1);F>=0&&F=i;)t^=n<=0)for(var u=0;u!==o;u++){var F=r[u];F>=0&&e.isEmpty(n.get(F,s))&&e.embedPositionAdjustmentPattern(F-2,s-2,n)}}},e.POSITION_DETECTION_PATTERN=Array.from([Int32Array.from([1,1,1,1,1,1,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,1,1,1,0,1]),Int32Array.from([1,0,0,0,0,0,1]),Int32Array.from([1,1,1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN=Array.from([Int32Array.from([1,1,1,1,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,0,1,0,1]),Int32Array.from([1,0,0,0,1]),Int32Array.from([1,1,1,1,1])]),e.POSITION_ADJUSTMENT_PATTERN_COORDINATE_TABLE=Array.from([Int32Array.from([-1,-1,-1,-1,-1,-1,-1]),Int32Array.from([6,18,-1,-1,-1,-1,-1]),Int32Array.from([6,22,-1,-1,-1,-1,-1]),Int32Array.from([6,26,-1,-1,-1,-1,-1]),Int32Array.from([6,30,-1,-1,-1,-1,-1]),Int32Array.from([6,34,-1,-1,-1,-1,-1]),Int32Array.from([6,22,38,-1,-1,-1,-1]),Int32Array.from([6,24,42,-1,-1,-1,-1]),Int32Array.from([6,26,46,-1,-1,-1,-1]),Int32Array.from([6,28,50,-1,-1,-1,-1]),Int32Array.from([6,30,54,-1,-1,-1,-1]),Int32Array.from([6,32,58,-1,-1,-1,-1]),Int32Array.from([6,34,62,-1,-1,-1,-1]),Int32Array.from([6,26,46,66,-1,-1,-1]),Int32Array.from([6,26,48,70,-1,-1,-1]),Int32Array.from([6,26,50,74,-1,-1,-1]),Int32Array.from([6,30,54,78,-1,-1,-1]),Int32Array.from([6,30,56,82,-1,-1,-1]),Int32Array.from([6,30,58,86,-1,-1,-1]),Int32Array.from([6,34,62,90,-1,-1,-1]),Int32Array.from([6,28,50,72,94,-1,-1]),Int32Array.from([6,26,50,74,98,-1,-1]),Int32Array.from([6,30,54,78,102,-1,-1]),Int32Array.from([6,28,54,80,106,-1,-1]),Int32Array.from([6,32,58,84,110,-1,-1]),Int32Array.from([6,30,58,86,114,-1,-1]),Int32Array.from([6,34,62,90,118,-1,-1]),Int32Array.from([6,26,50,74,98,122,-1]),Int32Array.from([6,30,54,78,102,126,-1]),Int32Array.from([6,26,52,78,104,130,-1]),Int32Array.from([6,30,56,82,108,134,-1]),Int32Array.from([6,34,60,86,112,138,-1]),Int32Array.from([6,30,58,86,114,142,-1]),Int32Array.from([6,34,62,90,118,146,-1]),Int32Array.from([6,30,54,78,102,126,150]),Int32Array.from([6,24,50,76,102,128,154]),Int32Array.from([6,28,54,80,106,132,158]),Int32Array.from([6,32,58,84,110,136,162]),Int32Array.from([6,26,54,82,110,138,166]),Int32Array.from([6,30,58,86,114,142,170])]),e.TYPE_INFO_COORDINATES=Array.from([Int32Array.from([8,0]),Int32Array.from([8,1]),Int32Array.from([8,2]),Int32Array.from([8,3]),Int32Array.from([8,4]),Int32Array.from([8,5]),Int32Array.from([8,7]),Int32Array.from([8,8]),Int32Array.from([7,8]),Int32Array.from([5,8]),Int32Array.from([4,8]),Int32Array.from([3,8]),Int32Array.from([2,8]),Int32Array.from([1,8]),Int32Array.from([0,8])]),e.VERSION_INFO_POLY=7973,e.TYPE_INFO_POLY=1335,e.TYPE_INFO_MASK_PATTERN=21522,e}()},quKB:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e,t,n){this.pairs=e,this.rowNumber=t,this.wasReversed=n}return e.prototype.getPairs=function(){return this.pairs},e.prototype.getRowNumber=function(){return this.rowNumber},e.prototype.isReversed=function(){return this.wasReversed},e.prototype.isEquivalent=function(e){return this.checkEqualitity(this,e)},e.prototype.toString=function(){return"{ "+this.pairs+" }"},e.prototype.equals=function(t,n){return t instanceof e&&this.checkEqualitity(t,n)&&t.wasReversed===n.wasReversed},e.prototype.checkEqualitity=function(e,t){var n;if(e&&t)return e.forEach((function(e,i){t.forEach((function(t){e.getLeftChar().getValue()===t.getLeftChar().getValue()&&e.getRightChar().getValue()===t.getRightChar().getValue()&&e.getFinderPatter().getValue()===t.getFinderPatter().getValue()&&(n=!0)}))})),n},e}()},r8uX:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mtib"),r=n("PnHe"),a=t.ErrorCorrectionLevelValues=function(e){return e[e.L=0]="L",e[e.M=1]="M",e[e.Q=2]="Q",e[e.H=3]="H",e}(t.ErrorCorrectionLevelValues||{});t.default=function(){function e(t,n,i){this.value=t,this.stringValue=n,this.bits=i,e.FOR_BITS.set(i,this),e.FOR_VALUE.set(t,this)}return e.prototype.getValue=function(){return this.value},e.prototype.getBits=function(){return this.bits},e.fromString=function(t){switch(t){case"L":return e.L;case"M":return e.M;case"Q":return e.Q;case"H":return e.H;default:throw new i.default(t+"not available")}},e.prototype.toString=function(){return this.stringValue},e.prototype.equals=function(t){return t instanceof e&&this.value===t.value},e.forBits=function(t){if(t<0||t>=e.FOR_BITS.size)throw new r.default;return e.FOR_BITS.get(t)},e.FOR_BITS=new Map,e.FOR_VALUE=new Map,e.L=new e(a.L,"L",1),e.M=new e(a.M,"M",0),e.Q=new e(a.Q,"Q",3),e.H=new e(a.H,"H",2),e}()},rBn5:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("mWM0");t.default=function(e){function t(t){void 0===t&&(t=void 0);var n=e.call(this,t)||this;return n.message=t,n}return r(t,e),t}(a.CustomError)},rOTk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("acWS"),r=n("cTRo"),a=function(){function e(){}return e.prototype.writeBytes=function(e){this.writeBytesOffset(e,0,e.length)},e.prototype.writeBytesOffset=function(e,t,n){if(null==e)throw new r.default;if(t<0||t>e.length||n<0||t+n>e.length||t+n<0)throw new i.default;if(0!==n)for(var a=0;a=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("u2rX"),a=n("aLHR"),o=n("hkAl"),s=n("wXP5"),u=n("bJYy"),F=n("vpob"),d=n("7RB1"),h=n("snnL"),f=n("xhaO"),l=n("brUz");t.default=function(){function e(){}return e.prototype.decode=function(t,n){void 0===n&&(n=null);var i=e.decode(t,n,!1);if(null==i||0===i.length||null==i[0])throw s.default.getNotFoundInstance();return i[0]},e.prototype.decodeMultiple=function(t,n){void 0===n&&(n=null);try{return e.decode(t,n,!0)}catch(i){if(i instanceof o.default||i instanceof a.default)throw s.default.getNotFoundInstance();throw i}},e.decode=function(t,n,a){var o,s,F=new Array,d=f.default.detectMultiple(t,n,a);try{for(var c=i(d.getPoints()),m=c.next();!m.done;m=c.next()){var g=m.value,p=l.default.decode(d.getBits(),g[4],g[5],g[6],g[7],e.getMinCodewordWidth(g),e.getMaxCodewordWidth(g)),w=new u.default(p.getText(),p.getRawBytes(),void 0,g,r.default.PDF_417);w.putMetadata(h.default.ERROR_CORRECTION_LEVEL,p.getECLevel());var y=p.getOther();null!=y&&w.putMetadata(h.default.PDF417_EXTRA_METADATA,y),F.push(w)}}catch(E){o={error:E}}finally{try{m&&!m.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}return F.map((function(e){return e}))},e.getMaxWidth=function(e,t){return null==e||null==t?0:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMinWidth=function(e,t){return null==e||null==t?d.default.MAX_VALUE:Math.trunc(Math.abs(e.getX()-t.getX()))},e.getMaxCodewordWidth=function(t){return Math.floor(Math.max(Math.max(e.getMaxWidth(t[0],t[4]),e.getMaxWidth(t[6],t[2])*F.default.MODULES_IN_CODEWORD/F.default.MODULES_IN_STOP_PATTERN),Math.max(e.getMaxWidth(t[1],t[5]),e.getMaxWidth(t[7],t[3])*F.default.MODULES_IN_CODEWORD/F.default.MODULES_IN_STOP_PATTERN)))},e.getMinCodewordWidth=function(t){return Math.floor(Math.min(Math.min(e.getMinWidth(t[0],t[4]),e.getMinWidth(t[6],t[2])*F.default.MODULES_IN_CODEWORD/F.default.MODULES_IN_STOP_PATTERN),Math.min(e.getMinWidth(t[1],t[5]),e.getMinWidth(t[7],t[3])*F.default.MODULES_IN_CODEWORD/F.default.MODULES_IN_STOP_PATTERN)))},e.prototype.reset=function(){},e}()},"uW/q":function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("dxA0"),o=n("lbVw");t.default=function(e){function t(t){var n=e.call(this,t)||this;return n.matrix=null,n}return r(t,e),t.prototype.getBlackMatrix=function(){if(null!==this.matrix)return this.matrix;var n=this.getLuminanceSource(),i=n.getWidth(),r=n.getHeight();if(i>=t.MINIMUM_DIMENSION&&r>=t.MINIMUM_DIMENSION){var a=n.getMatrix(),s=i>>t.BLOCK_SIZE_POWER;0!=(i&t.BLOCK_SIZE_MASK)&&s++;var u=r>>t.BLOCK_SIZE_POWER;0!=(r&t.BLOCK_SIZE_MASK)&&u++;var F=t.calculateBlackPoints(a,s,u,i,r),d=new o.default(i,r);t.calculateThresholdForBlock(a,s,u,i,r,F,d),this.matrix=d}else this.matrix=e.prototype.getBlackMatrix.call(this);return this.matrix},t.prototype.createBinarizer=function(e){return new t(e)},t.calculateThresholdForBlock=function(e,n,i,r,a,o,s){for(var u=a-t.BLOCK_SIZE,F=r-t.BLOCK_SIZE,d=0;du&&(h=u);for(var f=t.cap(d,2,i-3),l=0;lF&&(c=F);for(var m=t.cap(l,2,n-3),g=0,p=-2;p<=2;p++){var w=o[f+p];g+=w[m-2]+w[m-1]+w[m]+w[m+1]+w[m+2]}t.thresholdBlock(e,c,h,g/25,r,s)}}},t.cap=function(e,t,n){return en?n:e},t.thresholdBlock=function(e,n,i,r,a,o){for(var s=0,u=i*a+n;so&&(d=o);for(var h=0;hs&&(f=s);for(var l=0,c=255,m=0,g=0,p=d*r+f;gm&&(m=y)}if(m-c>t.MIN_DYNAMIC_RANGE)for(g++,p+=r;g>2*t.BLOCK_SIZE_POWER;if(m-c<=t.MIN_DYNAMIC_RANGE&&(E=c/2,F>0&&h>0)){var D=(u[F-1][h]+2*u[F][h-1]+u[F-1][h-1])/4;c=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("kAtF"),a=n("a66B");t.default=function(){function e(){}return e.prototype.PDF417Common=function(){},e.getBitCountSum=function(e){return a.default.sum(e)},e.toIntArray=function(t){var n,r;if(null==t||!t.length)return e.EMPTY_INT_ARRAY;var a=new Int32Array(t.length),o=0;try{for(var s=i(t),u=s.next();!u.done;u=s.next())a[o++]=u.value}catch(F){n={error:F}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a},e.getCodeword=function(t){var n=r.default.binarySearch(e.SYMBOL_TABLE,262143&t);return n<0?-1:(e.CODEWORD_TABLE[n]-1)%e.NUMBER_OF_CODEWORDS},e.MAX_CODEWORDS_IN_BARCODE=(e.NUMBER_OF_CODEWORDS=929)-1,e.MIN_ROWS_IN_BARCODE=3,e.MAX_ROWS_IN_BARCODE=90,e.MODULES_IN_CODEWORD=17,e.MODULES_IN_STOP_PATTERN=18,e.BARS_IN_MODULE=8,e.EMPTY_INT_ARRAY=new Int32Array([]),e.SYMBOL_TABLE=Int32Array.from([66142,66170,66206,66236,66290,66292,66350,66382,66396,66454,66470,66476,66594,66600,66614,66626,66628,66632,66640,66654,66662,66668,66682,66690,66718,66720,66748,66758,66776,66798,66802,66804,66820,66824,66832,66846,66848,66876,66880,66936,66950,66956,66968,66992,67006,67022,67036,67042,67044,67048,67062,67118,67150,67164,67214,67228,67256,67294,67322,67350,67366,67372,67398,67404,67416,67438,67474,67476,67490,67492,67496,67510,67618,67624,67650,67656,67664,67678,67686,67692,67706,67714,67716,67728,67742,67744,67772,67782,67788,67800,67822,67826,67828,67842,67848,67870,67872,67900,67904,67960,67974,67992,68016,68030,68046,68060,68066,68068,68072,68086,68104,68112,68126,68128,68156,68160,68216,68336,68358,68364,68376,68400,68414,68448,68476,68494,68508,68536,68546,68548,68552,68560,68574,68582,68588,68654,68686,68700,68706,68708,68712,68726,68750,68764,68792,68802,68804,68808,68816,68830,68838,68844,68858,68878,68892,68920,68976,68990,68994,68996,69e3,69008,69022,69024,69052,69062,69068,69080,69102,69106,69108,69142,69158,69164,69190,69208,69230,69254,69260,69272,69296,69310,69326,69340,69386,69394,69396,69410,69416,69430,69442,69444,69448,69456,69470,69478,69484,69554,69556,69666,69672,69698,69704,69712,69726,69754,69762,69764,69776,69790,69792,69820,69830,69836,69848,69870,69874,69876,69890,69918,69920,69948,69952,70008,70022,70040,70064,70078,70094,70108,70114,70116,70120,70134,70152,70174,70176,70264,70384,70412,70448,70462,70496,70524,70542,70556,70584,70594,70600,70608,70622,70630,70636,70664,70672,70686,70688,70716,70720,70776,70896,71136,71180,71192,71216,71230,71264,71292,71360,71416,71452,71480,71536,71550,71554,71556,71560,71568,71582,71584,71612,71622,71628,71640,71662,71726,71732,71758,71772,71778,71780,71784,71798,71822,71836,71864,71874,71880,71888,71902,71910,71916,71930,71950,71964,71992,72048,72062,72066,72068,72080,72094,72096,72124,72134,72140,72152,72174,72178,72180,72206,72220,72248,72304,72318,72416,72444,72456,72464,72478,72480,72508,72512,72568,72588,72600,72624,72638,72654,72668,72674,72676,72680,72694,72726,72742,72748,72774,72780,72792,72814,72838,72856,72880,72894,72910,72924,72930,72932,72936,72950,72966,72972,72984,73008,73022,73056,73084,73102,73116,73144,73156,73160,73168,73182,73190,73196,73210,73226,73234,73236,73250,73252,73256,73270,73282,73284,73296,73310,73318,73324,73346,73348,73352,73360,73374,73376,73404,73414,73420,73432,73454,73498,73518,73522,73524,73550,73564,73570,73572,73576,73590,73800,73822,73858,73860,73872,73886,73888,73916,73944,73970,73972,73992,74014,74016,74044,74048,74104,74118,74136,74160,74174,74210,74212,74216,74230,74244,74256,74270,74272,74360,74480,74502,74508,74544,74558,74592,74620,74638,74652,74680,74690,74696,74704,74726,74732,74782,74784,74812,74992,75232,75288,75326,75360,75388,75456,75512,75576,75632,75646,75650,75652,75664,75678,75680,75708,75718,75724,75736,75758,75808,75836,75840,75896,76016,76256,76736,76824,76848,76862,76896,76924,76992,77048,77296,77340,77368,77424,77438,77536,77564,77572,77576,77584,77600,77628,77632,77688,77702,77708,77720,77744,77758,77774,77788,77870,77902,77916,77922,77928,77966,77980,78008,78018,78024,78032,78046,78060,78074,78094,78136,78192,78206,78210,78212,78224,78238,78240,78268,78278,78284,78296,78322,78324,78350,78364,78448,78462,78560,78588,78600,78622,78624,78652,78656,78712,78726,78744,78768,78782,78798,78812,78818,78820,78824,78838,78862,78876,78904,78960,78974,79072,79100,79296,79352,79368,79376,79390,79392,79420,79424,79480,79600,79628,79640,79664,79678,79712,79740,79772,79800,79810,79812,79816,79824,79838,79846,79852,79894,79910,79916,79942,79948,79960,79982,79988,80006,80024,80048,80062,80078,80092,80098,80100,80104,80134,80140,80176,80190,80224,80252,80270,80284,80312,80328,80336,80350,80358,80364,80378,80390,80396,80408,80432,80446,80480,80508,80576,80632,80654,80668,80696,80752,80766,80776,80784,80798,80800,80828,80844,80856,80878,80882,80884,80914,80916,80930,80932,80936,80950,80962,80968,80976,80990,80998,81004,81026,81028,81040,81054,81056,81084,81094,81100,81112,81134,81154,81156,81160,81168,81182,81184,81212,81216,81272,81286,81292,81304,81328,81342,81358,81372,81380,81384,81398,81434,81454,81458,81460,81486,81500,81506,81508,81512,81526,81550,81564,81592,81602,81604,81608,81616,81630,81638,81644,81702,81708,81722,81734,81740,81752,81774,81778,81780,82050,82078,82080,82108,82180,82184,82192,82206,82208,82236,82240,82296,82316,82328,82352,82366,82402,82404,82408,82440,82448,82462,82464,82492,82496,82552,82672,82694,82700,82712,82736,82750,82784,82812,82830,82882,82884,82888,82896,82918,82924,82952,82960,82974,82976,83004,83008,83064,83184,83424,83468,83480,83504,83518,83552,83580,83648,83704,83740,83768,83824,83838,83842,83844,83848,83856,83872,83900,83910,83916,83928,83950,83984,84e3,84028,84032,84088,84208,84448,84928,85040,85054,85088,85116,85184,85240,85488,85560,85616,85630,85728,85756,85764,85768,85776,85790,85792,85820,85824,85880,85894,85900,85912,85936,85966,85980,86048,86080,86136,86256,86496,86976,88160,88188,88256,88312,88560,89056,89200,89214,89312,89340,89536,89592,89608,89616,89632,89664,89720,89840,89868,89880,89904,89952,89980,89998,90012,90040,90190,90204,90254,90268,90296,90306,90308,90312,90334,90382,90396,90424,90480,90494,90500,90504,90512,90526,90528,90556,90566,90572,90584,90610,90612,90638,90652,90680,90736,90750,90848,90876,90884,90888,90896,90910,90912,90940,90944,91e3,91014,91020,91032,91056,91070,91086,91100,91106,91108,91112,91126,91150,91164,91192,91248,91262,91360,91388,91584,91640,91664,91678,91680,91708,91712,91768,91888,91928,91952,91966,92e3,92028,92046,92060,92088,92098,92100,92104,92112,92126,92134,92140,92188,92216,92272,92384,92412,92608,92664,93168,93200,93214,93216,93244,93248,93304,93424,93664,93720,93744,93758,93792,93820,93888,93944,93980,94008,94064,94078,94084,94088,94096,94110,94112,94140,94150,94156,94168,94246,94252,94278,94284,94296,94318,94342,94348,94360,94384,94398,94414,94428,94440,94470,94476,94488,94512,94526,94560,94588,94606,94620,94648,94658,94660,94664,94672,94686,94694,94700,94714,94726,94732,94744,94768,94782,94816,94844,94912,94968,94990,95004,95032,95088,95102,95112,95120,95134,95136,95164,95180,95192,95214,95218,95220,95244,95256,95280,95294,95328,95356,95424,95480,95728,95758,95772,95800,95856,95870,95968,95996,96008,96016,96030,96032,96060,96064,96120,96152,96176,96190,96220,96226,96228,96232,96290,96292,96296,96310,96322,96324,96328,96336,96350,96358,96364,96386,96388,96392,96400,96414,96416,96444,96454,96460,96472,96494,96498,96500,96514,96516,96520,96528,96542,96544,96572,96576,96632,96646,96652,96664,96688,96702,96718,96732,96738,96740,96744,96758,96772,96776,96784,96798,96800,96828,96832,96888,97008,97030,97036,97048,97072,97086,97120,97148,97166,97180,97208,97220,97224,97232,97246,97254,97260,97326,97330,97332,97358,97372,97378,97380,97384,97398,97422,97436,97464,97474,97476,97480,97488,97502,97510,97516,97550,97564,97592,97648,97666,97668,97672,97680,97694,97696,97724,97734,97740,97752,97774,97830,97836,97850,97862,97868,97880,97902,97906,97908,97926,97932,97944,97968,97998,98012,98018,98020,98024,98038,98618,98674,98676,98838,98854,98874,98892,98904,98926,98930,98932,98968,99006,99042,99044,99048,99062,99166,99194,99246,99286,99350,99366,99372,99386,99398,99416,99438,99442,99444,99462,99504,99518,99534,99548,99554,99556,99560,99574,99590,99596,99608,99632,99646,99680,99708,99726,99740,99768,99778,99780,99784,99792,99806,99814,99820,99834,99858,99860,99874,99880,99894,99906,99920,99934,99962,99970,99972,99976,99984,99998,1e5,100028,100038,100044,100056,100078,100082,100084,100142,100174,100188,100246,100262,100268,100306,100308,100390,100396,100410,100422,100428,100440,100462,100466,100468,100486,100504,100528,100542,100558,100572,100578,100580,100584,100598,100620,100656,100670,100704,100732,100750,100792,100802,100808,100816,100830,100838,100844,100858,100888,100912,100926,100960,100988,101056,101112,101148,101176,101232,101246,101250,101252,101256,101264,101278,101280,101308,101318,101324,101336,101358,101362,101364,101410,101412,101416,101430,101442,101448,101456,101470,101478,101498,101506,101508,101520,101534,101536,101564,101580,101618,101620,101636,101640,101648,101662,101664,101692,101696,101752,101766,101784,101838,101858,101860,101864,101934,101938,101940,101966,101980,101986,101988,101992,102030,102044,102072,102082,102084,102088,102096,102138,102166,102182,102188,102214,102220,102232,102254,102282,102290,102292,102306,102308,102312,102326,102444,102458,102470,102476,102488,102514,102516,102534,102552,102576,102590,102606,102620,102626,102632,102646,102662,102668,102704,102718,102752,102780,102798,102812,102840,102850,102856,102864,102878,102886,102892,102906,102936,102974,103008,103036,103104,103160,103224,103280,103294,103298,103300,103312,103326,103328,103356,103366,103372,103384,103406,103410,103412,103472,103486,103520,103548,103616,103672,103920,103992,104048,104062,104160,104188,104194,104196,104200,104208,104224,104252,104256,104312,104326,104332,104344,104368,104382,104398,104412,104418,104420,104424,104482,104484,104514,104520,104528,104542,104550,104570,104578,104580,104592,104606,104608,104636,104652,104690,104692,104706,104712,104734,104736,104764,104768,104824,104838,104856,104910,104930,104932,104936,104968,104976,104990,104992,105020,105024,105080,105200,105240,105278,105312,105372,105410,105412,105416,105424,105446,105518,105524,105550,105564,105570,105572,105576,105614,105628,105656,105666,105672,105680,105702,105722,105742,105756,105784,105840,105854,105858,105860,105864,105872,105888,105932,105970,105972,106006,106022,106028,106054,106060,106072,106100,106118,106124,106136,106160,106174,106190,106210,106212,106216,106250,106258,106260,106274,106276,106280,106306,106308,106312,106320,106334,106348,106394,106414,106418,106420,106566,106572,106610,106612,106630,106636,106648,106672,106686,106722,106724,106728,106742,106758,106764,106776,106800,106814,106848,106876,106894,106908,106936,106946,106948,106952,106960,106974,106982,106988,107032,107056,107070,107104,107132,107200,107256,107292,107320,107376,107390,107394,107396,107400,107408,107422,107424,107452,107462,107468,107480,107502,107506,107508,107544,107568,107582,107616,107644,107712,107768,108016,108060,108088,108144,108158,108256,108284,108290,108292,108296,108304,108318,108320,108348,108352,108408,108422,108428,108440,108464,108478,108494,108508,108514,108516,108520,108592,108640,108668,108736,108792,109040,109536,109680,109694,109792,109820,110016,110072,110084,110088,110096,110112,110140,110144,110200,110320,110342,110348,110360,110384,110398,110432,110460,110478,110492,110520,110532,110536,110544,110558,110658,110686,110714,110722,110724,110728,110736,110750,110752,110780,110796,110834,110836,110850,110852,110856,110864,110878,110880,110908,110912,110968,110982,111e3,111054,111074,111076,111080,111108,111112,111120,111134,111136,111164,111168,111224,111344,111372,111422,111456,111516,111554,111556,111560,111568,111590,111632,111646,111648,111676,111680,111736,111856,112096,112152,112224,112252,112320,112440,112514,112516,112520,112528,112542,112544,112588,112686,112718,112732,112782,112796,112824,112834,112836,112840,112848,112870,112890,112910,112924,112952,113008,113022,113026,113028,113032,113040,113054,113056,113100,113138,113140,113166,113180,113208,113264,113278,113376,113404,113416,113424,113440,113468,113472,113560,113614,113634,113636,113640,113686,113702,113708,113734,113740,113752,113778,113780,113798,113804,113816,113840,113854,113870,113890,113892,113896,113926,113932,113944,113968,113982,114016,114044,114076,114114,114116,114120,114128,114150,114170,114194,114196,114210,114212,114216,114242,114244,114248,114256,114270,114278,114306,114308,114312,114320,114334,114336,114364,114380,114420,114458,114478,114482,114484,114510,114524,114530,114532,114536,114842,114866,114868,114970,114994,114996,115042,115044,115048,115062,115130,115226,115250,115252,115278,115292,115298,115300,115304,115318,115342,115394,115396,115400,115408,115422,115430,115436,115450,115478,115494,115514,115526,115532,115570,115572,115738,115758,115762,115764,115790,115804,115810,115812,115816,115830,115854,115868,115896,115906,115912,115920,115934,115942,115948,115962,115996,116024,116080,116094,116098,116100,116104,116112,116126,116128,116156,116166,116172,116184,116206,116210,116212,116246,116262,116268,116282,116294,116300,116312,116334,116338,116340,116358,116364,116376,116400,116414,116430,116444,116450,116452,116456,116498,116500,116514,116520,116534,116546,116548,116552,116560,116574,116582,116588,116602,116654,116694,116714,116762,116782,116786,116788,116814,116828,116834,116836,116840,116854,116878,116892,116920,116930,116936,116944,116958,116966,116972,116986,117006,117048,117104,117118,117122,117124,117136,117150,117152,117180,117190,117196,117208,117230,117234,117236,117304,117360,117374,117472,117500,117506,117508,117512,117520,117536,117564,117568,117624,117638,117644,117656,117680,117694,117710,117724,117730,117732,117736,117750,117782,117798,117804,117818,117830,117848,117874,117876,117894,117936,117950,117966,117986,117988,117992,118022,118028,118040,118064,118078,118112,118140,118172,118210,118212,118216,118224,118238,118246,118266,118306,118312,118338,118352,118366,118374,118394,118402,118404,118408,118416,118430,118432,118460,118476,118514,118516,118574,118578,118580,118606,118620,118626,118628,118632,118678,118694,118700,118730,118738,118740,118830,118834,118836,118862,118876,118882,118884,118888,118902,118926,118940,118968,118978,118980,118984,118992,119006,119014,119020,119034,119068,119096,119152,119166,119170,119172,119176,119184,119198,119200,119228,119238,119244,119256,119278,119282,119284,119324,119352,119408,119422,119520,119548,119554,119556,119560,119568,119582,119584,119612,119616,119672,119686,119692,119704,119728,119742,119758,119772,119778,119780,119784,119798,119920,119934,120032,120060,120256,120312,120324,120328,120336,120352,120384,120440,120560,120582,120588,120600,120624,120638,120672,120700,120718,120732,120760,120770,120772,120776,120784,120798,120806,120812,120870,120876,120890,120902,120908,120920,120946,120948,120966,120972,120984,121008,121022,121038,121058,121060,121064,121078,121100,121112,121136,121150,121184,121212,121244,121282,121284,121288,121296,121318,121338,121356,121368,121392,121406,121440,121468,121536,121592,121656,121730,121732,121736,121744,121758,121760,121804,121842,121844,121890,121922,121924,121928,121936,121950,121958,121978,121986,121988,121992,122e3,122014,122016,122044,122060,122098,122100,122116,122120,122128,122142,122144,122172,122176,122232,122246,122264,122318,122338,122340,122344,122414,122418,122420,122446,122460,122466,122468,122472,122510,122524,122552,122562,122564,122568,122576,122598,122618,122646,122662,122668,122694,122700,122712,122738,122740,122762,122770,122772,122786,122788,122792,123018,123026,123028,123042,123044,123048,123062,123098,123146,123154,123156,123170,123172,123176,123190,123202,123204,123208,123216,123238,123244,123258,123290,123314,123316,123402,123410,123412,123426,123428,123432,123446,123458,123464,123472,123486,123494,123500,123514,123522,123524,123528,123536,123552,123580,123590,123596,123608,123630,123634,123636,123674,123698,123700,123740,123746,123748,123752,123834,123914,123922,123924,123938,123944,123958,123970,123976,123984,123998,124006,124012,124026,124034,124036,124048,124062,124064,124092,124102,124108,124120,124142,124146,124148,124162,124164,124168,124176,124190,124192,124220,124224,124280,124294,124300,124312,124336,124350,124366,124380,124386,124388,124392,124406,124442,124462,124466,124468,124494,124508,124514,124520,124558,124572,124600,124610,124612,124616,124624,124646,124666,124694,124710,124716,124730,124742,124748,124760,124786,124788,124818,124820,124834,124836,124840,124854,124946,124948,124962,124964,124968,124982,124994,124996,125e3,125008,125022,125030,125036,125050,125058,125060,125064,125072,125086,125088,125116,125126,125132,125144,125166,125170,125172,125186,125188,125192,125200,125216,125244,125248,125304,125318,125324,125336,125360,125374,125390,125404,125410,125412,125416,125430,125444,125448,125456,125472,125504,125560,125680,125702,125708,125720,125744,125758,125792,125820,125838,125852,125880,125890,125892,125896,125904,125918,125926,125932,125978,125998,126002,126004,126030,126044,126050,126052,126056,126094,126108,126136,126146,126148,126152,126160,126182,126202,126222,126236,126264,126320,126334,126338,126340,126344,126352,126366,126368,126412,126450,126452,126486,126502,126508,126522,126534,126540,126552,126574,126578,126580,126598,126604,126616,126640,126654,126670,126684,126690,126692,126696,126738,126754,126756,126760,126774,126786,126788,126792,126800,126814,126822,126828,126842,126894,126898,126900,126934,127126,127142,127148,127162,127178,127186,127188,127254,127270,127276,127290,127302,127308,127320,127342,127346,127348,127370,127378,127380,127394,127396,127400,127450,127510,127526,127532,127546,127558,127576,127598,127602,127604,127622,127628,127640,127664,127678,127694,127708,127714,127716,127720,127734,127754,127762,127764,127778,127784,127810,127812,127816,127824,127838,127846,127866,127898,127918,127922,127924,128022,128038,128044,128058,128070,128076,128088,128110,128114,128116,128134,128140,128152,128176,128190,128206,128220,128226,128228,128232,128246,128262,128268,128280,128304,128318,128352,128380,128398,128412,128440,128450,128452,128456,128464,128478,128486,128492,128506,128522,128530,128532,128546,128548,128552,128566,128578,128580,128584,128592,128606,128614,128634,128642,128644,128648,128656,128670,128672,128700,128716,128754,128756,128794,128814,128818,128820,128846,128860,128866,128868,128872,128886,128918,128934,128940,128954,128978,128980,129178,129198,129202,129204,129238,129258,129306,129326,129330,129332,129358,129372,129378,129380,129384,129398,129430,129446,129452,129466,129482,129490,129492,129562,129582,129586,129588,129614,129628,129634,129636,129640,129654,129678,129692,129720,129730,129732,129736,129744,129758,129766,129772,129814,129830,129836,129850,129862,129868,129880,129902,129906,129908,129930,129938,129940,129954,129956,129960,129974,130010]),e.CODEWORD_TABLE=Int32Array.from([2627,1819,2622,2621,1813,1812,2729,2724,2723,2779,2774,2773,902,896,908,868,865,861,859,2511,873,871,1780,835,2493,825,2491,842,837,844,1764,1762,811,810,809,2483,807,2482,806,2480,815,814,813,812,2484,817,816,1745,1744,1742,1746,2655,2637,2635,2626,2625,2623,2628,1820,2752,2739,2737,2728,2727,2725,2730,2785,2783,2778,2777,2775,2780,787,781,747,739,736,2413,754,752,1719,692,689,681,2371,678,2369,700,697,694,703,1688,1686,642,638,2343,631,2341,627,2338,651,646,643,2345,654,652,1652,1650,1647,1654,601,599,2322,596,2321,594,2319,2317,611,610,608,606,2324,603,2323,615,614,612,1617,1616,1614,1612,616,1619,1618,2575,2538,2536,905,901,898,909,2509,2507,2504,870,867,864,860,2512,875,872,1781,2490,2489,2487,2485,1748,836,834,832,830,2494,827,2492,843,841,839,845,1765,1763,2701,2676,2674,2653,2648,2656,2634,2633,2631,2629,1821,2638,2636,2770,2763,2761,2750,2745,2753,2736,2735,2733,2731,1848,2740,2738,2786,2784,591,588,576,569,566,2296,1590,537,534,526,2276,522,2274,545,542,539,548,1572,1570,481,2245,466,2242,462,2239,492,485,482,2249,496,494,1534,1531,1528,1538,413,2196,406,2191,2188,425,419,2202,415,2199,432,430,427,1472,1467,1464,433,1476,1474,368,367,2160,365,2159,362,2157,2155,2152,378,377,375,2166,372,2165,369,2162,383,381,379,2168,1419,1418,1416,1414,385,1411,384,1423,1422,1420,1424,2461,802,2441,2439,790,786,783,794,2409,2406,2403,750,742,738,2414,756,753,1720,2367,2365,2362,2359,1663,693,691,684,2373,680,2370,702,699,696,704,1690,1687,2337,2336,2334,2332,1624,2329,1622,640,637,2344,634,2342,630,2340,650,648,645,2346,655,653,1653,1651,1649,1655,2612,2597,2595,2571,2568,2565,2576,2534,2529,2526,1787,2540,2537,907,904,900,910,2503,2502,2500,2498,1768,2495,1767,2510,2508,2506,869,866,863,2513,876,874,1782,2720,2713,2711,2697,2694,2691,2702,2672,2670,2664,1828,2678,2675,2647,2646,2644,2642,1823,2639,1822,2654,2652,2650,2657,2771,1855,2765,2762,1850,1849,2751,2749,2747,2754,353,2148,344,342,336,2142,332,2140,345,1375,1373,306,2130,299,2128,295,2125,319,314,311,2132,1354,1352,1349,1356,262,257,2101,253,2096,2093,274,273,267,2107,263,2104,280,278,275,1316,1311,1308,1320,1318,2052,202,2050,2044,2040,219,2063,212,2060,208,2055,224,221,2066,1260,1258,1252,231,1248,229,1266,1264,1261,1268,155,1998,153,1996,1994,1991,1988,165,164,2007,162,2006,159,2003,2e3,172,171,169,2012,166,2010,1186,1184,1182,1179,175,1176,173,1192,1191,1189,1187,176,1194,1193,2313,2307,2305,592,589,2294,2292,2289,578,572,568,2297,580,1591,2272,2267,2264,1547,538,536,529,2278,525,2275,547,544,541,1574,1571,2237,2235,2229,1493,2225,1489,478,2247,470,2244,465,2241,493,488,484,2250,498,495,1536,1533,1530,1539,2187,2186,2184,2182,1432,2179,1430,2176,1427,414,412,2197,409,2195,405,2193,2190,426,424,421,2203,418,2201,431,429,1473,1471,1469,1466,434,1477,1475,2478,2472,2470,2459,2457,2454,2462,803,2437,2432,2429,1726,2443,2440,792,789,785,2401,2399,2393,1702,2389,1699,2411,2408,2405,745,741,2415,758,755,1721,2358,2357,2355,2353,1661,2350,1660,2347,1657,2368,2366,2364,2361,1666,690,687,2374,683,2372,701,698,705,1691,1689,2619,2617,2610,2608,2605,2613,2593,2588,2585,1803,2599,2596,2563,2561,2555,1797,2551,1795,2573,2570,2567,2577,2525,2524,2522,2520,1786,2517,1785,2514,1783,2535,2533,2531,2528,1788,2541,2539,906,903,911,2721,1844,2715,2712,1838,1836,2699,2696,2693,2703,1827,1826,1824,2673,2671,2669,2666,1829,2679,2677,1858,1857,2772,1854,1853,1851,1856,2766,2764,143,1987,139,1986,135,133,131,1984,128,1983,125,1981,138,137,136,1985,1133,1132,1130,112,110,1974,107,1973,104,1971,1969,122,121,119,117,1977,114,1976,124,1115,1114,1112,1110,1117,1116,84,83,1953,81,1952,78,1950,1948,1945,94,93,91,1959,88,1958,85,1955,99,97,95,1961,1086,1085,1083,1081,1078,100,1090,1089,1087,1091,49,47,1917,44,1915,1913,1910,1907,59,1926,56,1925,53,1922,1919,66,64,1931,61,1929,1042,1040,1038,71,1035,70,1032,68,1048,1047,1045,1043,1050,1049,12,10,1869,1867,1864,1861,21,1880,19,1877,1874,1871,28,1888,25,1886,22,1883,982,980,977,974,32,30,991,989,987,984,34,995,994,992,2151,2150,2147,2146,2144,356,355,354,2149,2139,2138,2136,2134,1359,343,341,338,2143,335,2141,348,347,346,1376,1374,2124,2123,2121,2119,1326,2116,1324,310,308,305,2131,302,2129,298,2127,320,318,316,313,2133,322,321,1355,1353,1351,1357,2092,2091,2089,2087,1276,2084,1274,2081,1271,259,2102,256,2100,252,2098,2095,272,269,2108,266,2106,281,279,277,1317,1315,1313,1310,282,1321,1319,2039,2037,2035,2032,1203,2029,1200,1197,207,2053,205,2051,201,2049,2046,2043,220,218,2064,215,2062,211,2059,228,226,223,2069,1259,1257,1254,232,1251,230,1267,1265,1263,2316,2315,2312,2311,2309,2314,2304,2303,2301,2299,1593,2308,2306,590,2288,2287,2285,2283,1578,2280,1577,2295,2293,2291,579,577,574,571,2298,582,581,1592,2263,2262,2260,2258,1545,2255,1544,2252,1541,2273,2271,2269,2266,1550,535,532,2279,528,2277,546,543,549,1575,1573,2224,2222,2220,1486,2217,1485,2214,1482,1479,2238,2236,2234,2231,1496,2228,1492,480,477,2248,473,2246,469,2243,490,487,2251,497,1537,1535,1532,2477,2476,2474,2479,2469,2468,2466,2464,1730,2473,2471,2453,2452,2450,2448,1729,2445,1728,2460,2458,2456,2463,805,804,2428,2427,2425,2423,1725,2420,1724,2417,1722,2438,2436,2434,2431,1727,2444,2442,793,791,788,795,2388,2386,2384,1697,2381,1696,2378,1694,1692,2402,2400,2398,2395,1703,2392,1701,2412,2410,2407,751,748,744,2416,759,757,1807,2620,2618,1806,1805,2611,2609,2607,2614,1802,1801,1799,2594,2592,2590,2587,1804,2600,2598,1794,1793,1791,1789,2564,2562,2560,2557,1798,2554,1796,2574,2572,2569,2578,1847,1846,2722,1843,1842,1840,1845,2716,2714,1835,1834,1832,1830,1839,1837,2700,2698,2695,2704,1817,1811,1810,897,862,1777,829,826,838,1760,1758,808,2481,1741,1740,1738,1743,2624,1818,2726,2776,782,740,737,1715,686,679,695,1682,1680,639,628,2339,647,644,1645,1643,1640,1648,602,600,597,595,2320,593,2318,609,607,604,1611,1610,1608,1606,613,1615,1613,2328,926,924,892,886,899,857,850,2505,1778,824,823,821,819,2488,818,2486,833,831,828,840,1761,1759,2649,2632,2630,2746,2734,2732,2782,2781,570,567,1587,531,527,523,540,1566,1564,476,467,463,2240,486,483,1524,1521,1518,1529,411,403,2192,399,2189,423,416,1462,1457,1454,428,1468,1465,2210,366,363,2158,360,2156,357,2153,376,373,370,2163,1410,1409,1407,1405,382,1402,380,1417,1415,1412,1421,2175,2174,777,774,771,784,732,725,722,2404,743,1716,676,674,668,2363,665,2360,685,1684,1681,626,624,622,2335,620,2333,617,2330,641,635,649,1646,1644,1642,2566,928,925,2530,2527,894,891,888,2501,2499,2496,858,856,854,851,1779,2692,2668,2665,2645,2643,2640,2651,2768,2759,2757,2744,2743,2741,2748,352,1382,340,337,333,1371,1369,307,300,296,2126,315,312,1347,1342,1350,261,258,250,2097,246,2094,271,268,264,1306,1301,1298,276,1312,1309,2115,203,2048,195,2045,191,2041,213,209,2056,1246,1244,1238,225,1234,222,1256,1253,1249,1262,2080,2079,154,1997,150,1995,147,1992,1989,163,160,2004,156,2001,1175,1174,1172,1170,1167,170,1164,167,1185,1183,1180,1177,174,1190,1188,2025,2024,2022,587,586,564,559,556,2290,573,1588,520,518,512,2268,508,2265,530,1568,1565,461,457,2233,450,2230,446,2226,479,471,489,1526,1523,1520,397,395,2185,392,2183,389,2180,2177,410,2194,402,422,1463,1461,1459,1456,1470,2455,799,2433,2430,779,776,773,2397,2394,2390,734,728,724,746,1717,2356,2354,2351,2348,1658,677,675,673,670,667,688,1685,1683,2606,2589,2586,2559,2556,2552,927,2523,2521,2518,2515,1784,2532,895,893,890,2718,2709,2707,2689,2687,2684,2663,2662,2660,2658,1825,2667,2769,1852,2760,2758,142,141,1139,1138,134,132,129,126,1982,1129,1128,1126,1131,113,111,108,105,1972,101,1970,120,118,115,1109,1108,1106,1104,123,1113,1111,82,79,1951,75,1949,72,1946,92,89,86,1956,1077,1076,1074,1072,98,1069,96,1084,1082,1079,1088,1968,1967,48,45,1916,42,1914,39,1911,1908,60,57,54,1923,50,1920,1031,1030,1028,1026,67,1023,65,1020,62,1041,1039,1036,1033,69,1046,1044,1944,1943,1941,11,9,1868,7,1865,1862,1859,20,1878,16,1875,13,1872,970,968,966,963,29,960,26,23,983,981,978,975,33,971,31,990,988,985,1906,1904,1902,993,351,2145,1383,331,330,328,326,2137,323,2135,339,1372,1370,294,293,291,289,2122,286,2120,283,2117,309,303,317,1348,1346,1344,245,244,242,2090,239,2088,236,2085,2082,260,2099,249,270,1307,1305,1303,1300,1314,189,2038,186,2036,183,2033,2030,2026,206,198,2047,194,216,1247,1245,1243,1240,227,1237,1255,2310,2302,2300,2286,2284,2281,565,563,561,558,575,1589,2261,2259,2256,2253,1542,521,519,517,514,2270,511,533,1569,1567,2223,2221,2218,2215,1483,2211,1480,459,456,453,2232,449,474,491,1527,1525,1522,2475,2467,2465,2451,2449,2446,801,800,2426,2424,2421,2418,1723,2435,780,778,775,2387,2385,2382,2379,1695,2375,1693,2396,735,733,730,727,749,1718,2616,2615,2604,2603,2601,2584,2583,2581,2579,1800,2591,2550,2549,2547,2545,1792,2542,1790,2558,929,2719,1841,2710,2708,1833,1831,2690,2688,2686,1815,1809,1808,1774,1756,1754,1737,1736,1734,1739,1816,1711,1676,1674,633,629,1638,1636,1633,1641,598,1605,1604,1602,1600,605,1609,1607,2327,887,853,1775,822,820,1757,1755,1584,524,1560,1558,468,464,1514,1511,1508,1519,408,404,400,1452,1447,1444,417,1458,1455,2208,364,361,358,2154,1401,1400,1398,1396,374,1393,371,1408,1406,1403,1413,2173,2172,772,726,723,1712,672,669,666,682,1678,1675,625,623,621,618,2331,636,632,1639,1637,1635,920,918,884,880,889,849,848,847,846,2497,855,852,1776,2641,2742,2787,1380,334,1367,1365,301,297,1340,1338,1335,1343,255,251,247,1296,1291,1288,265,1302,1299,2113,204,196,192,2042,1232,1230,1224,214,1220,210,1242,1239,1235,1250,2077,2075,151,148,1993,144,1990,1163,1162,1160,1158,1155,161,1152,157,1173,1171,1168,1165,168,1181,1178,2021,2020,2018,2023,585,560,557,1585,516,509,1562,1559,458,447,2227,472,1516,1513,1510,398,396,393,390,2181,386,2178,407,1453,1451,1449,1446,420,1460,2209,769,764,720,712,2391,729,1713,664,663,661,659,2352,656,2349,671,1679,1677,2553,922,919,2519,2516,885,883,881,2685,2661,2659,2767,2756,2755,140,1137,1136,130,127,1125,1124,1122,1127,109,106,102,1103,1102,1100,1098,116,1107,1105,1980,80,76,73,1947,1068,1067,1065,1063,90,1060,87,1075,1073,1070,1080,1966,1965,46,43,40,1912,36,1909,1019,1018,1016,1014,58,1011,55,1008,51,1029,1027,1024,1021,63,1037,1034,1940,1939,1937,1942,8,1866,4,1863,1,1860,956,954,952,949,946,17,14,969,967,964,961,27,957,24,979,976,972,1901,1900,1898,1896,986,1905,1903,350,349,1381,329,327,324,1368,1366,292,290,287,284,2118,304,1341,1339,1337,1345,243,240,237,2086,233,2083,254,1297,1295,1293,1290,1304,2114,190,187,184,2034,180,2031,177,2027,199,1233,1231,1229,1226,217,1223,1241,2078,2076,584,555,554,552,550,2282,562,1586,507,506,504,502,2257,499,2254,515,1563,1561,445,443,441,2219,438,2216,435,2212,460,454,475,1517,1515,1512,2447,798,797,2422,2419,770,768,766,2383,2380,2376,721,719,717,714,731,1714,2602,2582,2580,2548,2546,2543,923,921,2717,2706,2705,2683,2682,2680,1771,1752,1750,1733,1732,1731,1735,1814,1707,1670,1668,1631,1629,1626,1634,1599,1598,1596,1594,1603,1601,2326,1772,1753,1751,1581,1554,1552,1504,1501,1498,1509,1442,1437,1434,401,1448,1445,2206,1392,1391,1389,1387,1384,359,1399,1397,1394,1404,2171,2170,1708,1672,1669,619,1632,1630,1628,1773,1378,1363,1361,1333,1328,1336,1286,1281,1278,248,1292,1289,2111,1218,1216,1210,197,1206,193,1228,1225,1221,1236,2073,2071,1151,1150,1148,1146,152,1143,149,1140,145,1161,1159,1156,1153,158,1169,1166,2017,2016,2014,2019,1582,510,1556,1553,452,448,1506,1500,394,391,387,1443,1441,1439,1436,1450,2207,765,716,713,1709,662,660,657,1673,1671,916,914,879,878,877,882,1135,1134,1121,1120,1118,1123,1097,1096,1094,1092,103,1101,1099,1979,1059,1058,1056,1054,77,1051,74,1066,1064,1061,1071,1964,1963,1007,1006,1004,1002,999,41,996,37,1017,1015,1012,1009,52,1025,1022,1936,1935,1933,1938,942,940,938,935,932,5,2,955,953,950,947,18,943,15,965,962,958,1895,1894,1892,1890,973,1899,1897,1379,325,1364,1362,288,285,1334,1332,1330,241,238,234,1287,1285,1283,1280,1294,2112,188,185,181,178,2028,1219,1217,1215,1212,200,1209,1227,2074,2072,583,553,551,1583,505,503,500,513,1557,1555,444,442,439,436,2213,455,451,1507,1505,1502,796,763,762,760,767,711,710,708,706,2377,718,715,1710,2544,917,915,2681,1627,1597,1595,2325,1769,1749,1747,1499,1438,1435,2204,1390,1388,1385,1395,2169,2167,1704,1665,1662,1625,1623,1620,1770,1329,1282,1279,2109,1214,1207,1222,2068,2065,1149,1147,1144,1141,146,1157,1154,2013,2011,2008,2015,1579,1549,1546,1495,1487,1433,1431,1428,1425,388,1440,2205,1705,658,1667,1664,1119,1095,1093,1978,1057,1055,1052,1062,1962,1960,1005,1003,1e3,997,38,1013,1010,1932,1930,1927,1934,941,939,936,933,6,930,3,951,948,944,1889,1887,1884,1881,959,1893,1891,35,1377,1360,1358,1327,1325,1322,1331,1277,1275,1272,1269,235,1284,2110,1205,1204,1201,1198,182,1195,179,1213,2070,2067,1580,501,1551,1548,440,437,1497,1494,1490,1503,761,709,707,1706,913,912,2198,1386,2164,2161,1621,1766,2103,1208,2058,2054,1145,1142,2005,2002,1999,2009,1488,1429,1426,2200,1698,1659,1656,1975,1053,1957,1954,1001,998,1924,1921,1918,1928,937,934,931,1879,1876,1873,1870,945,1885,1882,1323,1273,1270,2105,1202,1199,1196,1211,2061,2057,1576,1543,1540,1484,1481,1478,1491,1700]),e}()},vy0s:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("Pmi9"),a=n("wXP5");t.default=function(){function e(e,t,n,i,r,a,o){this.image=e,this.startX=t,this.startY=n,this.width=i,this.height=r,this.moduleSize=a,this.resultPointCallback=o,this.possibleCenters=[],this.crossCheckStateCount=new Int32Array(3)}return e.prototype.find=function(){for(var e=this.startX,t=this.height,n=e+this.width,i=this.startY+t/2,r=new Int32Array(3),o=this.image,s=0;s=n)return!1;return!0},e.prototype.crossCheckVertical=function(t,n,i,r){var a=this.image,o=a.getHeight(),s=this.crossCheckStateCount;s[0]=0,s[1]=0,s[2]=0;for(var u=t;u>=0&&a.get(n,u)&&s[1]<=i;)s[1]++,u--;if(u<0||s[1]>i)return NaN;for(;u>=0&&!a.get(n,u)&&s[0]<=i;)s[0]++,u--;if(s[0]>i)return NaN;for(u=t+1;ui)return NaN;for(;ui||5*Math.abs(s[0]+s[1]+s[2]-r)>=2*r?NaN:this.foundPatternCross(s)?e.centerFromEnd(s,u):NaN},e.prototype.handlePossibleCenter=function(t,n,a){var o,s,u=t[0]+t[1]+t[2],F=e.centerFromEnd(t,a),d=this.crossCheckVertical(n,F,2*t[1],u);if(!isNaN(d)){var h=(t[0]+t[1]+t[2])/3;try{for(var f=i(this.possibleCenters),l=f.next();!l.done;l=f.next()){var c=l.value;if(c.aboutEquals(h,d,F))return c.combineEstimate(d,F,h)}}catch(g){o={error:g}}finally{try{l&&!l.done&&(s=f.return)&&s.call(f)}finally{if(o)throw o.error}}var m=new r.default(F,d,h);this.possibleCenters.push(m),null!=this.resultPointCallback&&this.resultPointCallback.foundPossibleResultPoint(m)}return null},e}()},wO3O:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("1alA"),r=n("KuZJ"),a=n("yKVe"),o=n("OlRx"),s=n("hkAl"),u=n("FQBZ"),F=n("7RB1"),d=function(e){return e[e.UPPER=0]="UPPER",e[e.LOWER=1]="LOWER",e[e.MIXED=2]="MIXED",e[e.DIGIT=3]="DIGIT",e[e.PUNCT=4]="PUNCT",e[e.BINARY=5]="BINARY",e}({});t.default=function(){function e(){}return e.prototype.decode=function(t){this.ddata=t;var n=t.getBits(),r=this.extractBits(n),a=this.correctBits(r),o=e.convertBoolArrayToByteArray(a),s=e.getEncodedData(a),u=new i.default(o,s,null,null);return u.setNumBits(a.length),u},e.highLevelDecode=function(e){return this.getEncodedData(e)},e.getEncodedData=function(t){for(var n=t.length,i=d.UPPER,r=d.UPPER,a="",o=0;o1,m,m+i-1),m+=i-1;else for(var p=i-1;p>=0;--p)c[m++]=0!=(g&1<=8?e.readCode(t,n,8):e.readCode(t,n,i)<<8-i},e.convertBoolArrayToByteArray=function(t){for(var n=new Uint8Array((t.length+7)/8),i=0;i","?","[","]","{","}","CTRL_UL"],e.DIGIT_TABLE=["CTRL_PS"," ","0","1","2","3","4","5","6","7","8","9",",",".","CTRL_UL","CTRL_US"],e}()},wXP5:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.getNotFoundInstance=function(){return new t},t}(a.default)},wYZs:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){function e(e,t){this.dataBytes=e,this.errorCorrectionBytes=t}return e.prototype.getDataBytes=function(){return this.dataBytes},e.prototype.getErrorCorrectionBytes=function(){return this.errorCorrectionBytes},e}()},wwf5:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var a=n("rBn5");t.default=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t}(a.default)},xY9F:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("PRO/"),r=n("tupf"),a=n("KZRM"),o=n("Xuyn"),s=n("wXP5");t.default=function(){function e(e){this.image=e,this.rectangleDetector=new o.default(this.image)}return e.prototype.detect=function(){var t=this.rectangleDetector.detect(),n=this.detectSolid1(t);if((n=this.detectSolid2(n))[3]=this.correctTopRight(n),!n[3])throw new s.default;var i=(n=this.shiftToModuleCenter(n))[0],a=n[1],o=n[2],u=n[3],F=this.transitionsBetween(i,u)+1,d=this.transitionsBetween(o,u)+1;1==(1&F)&&(F+=1),1==(1&d)&&(d+=1),4*F<7*d&&4*d<7*F&&(F=d=Math.max(F,d));var h=e.sampleGrid(this.image,i,a,o,u,F,d);return new r.default(h,[i,a,o,u])},e.shiftPoint=function(e,t,n){var r=(t.getX()-e.getX())/(n+1),a=(t.getY()-e.getY())/(n+1);return new i.default(e.getX()+r,e.getY()+a)},e.moveAway=function(e,t,n){var r=e.getX(),a=e.getY();return ro&&(F=o,d[0]=t,d[1]=n,d[2]=i,d[3]=r),F>s&&(F=s,d[0]=n,d[1]=i,d[2]=r,d[3]=t),F>u&&(d[0]=i,d[1]=r,d[2]=t,d[3]=n),d},e.prototype.detectSolid2=function(t){var n=t[0],i=t[1],r=t[2],a=t[3],o=this.transitionsBetween(n,a),s=e.shiftPoint(i,r,4*(o+1)),u=e.shiftPoint(r,i,4*(o+1));return this.transitionsBetween(s,n)this.transitionsBetween(F,f)+this.transitionsBetween(d,f)?h:f:h:this.isValid(f)?f:null},e.prototype.shiftToModuleCenter=function(t){var n=t[0],i=t[1],r=t[2],a=t[3],o=this.transitionsBetween(n,a)+1,s=this.transitionsBetween(r,a)+1,u=e.shiftPoint(n,i,4*s),F=e.shiftPoint(r,i,4*o);1==(1&(o=this.transitionsBetween(u,a)+1))&&(o+=1),1==(1&(s=this.transitionsBetween(F,a)+1))&&(s+=1);var d,h,f=(n.getX()+i.getX()+r.getX()+a.getX())/4,l=(n.getY()+i.getY()+r.getY()+a.getY())/4;return n=e.moveAway(n,f,l),i=e.moveAway(i,f,l),r=e.moveAway(r,f,l),a=e.moveAway(a,f,l),u=e.shiftPoint(n,i,4*s),u=e.shiftPoint(u,a,4*o),d=e.shiftPoint(i,n,4*s),d=e.shiftPoint(d,r,4*o),F=e.shiftPoint(r,a,4*s),F=e.shiftPoint(F,i,4*o),h=e.shiftPoint(a,r,4*s),[u,d,F,h=e.shiftPoint(h,n,4*o)]},e.prototype.isValid=function(e){return e.getX()>=0&&e.getX()0&&e.getY()Math.abs(r-n);if(o){var s=n;n=i,i=s,s=r,r=a,a=s}for(var u=Math.abs(r-n),F=Math.abs(a-i),d=-u/2,h=i0){if(g===a)break;g+=h,d-=u}}return l},e}()},xhaO:function(e,t,n){"use strict";var i=this&&this.__values||function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}};Object.defineProperty(t,"__esModule",{value:!0});var r=n("PRO/"),a=n("poFM"),o=n("kAtF"),s=n("ejzt");t.default=function(){function e(){}return e.detectMultiple=function(t,n,i){var r=t.getBlackMatrix(),a=e.detect(i,r);return a.length||((r=r.clone()).rotate180(),a=e.detect(i,r)),new s.default(r,a)},e.detect=function(t,n){for(var r,a,o=new Array,s=0,u=0,F=!1;s0;){if(null==(c=e.findGuardPattern(t,s,--a,i,!1,u,h))){a++;break}m=c}F[0]=new r.default(m[0],a),F[1]=new r.default(m[1],a),d=!0;break}var f=a+1;if(d){for(var l=0,c=Int32Array.from([Math.trunc(F[0].getX()),Math.trunc(F[1].getX())]);fe.SKIPPED_ROW_COUNT_MAX)break;l++}}F[2]=new r.default(c[0],f-=l+1),F[3]=new r.default(c[1],f)}return f-a0&&h++h?d-h:h-d;if(f>n)return 1/0;u+=f}return u/r},e.INDEXES_START_PATTERN=Int32Array.from([0,4,1,5]),e.INDEXES_STOP_PATTERN=Int32Array.from([6,2,7,3]),e.MAX_AVG_VARIANCE=.42,e.MAX_INDIVIDUAL_VARIANCE=.8,e.START_PATTERN=Int32Array.from([8,1,1,1,1,1,1,3]),e.STOP_PATTERN=Int32Array.from([7,1,1,3,1,1,1,2,1]),e.MAX_PIXEL_DRIFT=3,e.MAX_PATTERN_DRIFT=5,e.SKIPPED_ROW_COUNT_MAX=25,e.ROW_STEP=5,e.BARCODE_MIN_HEIGHT=10,e}()},yKVe:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("KuZJ"),r=n("BBG+"),a=n("cohZ"),o=n("OlRx");t.default=function(){function e(e){this.field=e}return e.prototype.decode=function(e,t){for(var n=this.field,o=new r.default(n,e),s=new Int32Array(t),u=!0,F=0;F=(n/2|0);){var h=s,f=F;if(F=d,(s=u).isZero())throw new a.default("r_{i-1} was zero");u=h;for(var l=r.getZero(),c=s.getCoefficient(s.getDegree()),m=r.inverse(c);u.getDegree()>=s.getDegree()&&!u.isZero();){var g=u.getDegree()-s.getDegree(),p=r.multiply(u.getCoefficient(u.getDegree()),m);l=l.addOrSubtract(r.buildMonomial(g,p)),u=u.addOrSubtract(s.multiplyByMonomial(g,p))}if(d=l.multiply(F).addOrSubtract(f),u.getDegree()>=s.getDegree())throw new o.default("Division algorithm failed to reduce polynomial?")}var w=d.getCoefficient(0);if(0===w)throw new a.default("sigmaTilde(0) was zero");var y=r.inverse(w);return[d.multiplyScalar(y),u.multiplyScalar(y)]},e.prototype.findErrorLocations=function(e){var t=e.getDegree();if(1===t)return Int32Array.from([e.getCoefficient(1)]);for(var n=new Int32Array(t),i=0,r=this.field,o=1;o>\n"),e.toString()},e.prototype.setMode=function(e){this.mode=e},e.prototype.setECLevel=function(e){this.ecLevel=e},e.prototype.setVersion=function(e){this.version=e},e.prototype.setMaskPattern=function(e){this.maskPattern=e},e.prototype.setMatrix=function(e){this.matrix=e},e.isValidMaskPattern=function(t){return t>=0&&t=0&&(n=e.isRange(o,a,!1))}return i},t.checkChecksum=function(e){return t.checkStandardUPCEANChecksum(e)},t.checkStandardUPCEANChecksum=function(e){var n=e.length;if(0===n)return!1;var i=parseInt(e.charAt(n-1),10);return t.getStandardUPCEANChecksum(e.substring(0,n-1))===i},t.getStandardUPCEANChecksum=function(e){for(var t=e.length,n=0,i=t-1;i>=0;i-=2){if((r=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0))<0||r>9)throw new s.default;n+=r}for(n*=3,i=t-2;i>=0;i-=2){var r;if((r=e.charAt(i).charCodeAt(0)-"0".charCodeAt(0))<0||r>9)throw new s.default;n+=r}return(1e3-n)%10},t.decodeEnd=function(e,n){return t.findGuardPattern(e,n,!1,t.START_END_PATTERN,new Array(t.START_END_PATTERN.length).fill(0))},t.findGuardPattern=function(e,n,i,r,s){for(var u=e.getSize(),F=0,d=n=i?e.getNextUnset(n):e.getNextSet(n),h=r.length,f=i,l=n;l=0)return u;throw new o.default},t.MAX_AVG_VARIANCE=.48,t.MAX_INDIVIDUAL_VARIANCE=.7,t.START_END_PATTERN=[1,1,1],t.MIDDLE_PATTERN=[1,1,1,1,1],t.END_PATTERN=[1,1,1,1,1,1],t.L_PATTERNS=[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],t}(a.default)},zwFz:function(i,r,o){"use strict";o.d(r,"a",(function(){return D})),o.d(r,"b",(function(){return _})),o.d(r,"c",(function(){return E})),o.d(r,"d",(function(){return m}));var u=o("fXoL"),F=o("ofXK");function d(e,t){if(1&e&&u.Ic(0),2&e){var n=u.jc(2);u.Jc(n.unified)}}function h(e,t){if(1&e){var n=u.Zb();u.Yb(0,"button",2),u.fc("click",(function(e){return u.xc(n),u.jc().handleClick(e)}))("mouseenter",(function(e){return u.xc(n),u.jc().handleOver(e)}))("mouseleave",(function(e){return u.xc(n),u.jc().handleLeave(e)})),u.Yb(1,"span",3),u.Gc(2,d,1,1,"ng-template",4),u.nc(3),u.Xb(),u.Xb()}if(2&e){var i=u.jc();u.Kb("emoji-mart-emoji-native",i.isNative)("emoji-mart-emoji-custom",i.custom),u.pc("title",i.title),u.Gb("aria-label",i.label),u.Fb(1),u.pc("ngStyle",i.style),u.Fb(1),u.pc("ngIf",i.isNative)}}function f(e,t){if(1&e&&u.Ic(0),2&e){var n=u.jc(2);u.Jc(n.unified)}}function l(e,t){if(1&e){var n=u.Zb();u.Yb(0,"span",5),u.fc("click",(function(e){return u.xc(n),u.jc().handleClick(e)}))("mouseenter",(function(e){return u.xc(n),u.jc().handleOver(e)}))("mouseleave",(function(e){return u.xc(n),u.jc().handleLeave(e)})),u.Yb(1,"span",3),u.Gc(2,f,1,1,"ng-template",4),u.nc(3,1),u.Xb(),u.Xb()}if(2&e){var i=u.jc();u.Kb("emoji-mart-emoji-native",i.isNative)("emoji-mart-emoji-custom",i.custom),u.pc("title",i.title),u.Gb("aria-label",i.label),u.Fb(1),u.pc("ngStyle",i.style),u.Fb(1),u.pc("ngIf",i.isNative)}}var c=["*","*"],m=[{id:"people",name:"Smileys & People",emojis:["1F600","1F603","1F604","1F601","1F606","1F605","1F923","1F602","1F642","1F643","1F609","1F60A","1F607","1F970","1F60D","1F929","1F618","1F617","263A-FE0F","1F61A","1F619","1F60B","1F61B","1F61C","1F92A","1F61D","1F911","1F917","1F92D","1F92B","1F914","1F910","1F928","1F610","1F611","1F636","1F60F","1F612","1F644","1F62C","1F925","1F60C","1F614","1F62A","1F924","1F634","1F637","1F912","1F915","1F922","1F92E","1F927","1F975","1F976","1F974","1F635","1F92F","1F920","1F973","1F60E","1F913","1F9D0","1F615","1F61F","1F641","2639-FE0F","1F62E","1F62F","1F632","1F633","1F97A","1F626","1F627","1F628","1F630","1F625","1F622","1F62D","1F631","1F616","1F623","1F61E","1F613","1F629","1F62B","1F971","1F624","1F621","1F620","1F92C","1F608","1F47F","1F480","2620-FE0F","1F4A9","1F921","1F479","1F47A","1F47B","1F47D","1F47E","1F916","1F63A","1F638","1F639","1F63B","1F63C","1F63D","1F640","1F63F","1F63E","1F648","1F649","1F64A","1F44B","1F91A","1F590-FE0F","270B","1F596","1F44C","1F90F","270C-FE0F","1F91E","1F91F","1F918","1F919","1F448","1F449","1F446","1F595","1F447","261D-FE0F","1F44D","1F44E","270A","1F44A","1F91B","1F91C","1F44F","1F64C","1F450","1F932","1F91D","1F64F","270D-FE0F","1F485","1F933","1F4AA","1F9BE","1F9BF","1F9B5","1F9B6","1F442","1F9BB","1F443","1F9E0","1F9B7","1F9B4","1F440","1F441-FE0F","1F445","1F444","1F476","1F9D2","1F466","1F467","1F9D1","1F471","1F468","1F9D4","1F468-200D-1F9B0","1F468-200D-1F9B1","1F468-200D-1F9B3","1F468-200D-1F9B2","1F469","1F469-200D-1F9B0","1F9D1-200D-1F9B0","1F469-200D-1F9B1","1F9D1-200D-1F9B1","1F469-200D-1F9B3","1F9D1-200D-1F9B3","1F469-200D-1F9B2","1F9D1-200D-1F9B2","1F471-200D-2640-FE0F","1F471-200D-2642-FE0F","1F9D3","1F474","1F475","1F64D","1F64D-200D-2642-FE0F","1F64D-200D-2640-FE0F","1F64E","1F64E-200D-2642-FE0F","1F64E-200D-2640-FE0F","1F645","1F645-200D-2642-FE0F","1F645-200D-2640-FE0F","1F646","1F646-200D-2642-FE0F","1F646-200D-2640-FE0F","1F481","1F481-200D-2642-FE0F","1F481-200D-2640-FE0F","1F64B","1F64B-200D-2642-FE0F","1F64B-200D-2640-FE0F","1F9CF","1F9CF-200D-2642-FE0F","1F9CF-200D-2640-FE0F","1F647","1F647-200D-2642-FE0F","1F647-200D-2640-FE0F","1F926","1F926-200D-2642-FE0F","1F926-200D-2640-FE0F","1F937","1F937-200D-2642-FE0F","1F937-200D-2640-FE0F","1F9D1-200D-2695-FE0F","1F468-200D-2695-FE0F","1F469-200D-2695-FE0F","1F9D1-200D-1F393","1F468-200D-1F393","1F469-200D-1F393","1F9D1-200D-1F3EB","1F468-200D-1F3EB","1F469-200D-1F3EB","1F9D1-200D-2696-FE0F","1F468-200D-2696-FE0F","1F469-200D-2696-FE0F","1F9D1-200D-1F33E","1F468-200D-1F33E","1F469-200D-1F33E","1F9D1-200D-1F373","1F468-200D-1F373","1F469-200D-1F373","1F9D1-200D-1F527","1F468-200D-1F527","1F469-200D-1F527","1F9D1-200D-1F3ED","1F468-200D-1F3ED","1F469-200D-1F3ED","1F9D1-200D-1F4BC","1F468-200D-1F4BC","1F469-200D-1F4BC","1F9D1-200D-1F52C","1F468-200D-1F52C","1F469-200D-1F52C","1F9D1-200D-1F4BB","1F468-200D-1F4BB","1F469-200D-1F4BB","1F9D1-200D-1F3A4","1F468-200D-1F3A4","1F469-200D-1F3A4","1F9D1-200D-1F3A8","1F468-200D-1F3A8","1F469-200D-1F3A8","1F9D1-200D-2708-FE0F","1F468-200D-2708-FE0F","1F469-200D-2708-FE0F","1F9D1-200D-1F680","1F468-200D-1F680","1F469-200D-1F680","1F9D1-200D-1F692","1F468-200D-1F692","1F469-200D-1F692","1F46E","1F46E-200D-2642-FE0F","1F46E-200D-2640-FE0F","1F575-FE0F","1F575-FE0F-200D-2642-FE0F","1F575-FE0F-200D-2640-FE0F","1F482","1F482-200D-2642-FE0F","1F482-200D-2640-FE0F","1F477","1F477-200D-2642-FE0F","1F477-200D-2640-FE0F","1F934","1F478","1F473","1F473-200D-2642-FE0F","1F473-200D-2640-FE0F","1F472","1F9D5","1F935","1F470","1F930","1F931","1F47C","1F385","1F936","1F9B8","1F9B8-200D-2642-FE0F","1F9B8-200D-2640-FE0F","1F9B9","1F9B9-200D-2642-FE0F","1F9B9-200D-2640-FE0F","1F9D9","1F9D9-200D-2642-FE0F","1F9D9-200D-2640-FE0F","1F9DA","1F9DA-200D-2642-FE0F","1F9DA-200D-2640-FE0F","1F9DB","1F9DB-200D-2642-FE0F","1F9DB-200D-2640-FE0F","1F9DC","1F9DC-200D-2642-FE0F","1F9DC-200D-2640-FE0F","1F9DD","1F9DD-200D-2642-FE0F","1F9DD-200D-2640-FE0F","1F9DE","1F9DE-200D-2642-FE0F","1F9DE-200D-2640-FE0F","1F9DF","1F9DF-200D-2642-FE0F","1F9DF-200D-2640-FE0F","1F486","1F486-200D-2642-FE0F","1F486-200D-2640-FE0F","1F487","1F487-200D-2642-FE0F","1F487-200D-2640-FE0F","1F6B6","1F6B6-200D-2642-FE0F","1F6B6-200D-2640-FE0F","1F9CD","1F9CD-200D-2642-FE0F","1F9CD-200D-2640-FE0F","1F9CE","1F9CE-200D-2642-FE0F","1F9CE-200D-2640-FE0F","1F9D1-200D-1F9AF","1F468-200D-1F9AF","1F469-200D-1F9AF","1F9D1-200D-1F9BC","1F468-200D-1F9BC","1F469-200D-1F9BC","1F9D1-200D-1F9BD","1F468-200D-1F9BD","1F469-200D-1F9BD","1F3C3","1F3C3-200D-2642-FE0F","1F3C3-200D-2640-FE0F","1F483","1F57A","1F574-FE0F","1F46F","1F46F-200D-2642-FE0F","1F46F-200D-2640-FE0F","1F9D6","1F9D6-200D-2642-FE0F","1F9D6-200D-2640-FE0F","1F9D7","1F9D7-200D-2642-FE0F","1F9D7-200D-2640-FE0F","1F93A","1F3C7","26F7-FE0F","1F3C2","1F3CC-FE0F","1F3CC-FE0F-200D-2642-FE0F","1F3CC-FE0F-200D-2640-FE0F","1F3C4","1F3C4-200D-2642-FE0F","1F3C4-200D-2640-FE0F","1F6A3","1F6A3-200D-2642-FE0F","1F6A3-200D-2640-FE0F","1F3CA","1F3CA-200D-2642-FE0F","1F3CA-200D-2640-FE0F","26F9-FE0F","26F9-FE0F-200D-2642-FE0F","26F9-FE0F-200D-2640-FE0F","1F3CB-FE0F","1F3CB-FE0F-200D-2642-FE0F","1F3CB-FE0F-200D-2640-FE0F","1F6B4","1F6B4-200D-2642-FE0F","1F6B4-200D-2640-FE0F","1F6B5","1F6B5-200D-2642-FE0F","1F6B5-200D-2640-FE0F","1F938","1F938-200D-2642-FE0F","1F938-200D-2640-FE0F","1F93C","1F93C-200D-2642-FE0F","1F93C-200D-2640-FE0F","1F93D","1F93D-200D-2642-FE0F","1F93D-200D-2640-FE0F","1F93E","1F93E-200D-2642-FE0F","1F93E-200D-2640-FE0F","1F939","1F939-200D-2642-FE0F","1F939-200D-2640-FE0F","1F9D8","1F9D8-200D-2642-FE0F","1F9D8-200D-2640-FE0F","1F6C0","1F6CC","1F9D1-200D-1F91D-200D-1F9D1","1F46D","1F46B","1F46C","1F48F","1F469-200D-2764-FE0F-200D-1F48B-200D-1F468","1F468-200D-2764-FE0F-200D-1F48B-200D-1F468","1F469-200D-2764-FE0F-200D-1F48B-200D-1F469","1F491","1F469-200D-2764-FE0F-200D-1F468","1F468-200D-2764-FE0F-200D-1F468","1F469-200D-2764-FE0F-200D-1F469","1F46A","1F468-200D-1F469-200D-1F466","1F468-200D-1F469-200D-1F467","1F468-200D-1F469-200D-1F467-200D-1F466","1F468-200D-1F469-200D-1F466-200D-1F466","1F468-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F468-200D-1F466","1F468-200D-1F468-200D-1F467","1F468-200D-1F468-200D-1F467-200D-1F466","1F468-200D-1F468-200D-1F466-200D-1F466","1F468-200D-1F468-200D-1F467-200D-1F467","1F469-200D-1F469-200D-1F466","1F469-200D-1F469-200D-1F467","1F469-200D-1F469-200D-1F467-200D-1F466","1F469-200D-1F469-200D-1F466-200D-1F466","1F469-200D-1F469-200D-1F467-200D-1F467","1F468-200D-1F466","1F468-200D-1F466-200D-1F466","1F468-200D-1F467","1F468-200D-1F467-200D-1F466","1F468-200D-1F467-200D-1F467","1F469-200D-1F466","1F469-200D-1F466-200D-1F466","1F469-200D-1F467","1F469-200D-1F467-200D-1F466","1F469-200D-1F467-200D-1F467","1F5E3-FE0F","1F464","1F465","1F463","1F48B","1F48C","1F498","1F49D","1F496","1F497","1F493","1F49E","1F495","1F49F","2763-FE0F","1F494","2764-FE0F","1F9E1","1F49B","1F49A","1F499","1F49C","1F90E","1F5A4","1F90D","1F4AF","1F4A2","1F4A5","1F4AB","1F4A6","1F4A8","1F573-FE0F","1F4A3","1F4AC","1F441-FE0F-200D-1F5E8-FE0F","1F5E8-FE0F","1F5EF-FE0F","1F4AD","1F4A4"]},{id:"nature",name:"Animals & Nature",emojis:["1F435","1F412","1F98D","1F9A7","1F436","1F415","1F9AE","1F415-200D-1F9BA","1F429","1F43A","1F98A","1F99D","1F431","1F408","1F981","1F42F","1F405","1F406","1F434","1F40E","1F984","1F993","1F98C","1F42E","1F402","1F403","1F404","1F437","1F416","1F417","1F43D","1F40F","1F411","1F410","1F42A","1F42B","1F999","1F992","1F418","1F98F","1F99B","1F42D","1F401","1F400","1F439","1F430","1F407","1F43F-FE0F","1F994","1F987","1F43B","1F428","1F43C","1F9A5","1F9A6","1F9A8","1F998","1F9A1","1F43E","1F983","1F414","1F413","1F423","1F424","1F425","1F426","1F427","1F54A-FE0F","1F985","1F986","1F9A2","1F989","1F9A9","1F99A","1F99C","1F438","1F40A","1F422","1F98E","1F40D","1F432","1F409","1F995","1F996","1F433","1F40B","1F42C","1F41F","1F420","1F421","1F988","1F419","1F41A","1F40C","1F98B","1F41B","1F41C","1F41D","1F41E","1F997","1F577-FE0F","1F578-FE0F","1F982","1F99F","1F9A0","1F490","1F338","1F4AE","1F3F5-FE0F","1F339","1F940","1F33A","1F33B","1F33C","1F337","1F331","1F332","1F333","1F334","1F335","1F33E","1F33F","2618-FE0F","1F340","1F341","1F342","1F343"]},{id:"foods",name:"Food & Drink",emojis:["1F347","1F348","1F349","1F34A","1F34B","1F34C","1F34D","1F96D","1F34E","1F34F","1F350","1F351","1F352","1F353","1F95D","1F345","1F965","1F951","1F346","1F954","1F955","1F33D","1F336-FE0F","1F952","1F96C","1F966","1F9C4","1F9C5","1F344","1F95C","1F330","1F35E","1F950","1F956","1F968","1F96F","1F95E","1F9C7","1F9C0","1F356","1F357","1F969","1F953","1F354","1F35F","1F355","1F32D","1F96A","1F32E","1F32F","1F959","1F9C6","1F95A","1F373","1F958","1F372","1F963","1F957","1F37F","1F9C8","1F9C2","1F96B","1F371","1F358","1F359","1F35A","1F35B","1F35C","1F35D","1F360","1F362","1F363","1F364","1F365","1F96E","1F361","1F95F","1F960","1F961","1F980","1F99E","1F990","1F991","1F9AA","1F366","1F367","1F368","1F369","1F36A","1F382","1F370","1F9C1","1F967","1F36B","1F36C","1F36D","1F36E","1F36F","1F37C","1F95B","2615","1F375","1F376","1F37E","1F377","1F378","1F379","1F37A","1F37B","1F942","1F943","1F964","1F9C3","1F9C9","1F9CA","1F962","1F37D-FE0F","1F374","1F944","1F52A","1F3FA"]},{id:"activity",name:"Activities",emojis:["1F383","1F384","1F386","1F387","1F9E8","2728","1F388","1F389","1F38A","1F38B","1F38D","1F38E","1F38F","1F390","1F391","1F9E7","1F380","1F381","1F397-FE0F","1F39F-FE0F","1F3AB","1F396-FE0F","1F3C6","1F3C5","1F947","1F948","1F949","26BD","26BE","1F94E","1F3C0","1F3D0","1F3C8","1F3C9","1F3BE","1F94F","1F3B3","1F3CF","1F3D1","1F3D2","1F94D","1F3D3","1F3F8","1F94A","1F94B","1F945","26F3","26F8-FE0F","1F3A3","1F93F","1F3BD","1F3BF","1F6F7","1F94C","1F3AF","1FA80","1FA81","1F3B1","1F52E","1F9FF","1F3AE","1F579-FE0F","1F3B0","1F3B2","1F9E9","1F9F8","2660-FE0F","2665-FE0F","2666-FE0F","2663-FE0F","265F-FE0F","1F0CF","1F004","1F3B4","1F3AD","1F5BC-FE0F","1F3A8","1F9F5","1F9F6"]},{id:"places",name:"Travel & Places",emojis:["1F30D","1F30E","1F30F","1F310","1F5FA-FE0F","1F5FE","1F9ED","1F3D4-FE0F","26F0-FE0F","1F30B","1F5FB","1F3D5-FE0F","1F3D6-FE0F","1F3DC-FE0F","1F3DD-FE0F","1F3DE-FE0F","1F3DF-FE0F","1F3DB-FE0F","1F3D7-FE0F","1F9F1","1F3D8-FE0F","1F3DA-FE0F","1F3E0","1F3E1","1F3E2","1F3E3","1F3E4","1F3E5","1F3E6","1F3E8","1F3E9","1F3EA","1F3EB","1F3EC","1F3ED","1F3EF","1F3F0","1F492","1F5FC","1F5FD","26EA","1F54C","1F6D5","1F54D","26E9-FE0F","1F54B","26F2","26FA","1F301","1F303","1F3D9-FE0F","1F304","1F305","1F306","1F307","1F309","2668-FE0F","1F3A0","1F3A1","1F3A2","1F488","1F3AA","1F682","1F683","1F684","1F685","1F686","1F687","1F688","1F689","1F68A","1F69D","1F69E","1F68B","1F68C","1F68D","1F68E","1F690","1F691","1F692","1F693","1F694","1F695","1F696","1F697","1F698","1F699","1F69A","1F69B","1F69C","1F3CE-FE0F","1F3CD-FE0F","1F6F5","1F9BD","1F9BC","1F6FA","1F6B2","1F6F4","1F6F9","1F68F","1F6E3-FE0F","1F6E4-FE0F","1F6E2-FE0F","26FD","1F6A8","1F6A5","1F6A6","1F6D1","1F6A7","2693","26F5","1F6F6","1F6A4","1F6F3-FE0F","26F4-FE0F","1F6E5-FE0F","1F6A2","2708-FE0F","1F6E9-FE0F","1F6EB","1F6EC","1FA82","1F4BA","1F681","1F69F","1F6A0","1F6A1","1F6F0-FE0F","1F680","1F6F8","1F6CE-FE0F","1F9F3","231B","23F3","231A","23F0","23F1-FE0F","23F2-FE0F","1F570-FE0F","1F55B","1F567","1F550","1F55C","1F551","1F55D","1F552","1F55E","1F553","1F55F","1F554","1F560","1F555","1F561","1F556","1F562","1F557","1F563","1F558","1F564","1F559","1F565","1F55A","1F566","1F311","1F312","1F313","1F314","1F315","1F316","1F317","1F318","1F319","1F31A","1F31B","1F31C","1F321-FE0F","2600-FE0F","1F31D","1F31E","1FA90","2B50","1F31F","1F320","1F30C","2601-FE0F","26C5","26C8-FE0F","1F324-FE0F","1F325-FE0F","1F326-FE0F","1F327-FE0F","1F328-FE0F","1F329-FE0F","1F32A-FE0F","1F32B-FE0F","1F32C-FE0F","1F300","1F308","1F302","2602-FE0F","2614","26F1-FE0F","26A1","2744-FE0F","2603-FE0F","26C4","2604-FE0F","1F525","1F4A7","1F30A"]},{id:"objects",name:"Objects",emojis:["1F453","1F576-FE0F","1F97D","1F97C","1F9BA","1F454","1F455","1F456","1F9E3","1F9E4","1F9E5","1F9E6","1F457","1F458","1F97B","1FA71","1FA72","1FA73","1F459","1F45A","1F45B","1F45C","1F45D","1F6CD-FE0F","1F392","1F45E","1F45F","1F97E","1F97F","1F460","1F461","1FA70","1F462","1F451","1F452","1F3A9","1F393","1F9E2","26D1-FE0F","1F4FF","1F484","1F48D","1F48E","1F507","1F508","1F509","1F50A","1F4E2","1F4E3","1F4EF","1F514","1F515","1F3BC","1F3B5","1F3B6","1F399-FE0F","1F39A-FE0F","1F39B-FE0F","1F3A4","1F3A7","1F4FB","1F3B7","1F3B8","1F3B9","1F3BA","1F3BB","1FA95","1F941","1F4F1","1F4F2","260E-FE0F","1F4DE","1F4DF","1F4E0","1F50B","1F50C","1F4BB","1F5A5-FE0F","1F5A8-FE0F","2328-FE0F","1F5B1-FE0F","1F5B2-FE0F","1F4BD","1F4BE","1F4BF","1F4C0","1F9EE","1F3A5","1F39E-FE0F","1F4FD-FE0F","1F3AC","1F4FA","1F4F7","1F4F8","1F4F9","1F4FC","1F50D","1F50E","1F56F-FE0F","1F4A1","1F526","1F3EE","1FA94","1F4D4","1F4D5","1F4D6","1F4D7","1F4D8","1F4D9","1F4DA","1F4D3","1F4D2","1F4C3","1F4DC","1F4C4","1F4F0","1F5DE-FE0F","1F4D1","1F516","1F3F7-FE0F","1F4B0","1F4B4","1F4B5","1F4B6","1F4B7","1F4B8","1F4B3","1F9FE","1F4B9","1F4B1","1F4B2","2709-FE0F","1F4E7","1F4E8","1F4E9","1F4E4","1F4E5","1F4E6","1F4EB","1F4EA","1F4EC","1F4ED","1F4EE","1F5F3-FE0F","270F-FE0F","2712-FE0F","1F58B-FE0F","1F58A-FE0F","1F58C-FE0F","1F58D-FE0F","1F4DD","1F4BC","1F4C1","1F4C2","1F5C2-FE0F","1F4C5","1F4C6","1F5D2-FE0F","1F5D3-FE0F","1F4C7","1F4C8","1F4C9","1F4CA","1F4CB","1F4CC","1F4CD","1F4CE","1F587-FE0F","1F4CF","1F4D0","2702-FE0F","1F5C3-FE0F","1F5C4-FE0F","1F5D1-FE0F","1F512","1F513","1F50F","1F510","1F511","1F5DD-FE0F","1F528","1FA93","26CF-FE0F","2692-FE0F","1F6E0-FE0F","1F5E1-FE0F","2694-FE0F","1F52B","1F3F9","1F6E1-FE0F","1F527","1F529","2699-FE0F","1F5DC-FE0F","2696-FE0F","1F9AF","1F517","26D3-FE0F","1F9F0","1F9F2","2697-FE0F","1F9EA","1F9EB","1F9EC","1F52C","1F52D","1F4E1","1F489","1FA78","1F48A","1FA79","1FA7A","1F6AA","1F6CF-FE0F","1F6CB-FE0F","1FA91","1F6BD","1F6BF","1F6C1","1FA92","1F9F4","1F9F7","1F9F9","1F9FA","1F9FB","1F9FC","1F9FD","1F9EF","1F6D2","1F6AC","26B0-FE0F","26B1-FE0F","1F5FF"]},{id:"symbols",name:"Symbols",emojis:["1F3E7","1F6AE","1F6B0","267F","1F6B9","1F6BA","1F6BB","1F6BC","1F6BE","1F6C2","1F6C3","1F6C4","1F6C5","26A0-FE0F","1F6B8","26D4","1F6AB","1F6B3","1F6AD","1F6AF","1F6B1","1F6B7","1F4F5","1F51E","2622-FE0F","2623-FE0F","2B06-FE0F","2197-FE0F","27A1-FE0F","2198-FE0F","2B07-FE0F","2199-FE0F","2B05-FE0F","2196-FE0F","2195-FE0F","2194-FE0F","21A9-FE0F","21AA-FE0F","2934-FE0F","2935-FE0F","1F503","1F504","1F519","1F51A","1F51B","1F51C","1F51D","1F6D0","269B-FE0F","1F549-FE0F","2721-FE0F","2638-FE0F","262F-FE0F","271D-FE0F","2626-FE0F","262A-FE0F","262E-FE0F","1F54E","1F52F","2648","2649","264A","264B","264C","264D","264E","264F","2650","2651","2652","2653","26CE","1F500","1F501","1F502","25B6-FE0F","23E9","23ED-FE0F","23EF-FE0F","25C0-FE0F","23EA","23EE-FE0F","1F53C","23EB","1F53D","23EC","23F8-FE0F","23F9-FE0F","23FA-FE0F","23CF-FE0F","1F3A6","1F505","1F506","1F4F6","1F4F3","1F4F4","2640-FE0F","2642-FE0F","2695-FE0F","267E-FE0F","267B-FE0F","269C-FE0F","1F531","1F4DB","1F530","2B55","2705","2611-FE0F","2714-FE0F","2716-FE0F","274C","274E","2795","2796","2797","27B0","27BF","303D-FE0F","2733-FE0F","2734-FE0F","2747-FE0F","203C-FE0F","2049-FE0F","2753","2754","2755","2757","3030-FE0F","00A9-FE0F","00AE-FE0F","2122-FE0F","0023-FE0F-20E3","002A-FE0F-20E3","0030-FE0F-20E3","0031-FE0F-20E3","0032-FE0F-20E3","0033-FE0F-20E3","0034-FE0F-20E3","0035-FE0F-20E3","0036-FE0F-20E3","0037-FE0F-20E3","0038-FE0F-20E3","0039-FE0F-20E3","1F51F","1F520","1F521","1F522","1F523","1F524","1F170-FE0F","1F18E","1F171-FE0F","1F191","1F192","1F193","2139-FE0F","1F194","24C2-FE0F","1F195","1F196","1F17E-FE0F","1F197","1F17F-FE0F","1F198","1F199","1F19A","1F201","1F202-FE0F","1F237-FE0F","1F236","1F22F","1F250","1F239","1F21A","1F232","1F251","1F238","1F234","1F233","3297-FE0F","3299-FE0F","1F23A","1F235","1F534","1F7E0","1F7E1","1F7E2","1F535","1F7E3","1F7E4","26AB","26AA","1F7E5","1F7E7","1F7E8","1F7E9","1F7E6","1F7EA","1F7EB","2B1B","2B1C","25FC-FE0F","25FB-FE0F","25FE","25FD","25AA-FE0F","25AB-FE0F","1F536","1F537","1F538","1F539","1F53A","1F53B","1F4A0","1F518","1F533","1F532"]},{id:"flags",name:"Flags",emojis:["1F1E6-1F1E8","1F1E6-1F1E9","1F1E6-1F1EA","1F1E6-1F1EB","1F1E6-1F1EC","1F1E6-1F1EE","1F1E6-1F1F1","1F1E6-1F1F2","1F1E6-1F1F4","1F1E6-1F1F6","1F1E6-1F1F7","1F1E6-1F1F8","1F1E6-1F1F9","1F1E6-1F1FA","1F1E6-1F1FC","1F1E6-1F1FD","1F1E6-1F1FF","1F1E7-1F1E6","1F1E7-1F1E7","1F1E7-1F1E9","1F1E7-1F1EA","1F1E7-1F1EB","1F1E7-1F1EC","1F1E7-1F1ED","1F1E7-1F1EE","1F1E7-1F1EF","1F1E7-1F1F1","1F1E7-1F1F2","1F1E7-1F1F3","1F1E7-1F1F4","1F1E7-1F1F6","1F1E7-1F1F7","1F1E7-1F1F8","1F1E7-1F1F9","1F1E7-1F1FB","1F1E7-1F1FC","1F1E7-1F1FE","1F1E7-1F1FF","1F1E8-1F1E6","1F1E8-1F1E8","1F1E8-1F1E9","1F1E8-1F1EB","1F1E8-1F1EC","1F1E8-1F1ED","1F1E8-1F1EE","1F1E8-1F1F0","1F1E8-1F1F1","1F1E8-1F1F2","1F1E8-1F1F3","1F1E8-1F1F4","1F1E8-1F1F5","1F1E8-1F1F7","1F1E8-1F1FA","1F1E8-1F1FB","1F1E8-1F1FC","1F1E8-1F1FD","1F1E8-1F1FE","1F1E8-1F1FF","1F1E9-1F1EA","1F1E9-1F1EC","1F1E9-1F1EF","1F1E9-1F1F0","1F1E9-1F1F2","1F1E9-1F1F4","1F1E9-1F1FF","1F1EA-1F1E6","1F1EA-1F1E8","1F1EA-1F1EA","1F1EA-1F1EC","1F1EA-1F1ED","1F1EA-1F1F7","1F1EA-1F1F8","1F1EA-1F1F9","1F1EA-1F1FA","1F1EB-1F1EE","1F1EB-1F1EF","1F1EB-1F1F0","1F1EB-1F1F2","1F1EB-1F1F4","1F1EB-1F1F7","1F1EC-1F1E6","1F1EC-1F1E7","1F1EC-1F1E9","1F1EC-1F1EA","1F1EC-1F1EB","1F1EC-1F1EC","1F1EC-1F1ED","1F1EC-1F1EE","1F1EC-1F1F1","1F1EC-1F1F2","1F1EC-1F1F3","1F1EC-1F1F5","1F1EC-1F1F6","1F1EC-1F1F7","1F1EC-1F1F8","1F1EC-1F1F9","1F1EC-1F1FA","1F1EC-1F1FC","1F1EC-1F1FE","1F1ED-1F1F0","1F1ED-1F1F2","1F1ED-1F1F3","1F1ED-1F1F7","1F1ED-1F1F9","1F1ED-1F1FA","1F1EE-1F1E8","1F1EE-1F1E9","1F1EE-1F1EA","1F1EE-1F1F1","1F1EE-1F1F2","1F1EE-1F1F3","1F1EE-1F1F4","1F1EE-1F1F6","1F1EE-1F1F7","1F1EE-1F1F8","1F1EE-1F1F9","1F1EF-1F1EA","1F1EF-1F1F2","1F1EF-1F1F4","1F1EF-1F1F5","1F1F0-1F1EA","1F1F0-1F1EC","1F1F0-1F1ED","1F1F0-1F1EE","1F1F0-1F1F2","1F1F0-1F1F3","1F1F0-1F1F5","1F1F0-1F1F7","1F1F0-1F1FC","1F1F0-1F1FE","1F1F0-1F1FF","1F1F1-1F1E6","1F1F1-1F1E7","1F1F1-1F1E8","1F1F1-1F1EE","1F1F1-1F1F0","1F1F1-1F1F7","1F1F1-1F1F8","1F1F1-1F1F9","1F1F1-1F1FA","1F1F1-1F1FB","1F1F1-1F1FE","1F1F2-1F1E6","1F1F2-1F1E8","1F1F2-1F1E9","1F1F2-1F1EA","1F1F2-1F1EB","1F1F2-1F1EC","1F1F2-1F1ED","1F1F2-1F1F0","1F1F2-1F1F1","1F1F2-1F1F2","1F1F2-1F1F3","1F1F2-1F1F4","1F1F2-1F1F5","1F1F2-1F1F6","1F1F2-1F1F7","1F1F2-1F1F8","1F1F2-1F1F9","1F1F2-1F1FA","1F1F2-1F1FB","1F1F2-1F1FC","1F1F2-1F1FD","1F1F2-1F1FE","1F1F2-1F1FF","1F1F3-1F1E6","1F1F3-1F1E8","1F1F3-1F1EA","1F1F3-1F1EB","1F1F3-1F1EC","1F1F3-1F1EE","1F1F3-1F1F1","1F1F3-1F1F4","1F1F3-1F1F5","1F1F3-1F1F7","1F1F3-1F1FA","1F1F3-1F1FF","1F1F4-1F1F2","1F1F5-1F1E6","1F1F5-1F1EA","1F1F5-1F1EB","1F1F5-1F1EC","1F1F5-1F1ED","1F1F5-1F1F0","1F1F5-1F1F1","1F1F5-1F1F2","1F1F5-1F1F3","1F1F5-1F1F7","1F1F5-1F1F8","1F1F5-1F1F9","1F1F5-1F1FC","1F1F5-1F1FE","1F1F6-1F1E6","1F1F7-1F1EA","1F1F7-1F1F4","1F1F7-1F1F8","1F1F7-1F1FA","1F1F7-1F1FC","1F1F8-1F1E6","1F1F8-1F1E7","1F1F8-1F1E8","1F1F8-1F1E9","1F1F8-1F1EA","1F1F8-1F1EC","1F1F8-1F1ED","1F1F8-1F1EE","1F1F8-1F1EF","1F1F8-1F1F0","1F1F8-1F1F1","1F1F8-1F1F2","1F1F8-1F1F3","1F1F8-1F1F4","1F1F8-1F1F7","1F1F8-1F1F8","1F1F8-1F1F9","1F1F8-1F1FB","1F1F8-1F1FD","1F1F8-1F1FE","1F1F8-1F1FF","1F1F9-1F1E6","1F1F9-1F1E8","1F1F9-1F1E9","1F1F9-1F1EB","1F1F9-1F1EC","1F1F9-1F1ED","1F1F9-1F1EF","1F1F9-1F1F0","1F1F9-1F1F1","1F1F9-1F1F2","1F1F9-1F1F3","1F1F9-1F1F4","1F1F9-1F1F7","1F1F9-1F1F9","1F1F9-1F1FB","1F1F9-1F1FC","1F1F9-1F1FF","1F1FA-1F1E6","1F1FA-1F1EC","1F1FA-1F1F2","1F1FA-1F1F3","1F1FA-1F1F8","1F1FA-1F1FE","1F1FA-1F1FF","1F1FB-1F1E6","1F1FB-1F1E8","1F1FB-1F1EA","1F1FB-1F1EC","1F1FB-1F1EE","1F1FB-1F1F3","1F1FB-1F1FA","1F1FC-1F1EB","1F1FC-1F1F8","1F1FD-1F1F0","1F1FE-1F1EA","1F1FE-1F1F9","1F1FF-1F1E6","1F1FF-1F1F2","1F1FF-1F1FC","1F38C","1F3C1","1F3F3-FE0F","1F3F3-FE0F-200D-1F308","1F3F4","1F3F4-200D-2620-FE0F","1F3F4-E0067-E0062-E0065-E006E-E0067-E007F","1F3F4-E0067-E0062-E0073-E0063-E0074-E007F","1F3F4-E0067-E0062-E0077-E006C-E0073-E007F","1F6A9"]}],g=[{name:"Earth Globe Europe-Africa",unified:"1F30D",keywords:["globe","world","international"],sheet:[5,32],shortName:"earth_africa"},{name:"Grapes",unified:"1F347",keywords:["fruit","food","wine"],sheet:[6,31],shortName:"grapes"},{name:"Jack-O-Lantern",unified:"1F383",keywords:["halloween","light","pumpkin","creepy","fall"],sheet:[7,34],shortName:"jack_o_lantern"},{name:"Chequered Flag",unified:"1F3C1",keywords:["contest","finishline","race","gokart"],sheet:[8,39],shortName:"checkered_flag"},{name:"Automated Teller Machine",unified:"1F3E7",keywords:["money","sales","cash","blue-square","payment","bank"],sheet:[11,1],shortName:"atm"},{name:"Emoji Modifier Fitzpatrick Type-1-2",unified:"1F3FB",sheet:[11,23],shortName:"skin-tone-2"},{name:"Monkey Face",unified:"1F435",emoticons:[":o)"],keywords:["animal","nature","circus"],sheet:[12,25],shortName:"monkey_face"},{name:"Waving Hand Sign",unified:"1F44B",keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],sheet:[13,26],skinVariations:[{unified:"1F44B-1F3FB",sheet:[13,27]},{unified:"1F44B-1F3FC",sheet:[13,28]},{unified:"1F44B-1F3FD",sheet:[13,29]},{unified:"1F44B-1F3FE",sheet:[13,30]},{unified:"1F44B-1F3FF",sheet:[13,31]}],shortName:"wave"},{name:"Eyeglasses",unified:"1F453",keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],sheet:[14,7],shortName:"eyeglasses"},{name:"Grinning Face",unified:"1F600",text:":D",keywords:["face","smile","happy","joy",":D","grin"],sheet:[30,35],shortName:"grinning"},{name:"Earth Globe Americas",unified:"1F30E",keywords:["globe","world","USA","international"],sheet:[5,33],shortName:"earth_americas"},{name:"Melon",unified:"1F348",keywords:["fruit","nature","food"],sheet:[6,32],shortName:"melon"},{name:"Christmas Tree",unified:"1F384",keywords:["festival","vacation","december","xmas","celebration"],sheet:[7,35],shortName:"christmas_tree"},{name:"Emoji Modifier Fitzpatrick Type-3",unified:"1F3FC",sheet:[11,24],shortName:"skin-tone-3"},{name:"Monkey",unified:"1F412",keywords:["animal","nature","banana","circus"],sheet:[11,46],shortName:"monkey"},{name:"Dark Sunglasses",unified:"1F576-FE0F",keywords:["face","cool","accessories"],sheet:[29,33],shortName:"dark_sunglasses"},{name:"Smiling Face with Open Mouth",unified:"1F603",text:":)",emoticons:["=)","=-)"],keywords:["face","happy","joy","haha",":D",":)","smile","funny"],sheet:[30,38],shortName:"smiley"},{name:"Triangular Flag on Post",unified:"1F6A9",keywords:["mark","milestone","place"],sheet:[35,0],shortName:"triangular_flag_on_post"},{name:"Put Litter in Its Place Symbol",unified:"1F6AE",keywords:["blue-square","sign","human","info"],sheet:[35,5],shortName:"put_litter_in_its_place"},{name:"Raised Back of Hand",unified:"1F91A",keywords:["fingers","raised","backhand"],sheet:[37,43],skinVariations:[{unified:"1F91A-1F3FB",sheet:[37,44]},{unified:"1F91A-1F3FC",sheet:[37,45]},{unified:"1F91A-1F3FD",sheet:[37,46]},{unified:"1F91A-1F3FE",sheet:[37,47]},{unified:"1F91A-1F3FF",sheet:[37,48]}],shortName:"raised_back_of_hand"},{name:"Earth Globe Asia-Australia",unified:"1F30F",keywords:["globe","world","east","international"],sheet:[5,34],shortName:"earth_asia"},{name:"Watermelon",unified:"1F349",keywords:["fruit","food","picnic","summer"],sheet:[6,33],shortName:"watermelon"},{name:"Fireworks",unified:"1F386",keywords:["photo","festival","carnival","congratulations"],sheet:[7,42],shortName:"fireworks"},{name:"Crossed Flags",unified:"1F38C",keywords:["japanese","nation","country","border"],sheet:[7,48],shortName:"crossed_flags"},{name:"Emoji Modifier Fitzpatrick Type-4",unified:"1F3FD",sheet:[11,25],shortName:"skin-tone-4"},{name:"Raised Hand with Fingers Splayed",unified:"1F590-FE0F",keywords:["hand","fingers","palm"],sheet:[29,48],skinVariations:[{unified:"1F590-1F3FB",sheet:[29,49]},{unified:"1F590-1F3FC",sheet:[29,50]},{unified:"1F590-1F3FD",sheet:[29,51]},{unified:"1F590-1F3FE",sheet:[29,52]},{unified:"1F590-1F3FF",sheet:[29,53]}],shortName:"raised_hand_with_fingers_splayed"},{name:"Smiling Face with Open Mouth and Smiling Eyes",unified:"1F604",text:":)",emoticons:["C:","c:",":D",":-D"],keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],sheet:[30,39],shortName:"smile"},{name:"Potable Water Symbol",unified:"1F6B0",keywords:["blue-square","liquid","restroom","cleaning","faucet"],sheet:[35,7],shortName:"potable_water"},{name:"Goggles",unified:"1F97D",keywords:["eyes","protection","safety"],sheet:[42,15],shortName:"goggles"},{name:"Gorilla",unified:"1F98D",keywords:["animal","nature","circus"],sheet:[42,31],shortName:"gorilla"},{name:"Globe with Meridians",unified:"1F310",keywords:["earth","international","world","internet","interweb","i18n"],sheet:[5,35],shortName:"globe_with_meridians"},{name:"Tangerine",unified:"1F34A",keywords:["food","fruit","nature","orange"],sheet:[6,34],shortName:"tangerine"},{name:"Firework Sparkler",unified:"1F387",keywords:["stars","night","shine"],sheet:[7,43],shortName:"sparkler"},{name:"Waving Black Flag",unified:"1F3F4",sheet:[11,17],shortName:"waving_black_flag"},{name:"Emoji Modifier Fitzpatrick Type-5",unified:"1F3FE",sheet:[11,26],shortName:"skin-tone-5"},{name:"Grinning Face with Smiling Eyes",unified:"1F601",keywords:["face","happy","smile","joy","kawaii"],sheet:[30,36],shortName:"grin"},{name:"Lab Coat",unified:"1F97C",sheet:[42,14],shortName:"lab_coat"},{name:"Orangutan",unified:"1F9A7",sheet:[42,55],shortName:"orangutan"},{name:"Wheelchair Symbol",unified:"267F",keywords:["blue-square","disabled","a11y","accessibility"],sheet:[53,40],shortName:"wheelchair"},{name:"Raised Hand",unified:"270B",sheet:[54,49],skinVariations:[{unified:"270B-1F3FB",sheet:[54,50]},{unified:"270B-1F3FC",sheet:[54,51]},{unified:"270B-1F3FD",sheet:[54,52]},{unified:"270B-1F3FE",sheet:[54,53]},{unified:"270B-1F3FF",sheet:[54,54]}],shortNames:["raised_hand"],shortName:"hand"},{name:"Lemon",unified:"1F34B",keywords:["fruit","nature"],sheet:[6,35],shortName:"lemon"},{name:"Waving White Flag",unified:"1F3F3-FE0F",sheet:[11,12],shortName:"waving_white_flag"},{name:"Emoji Modifier Fitzpatrick Type-6",unified:"1F3FF",sheet:[11,27],shortName:"skin-tone-6"},{name:"Dog Face",unified:"1F436",keywords:["animal","friend","nature","woof","puppy","pet","faithful"],sheet:[12,26],shortName:"dog"},{name:"Raised Hand with Part Between Middle and Ring Fingers",unified:"1F596",sheet:[30,3],skinVariations:[{unified:"1F596-1F3FB",sheet:[30,4]},{unified:"1F596-1F3FC",sheet:[30,5]},{unified:"1F596-1F3FD",sheet:[30,6]},{unified:"1F596-1F3FE",sheet:[30,7]},{unified:"1F596-1F3FF",sheet:[30,8]}],shortName:"spock-hand"},{name:"World Map",unified:"1F5FA-FE0F",keywords:["location","direction"],sheet:[30,29],shortName:"world_map"},{name:"Smiling Face with Open Mouth and Tightly-Closed Eyes",unified:"1F606",emoticons:[":>",":->"],keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],sheet:[30,41],shortNames:["satisfied"],shortName:"laughing"},{name:"Mens Symbol",unified:"1F6B9",keywords:["toilet","restroom","wc","blue-square","gender","male"],sheet:[36,10],shortName:"mens"},{name:"Safety Vest",unified:"1F9BA",sheet:[43,54],shortName:"safety_vest"},{name:"Firecracker",unified:"1F9E8",keywords:["dynamite","boom","explode","explosion","explosive"],sheet:[51,27],shortName:"firecracker"},{name:"Banana",unified:"1F34C",keywords:["fruit","food","monkey"],sheet:[6,36],shortName:"banana"},{name:"Rainbow Flag",unified:"1F3F3-FE0F-200D-1F308",sheet:[11,11],shortName:"rainbow-flag"},{name:"Dog",unified:"1F415",keywords:["animal","nature","friend","doge","pet","faithful"],sheet:[11,50],shortName:"dog2"},{name:"Ok Hand Sign",unified:"1F44C",keywords:["fingers","limbs","perfect","ok","okay"],sheet:[13,32],skinVariations:[{unified:"1F44C-1F3FB",sheet:[13,33]},{unified:"1F44C-1F3FC",sheet:[13,34]},{unified:"1F44C-1F3FD",sheet:[13,35]},{unified:"1F44C-1F3FE",sheet:[13,36]},{unified:"1F44C-1F3FF",sheet:[13,37]}],shortName:"ok_hand"},{name:"Necktie",unified:"1F454",keywords:["shirt","suitup","formal","fashion","cloth","business"],sheet:[14,8],shortName:"necktie"},{name:"Silhouette of Japan",unified:"1F5FE",keywords:["nation","country","japanese","asia"],sheet:[30,33],shortName:"japan"},{name:"Smiling Face with Open Mouth and Cold Sweat",unified:"1F605",keywords:["face","hot","happy","laugh","sweat","smile","relief"],sheet:[30,40],shortName:"sweat_smile"},{name:"Womens Symbol",unified:"1F6BA",keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],sheet:[36,11],shortName:"womens"},{name:"Sparkles",unified:"2728",keywords:["stars","shine","shiny","cool","awesome","good","magic"],sheet:[55,16],shortName:"sparkles"},{name:"Pineapple",unified:"1F34D",keywords:["fruit","nature","food"],sheet:[6,37],shortName:"pineapple"},{name:"Balloon",unified:"1F388",keywords:["party","celebration","birthday","circus"],sheet:[7,44],shortName:"balloon"},{name:"Pirate Flag",unified:"1F3F4-200D-2620-FE0F",keywords:["skull","crossbones","flag","banner"],sheet:[11,13],shortName:"pirate_flag"},{name:"T-Shirt",unified:"1F455",sheet:[14,9],shortNames:["tshirt"],shortName:"shirt"},{name:"Restroom",unified:"1F6BB",keywords:["blue-square","toilet","refresh","wc","gender"],sheet:[36,12],shortName:"restroom"},{name:"Pinching Hand",unified:"1F90F",sheet:[37,17],skinVariations:[{unified:"1F90F-1F3FB",sheet:[37,18]},{unified:"1F90F-1F3FC",sheet:[37,19]},{unified:"1F90F-1F3FD",sheet:[37,20]},{unified:"1F90F-1F3FE",sheet:[37,21]},{unified:"1F90F-1F3FF",sheet:[37,22]}],shortName:"pinching_hand"},{name:"Rolling on the Floor Laughing",unified:"1F923",sheet:[38,20],shortName:"rolling_on_the_floor_laughing"},{name:"Guide Dog",unified:"1F9AE",sheet:[43,2],shortName:"guide_dog"},{name:"Compass",unified:"1F9ED",keywords:["magnetic","navigation","orienteering"],sheet:[51,32],shortName:"compass"},{name:"Ascension Island Flag",unified:"1F1E6-1F1E8",sheet:[0,31],shortName:"flag-ac"},{name:"Party Popper",unified:"1F389",keywords:["party","congratulations","birthday","magic","circus","celebration"],sheet:[7,45],shortName:"tada"},{name:"Snow Capped Mountain",unified:"1F3D4-FE0F",sheet:[10,39],shortName:"snow_capped_mountain"},{name:"Service Dog",unified:"1F415-200D-1F9BA",sheet:[11,49],shortName:"service_dog"},{name:"Jeans",unified:"1F456",keywords:["fashion","shopping"],sheet:[14,10],shortName:"jeans"},{name:"Face with Tears of Joy",unified:"1F602",keywords:["face","cry","tears","weep","happy","happytears","haha"],sheet:[30,37],shortName:"joy"},{name:"Baby Symbol",unified:"1F6BC",keywords:["orange-square","child"],sheet:[36,13],shortName:"baby_symbol"},{name:"Mango",unified:"1F96D",keywords:["fruit","food","tropical"],sheet:[42,3],shortName:"mango"},{name:"Victory Hand",unified:"270C-FE0F",keywords:["fingers","ohyeah","hand","peace","victory","two"],sheet:[54,55],skinVariations:[{unified:"270C-1F3FB",sheet:[54,56]},{unified:"270C-1F3FC",sheet:[55,0]},{unified:"270C-1F3FD",sheet:[55,1]},{unified:"270C-1F3FE",sheet:[55,2]},{unified:"270C-1F3FF",sheet:[55,3]}],shortName:"v"},{name:"Andorra Flag",unified:"1F1E6-1F1E9",sheet:[0,32],shortName:"flag-ad"},{name:"Red Apple",unified:"1F34E",keywords:["fruit","mac","school"],sheet:[6,38],shortName:"apple"},{name:"Confetti Ball",unified:"1F38A",keywords:["festival","party","birthday","circus"],sheet:[7,46],shortName:"confetti_ball"},{name:"Poodle",unified:"1F429",keywords:["dog","animal","101","nature","pet"],sheet:[12,13],shortName:"poodle"},{name:"Slightly Smiling Face",unified:"1F642",emoticons:[":)","(:",":-)"],keywords:["face","smile"],sheet:[31,44],shortName:"slightly_smiling_face"},{name:"Water Closet",unified:"1F6BE",keywords:["toilet","restroom","blue-square"],sheet:[36,15],shortName:"wc"},{name:"Hand with Index and Middle Fingers Crossed",unified:"1F91E",keywords:["good","lucky"],sheet:[38,5],skinVariations:[{unified:"1F91E-1F3FB",sheet:[38,6]},{unified:"1F91E-1F3FC",sheet:[38,7]},{unified:"1F91E-1F3FD",sheet:[38,8]},{unified:"1F91E-1F3FE",sheet:[38,9]},{unified:"1F91E-1F3FF",sheet:[38,10]}],shortNames:["hand_with_index_and_middle_fingers_crossed"],shortName:"crossed_fingers"},{name:"Scarf",unified:"1F9E3",keywords:["neck","winter","clothes"],sheet:[51,22],shortName:"scarf"},{name:"Mountain",unified:"26F0-FE0F",keywords:["photo","nature","environment"],sheet:[54,11],shortName:"mountain"},{name:"United Arab Emirates Flag",unified:"1F1E6-1F1EA",sheet:[0,33],shortName:"flag-ae"},{name:"Volcano",unified:"1F30B",keywords:["photo","nature","disaster"],sheet:[5,30],shortName:"volcano"},{name:"Green Apple",unified:"1F34F",keywords:["fruit","nature"],sheet:[6,39],shortName:"green_apple"},{name:"Tanabata Tree",unified:"1F38B",keywords:["plant","nature","branch","summer"],sheet:[7,47],shortName:"tanabata_tree"},{name:"Wolf Face",unified:"1F43A",keywords:["animal","nature","wild"],sheet:[12,30],shortName:"wolf"},{name:"Upside-Down Face",unified:"1F643",keywords:["face","flipped","silly","smile"],sheet:[31,45],shortName:"upside_down_face"},{name:"Passport Control",unified:"1F6C2",keywords:["custom","blue-square"],sheet:[36,24],shortName:"passport_control"},{name:"I Love You Hand Sign",unified:"1F91F",sheet:[38,11],skinVariations:[{unified:"1F91F-1F3FB",sheet:[38,12]},{unified:"1F91F-1F3FC",sheet:[38,13]},{unified:"1F91F-1F3FD",sheet:[38,14]},{unified:"1F91F-1F3FE",sheet:[38,15]},{unified:"1F91F-1F3FF",sheet:[38,16]}],shortName:"i_love_you_hand_sign"},{name:"Gloves",unified:"1F9E4",keywords:["hands","winter","clothes"],sheet:[51,23],shortName:"gloves"},{name:"Afghanistan Flag",unified:"1F1E6-1F1EB",sheet:[0,34],shortName:"flag-af"},{name:"Pear",unified:"1F350",keywords:["fruit","nature","food"],sheet:[6,40],shortName:"pear"},{name:"Pine Decoration",unified:"1F38D",keywords:["plant","nature","vegetable","panda","pine_decoration"],sheet:[7,49],shortName:"bamboo"},{name:"Mount Fuji",unified:"1F5FB",keywords:["photo","mountain","nature","japanese"],sheet:[30,30],shortName:"mount_fuji"},{name:"Winking Face",unified:"1F609",text:";)",emoticons:[";)",";-)"],keywords:["face","happy","mischievous","secret",";)","smile","eye"],sheet:[30,44],shortName:"wink"},{name:"Customs",unified:"1F6C3",keywords:["passport","border","blue-square"],sheet:[36,25],shortName:"customs"},{name:"Sign of the Horns",unified:"1F918",sheet:[37,31],skinVariations:[{unified:"1F918-1F3FB",sheet:[37,32]},{unified:"1F918-1F3FC",sheet:[37,33]},{unified:"1F918-1F3FD",sheet:[37,34]},{unified:"1F918-1F3FE",sheet:[37,35]},{unified:"1F918-1F3FF",sheet:[37,36]}],shortNames:["sign_of_the_horns"],shortName:"the_horns"},{name:"Fox Face",unified:"1F98A",keywords:["animal","nature","face"],sheet:[42,28],shortName:"fox_face"},{name:"Coat",unified:"1F9E5",keywords:["jacket"],sheet:[51,24],shortName:"coat"},{name:"Antigua & Barbuda Flag",unified:"1F1E6-1F1EC",sheet:[0,35],shortName:"flag-ag"},{name:"Peach",unified:"1F351",keywords:["fruit","nature","food"],sheet:[6,41],shortName:"peach"},{name:"Japanese Dolls",unified:"1F38E",keywords:["japanese","toy","kimono"],sheet:[7,50],shortName:"dolls"},{name:"Camping",unified:"1F3D5-FE0F",keywords:["photo","outdoors","tent"],sheet:[10,40],shortName:"camping"},{name:"Smiling Face with Smiling Eyes",unified:"1F60A",text:":)",keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],sheet:[30,45],shortName:"blush"},{name:"Baggage Claim",unified:"1F6C4",keywords:["blue-square","airport","transport"],sheet:[36,26],shortName:"baggage_claim"},{name:"Call Me Hand",unified:"1F919",keywords:["hands","gesture"],sheet:[37,37],skinVariations:[{unified:"1F919-1F3FB",sheet:[37,38]},{unified:"1F919-1F3FC",sheet:[37,39]},{unified:"1F919-1F3FD",sheet:[37,40]},{unified:"1F919-1F3FE",sheet:[37,41]},{unified:"1F919-1F3FF",sheet:[37,42]}],shortName:"call_me_hand"},{name:"Raccoon",unified:"1F99D",keywords:["animal","nature"],sheet:[42,47],shortName:"raccoon"},{name:"Socks",unified:"1F9E6",keywords:["stockings","clothes"],sheet:[51,25],shortName:"socks"},{name:"Anguilla Flag",unified:"1F1E6-1F1EE",sheet:[0,36],shortName:"flag-ai"},{name:"Cherries",unified:"1F352",keywords:["food","fruit"],sheet:[6,42],shortName:"cherries"},{name:"Carp Streamer",unified:"1F38F",keywords:["fish","japanese","koinobori","carp","banner"],sheet:[7,51],shortName:"flags"},{name:"Beach with Umbrella",unified:"1F3D6-FE0F",sheet:[10,41],shortName:"beach_with_umbrella"},{name:"Cat Face",unified:"1F431",keywords:["animal","meow","nature","pet","kitten"],sheet:[12,21],shortName:"cat"},{name:"White Left Pointing Backhand Index",unified:"1F448",keywords:["direction","fingers","hand","left"],sheet:[13,8],skinVariations:[{unified:"1F448-1F3FB",sheet:[13,9]},{unified:"1F448-1F3FC",sheet:[13,10]},{unified:"1F448-1F3FD",sheet:[13,11]},{unified:"1F448-1F3FE",sheet:[13,12]},{unified:"1F448-1F3FF",sheet:[13,13]}],shortName:"point_left"},{name:"Dress",unified:"1F457",keywords:["clothes","fashion","shopping"],sheet:[14,11],shortName:"dress"},{name:"Smiling Face with Halo",unified:"1F607",keywords:["face","angel","heaven","halo"],sheet:[30,42],shortName:"innocent"},{name:"Left Luggage",unified:"1F6C5",keywords:["blue-square","travel"],sheet:[36,27],shortName:"left_luggage"},{name:"Albania Flag",unified:"1F1E6-1F1F1",sheet:[0,37],shortName:"flag-al"},{name:"Strawberry",unified:"1F353",keywords:["fruit","food","nature"],sheet:[6,43],shortName:"strawberry"},{name:"Wind Chime",unified:"1F390",keywords:["nature","ding","spring","bell"],sheet:[7,52],shortName:"wind_chime"},{name:"Desert",unified:"1F3DC-FE0F",keywords:["photo","warm","saharah"],sheet:[10,47],shortName:"desert"},{name:"Cat",unified:"1F408",keywords:["animal","meow","pet","cats"],sheet:[11,36],shortName:"cat2"},{name:"White Right Pointing Backhand Index",unified:"1F449",keywords:["fingers","hand","direction","right"],sheet:[13,14],skinVariations:[{unified:"1F449-1F3FB",sheet:[13,15]},{unified:"1F449-1F3FC",sheet:[13,16]},{unified:"1F449-1F3FD",sheet:[13,17]},{unified:"1F449-1F3FE",sheet:[13,18]},{unified:"1F449-1F3FF",sheet:[13,19]}],shortName:"point_right"},{name:"Kimono",unified:"1F458",keywords:["dress","fashion","women","female","japanese"],sheet:[14,12],shortName:"kimono"},{name:"Smiling Face with Smiling Eyes and Three Hearts",unified:"1F970",sheet:[42,6],shortName:"smiling_face_with_3_hearts"},{name:"Warning Sign",unified:"26A0-FE0F",keywords:["exclamation","wip","alert","error","problem","issue"],sheet:[53,50],shortName:"warning"},{name:"Armenia Flag",unified:"1F1E6-1F1F2",sheet:[0,38],shortName:"flag-am"},{name:"Moon Viewing Ceremony",unified:"1F391",keywords:["photo","japan","asia","tsukimi"],sheet:[7,53],shortName:"rice_scene"},{name:"Desert Island",unified:"1F3DD-FE0F",keywords:["photo","tropical","mojito"],sheet:[10,48],shortName:"desert_island"},{name:"White Up Pointing Backhand Index",unified:"1F446",keywords:["fingers","hand","direction","up"],sheet:[12,53],skinVariations:[{unified:"1F446-1F3FB",sheet:[12,54]},{unified:"1F446-1F3FC",sheet:[12,55]},{unified:"1F446-1F3FD",sheet:[12,56]},{unified:"1F446-1F3FE",sheet:[13,0]},{unified:"1F446-1F3FF",sheet:[13,1]}],shortName:"point_up_2"},{name:"Smiling Face with Heart-Shaped Eyes",unified:"1F60D",keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],sheet:[30,48],shortName:"heart_eyes"},{name:"Children Crossing",unified:"1F6B8",keywords:["school","warning","danger","sign","driving","yellow-diamond"],sheet:[36,9],shortName:"children_crossing"},{name:"Kiwifruit",unified:"1F95D",sheet:[41,44],shortName:"kiwifruit"},{name:"Sari",unified:"1F97B",sheet:[42,13],shortName:"sari"},{name:"Lion Face",unified:"1F981",sheet:[42,19],shortName:"lion_face"},{name:"Angola Flag",unified:"1F1E6-1F1F4",sheet:[0,39],shortName:"flag-ao"},{name:"Tomato",unified:"1F345",keywords:["fruit","vegetable","nature","food"],sheet:[6,29],shortName:"tomato"},{name:"National Park",unified:"1F3DE-FE0F",keywords:["photo","environment","nature"],sheet:[10,49],shortName:"national_park"},{name:"Tiger Face",unified:"1F42F",keywords:["animal","cat","danger","wild","nature","roar"],sheet:[12,19],shortName:"tiger"},{name:"Reversed Hand with Middle Finger Extended",unified:"1F595",sheet:[29,54],skinVariations:[{unified:"1F595-1F3FB",sheet:[29,55]},{unified:"1F595-1F3FC",sheet:[29,56]},{unified:"1F595-1F3FD",sheet:[30,0]},{unified:"1F595-1F3FE",sheet:[30,1]},{unified:"1F595-1F3FF",sheet:[30,2]}],shortNames:["reversed_hand_with_middle_finger_extended"],shortName:"middle_finger"},{name:"Grinning Face with Star Eyes",unified:"1F929",sheet:[38,43],shortNames:["grinning_face_with_star_eyes"],shortName:"star-struck"},{name:"Red Gift Envelope",unified:"1F9E7",keywords:["gift"],sheet:[51,26],shortName:"red_envelope"},{name:"One-Piece Swimsuit",unified:"1FA71",sheet:[51,52],shortName:"one-piece_swimsuit"},{name:"No Entry",unified:"26D4",keywords:["limit","security","privacy","bad","denied","stop","circle"],sheet:[54,8],shortName:"no_entry"},{name:"Antarctica Flag",unified:"1F1E6-1F1F6",sheet:[0,40],shortName:"flag-aq"},{name:"Ribbon",unified:"1F380",keywords:["decoration","pink","girl","bowtie"],sheet:[7,31],shortName:"ribbon"},{name:"Stadium",unified:"1F3DF-FE0F",keywords:["photo","place","sports","concert","venue"],sheet:[10,50],shortName:"stadium"},{name:"Tiger",unified:"1F405",keywords:["animal","nature","roar"],sheet:[11,33],shortName:"tiger2"},{name:"White Down Pointing Backhand Index",unified:"1F447",keywords:["fingers","hand","direction","down"],sheet:[13,2],skinVariations:[{unified:"1F447-1F3FB",sheet:[13,3]},{unified:"1F447-1F3FC",sheet:[13,4]},{unified:"1F447-1F3FD",sheet:[13,5]},{unified:"1F447-1F3FE",sheet:[13,6]},{unified:"1F447-1F3FF",sheet:[13,7]}],shortName:"point_down"},{name:"Face Throwing a Kiss",unified:"1F618",emoticons:[":*",":-*"],keywords:["face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,2],shortName:"kissing_heart"},{name:"No Entry Sign",unified:"1F6AB",keywords:["forbid","stop","limit","denied","disallow","circle"],sheet:[35,2],shortName:"no_entry_sign"},{name:"Coconut",unified:"1F965",keywords:["fruit","nature","food","palm"],sheet:[41,52],shortName:"coconut"},{name:"Briefs",unified:"1FA72",sheet:[51,53],shortName:"briefs"},{name:"Argentina Flag",unified:"1F1E6-1F1F7",sheet:[0,41],shortName:"flag-ar"},{name:"Wrapped Present",unified:"1F381",keywords:["present","birthday","christmas","xmas"],sheet:[7,32],shortName:"gift"},{name:"Classical Building",unified:"1F3DB-FE0F",keywords:["art","culture","history"],sheet:[10,46],shortName:"classical_building"},{name:"Leopard",unified:"1F406",keywords:["animal","nature"],sheet:[11,34],shortName:"leopard"},{name:"Kissing Face",unified:"1F617",keywords:["love","like","face","3","valentines","infatuation","kiss"],sheet:[31,1],shortName:"kissing"},{name:"No Bicycles",unified:"1F6B3",keywords:["cyclist","prohibited","circle"],sheet:[35,10],shortName:"no_bicycles"},{name:"Avocado",unified:"1F951",keywords:["fruit","food"],sheet:[41,32],shortName:"avocado"},{name:"Shorts",unified:"1FA73",sheet:[51,54],shortName:"shorts"},{name:"White Up Pointing Index",unified:"261D-FE0F",keywords:["hand","fingers","direction","up"],sheet:[53,2],skinVariations:[{unified:"261D-1F3FB",sheet:[53,3]},{unified:"261D-1F3FC",sheet:[53,4]},{unified:"261D-1F3FD",sheet:[53,5]},{unified:"261D-1F3FE",sheet:[53,6]},{unified:"261D-1F3FF",sheet:[53,7]}],shortName:"point_up"},{name:"American Samoa Flag",unified:"1F1E6-1F1F8",sheet:[0,42],shortName:"flag-as"},{name:"Aubergine",unified:"1F346",keywords:["vegetable","nature","food","aubergine"],sheet:[6,30],shortName:"eggplant"},{name:"Reminder Ribbon",unified:"1F397-FE0F",keywords:["sports","cause","support","awareness"],sheet:[8,0],shortName:"reminder_ribbon"},{name:"Building Construction",unified:"1F3D7-FE0F",keywords:["wip","working","progress"],sheet:[10,42],shortName:"building_construction"},{name:"Horse Face",unified:"1F434",keywords:["animal","brown","nature"],sheet:[12,24],shortName:"horse"},{name:"Thumbs Up Sign",unified:"1F44D",keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],sheet:[13,38],skinVariations:[{unified:"1F44D-1F3FB",sheet:[13,39]},{unified:"1F44D-1F3FC",sheet:[13,40]},{unified:"1F44D-1F3FD",sheet:[13,41]},{unified:"1F44D-1F3FE",sheet:[13,42]},{unified:"1F44D-1F3FF",sheet:[13,43]}],shortNames:["thumbsup"],shortName:"+1"},{name:"Bikini",unified:"1F459",keywords:["swimming","female","woman","girl","fashion","beach","summer"],sheet:[14,13],shortName:"bikini"},{name:"No Smoking Symbol",unified:"1F6AD",keywords:["cigarette","blue-square","smell","smoke"],sheet:[35,4],shortName:"no_smoking"},{name:"White Smiling Face",unified:"263A-FE0F",keywords:["face","blush","massage","happiness"],sheet:[53,17],shortName:"relaxed"},{name:"Austria Flag",unified:"1F1E6-1F1F9",sheet:[0,43],shortName:"flag-at"},{name:"Admission Tickets",unified:"1F39F-FE0F",sheet:[8,5],shortName:"admission_tickets"},{name:"Horse",unified:"1F40E",keywords:["animal","gamble","luck"],sheet:[11,42],shortName:"racehorse"},{name:"Thumbs Down Sign",unified:"1F44E",keywords:["thumbsdown","no","dislike","hand"],sheet:[13,44],skinVariations:[{unified:"1F44E-1F3FB",sheet:[13,45]},{unified:"1F44E-1F3FC",sheet:[13,46]},{unified:"1F44E-1F3FD",sheet:[13,47]},{unified:"1F44E-1F3FE",sheet:[13,48]},{unified:"1F44E-1F3FF",sheet:[13,49]}],shortNames:["thumbsdown"],shortName:"-1"},{name:"Womans Clothes",unified:"1F45A",keywords:["fashion","shopping_bags","female"],sheet:[14,14],shortName:"womans_clothes"},{name:"Kissing Face with Closed Eyes",unified:"1F61A",keywords:["face","love","like","affection","valentines","infatuation","kiss"],sheet:[31,4],shortName:"kissing_closed_eyes"},{name:"Do Not Litter Symbol",unified:"1F6AF",keywords:["trash","bin","garbage","circle"],sheet:[35,6],shortName:"do_not_litter"},{name:"Potato",unified:"1F954",keywords:["food","tuber","vegatable","starch"],sheet:[41,35],shortName:"potato"},{name:"Brick",unified:"1F9F1",sheet:[51,36],shortName:"bricks"},{name:"Australia Flag",unified:"1F1E6-1F1FA",sheet:[0,44],shortName:"flag-au"},{name:"Ticket",unified:"1F3AB",keywords:["event","concert","pass"],sheet:[8,17],shortName:"ticket"},{name:"House Buildings",unified:"1F3D8-FE0F",sheet:[10,43],shortName:"house_buildings"},{name:"Purse",unified:"1F45B",keywords:["fashion","accessories","money","sales","shopping"],sheet:[14,15],shortName:"purse"},{name:"Kissing Face with Smiling Eyes",unified:"1F619",keywords:["face","affection","valentines","infatuation","kiss"],sheet:[31,3],shortName:"kissing_smiling_eyes"},{name:"Non-Potable Water Symbol",unified:"1F6B1",keywords:["drink","faucet","tap","circle"],sheet:[35,8],shortName:"non-potable_water"},{name:"Carrot",unified:"1F955",keywords:["vegetable","food","orange"],sheet:[41,36],shortName:"carrot"},{name:"Unicorn Face",unified:"1F984",sheet:[42,22],shortName:"unicorn_face"},{name:"Raised Fist",unified:"270A",keywords:["fingers","hand","grasp"],sheet:[54,43],skinVariations:[{unified:"270A-1F3FB",sheet:[54,44]},{unified:"270A-1F3FC",sheet:[54,45]},{unified:"270A-1F3FD",sheet:[54,46]},{unified:"270A-1F3FE",sheet:[54,47]},{unified:"270A-1F3FF",sheet:[54,48]}],shortName:"fist"},{name:"Aruba Flag",unified:"1F1E6-1F1FC",sheet:[0,45],shortName:"flag-aw"},{name:"Ear of Maize",unified:"1F33D",keywords:["food","vegetable","plant"],sheet:[6,21],shortName:"corn"},{name:"Medal",unified:"1F396-FE0F",sheet:[7,56],shortName:"medal"},{name:"Derelict House Building",unified:"1F3DA-FE0F",sheet:[10,45],shortName:"derelict_house_building"},{name:"Fisted Hand Sign",unified:"1F44A",keywords:["angry","violence","fist","hit","attack","hand"],sheet:[13,20],skinVariations:[{unified:"1F44A-1F3FB",sheet:[13,21]},{unified:"1F44A-1F3FC",sheet:[13,22]},{unified:"1F44A-1F3FD",sheet:[13,23]},{unified:"1F44A-1F3FE",sheet:[13,24]},{unified:"1F44A-1F3FF",sheet:[13,25]}],shortNames:["punch"],shortName:"facepunch"},{name:"Handbag",unified:"1F45C",keywords:["fashion","accessory","accessories","shopping"],sheet:[14,16],shortName:"handbag"},{name:"Face Savouring Delicious Food",unified:"1F60B",keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],sheet:[30,46],shortName:"yum"},{name:"No Pedestrians",unified:"1F6B7",keywords:["rules","crossing","walking","circle"],sheet:[36,8],shortName:"no_pedestrians"},{name:"Zebra Face",unified:"1F993",sheet:[42,37],shortName:"zebra_face"},{name:"\xc5land Islands Flag",unified:"1F1E6-1F1FD",sheet:[0,46],shortName:"flag-ax"},{name:"Hot Pepper",unified:"1F336-FE0F",keywords:["food","spicy","chilli","chili"],sheet:[6,14],shortName:"hot_pepper"},{name:"Trophy",unified:"1F3C6",keywords:["win","award","contest","place","ftw","ceremony"],sheet:[9,26],shortName:"trophy"},{name:"House Building",unified:"1F3E0",keywords:["building","home"],sheet:[10,51],shortName:"house"},{name:"Pouch",unified:"1F45D",keywords:["bag","accessories","shopping"],sheet:[14,17],shortName:"pouch"},{name:"No Mobile Phones",unified:"1F4F5",keywords:["iphone","mute","circle"],sheet:[27,18],shortName:"no_mobile_phones"},{name:"Face with Stuck-out Tongue",unified:"1F61B",text:":p",emoticons:[":p",":-p",":P",":-P",":b",":-b"],keywords:["face","prank","childish","playful","mischievous","smile","tongue"],sheet:[31,5],shortName:"stuck_out_tongue"},{name:"Left-Facing Fist",unified:"1F91B",sheet:[37,49],skinVariations:[{unified:"1F91B-1F3FB",sheet:[37,50]},{unified:"1F91B-1F3FC",sheet:[37,51]},{unified:"1F91B-1F3FD",sheet:[37,52]},{unified:"1F91B-1F3FE",sheet:[37,53]},{unified:"1F91B-1F3FF",sheet:[37,54]}],shortName:"left-facing_fist"},{name:"Deer",unified:"1F98C",keywords:["animal","nature","horns","venison"],sheet:[42,30],shortName:"deer"},{name:"Azerbaijan Flag",unified:"1F1E6-1F1FF",sheet:[0,47],shortName:"flag-az"},{name:"Sports Medal",unified:"1F3C5",sheet:[9,25],shortName:"sports_medal"},{name:"House with Garden",unified:"1F3E1",keywords:["home","plant","nature"],sheet:[10,52],shortName:"house_with_garden"},{name:"Cow Face",unified:"1F42E",keywords:["beef","ox","animal","nature","moo","milk"],sheet:[12,18],shortName:"cow"},{name:"No One Under Eighteen Symbol",unified:"1F51E",keywords:["18","drink","pub","night","minor","circle"],sheet:[28,1],shortName:"underage"},{name:"Face with Stuck-out Tongue and Winking Eye",unified:"1F61C",text:";p",emoticons:[";p",";-p",";b",";-b",";P",";-P"],keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],sheet:[31,6],shortName:"stuck_out_tongue_winking_eye"},{name:"Shopping Bags",unified:"1F6CD-FE0F",sheet:[36,35],shortName:"shopping_bags"},{name:"Right-Facing Fist",unified:"1F91C",sheet:[37,55],skinVariations:[{unified:"1F91C-1F3FB",sheet:[37,56]},{unified:"1F91C-1F3FC",sheet:[38,0]},{unified:"1F91C-1F3FD",sheet:[38,1]},{unified:"1F91C-1F3FE",sheet:[38,2]},{unified:"1F91C-1F3FF",sheet:[38,3]}],shortName:"right-facing_fist"},{name:"Cucumber",unified:"1F952",keywords:["fruit","food","pickle"],sheet:[41,33],shortName:"cucumber"},{name:"Bosnia & Herzegovina Flag",unified:"1F1E7-1F1E6",sheet:[0,48],shortName:"flag-ba"},{name:"School Satchel",unified:"1F392",keywords:["student","education","bag","backpack"],sheet:[7,54],shortName:"school_satchel"},{name:"Office Building",unified:"1F3E2",keywords:["building","bureau","work"],sheet:[10,53],shortName:"office"},{name:"Ox",unified:"1F402",keywords:["animal","cow","beef"],sheet:[11,30],shortName:"ox"},{name:"Clapping Hands Sign",unified:"1F44F",keywords:["hands","praise","applause","congrats","yay"],sheet:[13,50],skinVariations:[{unified:"1F44F-1F3FB",sheet:[13,51]},{unified:"1F44F-1F3FC",sheet:[13,52]},{unified:"1F44F-1F3FD",sheet:[13,53]},{unified:"1F44F-1F3FE",sheet:[13,54]},{unified:"1F44F-1F3FF",sheet:[13,55]}],shortName:"clap"},{name:"Grinning Face with One Large and One Small Eye",unified:"1F92A",sheet:[38,44],shortNames:["grinning_face_with_one_large_and_one_small_eye"],shortName:"zany_face"},{name:"First Place Medal",unified:"1F947",sheet:[41,22],shortName:"first_place_medal"},{name:"Leafy Green",unified:"1F96C",sheet:[42,2],shortName:"leafy_green"},{name:"Radioactive Sign",unified:"2622-FE0F",sheet:[53,9],shortName:"radioactive_sign"},{name:"Barbados Flag",unified:"1F1E7-1F1E7",sheet:[0,49],shortName:"flag-bb"},{name:"Japanese Post Office",unified:"1F3E3",keywords:["building","envelope","communication"],sheet:[10,54],shortName:"post_office"},{name:"Water Buffalo",unified:"1F403",keywords:["animal","nature","ox","cow"],sheet:[11,31],shortName:"water_buffalo"},{name:"Mans Shoe",unified:"1F45E",keywords:["fashion","male"],sheet:[14,18],shortNames:["shoe"],shortName:"mans_shoe"},{name:"Face with Stuck-out Tongue and Tightly-Closed Eyes",unified:"1F61D",keywords:["face","prank","playful","mischievous","smile","tongue"],sheet:[31,7],shortName:"stuck_out_tongue_closed_eyes"},{name:"Person Raising Both Hands in Celebration",unified:"1F64C",keywords:["gesture","hooray","yea","celebration","hands"],sheet:[33,8],skinVariations:[{unified:"1F64C-1F3FB",sheet:[33,9]},{unified:"1F64C-1F3FC",sheet:[33,10]},{unified:"1F64C-1F3FD",sheet:[33,11]},{unified:"1F64C-1F3FE",sheet:[33,12]},{unified:"1F64C-1F3FF",sheet:[33,13]}],shortName:"raised_hands"},{name:"Second Place Medal",unified:"1F948",sheet:[41,23],shortName:"second_place_medal"},{name:"Broccoli",unified:"1F966",keywords:["fruit","food","vegetable"],sheet:[41,53],shortName:"broccoli"},{name:"Biohazard Sign",unified:"2623-FE0F",sheet:[53,10],shortName:"biohazard_sign"},{name:"Bangladesh Flag",unified:"1F1E7-1F1E9",sheet:[0,50],shortName:"flag-bd"},{name:"European Post Office",unified:"1F3E4",keywords:["building","email"],sheet:[10,55],shortName:"european_post_office"},{name:"Cow",unified:"1F404",keywords:["beef","ox","animal","nature","moo","milk"],sheet:[11,32],shortName:"cow2"},{name:"Open Hands Sign",unified:"1F450",keywords:["fingers","butterfly","hands","open"],sheet:[13,56],skinVariations:[{unified:"1F450-1F3FB",sheet:[14,0]},{unified:"1F450-1F3FC",sheet:[14,1]},{unified:"1F450-1F3FD",sheet:[14,2]},{unified:"1F450-1F3FE",sheet:[14,3]},{unified:"1F450-1F3FF",sheet:[14,4]}],shortName:"open_hands"},{name:"Athletic Shoe",unified:"1F45F",keywords:["shoes","sports","sneakers"],sheet:[14,19],shortName:"athletic_shoe"},{name:"Money-Mouth Face",unified:"1F911",keywords:["face","rich","dollar","money"],sheet:[37,24],shortName:"money_mouth_face"},{name:"Third Place Medal",unified:"1F949",sheet:[41,24],shortName:"third_place_medal"},{name:"Garlic",unified:"1F9C4",sheet:[44,12],shortName:"garlic"},{name:"Upwards Black Arrow",unified:"2B06-FE0F",keywords:["blue-square","continue","top","direction"],sheet:[55,38],shortName:"arrow_up"},{name:"Belgium Flag",unified:"1F1E7-1F1EA",sheet:[0,51],shortName:"flag-be"},{name:"Hospital",unified:"1F3E5",keywords:["building","health","surgery","doctor"],sheet:[10,56],shortName:"hospital"},{name:"Pig Face",unified:"1F437",keywords:["animal","oink","nature"],sheet:[12,27],shortName:"pig"},{name:"Hugging Face",unified:"1F917",sheet:[37,30],shortName:"hugging_face"},{name:"Palms Up Together",unified:"1F932",sheet:[39,5],skinVariations:[{unified:"1F932-1F3FB",sheet:[39,6]},{unified:"1F932-1F3FC",sheet:[39,7]},{unified:"1F932-1F3FD",sheet:[39,8]},{unified:"1F932-1F3FE",sheet:[39,9]},{unified:"1F932-1F3FF",sheet:[39,10]}],shortName:"palms_up_together"},{name:"Hiking Boot",unified:"1F97E",keywords:["backpacking","camping","hiking"],sheet:[42,16],shortName:"hiking_boot"},{name:"Onion",unified:"1F9C5",sheet:[44,13],shortName:"onion"},{name:"North East Arrow",unified:"2197-FE0F",keywords:["blue-square","point","direction","diagonal","northeast"],sheet:[52,17],shortName:"arrow_upper_right"},{name:"Soccer Ball",unified:"26BD",keywords:["sports","football"],sheet:[53,56],shortName:"soccer"},{name:"Burkina Faso Flag",unified:"1F1E7-1F1EB",sheet:[0,52],shortName:"flag-bf"},{name:"Mushroom",unified:"1F344",keywords:["plant","vegetable"],sheet:[6,28],shortName:"mushroom"},{name:"Bank",unified:"1F3E6",keywords:["building","money","sales","cash","business","enterprise"],sheet:[11,0],shortName:"bank"},{name:"Pig",unified:"1F416",keywords:["animal","nature"],sheet:[11,51],shortName:"pig2"},{name:"Handshake",unified:"1F91D",keywords:["agreement","shake"],sheet:[38,4],shortName:"handshake"},{name:"Smiling Face with Smiling Eyes and Hand Covering Mouth",unified:"1F92D",sheet:[38,47],shortNames:["smiling_face_with_smiling_eyes_and_hand_covering_mouth"],shortName:"face_with_hand_over_mouth"},{name:"Flat Shoe",unified:"1F97F",sheet:[42,17],shortName:"womans_flat_shoe"},{name:"Baseball",unified:"26BE",keywords:["sports","balls"],sheet:[54,0],shortName:"baseball"},{name:"Black Rightwards Arrow",unified:"27A1-FE0F",keywords:["blue-square","next"],sheet:[55,32],shortName:"arrow_right"},{name:"Bulgaria Flag",unified:"1F1E7-1F1EC",sheet:[0,53],shortName:"flag-bg"},{name:"Hotel",unified:"1F3E8",keywords:["building","accomodation","checkin"],sheet:[11,2],shortName:"hotel"},{name:"Boar",unified:"1F417",keywords:["animal","nature"],sheet:[11,52],shortName:"boar"},{name:"High-Heeled Shoe",unified:"1F460",keywords:["fashion","shoes","female","pumps","stiletto"],sheet:[14,20],shortName:"high_heel"},{name:"Person with Folded Hands",unified:"1F64F",keywords:["please","hope","wish","namaste","highfive"],sheet:[33,50],skinVariations:[{unified:"1F64F-1F3FB",sheet:[33,51]},{unified:"1F64F-1F3FC",sheet:[33,52]},{unified:"1F64F-1F3FD",sheet:[33,53]},{unified:"1F64F-1F3FE",sheet:[33,54]},{unified:"1F64F-1F3FF",sheet:[33,55]}],shortName:"pray"},{name:"Face with Finger Covering Closed Lips",unified:"1F92B",sheet:[38,45],shortNames:["face_with_finger_covering_closed_lips"],shortName:"shushing_face"},{name:"Softball",unified:"1F94E",keywords:["sports","balls"],sheet:[41,29],shortName:"softball"},{name:"Peanuts",unified:"1F95C",keywords:["food","nut"],sheet:[41,43],shortName:"peanuts"},{name:"South East Arrow",unified:"2198-FE0F",keywords:["blue-square","direction","diagonal","southeast"],sheet:[52,18],shortName:"arrow_lower_right"},{name:"Bahrain Flag",unified:"1F1E7-1F1ED",sheet:[0,54],shortName:"flag-bh"},{name:"Chestnut",unified:"1F330",keywords:["food","squirrel"],sheet:[6,8],shortName:"chestnut"},{name:"Basketball and Hoop",unified:"1F3C0",keywords:["sports","balls","NBA"],sheet:[8,38],shortName:"basketball"},{name:"Love Hotel",unified:"1F3E9",keywords:["like","affection","dating"],sheet:[11,3],shortName:"love_hotel"},{name:"Pig Nose",unified:"1F43D",keywords:["animal","oink"],sheet:[12,33],shortName:"pig_nose"},{name:"Womans Sandal",unified:"1F461",keywords:["shoes","fashion","flip flops"],sheet:[14,21],shortName:"sandal"},{name:"Thinking Face",unified:"1F914",sheet:[37,27],shortName:"thinking_face"},{name:"Writing Hand",unified:"270D-FE0F",keywords:["lower_left_ballpoint_pen","stationery","write","compose"],sheet:[55,4],skinVariations:[{unified:"270D-1F3FB",sheet:[55,5]},{unified:"270D-1F3FC",sheet:[55,6]},{unified:"270D-1F3FD",sheet:[55,7]},{unified:"270D-1F3FE",sheet:[55,8]},{unified:"270D-1F3FF",sheet:[55,9]}],shortName:"writing_hand"},{name:"Downwards Black Arrow",unified:"2B07-FE0F",keywords:["blue-square","direction","bottom"],sheet:[55,39],shortName:"arrow_down"},{name:"Burundi Flag",unified:"1F1E7-1F1EE",sheet:[0,55],shortName:"flag-bi"},{name:"Bread",unified:"1F35E",keywords:["food","wheat","breakfast","toast"],sheet:[6,54],shortName:"bread"},{name:"Volleyball",unified:"1F3D0",keywords:["sports","balls"],sheet:[10,35],shortName:"volleyball"},{name:"Convenience Store",unified:"1F3EA",keywords:["building","shopping","groceries"],sheet:[11,4],shortName:"convenience_store"},{name:"Ram",unified:"1F40F",keywords:["animal","sheep","nature"],sheet:[11,43],shortName:"ram"},{name:"Nail Polish",unified:"1F485",keywords:["beauty","manicure","finger","fashion","nail"],sheet:[24,33],skinVariations:[{unified:"1F485-1F3FB",sheet:[24,34]},{unified:"1F485-1F3FC",sheet:[24,35]},{unified:"1F485-1F3FD",sheet:[24,36]},{unified:"1F485-1F3FE",sheet:[24,37]},{unified:"1F485-1F3FF",sheet:[24,38]}],shortName:"nail_care"},{name:"Zipper-Mouth Face",unified:"1F910",keywords:["face","sealed","zipper","secret"],sheet:[37,23],shortName:"zipper_mouth_face"},{name:"Ballet Shoes",unified:"1FA70",sheet:[51,51],shortName:"ballet_shoes"},{name:"South West Arrow",unified:"2199-FE0F",keywords:["blue-square","direction","diagonal","southwest"],sheet:[52,19],shortName:"arrow_lower_left"},{name:"Benin Flag",unified:"1F1E7-1F1EF",sheet:[0,56],shortName:"flag-bj"},{name:"American Football",unified:"1F3C8",keywords:["sports","balls","NFL"],sheet:[9,33],shortName:"football"},{name:"School",unified:"1F3EB",keywords:["building","student","education","learn","teach"],sheet:[11,5],shortName:"school"},{name:"Sheep",unified:"1F411",keywords:["animal","nature","wool","shipit"],sheet:[11,45],shortName:"sheep"},{name:"Womans Boots",unified:"1F462",keywords:["shoes","fashion"],sheet:[14,22],shortName:"boot"},{name:"Face with One Eyebrow Raised",unified:"1F928",sheet:[38,42],shortNames:["face_with_one_eyebrow_raised"],shortName:"face_with_raised_eyebrow"},{name:"Selfie",unified:"1F933",keywords:["camera","phone"],sheet:[39,11],skinVariations:[{unified:"1F933-1F3FB",sheet:[39,12]},{unified:"1F933-1F3FC",sheet:[39,13]},{unified:"1F933-1F3FD",sheet:[39,14]},{unified:"1F933-1F3FE",sheet:[39,15]},{unified:"1F933-1F3FF",sheet:[39,16]}],shortName:"selfie"},{name:"Croissant",unified:"1F950",keywords:["food","bread","french"],sheet:[41,31],shortName:"croissant"},{name:"Leftwards Black Arrow",unified:"2B05-FE0F",keywords:["blue-square","previous","back"],sheet:[55,37],shortName:"arrow_left"},{name:"St. Barth\xe9lemy Flag",unified:"1F1E7-1F1F1",sheet:[1,0],shortName:"flag-bl"},{name:"Rugby Football",unified:"1F3C9",keywords:["sports","team"],sheet:[9,34],shortName:"rugby_football"},{name:"Department Store",unified:"1F3EC",keywords:["building","shopping","mall"],sheet:[11,6],shortName:"department_store"},{name:"Goat",unified:"1F410",keywords:["animal","nature"],sheet:[11,44],shortName:"goat"},{name:"Crown",unified:"1F451",keywords:["king","kod","leader","royalty","lord"],sheet:[14,5],shortName:"crown"},{name:"Flexed Biceps",unified:"1F4AA",keywords:["arm","flex","hand","summer","strong","biceps"],sheet:[25,52],skinVariations:[{unified:"1F4AA-1F3FB",sheet:[25,53]},{unified:"1F4AA-1F3FC",sheet:[25,54]},{unified:"1F4AA-1F3FD",sheet:[25,55]},{unified:"1F4AA-1F3FE",sheet:[25,56]},{unified:"1F4AA-1F3FF",sheet:[26,0]}],shortName:"muscle"},{name:"Neutral Face",unified:"1F610",emoticons:[":|",":-|"],keywords:["indifference","meh",":|","neutral"],sheet:[30,51],shortName:"neutral_face"},{name:"Baguette Bread",unified:"1F956",keywords:["food","bread","french"],sheet:[41,37],shortName:"baguette_bread"},{name:"North West Arrow",unified:"2196-FE0F",keywords:["blue-square","point","direction","diagonal","northwest"],sheet:[52,16],shortName:"arrow_upper_left"},{name:"Bermuda Flag",unified:"1F1E7-1F1F2",sheet:[1,1],shortName:"flag-bm"},{name:"Tennis Racquet and Ball",unified:"1F3BE",keywords:["sports","balls","green"],sheet:[8,36],shortName:"tennis"},{name:"Factory",unified:"1F3ED",keywords:["building","industry","pollution","smoke"],sheet:[11,7],shortName:"factory"},{name:"Dromedary Camel",unified:"1F42A",keywords:["animal","hot","desert","hump"],sheet:[12,14],shortName:"dromedary_camel"},{name:"Womans Hat",unified:"1F452",keywords:["fashion","accessories","female","lady","spring"],sheet:[14,6],shortName:"womans_hat"},{name:"Expressionless Face",unified:"1F611",keywords:["face","indifferent","-_-","meh","deadpan"],sheet:[30,52],shortName:"expressionless"},{name:"Pretzel",unified:"1F968",keywords:["food","bread","twisted"],sheet:[41,55],shortName:"pretzel"},{name:"Mechanical Arm",unified:"1F9BE",sheet:[44,6],shortName:"mechanical_arm"},{name:"Up Down Arrow",unified:"2195-FE0F",keywords:["blue-square","direction","way","vertical"],sheet:[52,15],shortName:"arrow_up_down"},{name:"Brunei Flag",unified:"1F1E7-1F1F3",sheet:[1,2],shortName:"flag-bn"},{name:"Top Hat",unified:"1F3A9",keywords:["magic","gentleman","classy","circus"],sheet:[8,15],shortName:"tophat"},{name:"Japanese Castle",unified:"1F3EF",keywords:["photo","building"],sheet:[11,9],shortName:"japanese_castle"},{name:"Bactrian Camel",unified:"1F42B",keywords:["animal","nature","hot","desert","hump"],sheet:[12,15],shortName:"camel"},{name:"Face Without Mouth",unified:"1F636",keywords:["face","hellokitty"],sheet:[31,32],shortName:"no_mouth"},{name:"Flying Disc",unified:"1F94F",keywords:["sports","frisbee","ultimate"],sheet:[41,30],shortName:"flying_disc"},{name:"Bagel",unified:"1F96F",keywords:["food","bread","bakery","schmear"],sheet:[42,5],shortName:"bagel"},{name:"Mechanical Leg",unified:"1F9BF",sheet:[44,7],shortName:"mechanical_leg"},{name:"Left Right Arrow",unified:"2194-FE0F",keywords:["shape","direction","horizontal","sideways"],sheet:[52,14],shortName:"left_right_arrow"},{name:"Bolivia Flag",unified:"1F1E7-1F1F4",sheet:[1,3],shortName:"flag-bo"},{name:"Graduation Cap",unified:"1F393",keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],sheet:[7,55],shortName:"mortar_board"},{name:"Bowling",unified:"1F3B3",keywords:["sports","fun","play"],sheet:[8,25],shortName:"bowling"},{name:"European Castle",unified:"1F3F0",keywords:["building","royalty","history"],sheet:[11,10],shortName:"european_castle"},{name:"Smirking Face",unified:"1F60F",keywords:["face","smile","mean","prank","smug","sarcasm"],sheet:[30,50],shortName:"smirk"},{name:"Pancakes",unified:"1F95E",keywords:["food","breakfast","flapjacks","hotcakes"],sheet:[41,45],shortName:"pancakes"},{name:"Llama",unified:"1F999",keywords:["animal","nature","alpaca"],sheet:[42,43],shortName:"llama"},{name:"Leg",unified:"1F9B5",keywords:["kick","limb"],sheet:[43,5],skinVariations:[{unified:"1F9B5-1F3FB",sheet:[43,6]},{unified:"1F9B5-1F3FC",sheet:[43,7]},{unified:"1F9B5-1F3FD",sheet:[43,8]},{unified:"1F9B5-1F3FE",sheet:[43,9]},{unified:"1F9B5-1F3FF",sheet:[43,10]}],shortName:"leg"},{name:"Leftwards Arrow with Hook",unified:"21A9-FE0F",keywords:["back","return","blue-square","undo","enter"],sheet:[52,20],shortName:"leftwards_arrow_with_hook"},{name:"Caribbean Netherlands Flag",unified:"1F1E7-1F1F6",sheet:[1,4],shortName:"flag-bq"},{name:"Cricket Bat and Ball",unified:"1F3CF",sheet:[10,34],shortName:"cricket_bat_and_ball"},{name:"Wedding",unified:"1F492",keywords:["love","like","affection","couple","marriage","bride","groom"],sheet:[25,28],shortName:"wedding"},{name:"Unamused Face",unified:"1F612",text:":(",keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],sheet:[30,53],shortName:"unamused"},{name:"Giraffe Face",unified:"1F992",sheet:[42,36],shortName:"giraffe_face"},{name:"Foot",unified:"1F9B6",keywords:["kick","stomp"],sheet:[43,11],skinVariations:[{unified:"1F9B6-1F3FB",sheet:[43,12]},{unified:"1F9B6-1F3FC",sheet:[43,13]},{unified:"1F9B6-1F3FD",sheet:[43,14]},{unified:"1F9B6-1F3FE",sheet:[43,15]},{unified:"1F9B6-1F3FF",sheet:[43,16]}],shortName:"foot"},{name:"Waffle",unified:"1F9C7",sheet:[44,15],shortName:"waffle"},{name:"Billed Cap",unified:"1F9E2",sheet:[51,21],shortName:"billed_cap"},{name:"Rightwards Arrow with Hook",unified:"21AA-FE0F",keywords:["blue-square","return","rotate","direction"],sheet:[52,21],shortName:"arrow_right_hook"},{name:"Brazil Flag",unified:"1F1E7-1F1F7",sheet:[1,5],shortName:"flag-br"},{name:"Field Hockey Stick and Ball",unified:"1F3D1",sheet:[10,36],shortName:"field_hockey_stick_and_ball"},{name:"Elephant",unified:"1F418",keywords:["animal","nature","nose","th","circus"],sheet:[11,53],shortName:"elephant"},{name:"Ear",unified:"1F442",keywords:["face","hear","sound","listen"],sheet:[12,39],skinVariations:[{unified:"1F442-1F3FB",sheet:[12,40]},{unified:"1F442-1F3FC",sheet:[12,41]},{unified:"1F442-1F3FD",sheet:[12,42]},{unified:"1F442-1F3FE",sheet:[12,43]},{unified:"1F442-1F3FF",sheet:[12,44]}],shortName:"ear"},{name:"Tokyo Tower",unified:"1F5FC",keywords:["photo","japanese"],sheet:[30,31],shortName:"tokyo_tower"},{name:"Face with Rolling Eyes",unified:"1F644",sheet:[31,46],shortName:"face_with_rolling_eyes"},{name:"Cheese Wedge",unified:"1F9C0",sheet:[44,8],shortName:"cheese_wedge"},{name:"Helmet with White Cross",unified:"26D1-FE0F",sheet:[54,6],shortName:"helmet_with_white_cross"},{name:"Arrow Pointing Rightwards Then Curving Upwards",unified:"2934-FE0F",keywords:["blue-square","direction","top"],sheet:[55,35],shortName:"arrow_heading_up"},{name:"Bahamas Flag",unified:"1F1E7-1F1F8",sheet:[1,6],shortName:"flag-bs"},{name:"Meat on Bone",unified:"1F356",keywords:["good","food","drumstick"],sheet:[6,46],shortName:"meat_on_bone"},{name:"Ice Hockey Stick and Puck",unified:"1F3D2",sheet:[10,37],shortName:"ice_hockey_stick_and_puck"},{name:"Prayer Beads",unified:"1F4FF",keywords:["dhikr","religious"],sheet:[27,27],shortName:"prayer_beads"},{name:"Statue of Liberty",unified:"1F5FD",keywords:["american","newyork"],sheet:[30,32],shortName:"statue_of_liberty"},{name:"Grimacing Face",unified:"1F62C",keywords:["face","grimace","teeth"],sheet:[31,22],shortName:"grimacing"},{name:"Rhinoceros",unified:"1F98F",keywords:["animal","nature","horn"],sheet:[42,33],shortName:"rhinoceros"},{name:"Ear with Hearing Aid",unified:"1F9BB",sheet:[43,55],skinVariations:[{unified:"1F9BB-1F3FB",sheet:[43,56]},{unified:"1F9BB-1F3FC",sheet:[44,0]},{unified:"1F9BB-1F3FD",sheet:[44,1]},{unified:"1F9BB-1F3FE",sheet:[44,2]},{unified:"1F9BB-1F3FF",sheet:[44,3]}],shortName:"ear_with_hearing_aid"},{name:"Arrow Pointing Rightwards Then Curving Downwards",unified:"2935-FE0F",keywords:["blue-square","direction","bottom"],sheet:[55,36],shortName:"arrow_heading_down"},{name:"Bhutan Flag",unified:"1F1E7-1F1F9",sheet:[1,7],shortName:"flag-bt"},{name:"Poultry Leg",unified:"1F357",keywords:["food","meat","drumstick","bird","chicken","turkey"],sheet:[6,47],shortName:"poultry_leg"},{name:"Nose",unified:"1F443",keywords:["smell","sniff"],sheet:[12,45],skinVariations:[{unified:"1F443-1F3FB",sheet:[12,46]},{unified:"1F443-1F3FC",sheet:[12,47]},{unified:"1F443-1F3FD",sheet:[12,48]},{unified:"1F443-1F3FE",sheet:[12,49]},{unified:"1F443-1F3FF",sheet:[12,50]}],shortName:"nose"},{name:"Lipstick",unified:"1F484",keywords:["female","girl","fashion","woman"],sheet:[24,32],shortName:"lipstick"},{name:"Clockwise Downwards and Upwards Open Circle Arrows",unified:"1F503",keywords:["sync","cycle","round","repeat"],sheet:[27,31],shortName:"arrows_clockwise"},{name:"Lying Face",unified:"1F925",keywords:["face","lie","pinocchio"],sheet:[38,22],shortName:"lying_face"},{name:"Lacrosse Stick and Ball",unified:"1F94D",keywords:["sports","ball","stick"],sheet:[41,28],shortName:"lacrosse"},{name:"Hippopotamus",unified:"1F99B",keywords:["animal","nature"],sheet:[42,45],shortName:"hippopotamus"},{name:"Church",unified:"26EA",keywords:["building","religion","christ"],sheet:[54,10],shortName:"church"},{name:"Bouvet Island Flag",unified:"1F1E7-1F1FB",sheet:[1,8],shortName:"flag-bv"},{name:"Table Tennis Paddle and Ball",unified:"1F3D3",sheet:[10,38],shortName:"table_tennis_paddle_and_ball"},{name:"Mouse Face",unified:"1F42D",keywords:["animal","nature","cheese_wedge","rodent"],sheet:[12,17],shortName:"mouse"},{name:"Ring",unified:"1F48D",keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],sheet:[25,23],shortName:"ring"},{name:"Anticlockwise Downwards and Upwards Open Circle Arrows",unified:"1F504",keywords:["blue-square","sync","cycle"],sheet:[27,32],shortName:"arrows_counterclockwise"},{name:"Mosque",unified:"1F54C",keywords:["islam","worship","minaret"],sheet:[28,36],shortName:"mosque"},{name:"Relieved Face",unified:"1F60C",keywords:["face","relaxed","phew","massage","happiness"],sheet:[30,47],shortName:"relieved"},{name:"Cut of Meat",unified:"1F969",sheet:[41,56],shortName:"cut_of_meat"},{name:"Brain",unified:"1F9E0",keywords:["smart","intelligent"],sheet:[51,19],shortName:"brain"},{name:"Botswana Flag",unified:"1F1E7-1F1FC",sheet:[1,9],shortName:"flag-bw"},{name:"Badminton Racquet and Shuttlecock",unified:"1F3F8",sheet:[11,20],shortName:"badminton_racquet_and_shuttlecock"},{name:"Mouse",unified:"1F401",keywords:["animal","nature","rodent"],sheet:[11,29],shortName:"mouse2"},{name:"Gem Stone",unified:"1F48E",keywords:["blue","ruby","diamond","jewelry"],sheet:[25,24],shortName:"gem"},{name:"Back with Leftwards Arrow Above",unified:"1F519",keywords:["arrow","words","return"],sheet:[27,53],shortName:"back"},{name:"Pensive Face",unified:"1F614",keywords:["face","sad","depressed","upset"],sheet:[30,55],shortName:"pensive"},{name:"Hindu Temple",unified:"1F6D5",sheet:[36,41],shortName:"hindu_temple"},{name:"Bacon",unified:"1F953",keywords:["food","breakfast","pork","pig","meat"],sheet:[41,34],shortName:"bacon"},{name:"Tooth",unified:"1F9B7",keywords:["teeth","dentist"],sheet:[43,17],shortName:"tooth"},{name:"Belarus Flag",unified:"1F1E7-1F1FE",sheet:[1,10],shortName:"flag-by"},{name:"Hamburger",unified:"1F354",keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],sheet:[6,44],shortName:"hamburger"},{name:"Rat",unified:"1F400",keywords:["animal","mouse","rodent"],sheet:[11,28],shortName:"rat"},{name:"Speaker with Cancellation Stroke",unified:"1F507",keywords:["sound","volume","silence","quiet"],sheet:[27,35],shortName:"mute"},{name:"End with Leftwards Arrow Above",unified:"1F51A",keywords:["words","arrow"],sheet:[27,54],shortName:"end"},{name:"Synagogue",unified:"1F54D",keywords:["judaism","worship","temple","jewish"],sheet:[28,37],shortName:"synagogue"},{name:"Sleepy Face",unified:"1F62A",keywords:["face","tired","rest","nap"],sheet:[31,20],shortName:"sleepy"},{name:"Boxing Glove",unified:"1F94A",keywords:["sports","fighting"],sheet:[41,25],shortName:"boxing_glove"},{name:"Bone",unified:"1F9B4",keywords:["skeleton"],sheet:[43,4],shortName:"bone"},{name:"Belize Flag",unified:"1F1E7-1F1FF",sheet:[1,11],shortName:"flag-bz"},{name:"French Fries",unified:"1F35F",keywords:["chips","snack","fast food"],sheet:[6,55],shortName:"fries"},{name:"Hamster Face",unified:"1F439",keywords:["animal","nature"],sheet:[12,29],shortName:"hamster"},{name:"Eyes",unified:"1F440",keywords:["look","watch","stalk","peek","see"],sheet:[12,36],shortName:"eyes"},{name:"Speaker",unified:"1F508",keywords:["sound","volume","silence","broadcast"],sheet:[27,36],shortName:"speaker"},{name:"On with Exclamation Mark with Left Right Arrow Above",unified:"1F51B",keywords:["arrow","words"],sheet:[27,55],shortName:"on"},{name:"Drooling Face",unified:"1F924",keywords:["face"],sheet:[38,21],shortName:"drooling_face"},{name:"Martial Arts Uniform",unified:"1F94B",keywords:["judo","karate","taekwondo"],sheet:[41,26],shortName:"martial_arts_uniform"},{name:"Shinto Shrine",unified:"26E9-FE0F",keywords:["temple","japan","kyoto"],sheet:[54,9],shortName:"shinto_shrine"},{name:"Canada Flag",unified:"1F1E8-1F1E6",sheet:[1,12],shortName:"flag-ca"},{name:"Slice of Pizza",unified:"1F355",keywords:["food","party"],sheet:[6,45],shortName:"pizza"},{name:"Rabbit Face",unified:"1F430",keywords:["animal","nature","pet","spring","magic","bunny"],sheet:[12,20],shortName:"rabbit"},{name:"Eye",unified:"1F441-FE0F",keywords:["face","look","see","watch","stare"],sheet:[12,38],shortName:"eye"},{name:"Speaker with One Sound Wave",unified:"1F509",keywords:["volume","speaker","broadcast"],sheet:[27,37],shortName:"sound"},{name:"Soon with Rightwards Arrow Above",unified:"1F51C",keywords:["arrow","words"],sheet:[27,56],shortName:"soon"},{name:"Kaaba",unified:"1F54B",keywords:["mecca","mosque","islam"],sheet:[28,35],shortName:"kaaba"},{name:"Sleeping Face",unified:"1F634",keywords:["face","tired","sleepy","night","zzz"],sheet:[31,30],shortName:"sleeping"},{name:"Goal Net",unified:"1F945",keywords:["sports"],sheet:[41,21],shortName:"goal_net"},{name:"Cocos (keeling) Islands Flag",unified:"1F1E8-1F1E8",sheet:[1,13],shortName:"flag-cc"},{name:"Hot Dog",unified:"1F32D",keywords:["food","frankfurter"],sheet:[6,5],shortName:"hotdog"},{name:"Rabbit",unified:"1F407",keywords:["animal","nature","pet","magic","spring"],sheet:[11,35],shortName:"rabbit2"},{name:"Tongue",unified:"1F445",keywords:["mouth","playful"],sheet:[12,52],shortName:"tongue"},{name:"Speaker with Three Sound Waves",unified:"1F50A",keywords:["volume","noise","noisy","speaker","broadcast"],sheet:[27,38],shortName:"loud_sound"},{name:"Top with Upwards Arrow Above",unified:"1F51D",keywords:["words","blue-square"],sheet:[28,0],shortName:"top"},{name:"Face with Medical Mask",unified:"1F637",keywords:["face","sick","ill","disease"],sheet:[31,33],shortName:"mask"},{name:"Fountain",unified:"26F2",keywords:["photo","summer","water","fresh"],sheet:[54,13],shortName:"fountain"},{name:"Flag in Hole",unified:"26F3",keywords:["sports","business","flag","hole","summer"],sheet:[54,14],shortName:"golf"},{name:"Congo - Kinshasa Flag",unified:"1F1E8-1F1E9",sheet:[1,14],shortName:"flag-cd"},{name:"Chipmunk",unified:"1F43F-FE0F",keywords:["animal","nature","rodent","squirrel"],sheet:[12,35],shortName:"chipmunk"},{name:"Mouth",unified:"1F444",keywords:["mouth","kiss"],sheet:[12,51],shortName:"lips"},{name:"Public Address Loudspeaker",unified:"1F4E2",keywords:["volume","sound"],sheet:[26,56],shortName:"loudspeaker"},{name:"Place of Worship",unified:"1F6D0",keywords:["religion","church","temple","prayer"],sheet:[36,38],shortName:"place_of_worship"},{name:"Face with Thermometer",unified:"1F912",keywords:["sick","temperature","thermometer","cold","fever"],sheet:[37,25],shortName:"face_with_thermometer"},{name:"Sandwich",unified:"1F96A",keywords:["food","lunch","bread"],sheet:[42,0],shortName:"sandwich"},{name:"Ice Skate",unified:"26F8-FE0F",keywords:["sports"],sheet:[54,18],shortName:"ice_skate"},{name:"Tent",unified:"26FA",keywords:["photo","camping","outdoors"],sheet:[54,37],shortName:"tent"},{name:"Central African Republic Flag",unified:"1F1E8-1F1EB",sheet:[1,15],shortName:"flag-cf"},{name:"Foggy",unified:"1F301",keywords:["photo","mountain"],sheet:[5,20],shortName:"foggy"},{name:"Taco",unified:"1F32E",keywords:["food","mexican"],sheet:[6,6],shortName:"taco"},{name:"Fishing Pole and Fish",unified:"1F3A3",keywords:["food","hobby","summer"],sheet:[8,9],shortName:"fishing_pole_and_fish"},{name:"Baby",unified:"1F476",keywords:["child","boy","girl","toddler"],sheet:[23,4],skinVariations:[{unified:"1F476-1F3FB",sheet:[23,5]},{unified:"1F476-1F3FC",sheet:[23,6]},{unified:"1F476-1F3FD",sheet:[23,7]},{unified:"1F476-1F3FE",sheet:[23,8]},{unified:"1F476-1F3FF",sheet:[23,9]}],shortName:"baby"},{name:"Cheering Megaphone",unified:"1F4E3",keywords:["sound","speaker","volume"],sheet:[27,0],shortName:"mega"},{name:"Face with Head-Bandage",unified:"1F915",keywords:["injured","clumsy","bandage","hurt"],sheet:[37,28],shortName:"face_with_head_bandage"},{name:"Hedgehog",unified:"1F994",keywords:["animal","nature","spiny"],sheet:[42,38],shortName:"hedgehog"},{name:"Atom Symbol",unified:"269B-FE0F",keywords:["science","physics","chemistry"],sheet:[53,48],shortName:"atom_symbol"},{name:"Congo - Brazzaville Flag",unified:"1F1E8-1F1EC",sheet:[1,16],shortName:"flag-cg"},{name:"Night with Stars",unified:"1F303",keywords:["evening","city","downtown"],sheet:[5,22],shortName:"night_with_stars"},{name:"Burrito",unified:"1F32F",keywords:["food","mexican"],sheet:[6,7],shortName:"burrito"},{name:"Postal Horn",unified:"1F4EF",keywords:["instrument","music"],sheet:[27,12],shortName:"postal_horn"},{name:"Om Symbol",unified:"1F549-FE0F",sheet:[28,33],shortName:"om_symbol"},{name:"Nauseated Face",unified:"1F922",keywords:["face","vomit","gross","green","sick","throw up","ill"],sheet:[38,19],shortName:"nauseated_face"},{name:"Diving Mask",unified:"1F93F",sheet:[41,15],shortName:"diving_mask"},{name:"Bat",unified:"1F987",keywords:["animal","nature","blind","vampire"],sheet:[42,25],shortName:"bat"},{name:"Child",unified:"1F9D2",keywords:["gender-neutral","young"],sheet:[48,16],skinVariations:[{unified:"1F9D2-1F3FB",sheet:[48,17]},{unified:"1F9D2-1F3FC",sheet:[48,18]},{unified:"1F9D2-1F3FD",sheet:[48,19]},{unified:"1F9D2-1F3FE",sheet:[48,20]},{unified:"1F9D2-1F3FF",sheet:[48,21]}],shortName:"child"},{name:"Switzerland Flag",unified:"1F1E8-1F1ED",sheet:[1,17],shortName:"flag-ch"},{name:"Running Shirt with Sash",unified:"1F3BD",keywords:["play","pageant"],sheet:[8,35],shortName:"running_shirt_with_sash"},{name:"Cityscape",unified:"1F3D9-FE0F",keywords:["photo","night life","urban"],sheet:[10,44],shortName:"cityscape"},{name:"Bear Face",unified:"1F43B",keywords:["animal","nature","wild"],sheet:[12,31],shortName:"bear"},{name:"Boy",unified:"1F466",keywords:["man","male","guy","teenager"],sheet:[14,26],skinVariations:[{unified:"1F466-1F3FB",sheet:[14,27]},{unified:"1F466-1F3FC",sheet:[14,28]},{unified:"1F466-1F3FD",sheet:[14,29]},{unified:"1F466-1F3FE",sheet:[14,30]},{unified:"1F466-1F3FF",sheet:[14,31]}],shortName:"boy"},{name:"Bell",unified:"1F514",keywords:["sound","notification","christmas","xmas","chime"],sheet:[27,48],shortName:"bell"},{name:"Face with Open Mouth Vomiting",unified:"1F92E",sheet:[38,48],shortNames:["face_with_open_mouth_vomiting"],shortName:"face_vomiting"},{name:"Stuffed Flatbread",unified:"1F959",keywords:["food","flatbread","stuffed","gyro"],sheet:[41,40],shortName:"stuffed_flatbread"},{name:"Star of David",unified:"2721-FE0F",keywords:["judaism"],sheet:[55,15],shortName:"star_of_david"},{name:"C\xf4te D\u2019ivoire Flag",unified:"1F1E8-1F1EE",sheet:[1,18],shortName:"flag-ci"},{name:"Sunrise over Mountains",unified:"1F304",keywords:["view","vacation","photo"],sheet:[5,23],shortName:"sunrise_over_mountains"},{name:"Ski and Ski Boot",unified:"1F3BF",keywords:["sports","winter","cold","snow"],sheet:[8,37],shortName:"ski"},{name:"Koala",unified:"1F428",keywords:["animal","nature"],sheet:[12,12],shortName:"koala"},{name:"Girl",unified:"1F467",keywords:["female","woman","teenager"],sheet:[14,32],skinVariations:[{unified:"1F467-1F3FB",sheet:[14,33]},{unified:"1F467-1F3FC",sheet:[14,34]},{unified:"1F467-1F3FD",sheet:[14,35]},{unified:"1F467-1F3FE",sheet:[14,36]},{unified:"1F467-1F3FF",sheet:[14,37]}],shortName:"girl"},{name:"Bell with Cancellation Stroke",unified:"1F515",keywords:["sound","volume","mute","quiet","silent"],sheet:[27,49],shortName:"no_bell"},{name:"Sneezing Face",unified:"1F927",keywords:["face","gesundheit","sneeze","sick","allergy"],sheet:[38,41],shortName:"sneezing_face"},{name:"Falafel",unified:"1F9C6",sheet:[44,14],shortName:"falafel"},{name:"Wheel of Dharma",unified:"2638-FE0F",keywords:["hinduism","buddhism","sikhism","jainism"],sheet:[53,15],shortName:"wheel_of_dharma"},{name:"Cook Islands Flag",unified:"1F1E8-1F1F0",sheet:[1,19],shortName:"flag-ck"},{name:"Sunrise",unified:"1F305",keywords:["morning","view","vacation","photo"],sheet:[5,24],shortName:"sunrise"},{name:"Musical Score",unified:"1F3BC",keywords:["treble","clef","compose"],sheet:[8,34],shortName:"musical_score"},{name:"Panda Face",unified:"1F43C",keywords:["animal","nature","panda"],sheet:[12,32],shortName:"panda_face"},{name:"Sled",unified:"1F6F7",keywords:["sleigh","luge","toboggan"],sheet:[36,56],shortName:"sled"},{name:"Egg",unified:"1F95A",keywords:["food","chicken","breakfast"],sheet:[41,41],shortName:"egg"},{name:"Overheated Face",unified:"1F975",sheet:[42,10],shortName:"hot_face"},{name:"Adult",unified:"1F9D1",keywords:["gender-neutral","person"],sheet:[48,10],skinVariations:[{unified:"1F9D1-1F3FB",sheet:[48,11]},{unified:"1F9D1-1F3FC",sheet:[48,12]},{unified:"1F9D1-1F3FD",sheet:[48,13]},{unified:"1F9D1-1F3FE",sheet:[48,14]},{unified:"1F9D1-1F3FF",sheet:[48,15]}],shortName:"adult"},{name:"Yin Yang",unified:"262F-FE0F",keywords:["balance"],sheet:[53,14],shortName:"yin_yang"},{name:"Chile Flag",unified:"1F1E8-1F1F1",sheet:[1,20],shortName:"flag-cl"},{name:"Cityscape at Dusk",unified:"1F306",keywords:["photo","evening","sky","buildings"],sheet:[5,25],shortName:"city_sunset"},{name:"Cooking",unified:"1F373",keywords:["food","breakfast","kitchen","egg"],sheet:[7,18],shortNames:["cooking"],shortName:"fried_egg"},{name:"Musical Note",unified:"1F3B5",keywords:["score","tone","sound"],sheet:[8,27],shortName:"musical_note"},{name:"Person with Blond Hair",unified:"1F471",sheet:[22,19],hidden:["facebook"],skinVariations:[{unified:"1F471-1F3FB",sheet:[22,20],hidden:["facebook"]},{unified:"1F471-1F3FC",sheet:[22,21],hidden:["facebook"]},{unified:"1F471-1F3FD",sheet:[22,22],hidden:["facebook"]},{unified:"1F471-1F3FE",sheet:[22,23],hidden:["facebook"]},{unified:"1F471-1F3FF",sheet:[22,24],hidden:["facebook"]}],shortName:"person_with_blond_hair",obsoletedBy:"1F471-200D-2642-FE0F"},{name:"Curling Stone",unified:"1F94C",keywords:["sports"],sheet:[41,27],shortName:"curling_stone"},{name:"Freezing Face",unified:"1F976",sheet:[42,11],shortName:"cold_face"},{name:"Sloth",unified:"1F9A5",sheet:[42,53],shortName:"sloth"},{name:"Latin Cross",unified:"271D-FE0F",keywords:["christianity"],sheet:[55,14],shortName:"latin_cross"},{name:"Cameroon Flag",unified:"1F1E8-1F1F2",sheet:[1,21],shortName:"flag-cm"},{name:"Sunset over Buildings",unified:"1F307",keywords:["photo","good morning","dawn"],sheet:[5,26],shortName:"city_sunrise"},{name:"Direct Hit",unified:"1F3AF",keywords:["game","play","bar","target","bullseye"],sheet:[8,21],shortName:"dart"},{name:"Multiple Musical Notes",unified:"1F3B6",keywords:["music","score"],sheet:[8,28],shortName:"notes"},{name:"Man",unified:"1F468",keywords:["mustache","father","dad","guy","classy","sir","moustache"],sheet:[17,22],skinVariations:[{unified:"1F468-1F3FB",sheet:[17,23]},{unified:"1F468-1F3FC",sheet:[17,24]},{unified:"1F468-1F3FD",sheet:[17,25]},{unified:"1F468-1F3FE",sheet:[17,26]},{unified:"1F468-1F3FF",sheet:[17,27]}],shortName:"man"},{name:"Shallow Pan of Food",unified:"1F958",keywords:["food","cooking","casserole","paella"],sheet:[41,39],shortName:"shallow_pan_of_food"},{name:"Face with Uneven Eyes and Wavy Mouth",unified:"1F974",sheet:[42,9],shortName:"woozy_face"},{name:"Otter",unified:"1F9A6",sheet:[42,54],shortName:"otter"},{name:"Orthodox Cross",unified:"2626-FE0F",keywords:["suppedaneum","religion"],sheet:[53,11],shortName:"orthodox_cross"},{name:"China Flag",unified:"1F1E8-1F1F3",keywords:["china","chinese","prc","flag","country","nation","banner"],sheet:[1,22],shortNames:["flag-cn"],shortName:"cn"},{name:"Bridge at Night",unified:"1F309",keywords:["photo","sanfrancisco"],sheet:[5,28],shortName:"bridge_at_night"},{name:"Pot of Food",unified:"1F372",keywords:["food","meat","soup"],sheet:[7,17],shortName:"stew"},{name:"Studio Microphone",unified:"1F399-FE0F",keywords:["sing","recording","artist","talkshow"],sheet:[8,1],shortName:"studio_microphone"},{name:"Dizzy Face",unified:"1F635",keywords:["spent","unconscious","xox","dizzy"],sheet:[31,31],shortName:"dizzy_face"},{name:"Skunk",unified:"1F9A8",sheet:[42,56],shortName:"skunk"},{name:"Bearded Person",unified:"1F9D4",keywords:["person","bewhiskered"],sheet:[48,28],skinVariations:[{unified:"1F9D4-1F3FB",sheet:[48,29]},{unified:"1F9D4-1F3FC",sheet:[48,30]},{unified:"1F9D4-1F3FD",sheet:[48,31]},{unified:"1F9D4-1F3FE",sheet:[48,32]},{unified:"1F9D4-1F3FF",sheet:[48,33]}],shortName:"bearded_person"},{name:"Yo-Yo",unified:"1FA80",sheet:[52,1],shortName:"yo-yo"},{name:"Star and Crescent",unified:"262A-FE0F",keywords:["islam"],sheet:[53,12],shortName:"star_and_crescent"},{name:"Colombia Flag",unified:"1F1E8-1F1F4",sheet:[1,23],shortName:"flag-co"},{name:"Level Slider",unified:"1F39A-FE0F",keywords:["scale"],sheet:[8,2],shortName:"level_slider"},{name:"Red Haired Man",unified:"1F468-200D-1F9B0",sheet:[16,23],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B0",sheet:[16,24]},{unified:"1F468-1F3FC-200D-1F9B0",sheet:[16,25]},{unified:"1F468-1F3FD-200D-1F9B0",sheet:[16,26]},{unified:"1F468-1F3FE-200D-1F9B0",sheet:[16,27]},{unified:"1F468-1F3FF-200D-1F9B0",sheet:[16,28]}],shortName:"red_haired_man"},{name:"Shocked Face with Exploding Head",unified:"1F92F",keywords:["face","shocked","mind","blown"],sheet:[38,49],shortNames:["shocked_face_with_exploding_head"],shortName:"exploding_head"},{name:"Bowl with Spoon",unified:"1F963",keywords:["food","breakfast","cereal","oatmeal","porridge"],sheet:[41,50],shortName:"bowl_with_spoon"},{name:"Kangaroo",unified:"1F998",keywords:["animal","nature","australia","joey","hop","marsupial"],sheet:[42,42],shortName:"kangaroo"},{name:"Kite",unified:"1FA81",sheet:[52,2],shortName:"kite"},{name:"Peace Symbol",unified:"262E-FE0F",keywords:["hippie"],sheet:[53,13],shortName:"peace_symbol"},{name:"Hot Springs",unified:"2668-FE0F",keywords:["bath","warm","relax"],sheet:[53,37],shortName:"hotsprings"},{name:"Clipperton Island Flag",unified:"1F1E8-1F1F5",sheet:[1,24],shortName:"flag-cp"},{name:"Control Knobs",unified:"1F39B-FE0F",keywords:["dial"],sheet:[8,3],shortName:"control_knobs"},{name:"Carousel Horse",unified:"1F3A0",keywords:["photo","carnival"],sheet:[8,6],shortName:"carousel_horse"},{name:"Billiards",unified:"1F3B1",keywords:["pool","hobby","game","luck","magic"],sheet:[8,23],shortName:"8ball"},{name:"Curly Haired Man",unified:"1F468-200D-1F9B1",sheet:[16,29],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B1",sheet:[16,30]},{unified:"1F468-1F3FC-200D-1F9B1",sheet:[16,31]},{unified:"1F468-1F3FD-200D-1F9B1",sheet:[16,32]},{unified:"1F468-1F3FE-200D-1F9B1",sheet:[16,33]},{unified:"1F468-1F3FF-200D-1F9B1",sheet:[16,34]}],shortName:"curly_haired_man"},{name:"Menorah with Nine Branches",unified:"1F54E",sheet:[28,38],shortName:"menorah_with_nine_branches"},{name:"Face with Cowboy Hat",unified:"1F920",sheet:[38,17],shortName:"face_with_cowboy_hat"},{name:"Green Salad",unified:"1F957",keywords:["food","healthy","lettuce"],sheet:[41,38],shortName:"green_salad"},{name:"Badger",unified:"1F9A1",keywords:["animal","nature","honey"],sheet:[42,51],shortName:"badger"},{name:"Costa Rica Flag",unified:"1F1E8-1F1F7",sheet:[1,25],shortName:"flag-cr"},{name:"Popcorn",unified:"1F37F",keywords:["food","movie theater","films","snack"],sheet:[7,30],shortName:"popcorn"},{name:"Ferris Wheel",unified:"1F3A1",keywords:["photo","carnival","londoneye"],sheet:[8,7],shortName:"ferris_wheel"},{name:"Microphone",unified:"1F3A4",keywords:["sound","music","PA","sing","talkshow"],sheet:[8,10],shortName:"microphone"},{name:"Paw Prints",unified:"1F43E",sheet:[12,34],shortNames:["paw_prints"],shortName:"feet"},{name:"White Haired Man",unified:"1F468-200D-1F9B3",sheet:[16,41],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B3",sheet:[16,42]},{unified:"1F468-1F3FC-200D-1F9B3",sheet:[16,43]},{unified:"1F468-1F3FD-200D-1F9B3",sheet:[16,44]},{unified:"1F468-1F3FE-200D-1F9B3",sheet:[16,45]},{unified:"1F468-1F3FF-200D-1F9B3",sheet:[16,46]}],shortName:"white_haired_man"},{name:"Crystal Ball",unified:"1F52E",keywords:["disco","party","magic","circus","fortune_teller"],sheet:[28,17],shortName:"crystal_ball"},{name:"Six Pointed Star with Middle Dot",unified:"1F52F",keywords:["purple-square","religion","jewish","hexagram"],sheet:[28,18],shortName:"six_pointed_star"},{name:"Face with Party Horn and Party Hat",unified:"1F973",sheet:[42,8],shortName:"partying_face"},{name:"Cuba Flag",unified:"1F1E8-1F1FA",sheet:[1,26],shortName:"flag-cu"},{name:"Roller Coaster",unified:"1F3A2",keywords:["carnival","playground","photo","fun"],sheet:[8,8],shortName:"roller_coaster"},{name:"Headphone",unified:"1F3A7",keywords:["music","score","gadgets"],sheet:[8,13],shortName:"headphones"},{name:"Bald Man",unified:"1F468-200D-1F9B2",sheet:[16,35],skinVariations:[{unified:"1F468-1F3FB-200D-1F9B2",sheet:[16,36]},{unified:"1F468-1F3FC-200D-1F9B2",sheet:[16,37]},{unified:"1F468-1F3FD-200D-1F9B2",sheet:[16,38]},{unified:"1F468-1F3FE-200D-1F9B2",sheet:[16,39]},{unified:"1F468-1F3FF-200D-1F9B2",sheet:[16,40]}],shortName:"bald_man"},{name:"Smiling Face with Sunglasses",unified:"1F60E",emoticons:["8)"],keywords:["face","cool","smile","summer","beach","sunglass"],sheet:[30,49],shortName:"sunglasses"},{name:"Turkey",unified:"1F983",keywords:["animal","bird"],sheet:[42,21],shortName:"turkey"},{name:"Butter",unified:"1F9C8",sheet:[44,16],shortName:"butter"},{name:"Nazar Amulet",unified:"1F9FF",keywords:["bead","charm"],sheet:[51,50],shortName:"nazar_amulet"},{name:"Aries",unified:"2648",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,20],shortName:"aries"},{name:"Cape Verde Flag",unified:"1F1E8-1F1FB",sheet:[1,27],shortName:"flag-cv"},{name:"Video Game",unified:"1F3AE",keywords:["play","console","PS4","controller"],sheet:[8,20],shortName:"video_game"},{name:"Chicken",unified:"1F414",keywords:["animal","cluck","nature","bird"],sheet:[11,48],shortName:"chicken"},{name:"Woman",unified:"1F469",keywords:["female","girls","lady"],sheet:[20,9],skinVariations:[{unified:"1F469-1F3FB",sheet:[20,10]},{unified:"1F469-1F3FC",sheet:[20,11]},{unified:"1F469-1F3FD",sheet:[20,12]},{unified:"1F469-1F3FE",sheet:[20,13]},{unified:"1F469-1F3FF",sheet:[20,14]}],shortName:"woman"},{name:"Barber Pole",unified:"1F488",keywords:["hair","salon","style"],sheet:[25,18],shortName:"barber"},{name:"Radio",unified:"1F4FB",keywords:["communication","music","podcast","program"],sheet:[27,24],shortName:"radio"},{name:"Nerd Face",unified:"1F913",keywords:["face","nerdy","geek","dork"],sheet:[37,26],shortName:"nerd_face"},{name:"Salt Shaker",unified:"1F9C2",keywords:["condiment","shaker"],sheet:[44,10],shortName:"salt"},{name:"Taurus",unified:"2649",keywords:["purple-square","sign","zodiac","astrology"],sheet:[53,21],shortName:"taurus"},{name:"Cura\xe7ao Flag",unified:"1F1E8-1F1FC",sheet:[1,28],shortName:"flag-cw"},{name:"Circus Tent",unified:"1F3AA",keywords:["festival","carnival","party"],sheet:[8,16],shortName:"circus_tent"},{name:"Saxophone",unified:"1F3B7",keywords:["music","instrument","jazz","blues"],sheet:[8,29],shortName:"saxophone"},{name:"Rooster",unified:"1F413",keywords:["animal","nature","chicken"],sheet:[11,47],shortName:"rooster"},{name:"Red Haired Woman",unified:"1F469-200D-1F9B0",sheet:[19,8],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B0",sheet:[19,9]},{unified:"1F469-1F3FC-200D-1F9B0",sheet:[19,10]},{unified:"1F469-1F3FD-200D-1F9B0",sheet:[19,11]},{unified:"1F469-1F3FE-200D-1F9B0",sheet:[19,12]},{unified:"1F469-1F3FF-200D-1F9B0",sheet:[19,13]}],shortName:"red_haired_woman"},{name:"Joystick",unified:"1F579-FE0F",keywords:["game","play"],sheet:[29,36],shortName:"joystick"},{name:"Canned Food",unified:"1F96B",keywords:["food","soup"],sheet:[42,1],shortName:"canned_food"},{name:"Face with Monocle",unified:"1F9D0",sheet:[45,16],shortName:"face_with_monocle"},{name:"Gemini",unified:"264A",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,22],shortName:"gemini"},{name:"Christmas Island Flag",unified:"1F1E8-1F1FD",sheet:[1,29],shortName:"flag-cx"},{name:"Bento Box",unified:"1F371",keywords:["food","japanese","box"],sheet:[7,16],shortName:"bento"},{name:"Slot Machine",unified:"1F3B0",keywords:["bet","gamble","vegas","fruit machine","luck","casino"],sheet:[8,22],shortName:"slot_machine"},{name:"Guitar",unified:"1F3B8",keywords:["music","instrument"],sheet:[8,30],shortName:"guitar"},{name:"Hatching Chick",unified:"1F423",keywords:["animal","chicken","egg","born","baby","bird"],sheet:[12,7],shortName:"hatching_chick"},{name:"Confused Face",unified:"1F615",emoticons:[":\\",":-\\",":/",":-/"],keywords:["face","indifference","huh","weird","hmmm",":/"],sheet:[30,56],shortName:"confused"},{name:"Steam Locomotive",unified:"1F682",keywords:["transportation","vehicle","train"],sheet:[34,1],shortName:"steam_locomotive"},{name:"Red Haired Person",unified:"1F9D1-200D-1F9B0",sheet:[47,13],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B0",sheet:[47,14],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B0",sheet:[47,15],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B0",sheet:[47,16],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B0",sheet:[47,17],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B0",sheet:[47,18],hidden:["google","twitter","facebook"]}],shortName:"red_haired_person"},{name:"Cancer",unified:"264B",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,23],shortName:"cancer"},{name:"Cyprus Flag",unified:"1F1E8-1F1FE",sheet:[1,30],shortName:"flag-cy"},{name:"Rice Cracker",unified:"1F358",keywords:["food","japanese"],sheet:[6,48],shortName:"rice_cracker"},{name:"Game Die",unified:"1F3B2",keywords:["dice","random","tabletop","play","luck"],sheet:[8,24],shortName:"game_die"},{name:"Musical Keyboard",unified:"1F3B9",keywords:["piano","instrument","compose"],sheet:[8,31],shortName:"musical_keyboard"},{name:"Baby Chick",unified:"1F424",keywords:["animal","chicken","bird"],sheet:[12,8],shortName:"baby_chick"},{name:"Curly Haired Woman",unified:"1F469-200D-1F9B1",sheet:[19,14],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B1",sheet:[19,15]},{unified:"1F469-1F3FC-200D-1F9B1",sheet:[19,16]},{unified:"1F469-1F3FD-200D-1F9B1",sheet:[19,17]},{unified:"1F469-1F3FE-200D-1F9B1",sheet:[19,18]},{unified:"1F469-1F3FF-200D-1F9B1",sheet:[19,19]}],shortName:"curly_haired_woman"},{name:"Worried Face",unified:"1F61F",keywords:["face","concern","nervous",":("],sheet:[31,9],shortName:"worried"},{name:"Railway Car",unified:"1F683",keywords:["transportation","vehicle"],sheet:[34,2],shortName:"railway_car"},{name:"Leo",unified:"264C",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,24],shortName:"leo"},{name:"Czechia Flag",unified:"1F1E8-1F1FF",sheet:[1,31],shortName:"flag-cz"},{name:"Rice Ball",unified:"1F359",keywords:["food","japanese"],sheet:[6,49],shortName:"rice_ball"},{name:"Trumpet",unified:"1F3BA",keywords:["music","brass"],sheet:[8,32],shortName:"trumpet"},{name:"Front-Facing Baby Chick",unified:"1F425",keywords:["animal","chicken","baby","bird"],sheet:[12,9],shortName:"hatched_chick"},{name:"Slightly Frowning Face",unified:"1F641",keywords:["face","frowning","disappointed","sad","upset"],sheet:[31,43],shortName:"slightly_frowning_face"},{name:"High-Speed Train",unified:"1F684",keywords:["transportation","vehicle"],sheet:[34,3],shortName:"bullettrain_side"},{name:"Curly Haired Person",unified:"1F9D1-200D-1F9B1",sheet:[47,19],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B1",sheet:[47,20],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B1",sheet:[47,21],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B1",sheet:[47,22],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B1",sheet:[47,23],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B1",sheet:[47,24],hidden:["google","twitter","facebook"]}],shortName:"curly_haired_person"},{name:"Jigsaw Puzzle Piece",unified:"1F9E9",keywords:["interlocking","puzzle","piece"],sheet:[51,28],shortName:"jigsaw"},{name:"Virgo",unified:"264D",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,25],shortName:"virgo"},{name:"Germany Flag",unified:"1F1E9-1F1EA",keywords:["german","nation","flag","country","banner"],sheet:[1,32],shortNames:["flag-de"],shortName:"de"},{name:"Cooked Rice",unified:"1F35A",keywords:["food","china","asian"],sheet:[6,50],shortName:"rice"},{name:"Violin",unified:"1F3BB",keywords:["music","instrument","orchestra","symphony"],sheet:[8,33],shortName:"violin"},{name:"Bird",unified:"1F426",keywords:["animal","nature","fly","tweet","spring"],sheet:[12,10],shortName:"bird"},{name:"White Haired Woman",unified:"1F469-200D-1F9B3",sheet:[19,26],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B3",sheet:[19,27]},{unified:"1F469-1F3FC-200D-1F9B3",sheet:[19,28]},{unified:"1F469-1F3FD-200D-1F9B3",sheet:[19,29]},{unified:"1F469-1F3FE-200D-1F9B3",sheet:[19,30]},{unified:"1F469-1F3FF-200D-1F9B3",sheet:[19,31]}],shortName:"white_haired_woman"},{name:"High-Speed Train with Bullet Nose",unified:"1F685",keywords:["transportation","vehicle","speed","fast","public","travel"],sheet:[34,4],shortName:"bullettrain_front"},{name:"Teddy Bear",unified:"1F9F8",keywords:["plush","stuffed"],sheet:[51,43],shortName:"teddy_bear"},{name:"White Frowning Face",unified:"2639-FE0F",sheet:[53,16],shortName:"white_frowning_face"},{name:"Libra",unified:"264E",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,26],shortName:"libra"},{name:"Diego Garcia Flag",unified:"1F1E9-1F1EC",sheet:[1,33],shortName:"flag-dg"},{name:"Curry and Rice",unified:"1F35B",keywords:["food","spicy","hot","indian"],sheet:[6,51],shortName:"curry"},{name:"Penguin",unified:"1F427",keywords:["animal","nature"],sheet:[12,11],shortName:"penguin"},{name:"Face with Open Mouth",unified:"1F62E",emoticons:[":o",":-o",":O",":-O"],keywords:["face","surprise","impressed","wow","whoa",":O"],sheet:[31,24],shortName:"open_mouth"},{name:"Train",unified:"1F686",keywords:["transportation","vehicle"],sheet:[34,5],shortName:"train2"},{name:"White Haired Person",unified:"1F9D1-200D-1F9B3",sheet:[47,31],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B3",sheet:[47,32],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B3",sheet:[47,33],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B3",sheet:[47,34],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B3",sheet:[47,35],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B3",sheet:[47,36],hidden:["google","twitter","facebook"]}],shortName:"white_haired_person"},{name:"Banjo",unified:"1FA95",sheet:[52,9],shortName:"banjo"},{name:"Scorpius",unified:"264F",keywords:["sign","zodiac","purple-square","astrology","scorpio"],sheet:[53,27],shortName:"scorpius"},{name:"Black Spade Suit",unified:"2660-FE0F",keywords:["poker","cards","suits","magic"],sheet:[53,33],shortName:"spades"},{name:"Djibouti Flag",unified:"1F1E9-1F1EF",sheet:[1,34],shortName:"flag-dj"},{name:"Steaming Bowl",unified:"1F35C",keywords:["food","japanese","noodle","chopsticks"],sheet:[6,52],shortName:"ramen"},{name:"Bald Woman",unified:"1F469-200D-1F9B2",sheet:[19,20],skinVariations:[{unified:"1F469-1F3FB-200D-1F9B2",sheet:[19,21]},{unified:"1F469-1F3FC-200D-1F9B2",sheet:[19,22]},{unified:"1F469-1F3FD-200D-1F9B2",sheet:[19,23]},{unified:"1F469-1F3FE-200D-1F9B2",sheet:[19,24]},{unified:"1F469-1F3FF-200D-1F9B2",sheet:[19,25]}],shortName:"bald_woman"},{name:"Dove of Peace",unified:"1F54A-FE0F",sheet:[28,34],shortName:"dove_of_peace"},{name:"Hushed Face",unified:"1F62F",keywords:["face","woo","shh"],sheet:[31,25],shortName:"hushed"},{name:"Metro",unified:"1F687",keywords:["transportation","blue-square","mrt","underground","tube"],sheet:[34,6],shortName:"metro"},{name:"Drum with Drumsticks",unified:"1F941",sheet:[41,17],shortName:"drum_with_drumsticks"},{name:"Sagittarius",unified:"2650",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,28],shortName:"sagittarius"},{name:"Black Heart Suit",unified:"2665-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,35],shortName:"hearts"},{name:"Denmark Flag",unified:"1F1E9-1F1F0",sheet:[1,35],shortName:"flag-dk"},{name:"Spaghetti",unified:"1F35D",keywords:["food","italian","noodle"],sheet:[6,53],shortName:"spaghetti"},{name:"Mobile Phone",unified:"1F4F1",keywords:["technology","apple","gadgets","dial"],sheet:[27,14],shortName:"iphone"},{name:"Astonished Face",unified:"1F632",keywords:["face","xox","surprised","poisoned"],sheet:[31,28],shortName:"astonished"},{name:"Light Rail",unified:"1F688",keywords:["transportation","vehicle"],sheet:[34,7],shortName:"light_rail"},{name:"Eagle",unified:"1F985",keywords:["animal","nature","bird"],sheet:[42,23],shortName:"eagle"},{name:"Bald Person",unified:"1F9D1-200D-1F9B2",sheet:[47,25],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F9B2",sheet:[47,26],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F9B2",sheet:[47,27],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F9B2",sheet:[47,28],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F9B2",sheet:[47,29],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F9B2",sheet:[47,30],hidden:["google","twitter","facebook"]}],shortName:"bald_person"},{name:"Capricorn",unified:"2651",keywords:["sign","zodiac","purple-square","astrology"],sheet:[53,29],shortName:"capricorn"},{name:"Black Diamond Suit",unified:"2666-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,36],shortName:"diamonds"},{name:"Dominica Flag",unified:"1F1E9-1F1F2",sheet:[1,36],shortName:"flag-dm"},{name:"Roasted Sweet Potato",unified:"1F360",keywords:["food","nature"],sheet:[6,56],shortName:"sweet_potato"},{name:"Blond Haired Woman",unified:"1F471-200D-2640-FE0F",sheet:[22,7],skinVariations:[{unified:"1F471-1F3FB-200D-2640-FE0F",sheet:[22,8]},{unified:"1F471-1F3FC-200D-2640-FE0F",sheet:[22,9]},{unified:"1F471-1F3FD-200D-2640-FE0F",sheet:[22,10]},{unified:"1F471-1F3FE-200D-2640-FE0F",sheet:[22,11]},{unified:"1F471-1F3FF-200D-2640-FE0F",sheet:[22,12]}],shortName:"blond-haired-woman"},{name:"Mobile Phone with Rightwards Arrow at Left",unified:"1F4F2",keywords:["iphone","incoming"],sheet:[27,15],shortName:"calling"},{name:"Flushed Face",unified:"1F633",keywords:["face","blush","shy","flattered"],sheet:[31,29],shortName:"flushed"},{name:"Station",unified:"1F689",keywords:["transportation","vehicle","public"],sheet:[34,8],shortName:"station"},{name:"Duck",unified:"1F986",keywords:["animal","nature","bird","mallard"],sheet:[42,24],shortName:"duck"},{name:"Aquarius",unified:"2652",keywords:["sign","purple-square","zodiac","astrology"],sheet:[53,30],shortName:"aquarius"},{name:"Black Club Suit",unified:"2663-FE0F",keywords:["poker","cards","magic","suits"],sheet:[53,34],shortName:"clubs"},{name:"Dominican Republic Flag",unified:"1F1E9-1F1F4",sheet:[1,37],shortName:"flag-do"},{name:"Oden",unified:"1F362",keywords:["food","japanese"],sheet:[7,1],shortName:"oden"},{name:"Blond Haired Man",unified:"1F471-200D-2642-FE0F",obsoletes:"1F471",sheet:[22,13],skinVariations:[{unified:"1F471-1F3FB-200D-2642-FE0F",sheet:[22,14]},{unified:"1F471-1F3FC-200D-2642-FE0F",sheet:[22,15]},{unified:"1F471-1F3FD-200D-2642-FE0F",sheet:[22,16]},{unified:"1F471-1F3FE-200D-2642-FE0F",sheet:[22,17]},{unified:"1F471-1F3FF-200D-2642-FE0F",sheet:[22,18]}],shortName:"blond-haired-man"},{name:"Tram",unified:"1F68A",keywords:["transportation","vehicle"],sheet:[34,9],shortName:"tram"},{name:"Face with Pleading Eyes",unified:"1F97A",sheet:[42,12],shortName:"pleading_face"},{name:"Swan",unified:"1F9A2",keywords:["animal","nature","bird"],sheet:[42,52],shortName:"swan"},{name:"Black Telephone",unified:"260E-FE0F",keywords:["technology","communication","dial","telephone"],sheet:[52,54],shortNames:["telephone"],shortName:"phone"},{name:"Pisces",unified:"2653",keywords:["purple-square","sign","zodiac","astrology"],sheet:[53,31],shortName:"pisces"},{name:"Chess Pawn",unified:"265F-FE0F",keywords:["expendable"],sheet:[53,32],shortName:"chess_pawn"},{name:"Playing Card Black Joker",unified:"1F0CF",keywords:["poker","cards","game","play","magic"],sheet:[0,15],shortName:"black_joker"},{name:"Algeria Flag",unified:"1F1E9-1F1FF",sheet:[1,38],shortName:"flag-dz"},{name:"Sushi",unified:"1F363",keywords:["food","fish","japanese","rice"],sheet:[7,2],shortName:"sushi"},{name:"Telephone Receiver",unified:"1F4DE",keywords:["technology","communication","dial"],sheet:[26,52],shortName:"telephone_receiver"},{name:"Frowning Face with Open Mouth",unified:"1F626",keywords:["face","aw","what"],sheet:[31,16],shortName:"frowning"},{name:"Monorail",unified:"1F69D",keywords:["transportation","vehicle"],sheet:[34,28],shortName:"monorail"},{name:"Owl",unified:"1F989",keywords:["animal","nature","bird","hoot"],sheet:[42,27],shortName:"owl"},{name:"Older Adult",unified:"1F9D3",keywords:["human","elder","senior","gender-neutral"],sheet:[48,22],skinVariations:[{unified:"1F9D3-1F3FB",sheet:[48,23]},{unified:"1F9D3-1F3FC",sheet:[48,24]},{unified:"1F9D3-1F3FD",sheet:[48,25]},{unified:"1F9D3-1F3FE",sheet:[48,26]},{unified:"1F9D3-1F3FF",sheet:[48,27]}],shortName:"older_adult"},{name:"Ophiuchus",unified:"26CE",keywords:["sign","purple-square","constellation","astrology"],sheet:[54,4],shortName:"ophiuchus"},{name:"Mahjong Tile Red Dragon",unified:"1F004",keywords:["game","play","chinese","kanji"],sheet:[0,14],shortName:"mahjong"},{name:"Ceuta & Melilla Flag",unified:"1F1EA-1F1E6",sheet:[1,39],shortName:"flag-ea"},{name:"Fried Shrimp",unified:"1F364",keywords:["food","animal","appetizer","summer"],sheet:[7,3],shortName:"fried_shrimp"},{name:"Older Man",unified:"1F474",keywords:["human","male","men","old","elder","senior"],sheet:[22,49],skinVariations:[{unified:"1F474-1F3FB",sheet:[22,50]},{unified:"1F474-1F3FC",sheet:[22,51]},{unified:"1F474-1F3FD",sheet:[22,52]},{unified:"1F474-1F3FE",sheet:[22,53]},{unified:"1F474-1F3FF",sheet:[22,54]}],shortName:"older_man"},{name:"Pager",unified:"1F4DF",keywords:["bbcall","oldschool","90s"],sheet:[26,53],shortName:"pager"},{name:"Twisted Rightwards Arrows",unified:"1F500",keywords:["blue-square","shuffle","music","random"],sheet:[27,28],shortName:"twisted_rightwards_arrows"},{name:"Anguished Face",unified:"1F627",emoticons:["D:"],keywords:["face","stunned","nervous"],sheet:[31,17],shortName:"anguished"},{name:"Mountain Railway",unified:"1F69E",keywords:["transportation","vehicle"],sheet:[34,29],shortName:"mountain_railway"},{name:"Flamingo",unified:"1F9A9",sheet:[43,0],shortName:"flamingo"},{name:"Ecuador Flag",unified:"1F1EA-1F1E8",sheet:[1,40],shortName:"flag-ec"},{name:"Fish Cake with Swirl Design",unified:"1F365",keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],sheet:[7,4],shortName:"fish_cake"},{name:"Flower Playing Cards",unified:"1F3B4",keywords:["game","sunset","red"],sheet:[8,26],shortName:"flower_playing_cards"},{name:"Older Woman",unified:"1F475",keywords:["human","female","women","lady","old","elder","senior"],sheet:[22,55],skinVariations:[{unified:"1F475-1F3FB",sheet:[22,56]},{unified:"1F475-1F3FC",sheet:[23,0]},{unified:"1F475-1F3FD",sheet:[23,1]},{unified:"1F475-1F3FE",sheet:[23,2]},{unified:"1F475-1F3FF",sheet:[23,3]}],shortName:"older_woman"},{name:"Fax Machine",unified:"1F4E0",keywords:["communication","technology"],sheet:[26,54],shortName:"fax"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows",unified:"1F501",keywords:["loop","record"],sheet:[27,29],shortName:"repeat"},{name:"Fearful Face",unified:"1F628",keywords:["face","scared","terrified","nervous","oops","huh"],sheet:[31,18],shortName:"fearful"},{name:"Tram Car",unified:"1F68B",keywords:["transportation","vehicle","carriage","public","travel"],sheet:[34,10],shortName:"train"},{name:"Peacock",unified:"1F99A",keywords:["animal","nature","peahen","bird"],sheet:[42,44],shortName:"peacock"},{name:"Estonia Flag",unified:"1F1EA-1F1EA",sheet:[1,41],shortName:"flag-ee"},{name:"Performing Arts",unified:"1F3AD",keywords:["acting","theater","drama"],sheet:[8,19],shortName:"performing_arts"},{name:"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay",unified:"1F502",keywords:["blue-square","loop"],sheet:[27,30],shortName:"repeat_one"},{name:"Battery",unified:"1F50B",keywords:["power","energy","sustain"],sheet:[27,39],shortName:"battery"},{name:"Face with Open Mouth and Cold Sweat",unified:"1F630",keywords:["face","nervous","sweat"],sheet:[31,26],shortName:"cold_sweat"},{name:"Person Frowning",unified:"1F64D",sheet:[33,26],hidden:["facebook"],skinVariations:[{unified:"1F64D-1F3FB",sheet:[33,27],hidden:["facebook"]},{unified:"1F64D-1F3FC",sheet:[33,28],hidden:["facebook"]},{unified:"1F64D-1F3FD",sheet:[33,29],hidden:["facebook"]},{unified:"1F64D-1F3FE",sheet:[33,30],hidden:["facebook"]},{unified:"1F64D-1F3FF",sheet:[33,31],hidden:["facebook"]}],shortName:"person_frowning",obsoletedBy:"1F64D-200D-2640-FE0F"},{name:"Bus",unified:"1F68C",keywords:["car","vehicle","transportation"],sheet:[34,11],shortName:"bus"},{name:"Moon Cake",unified:"1F96E",keywords:["food","autumn"],sheet:[42,4],shortName:"moon_cake"},{name:"Parrot",unified:"1F99C",keywords:["animal","nature","bird","pirate","talk"],sheet:[42,46],shortName:"parrot"},{name:"Egypt Flag",unified:"1F1EA-1F1EC",sheet:[1,42],shortName:"flag-eg"},{name:"Dango",unified:"1F361",keywords:["food","dessert","sweet","japanese","barbecue","meat"],sheet:[7,0],shortName:"dango"},{name:"Frog Face",unified:"1F438",keywords:["animal","nature","croak","toad"],sheet:[12,28],shortName:"frog"},{name:"Electric Plug",unified:"1F50C",keywords:["charger","power"],sheet:[27,40],shortName:"electric_plug"},{name:"Frame with Picture",unified:"1F5BC-FE0F",sheet:[30,14],shortName:"frame_with_picture"},{name:"Disappointed but Relieved Face",unified:"1F625",keywords:["face","phew","sweat","nervous"],sheet:[31,15],shortName:"disappointed_relieved"},{name:"Man Frowning",unified:"1F64D-200D-2642-FE0F",sheet:[33,20],skinVariations:[{unified:"1F64D-1F3FB-200D-2642-FE0F",sheet:[33,21]},{unified:"1F64D-1F3FC-200D-2642-FE0F",sheet:[33,22]},{unified:"1F64D-1F3FD-200D-2642-FE0F",sheet:[33,23]},{unified:"1F64D-1F3FE-200D-2642-FE0F",sheet:[33,24]},{unified:"1F64D-1F3FF-200D-2642-FE0F",sheet:[33,25]}],shortName:"man-frowning"},{name:"Oncoming Bus",unified:"1F68D",keywords:["vehicle","transportation"],sheet:[34,12],shortName:"oncoming_bus"},{name:"Black Right-Pointing Triangle",unified:"25B6-FE0F",keywords:["blue-square","right","direction","play"],sheet:[52,43],shortName:"arrow_forward"},{name:"Western Sahara Flag",unified:"1F1EA-1F1ED",sheet:[1,43],shortName:"flag-eh"},{name:"Artist Palette",unified:"1F3A8",keywords:["design","paint","draw","colors"],sheet:[8,14],shortName:"art"},{name:"Crocodile",unified:"1F40A",keywords:["animal","nature","reptile","lizard","alligator"],sheet:[11,38],shortName:"crocodile"},{name:"Personal Computer",unified:"1F4BB",keywords:["technology","laptop","screen","display","monitor"],sheet:[26,17],shortName:"computer"},{name:"Crying Face",unified:"1F622",text:":'(",emoticons:[":'("],keywords:["face","tears","sad","depressed","upset",":'("],sheet:[31,12],shortName:"cry"},{name:"Woman Frowning",unified:"1F64D-200D-2640-FE0F",obsoletes:"1F64D",sheet:[33,14],skinVariations:[{unified:"1F64D-1F3FB-200D-2640-FE0F",sheet:[33,15]},{unified:"1F64D-1F3FC-200D-2640-FE0F",sheet:[33,16]},{unified:"1F64D-1F3FD-200D-2640-FE0F",sheet:[33,17]},{unified:"1F64D-1F3FE-200D-2640-FE0F",sheet:[33,18]},{unified:"1F64D-1F3FF-200D-2640-FE0F",sheet:[33,19]}],shortName:"woman-frowning"},{name:"Trolleybus",unified:"1F68E",keywords:["bart","transportation","vehicle"],sheet:[34,13],shortName:"trolleybus"},{name:"Dumpling",unified:"1F95F",keywords:["food","empanada","pierogi","potsticker"],sheet:[41,46],shortName:"dumpling"},{name:"Black Right-Pointing Double Triangle",unified:"23E9",keywords:["blue-square","play","speed","continue"],sheet:[52,26],shortName:"fast_forward"},{name:"Eritrea Flag",unified:"1F1EA-1F1F7",sheet:[1,44],shortName:"flag-er"},{name:"Turtle",unified:"1F422",keywords:["animal","slow","nature","tortoise"],sheet:[12,6],shortName:"turtle"},{name:"Desktop Computer",unified:"1F5A5-FE0F",keywords:["technology","computing","screen"],sheet:[30,10],shortName:"desktop_computer"},{name:"Loudly Crying Face",unified:"1F62D",text:":'(",keywords:["face","cry","tears","sad","upset","depressed"],sheet:[31,23],shortName:"sob"},{name:"Person with Pouting Face",unified:"1F64E",sheet:[33,44],hidden:["facebook"],skinVariations:[{unified:"1F64E-1F3FB",sheet:[33,45],hidden:["facebook"]},{unified:"1F64E-1F3FC",sheet:[33,46],hidden:["facebook"]},{unified:"1F64E-1F3FD",sheet:[33,47],hidden:["facebook"]},{unified:"1F64E-1F3FE",sheet:[33,48],hidden:["facebook"]},{unified:"1F64E-1F3FF",sheet:[33,49],hidden:["facebook"]}],shortName:"person_with_pouting_face",obsoletedBy:"1F64E-200D-2640-FE0F"},{name:"Minibus",unified:"1F690",keywords:["vehicle","car","transportation"],sheet:[34,15],shortName:"minibus"},{name:"Fortune Cookie",unified:"1F960",keywords:["food","prophecy"],sheet:[41,47],shortName:"fortune_cookie"},{name:"Spool of Thread",unified:"1F9F5",keywords:["needle","sewing","spool","string"],sheet:[51,40],shortName:"thread"},{name:"Black Right Pointing Double Triangle with Vertical Bar",unified:"23ED-FE0F",sheet:[52,30],shortName:"black_right_pointing_double_triangle_with_vertical_bar"},{name:"Spain Flag",unified:"1F1EA-1F1F8",keywords:["spain","flag","nation","country","banner"],sheet:[1,45],shortNames:["flag-es"],shortName:"es"},{name:"Printer",unified:"1F5A8-FE0F",keywords:["paper","ink"],sheet:[30,11],shortName:"printer"},{name:"Face Screaming in Fear",unified:"1F631",keywords:["face","munch","scared","omg"],sheet:[31,27],shortName:"scream"},{name:"Man Pouting",unified:"1F64E-200D-2642-FE0F",sheet:[33,38],skinVariations:[{unified:"1F64E-1F3FB-200D-2642-FE0F",sheet:[33,39]},{unified:"1F64E-1F3FC-200D-2642-FE0F",sheet:[33,40]},{unified:"1F64E-1F3FD-200D-2642-FE0F",sheet:[33,41]},{unified:"1F64E-1F3FE-200D-2642-FE0F",sheet:[33,42]},{unified:"1F64E-1F3FF-200D-2642-FE0F",sheet:[33,43]}],shortName:"man-pouting"},{name:"Ambulance",unified:"1F691",keywords:["health","911","hospital"],sheet:[34,16],shortName:"ambulance"},{name:"Takeout Box",unified:"1F961",keywords:["food","leftovers"],sheet:[41,48],shortName:"takeout_box"},{name:"Lizard",unified:"1F98E",keywords:["animal","nature","reptile"],sheet:[42,32],shortName:"lizard"},{name:"Ball of Yarn",unified:"1F9F6",keywords:["ball","crochet","knit"],sheet:[51,41],shortName:"yarn"},{name:"Black Right Pointing Triangle with Double Vertical Bar",unified:"23EF-FE0F",sheet:[52,32],shortName:"black_right_pointing_triangle_with_double_vertical_bar"},{name:"Ethiopia Flag",unified:"1F1EA-1F1F9",sheet:[1,46],shortName:"flag-et"},{name:"Snake",unified:"1F40D",keywords:["animal","evil","nature","hiss","python"],sheet:[11,41],shortName:"snake"},{name:"Confounded Face",unified:"1F616",keywords:["face","confused","sick","unwell","oops",":S"],sheet:[31,0],shortName:"confounded"},{name:"Woman Pouting",unified:"1F64E-200D-2640-FE0F",obsoletes:"1F64E",sheet:[33,32],skinVariations:[{unified:"1F64E-1F3FB-200D-2640-FE0F",sheet:[33,33]},{unified:"1F64E-1F3FC-200D-2640-FE0F",sheet:[33,34]},{unified:"1F64E-1F3FD-200D-2640-FE0F",sheet:[33,35]},{unified:"1F64E-1F3FE-200D-2640-FE0F",sheet:[33,36]},{unified:"1F64E-1F3FF-200D-2640-FE0F",sheet:[33,37]}],shortName:"woman-pouting"},{name:"Fire Engine",unified:"1F692",keywords:["transportation","cars","vehicle"],sheet:[34,17],shortName:"fire_engine"},{name:"Crab",unified:"1F980",keywords:["animal","crustacean"],sheet:[42,18],shortName:"crab"},{name:"Keyboard",unified:"2328-FE0F",keywords:["technology","computer","type","input","text"],sheet:[52,24],shortName:"keyboard"},{name:"Black Left-Pointing Triangle",unified:"25C0-FE0F",keywords:["blue-square","left","direction"],sheet:[52,44],shortName:"arrow_backward"},{name:"European Union Flag",unified:"1F1EA-1F1FA",sheet:[1,47],shortName:"flag-eu"},{name:"Dragon Face",unified:"1F432",keywords:["animal","myth","nature","chinese","green"],sheet:[12,22],shortName:"dragon_face"},{name:"Three Button Mouse",unified:"1F5B1-FE0F",sheet:[30,12],shortName:"three_button_mouse"},{name:"Persevering Face",unified:"1F623",keywords:["face","sick","no","upset","oops"],sheet:[31,13],shortName:"persevere"},{name:"Face with No Good Gesture",unified:"1F645",sheet:[32,2],hidden:["facebook"],skinVariations:[{unified:"1F645-1F3FB",sheet:[32,3],hidden:["facebook"]},{unified:"1F645-1F3FC",sheet:[32,4],hidden:["facebook"]},{unified:"1F645-1F3FD",sheet:[32,5],hidden:["facebook"]},{unified:"1F645-1F3FE",sheet:[32,6],hidden:["facebook"]},{unified:"1F645-1F3FF",sheet:[32,7],hidden:["facebook"]}],shortName:"no_good",obsoletedBy:"1F645-200D-2640-FE0F"},{name:"Police Car",unified:"1F693",keywords:["vehicle","cars","transportation","law","legal","enforcement"],sheet:[34,18],shortName:"police_car"},{name:"Lobster",unified:"1F99E",keywords:["animal","nature","bisque","claws","seafood"],sheet:[42,48],shortName:"lobster"},{name:"Black Left-Pointing Double Triangle",unified:"23EA",keywords:["play","blue-square"],sheet:[52,27],shortName:"rewind"},{name:"Finland Flag",unified:"1F1EB-1F1EE",sheet:[1,48],shortName:"flag-fi"},{name:"Dragon",unified:"1F409",keywords:["animal","myth","nature","chinese","green"],sheet:[11,37],shortName:"dragon"},{name:"Trackball",unified:"1F5B2-FE0F",keywords:["technology","trackpad"],sheet:[30,13],shortName:"trackball"},{name:"Disappointed Face",unified:"1F61E",text:":(",emoticons:["):",":(",":-("],keywords:["face","sad","upset","depressed",":("],sheet:[31,8],shortName:"disappointed"},{name:"Man Gesturing No",unified:"1F645-200D-2642-FE0F",sheet:[31,53],skinVariations:[{unified:"1F645-1F3FB-200D-2642-FE0F",sheet:[31,54]},{unified:"1F645-1F3FC-200D-2642-FE0F",sheet:[31,55]},{unified:"1F645-1F3FD-200D-2642-FE0F",sheet:[31,56]},{unified:"1F645-1F3FE-200D-2642-FE0F",sheet:[32,0]},{unified:"1F645-1F3FF-200D-2642-FE0F",sheet:[32,1]}],shortName:"man-gesturing-no"},{name:"Oncoming Police Car",unified:"1F694",keywords:["vehicle","law","legal","enforcement","911"],sheet:[34,19],shortName:"oncoming_police_car"},{name:"Shrimp",unified:"1F990",keywords:["animal","ocean","nature","seafood"],sheet:[42,34],shortName:"shrimp"},{name:"Black Left Pointing Double Triangle with Vertical Bar",unified:"23EE-FE0F",sheet:[52,31],shortName:"black_left_pointing_double_triangle_with_vertical_bar"},{name:"Fiji Flag",unified:"1F1EB-1F1EF",sheet:[1,49],shortName:"flag-fj"},{name:"Minidisc",unified:"1F4BD",keywords:["technology","record","data","disk","90s"],sheet:[26,19],shortName:"minidisc"},{name:"Up-Pointing Small Red Triangle",unified:"1F53C",keywords:["blue-square","triangle","direction","point","forward","top"],sheet:[28,31],shortName:"arrow_up_small"},{name:"Face with Cold Sweat",unified:"1F613",keywords:["face","hot","sad","tired","exercise"],sheet:[30,54],shortName:"sweat"},{name:"Woman Gesturing No",unified:"1F645-200D-2640-FE0F",obsoletes:"1F645",sheet:[31,47],skinVariations:[{unified:"1F645-1F3FB-200D-2640-FE0F",sheet:[31,48]},{unified:"1F645-1F3FC-200D-2640-FE0F",sheet:[31,49]},{unified:"1F645-1F3FD-200D-2640-FE0F",sheet:[31,50]},{unified:"1F645-1F3FE-200D-2640-FE0F",sheet:[31,51]},{unified:"1F645-1F3FF-200D-2640-FE0F",sheet:[31,52]}],shortName:"woman-gesturing-no"},{name:"Taxi",unified:"1F695",keywords:["uber","vehicle","cars","transportation"],sheet:[34,20],shortName:"taxi"},{name:"Squid",unified:"1F991",keywords:["animal","nature","ocean","sea"],sheet:[42,35],shortName:"squid"},{name:"Sauropod",unified:"1F995",keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],sheet:[42,39],shortName:"sauropod"},{name:"Falkland Islands Flag",unified:"1F1EB-1F1F0",sheet:[1,50],shortName:"flag-fk"},{name:"Floppy Disk",unified:"1F4BE",keywords:["oldschool","technology","save","90s","80s"],sheet:[26,20],shortName:"floppy_disk"},{name:"Weary Face",unified:"1F629",keywords:["face","tired","sleepy","sad","frustrated","upset"],sheet:[31,19],shortName:"weary"},{name:"Face with Ok Gesture",unified:"1F646",keywords:["women","girl","female","pink","human","woman"],sheet:[32,20],hidden:["facebook"],skinVariations:[{unified:"1F646-1F3FB",sheet:[32,21],hidden:["facebook"]},{unified:"1F646-1F3FC",sheet:[32,22],hidden:["facebook"]},{unified:"1F646-1F3FD",sheet:[32,23],hidden:["facebook"]},{unified:"1F646-1F3FE",sheet:[32,24],hidden:["facebook"]},{unified:"1F646-1F3FF",sheet:[32,25],hidden:["facebook"]}],shortName:"ok_woman",obsoletedBy:"1F646-200D-2640-FE0F"},{name:"Oncoming Taxi",unified:"1F696",keywords:["vehicle","cars","uber"],sheet:[34,21],shortName:"oncoming_taxi"},{name:"T-Rex",unified:"1F996",keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],sheet:[42,40],shortName:"t-rex"},{name:"Oyster",unified:"1F9AA",sheet:[43,1],shortName:"oyster"},{name:"Black Up-Pointing Double Triangle",unified:"23EB",keywords:["blue-square","direction","top"],sheet:[52,28],shortName:"arrow_double_up"},{name:"Micronesia Flag",unified:"1F1EB-1F1F2",sheet:[1,51],shortName:"flag-fm"},{name:"Soft Ice Cream",unified:"1F366",keywords:["food","hot","dessert","summer"],sheet:[7,5],shortName:"icecream"},{name:"Spouting Whale",unified:"1F433",keywords:["animal","nature","sea","ocean"],sheet:[12,23],shortName:"whale"},{name:"Optical Disc",unified:"1F4BF",keywords:["technology","dvd","disk","disc","90s"],sheet:[26,21],shortName:"cd"},{name:"Down-Pointing Small Red Triangle",unified:"1F53D",keywords:["blue-square","direction","bottom"],sheet:[28,32],shortName:"arrow_down_small"},{name:"Tired Face",unified:"1F62B",keywords:["sick","whine","upset","frustrated"],sheet:[31,21],shortName:"tired_face"},{name:"Man Gesturing Ok",unified:"1F646-200D-2642-FE0F",sheet:[32,14],skinVariations:[{unified:"1F646-1F3FB-200D-2642-FE0F",sheet:[32,15]},{unified:"1F646-1F3FC-200D-2642-FE0F",sheet:[32,16]},{unified:"1F646-1F3FD-200D-2642-FE0F",sheet:[32,17]},{unified:"1F646-1F3FE-200D-2642-FE0F",sheet:[32,18]},{unified:"1F646-1F3FF-200D-2642-FE0F",sheet:[32,19]}],shortName:"man-gesturing-ok"},{name:"Automobile",unified:"1F697",sheet:[34,22],shortNames:["red_car"],shortName:"car"},{name:"Faroe Islands Flag",unified:"1F1EB-1F1F4",sheet:[1,52],shortName:"flag-fo"},{name:"Shaved Ice",unified:"1F367",keywords:["hot","dessert","summer"],sheet:[7,6],shortName:"shaved_ice"},{name:"Whale",unified:"1F40B",keywords:["animal","nature","sea","ocean"],sheet:[11,39],shortName:"whale2"},{name:"Dvd",unified:"1F4C0",keywords:["cd","disk","disc"],sheet:[26,22],shortName:"dvd"},{name:"Woman Gesturing Ok",unified:"1F646-200D-2640-FE0F",obsoletes:"1F646",sheet:[32,8],skinVariations:[{unified:"1F646-1F3FB-200D-2640-FE0F",sheet:[32,9]},{unified:"1F646-1F3FC-200D-2640-FE0F",sheet:[32,10]},{unified:"1F646-1F3FD-200D-2640-FE0F",sheet:[32,11]},{unified:"1F646-1F3FE-200D-2640-FE0F",sheet:[32,12]},{unified:"1F646-1F3FF-200D-2640-FE0F",sheet:[32,13]}],shortName:"woman-gesturing-ok"},{name:"Oncoming Automobile",unified:"1F698",keywords:["car","vehicle","transportation"],sheet:[34,23],shortName:"oncoming_automobile"},{name:"Yawning Face",unified:"1F971",sheet:[42,7],shortName:"yawning_face"},{name:"Black Down-Pointing Double Triangle",unified:"23EC",keywords:["blue-square","direction","bottom"],sheet:[52,29],shortName:"arrow_double_down"},{name:"France Flag",unified:"1F1EB-1F1F7",keywords:["banner","flag","nation","france","french","country"],sheet:[1,53],shortNames:["flag-fr"],shortName:"fr"},{name:"Ice Cream",unified:"1F368",keywords:["food","hot","dessert"],sheet:[7,7],shortName:"ice_cream"},{name:"Dolphin",unified:"1F42C",keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],sheet:[12,16],shortNames:["flipper"],shortName:"dolphin"},{name:"Information Desk Person",unified:"1F481",sheet:[24,2],hidden:["facebook"],skinVariations:[{unified:"1F481-1F3FB",sheet:[24,3],hidden:["facebook"]},{unified:"1F481-1F3FC",sheet:[24,4],hidden:["facebook"]},{unified:"1F481-1F3FD",sheet:[24,5],hidden:["facebook"]},{unified:"1F481-1F3FE",sheet:[24,6],hidden:["facebook"]},{unified:"1F481-1F3FF",sheet:[24,7],hidden:["facebook"]}],shortName:"information_desk_person",obsoletedBy:"1F481-200D-2640-FE0F"},{name:"Face with Look of Triumph",unified:"1F624",keywords:["face","gas","phew","proud","pride"],sheet:[31,14],shortName:"triumph"},{name:"Recreational Vehicle",unified:"1F699",keywords:["transportation","vehicle"],sheet:[34,24],shortName:"blue_car"},{name:"Abacus",unified:"1F9EE",keywords:["calculation"],sheet:[51,33],shortName:"abacus"},{name:"Double Vertical Bar",unified:"23F8-FE0F",sheet:[52,37],shortName:"double_vertical_bar"},{name:"Gabon Flag",unified:"1F1EC-1F1E6",sheet:[1,54],shortName:"flag-ga"},{name:"Doughnut",unified:"1F369",keywords:["food","dessert","snack","sweet","donut"],sheet:[7,8],shortName:"doughnut"},{name:"Movie Camera",unified:"1F3A5",keywords:["film","record"],sheet:[8,11],shortName:"movie_camera"},{name:"Fish",unified:"1F41F",keywords:["animal","food","nature"],sheet:[12,3],shortName:"fish"},{name:"Man Tipping Hand",unified:"1F481-200D-2642-FE0F",sheet:[23,53],skinVariations:[{unified:"1F481-1F3FB-200D-2642-FE0F",sheet:[23,54]},{unified:"1F481-1F3FC-200D-2642-FE0F",sheet:[23,55]},{unified:"1F481-1F3FD-200D-2642-FE0F",sheet:[23,56]},{unified:"1F481-1F3FE-200D-2642-FE0F",sheet:[24,0]},{unified:"1F481-1F3FF-200D-2642-FE0F",sheet:[24,1]}],shortName:"man-tipping-hand"},{name:"Pouting Face",unified:"1F621",keywords:["angry","mad","hate","despise"],sheet:[31,11],shortName:"rage"},{name:"Delivery Truck",unified:"1F69A",keywords:["cars","transportation"],sheet:[34,25],shortName:"truck"},{name:"Black Square for Stop",unified:"23F9-FE0F",sheet:[52,38],shortName:"black_square_for_stop"},{name:"United Kingdom Flag",unified:"1F1EC-1F1E7",sheet:[1,55],shortNames:["uk","flag-gb"],shortName:"gb"},{name:"Cookie",unified:"1F36A",keywords:["food","snack","oreo","chocolate","sweet","dessert"],sheet:[7,9],shortName:"cookie"},{name:"Film Frames",unified:"1F39E-FE0F",sheet:[8,4],shortName:"film_frames"},{name:"Tropical Fish",unified:"1F420",keywords:["animal","swim","ocean","beach","nemo"],sheet:[12,4],shortName:"tropical_fish"},{name:"Woman Tipping Hand",unified:"1F481-200D-2640-FE0F",obsoletes:"1F481",sheet:[23,47],skinVariations:[{unified:"1F481-1F3FB-200D-2640-FE0F",sheet:[23,48]},{unified:"1F481-1F3FC-200D-2640-FE0F",sheet:[23,49]},{unified:"1F481-1F3FD-200D-2640-FE0F",sheet:[23,50]},{unified:"1F481-1F3FE-200D-2640-FE0F",sheet:[23,51]},{unified:"1F481-1F3FF-200D-2640-FE0F",sheet:[23,52]}],shortName:"woman-tipping-hand"},{name:"Angry Face",unified:"1F620",emoticons:[">:(",">:-("],keywords:["mad","face","annoyed","frustrated"],sheet:[31,10],shortName:"angry"},{name:"Articulated Lorry",unified:"1F69B",keywords:["vehicle","cars","transportation","express"],sheet:[34,26],shortName:"articulated_lorry"},{name:"Black Circle for Record",unified:"23FA-FE0F",sheet:[52,39],shortName:"black_circle_for_record"},{name:"Grenada Flag",unified:"1F1EC-1F1E9",sheet:[1,56],shortName:"flag-gd"},{name:"Birthday Cake",unified:"1F382",keywords:["food","dessert","cake"],sheet:[7,33],shortName:"birthday"},{name:"Blowfish",unified:"1F421",keywords:["animal","nature","food","sea","ocean"],sheet:[12,5],shortName:"blowfish"},{name:"Film Projector",unified:"1F4FD-FE0F",keywords:["video","tape","record","movie"],sheet:[27,26],shortName:"film_projector"},{name:"Happy Person Raising One Hand",unified:"1F64B",sheet:[33,2],hidden:["facebook"],skinVariations:[{unified:"1F64B-1F3FB",sheet:[33,3],hidden:["facebook"]},{unified:"1F64B-1F3FC",sheet:[33,4],hidden:["facebook"]},{unified:"1F64B-1F3FD",sheet:[33,5],hidden:["facebook"]},{unified:"1F64B-1F3FE",sheet:[33,6],hidden:["facebook"]},{unified:"1F64B-1F3FF",sheet:[33,7],hidden:["facebook"]}],shortName:"raising_hand",obsoletedBy:"1F64B-200D-2640-FE0F"},{name:"Tractor",unified:"1F69C",keywords:["vehicle","car","farming","agriculture"],sheet:[34,27],shortName:"tractor"},{name:"Serious Face with Symbols Covering Mouth",unified:"1F92C",sheet:[38,46],shortNames:["serious_face_with_symbols_covering_mouth"],shortName:"face_with_symbols_on_mouth"},{name:"Eject",unified:"23CF-FE0F",sheet:[52,25],shortName:"eject"},{name:"Georgia Flag",unified:"1F1EC-1F1EA",sheet:[2,0],shortName:"flag-ge"},{name:"Shortcake",unified:"1F370",keywords:["food","dessert"],sheet:[7,15],shortName:"cake"},{name:"Cinema",unified:"1F3A6",keywords:["blue-square","record","film","movie","curtain","stage","theater"],sheet:[8,12],shortName:"cinema"},{name:"Clapper Board",unified:"1F3AC",keywords:["movie","film","record"],sheet:[8,18],shortName:"clapper"},{name:"Racing Car",unified:"1F3CE-FE0F",keywords:["sports","race","fast","formula","f1"],sheet:[10,33],shortName:"racing_car"},{name:"Smiling Face with Horns",unified:"1F608",keywords:["devil","horns"],sheet:[30,43],shortName:"smiling_imp"},{name:"Man Raising Hand",unified:"1F64B-200D-2642-FE0F",sheet:[32,53],skinVariations:[{unified:"1F64B-1F3FB-200D-2642-FE0F",sheet:[32,54]},{unified:"1F64B-1F3FC-200D-2642-FE0F",sheet:[32,55]},{unified:"1F64B-1F3FD-200D-2642-FE0F",sheet:[32,56]},{unified:"1F64B-1F3FE-200D-2642-FE0F",sheet:[33,0]},{unified:"1F64B-1F3FF-200D-2642-FE0F",sheet:[33,1]}],shortName:"man-raising-hand"},{name:"Shark",unified:"1F988",keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],sheet:[42,26],shortName:"shark"},{name:"French Guiana Flag",unified:"1F1EC-1F1EB",sheet:[2,1],shortName:"flag-gf"},{name:"Racing Motorcycle",unified:"1F3CD-FE0F",sheet:[10,32],shortName:"racing_motorcycle"},{name:"Octopus",unified:"1F419",keywords:["animal","creature","ocean","sea","nature","beach"],sheet:[11,54],shortName:"octopus"},{name:"Imp",unified:"1F47F",keywords:["devil","angry","horns"],sheet:[23,45],shortName:"imp"},{name:"Television",unified:"1F4FA",keywords:["technology","program","oldschool","show","television"],sheet:[27,23],shortName:"tv"},{name:"Low Brightness Symbol",unified:"1F505",keywords:["sun","afternoon","warm","summer"],sheet:[27,33],shortName:"low_brightness"},{name:"Woman Raising Hand",unified:"1F64B-200D-2640-FE0F",obsoletes:"1F64B",sheet:[32,47],skinVariations:[{unified:"1F64B-1F3FB-200D-2640-FE0F",sheet:[32,48]},{unified:"1F64B-1F3FC-200D-2640-FE0F",sheet:[32,49]},{unified:"1F64B-1F3FD-200D-2640-FE0F",sheet:[32,50]},{unified:"1F64B-1F3FE-200D-2640-FE0F",sheet:[32,51]},{unified:"1F64B-1F3FF-200D-2640-FE0F",sheet:[32,52]}],shortName:"woman-raising-hand"},{name:"Cupcake",unified:"1F9C1",keywords:["food","dessert","bakery","sweet"],sheet:[44,9],shortName:"cupcake"},{name:"Guernsey Flag",unified:"1F1EC-1F1EC",sheet:[2,2],shortName:"flag-gg"},{name:"Spiral Shell",unified:"1F41A",keywords:["nature","sea","beach"],sheet:[11,55],shortName:"shell"},{name:"Skull",unified:"1F480",keywords:["dead","skeleton","creepy","death"],sheet:[23,46],shortName:"skull"},{name:"Camera",unified:"1F4F7",keywords:["gadgets","photography"],sheet:[27,20],shortName:"camera"},{name:"High Brightness Symbol",unified:"1F506",keywords:["sun","light"],sheet:[27,34],shortName:"high_brightness"},{name:"Motor Scooter",unified:"1F6F5",keywords:["vehicle","vespa","sasha"],sheet:[36,54],shortName:"motor_scooter"},{name:"Pie",unified:"1F967",keywords:["food","dessert","pastry"],sheet:[41,54],shortName:"pie"},{name:"Deaf Person",unified:"1F9CF",sheet:[45,10],skinVariations:[{unified:"1F9CF-1F3FB",sheet:[45,11]},{unified:"1F9CF-1F3FC",sheet:[45,12]},{unified:"1F9CF-1F3FD",sheet:[45,13]},{unified:"1F9CF-1F3FE",sheet:[45,14]},{unified:"1F9CF-1F3FF",sheet:[45,15]}],shortName:"deaf_person"},{name:"Ghana Flag",unified:"1F1EC-1F1ED",sheet:[2,3],shortName:"flag-gh"},{name:"Chocolate Bar",unified:"1F36B",keywords:["food","snack","dessert","sweet"],sheet:[7,10],shortName:"chocolate_bar"},{name:"Snail",unified:"1F40C",keywords:["slow","animal","shell"],sheet:[11,40],shortName:"snail"},{name:"Antenna with Bars",unified:"1F4F6",keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],sheet:[27,19],shortName:"signal_strength"},{name:"Camera with Flash",unified:"1F4F8",sheet:[27,21],shortName:"camera_with_flash"},{name:"Manual Wheelchair",unified:"1F9BD",sheet:[44,5],shortName:"manual_wheelchair"},{name:"Deaf Man",unified:"1F9CF-200D-2642-FE0F",sheet:[45,4],skinVariations:[{unified:"1F9CF-1F3FB-200D-2642-FE0F",sheet:[45,5]},{unified:"1F9CF-1F3FC-200D-2642-FE0F",sheet:[45,6]},{unified:"1F9CF-1F3FD-200D-2642-FE0F",sheet:[45,7]},{unified:"1F9CF-1F3FE-200D-2642-FE0F",sheet:[45,8]},{unified:"1F9CF-1F3FF-200D-2642-FE0F",sheet:[45,9]}],shortName:"deaf_man"},{name:"Skull and Crossbones",unified:"2620-FE0F",keywords:["poison","danger","deadly","scary","death","pirate","evil"],sheet:[53,8],shortName:"skull_and_crossbones"},{name:"Gibraltar Flag",unified:"1F1EC-1F1EE",sheet:[2,4],shortName:"flag-gi"},{name:"Candy",unified:"1F36C",keywords:["snack","dessert","sweet","lolly"],sheet:[7,11],shortName:"candy"},{name:"Pile of Poo",unified:"1F4A9",sheet:[25,51],shortNames:["poop","shit"],shortName:"hankey"},{name:"Vibration Mode",unified:"1F4F3",keywords:["orange-square","phone"],sheet:[27,16],shortName:"vibration_mode"},{name:"Video Camera",unified:"1F4F9",keywords:["film","record"],sheet:[27,22],shortName:"video_camera"},{name:"Butterfly",unified:"1F98B",keywords:["animal","insect","nature","caterpillar"],sheet:[42,29],shortName:"butterfly"},{name:"Motorized Wheelchair",unified:"1F9BC",sheet:[44,4],shortName:"motorized_wheelchair"},{name:"Deaf Woman",unified:"1F9CF-200D-2640-FE0F",sheet:[44,55],skinVariations:[{unified:"1F9CF-1F3FB-200D-2640-FE0F",sheet:[44,56]},{unified:"1F9CF-1F3FC-200D-2640-FE0F",sheet:[45,0]},{unified:"1F9CF-1F3FD-200D-2640-FE0F",sheet:[45,1]},{unified:"1F9CF-1F3FE-200D-2640-FE0F",sheet:[45,2]},{unified:"1F9CF-1F3FF-200D-2640-FE0F",sheet:[45,3]}],shortName:"deaf_woman"},{name:"Greenland Flag",unified:"1F1EC-1F1F1",sheet:[2,5],shortName:"flag-gl"},{name:"Lollipop",unified:"1F36D",keywords:["food","snack","candy","sweet"],sheet:[7,12],shortName:"lollipop"},{name:"Bug",unified:"1F41B",keywords:["animal","insect","nature","worm"],sheet:[11,56],shortName:"bug"},{name:"Mobile Phone off",unified:"1F4F4",keywords:["mute","orange-square","silence","quiet"],sheet:[27,17],shortName:"mobile_phone_off"},{name:"Videocassette",unified:"1F4FC",keywords:["record","video","oldschool","90s","80s"],sheet:[27,25],shortName:"vhs"},{name:"Person Bowing Deeply",unified:"1F647",sheet:[32,38],hidden:["facebook"],skinVariations:[{unified:"1F647-1F3FB",sheet:[32,39],hidden:["facebook"]},{unified:"1F647-1F3FC",sheet:[32,40],hidden:["facebook"]},{unified:"1F647-1F3FD",sheet:[32,41],hidden:["facebook"]},{unified:"1F647-1F3FE",sheet:[32,42],hidden:["facebook"]},{unified:"1F647-1F3FF",sheet:[32,43],hidden:["facebook"]}],shortName:"bow",obsoletedBy:"1F647-200D-2642-FE0F"},{name:"Auto Rickshaw",unified:"1F6FA",sheet:[37,2],shortName:"auto_rickshaw"},{name:"Clown Face",unified:"1F921",keywords:["face"],sheet:[38,18],shortName:"clown_face"},{name:"Gambia Flag",unified:"1F1EC-1F1F2",sheet:[2,6],shortName:"flag-gm"},{name:"Custard",unified:"1F36E",keywords:["dessert","food"],sheet:[7,13],shortName:"custard"},{name:"Ant",unified:"1F41C",keywords:["animal","insect","nature","bug"],sheet:[12,0],shortName:"ant"},{name:"Japanese Ogre",unified:"1F479",keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],sheet:[23,34],shortName:"japanese_ogre"},{name:"Left-Pointing Magnifying Glass",unified:"1F50D",keywords:["search","zoom","find","detective"],sheet:[27,41],shortName:"mag"},{name:"Man Bowing",unified:"1F647-200D-2642-FE0F",obsoletes:"1F647",sheet:[32,32],skinVariations:[{unified:"1F647-1F3FB-200D-2642-FE0F",sheet:[32,33]},{unified:"1F647-1F3FC-200D-2642-FE0F",sheet:[32,34]},{unified:"1F647-1F3FD-200D-2642-FE0F",sheet:[32,35]},{unified:"1F647-1F3FE-200D-2642-FE0F",sheet:[32,36]},{unified:"1F647-1F3FF-200D-2642-FE0F",sheet:[32,37]}],shortName:"man-bowing"},{name:"Bicycle",unified:"1F6B2",keywords:["sports","bicycle","exercise","hipster"],sheet:[35,9],shortName:"bike"},{name:"Female Sign",unified:"2640-FE0F",sheet:[53,18],hidden:["apple"],shortName:"female_sign"},{name:"Guinea Flag",unified:"1F1EC-1F1F3",sheet:[2,7],shortName:"flag-gn"},{name:"Honey Pot",unified:"1F36F",keywords:["bees","sweet","kitchen"],sheet:[7,14],shortName:"honey_pot"},{name:"Honeybee",unified:"1F41D",sheet:[12,1],shortNames:["honeybee"],shortName:"bee"},{name:"Japanese Goblin",unified:"1F47A",keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],sheet:[23,35],shortName:"japanese_goblin"},{name:"Right-Pointing Magnifying Glass",unified:"1F50E",keywords:["search","zoom","find","detective"],sheet:[27,42],shortName:"mag_right"},{name:"Woman Bowing",unified:"1F647-200D-2640-FE0F",sheet:[32,26],skinVariations:[{unified:"1F647-1F3FB-200D-2640-FE0F",sheet:[32,27]},{unified:"1F647-1F3FC-200D-2640-FE0F",sheet:[32,28]},{unified:"1F647-1F3FD-200D-2640-FE0F",sheet:[32,29]},{unified:"1F647-1F3FE-200D-2640-FE0F",sheet:[32,30]},{unified:"1F647-1F3FF-200D-2640-FE0F",sheet:[32,31]}],shortName:"woman-bowing"},{name:"Scooter",unified:"1F6F4",sheet:[36,53],shortName:"scooter"},{name:"Male Sign",unified:"2642-FE0F",sheet:[53,19],hidden:["apple"],shortName:"male_sign"},{name:"Guadeloupe Flag",unified:"1F1EC-1F1F5",sheet:[2,8],shortName:"flag-gp"},{name:"Baby Bottle",unified:"1F37C",keywords:["food","container","milk"],sheet:[7,27],shortName:"baby_bottle"},{name:"Lady Beetle",unified:"1F41E",keywords:["animal","insect","nature","ladybug"],sheet:[12,2],shortName:"beetle"},{name:"Ghost",unified:"1F47B",keywords:["halloween","spooky","scary"],sheet:[23,36],shortName:"ghost"},{name:"Candle",unified:"1F56F-FE0F",keywords:["fire","wax"],sheet:[29,6],shortName:"candle"},{name:"Skateboard",unified:"1F6F9",keywords:["board"],sheet:[37,1],shortName:"skateboard"},{name:"Face Palm",unified:"1F926",sheet:[38,35],hidden:["facebook"],skinVariations:[{unified:"1F926-1F3FB",sheet:[38,36],hidden:["facebook"]},{unified:"1F926-1F3FC",sheet:[38,37],hidden:["facebook"]},{unified:"1F926-1F3FD",sheet:[38,38],hidden:["facebook"]},{unified:"1F926-1F3FE",sheet:[38,39],hidden:["facebook"]},{unified:"1F926-1F3FF",sheet:[38,40],hidden:["facebook"]}],shortName:"face_palm"},{name:"Medical Symbol",unified:"2695-FE0F",sheet:[53,44],hidden:["apple"],shortNames:["staff_of_aesculapius"],shortName:"medical_symbol"},{name:"Equatorial Guinea Flag",unified:"1F1EC-1F1F6",sheet:[2,9],shortName:"flag-gq"},{name:"Extraterrestrial Alien",unified:"1F47D",keywords:["UFO","paul","weird","outer_space"],sheet:[23,43],shortName:"alien"},{name:"Electric Light Bulb",unified:"1F4A1",keywords:["light","electricity","idea"],sheet:[25,43],shortName:"bulb"},{name:"Bus Stop",unified:"1F68F",keywords:["transportation","wait"],sheet:[34,14],shortName:"busstop"},{name:"Man Facepalming",unified:"1F926-200D-2642-FE0F",sheet:[38,29],skinVariations:[{unified:"1F926-1F3FB-200D-2642-FE0F",sheet:[38,30]},{unified:"1F926-1F3FC-200D-2642-FE0F",sheet:[38,31]},{unified:"1F926-1F3FD-200D-2642-FE0F",sheet:[38,32]},{unified:"1F926-1F3FE-200D-2642-FE0F",sheet:[38,33]},{unified:"1F926-1F3FF-200D-2642-FE0F",sheet:[38,34]}],shortName:"man-facepalming"},{name:"Glass of Milk",unified:"1F95B",sheet:[41,42],shortName:"glass_of_milk"},{name:"Cricket",unified:"1F997",keywords:["sports"],sheet:[42,41],shortName:"cricket"},{name:"Infinity",unified:"267E-FE0F",keywords:["forever"],sheet:[53,39],shortName:"infinity"},{name:"Greece Flag",unified:"1F1EC-1F1F7",sheet:[2,10],shortName:"flag-gr"},{name:"Alien Monster",unified:"1F47E",keywords:["game","arcade","play"],sheet:[23,44],shortName:"space_invader"},{name:"Electric Torch",unified:"1F526",keywords:["dark","camping","sight","night"],sheet:[28,9],shortName:"flashlight"},{name:"Spider",unified:"1F577-FE0F",keywords:["animal","arachnid"],sheet:[29,34],shortName:"spider"},{name:"Motorway",unified:"1F6E3-FE0F",keywords:["road","cupertino","interstate","highway"],sheet:[36,45],shortName:"motorway"},{name:"Woman Facepalming",unified:"1F926-200D-2640-FE0F",sheet:[38,23],skinVariations:[{unified:"1F926-1F3FB-200D-2640-FE0F",sheet:[38,24]},{unified:"1F926-1F3FC-200D-2640-FE0F",sheet:[38,25]},{unified:"1F926-1F3FD-200D-2640-FE0F",sheet:[38,26]},{unified:"1F926-1F3FE-200D-2640-FE0F",sheet:[38,27]},{unified:"1F926-1F3FF-200D-2640-FE0F",sheet:[38,28]}],shortName:"woman-facepalming"},{name:"Hot Beverage",unified:"2615",keywords:["beverage","caffeine","latte","espresso"],sheet:[53,0],shortName:"coffee"},{name:"Black Universal Recycling Symbol",unified:"267B-FE0F",keywords:["arrow","environment","garbage","trash"],sheet:[53,38],shortName:"recycle"},{name:"South Georgia & South Sandwich Islands Flag",unified:"1F1EC-1F1F8",sheet:[2,11],shortName:"flag-gs"},{name:"Teacup Without Handle",unified:"1F375",keywords:["drink","bowl","breakfast","green","british"],sheet:[7,20],shortName:"tea"},{name:"Izakaya Lantern",unified:"1F3EE",keywords:["light","paper","halloween","spooky"],sheet:[11,8],shortNames:["lantern"],shortName:"izakaya_lantern"},{name:"Spider Web",unified:"1F578-FE0F",keywords:["animal","insect","arachnid","silk"],sheet:[29,35],shortName:"spider_web"},{name:"Railway Track",unified:"1F6E4-FE0F",keywords:["train","transportation"],sheet:[36,46],shortName:"railway_track"},{name:"Robot Face",unified:"1F916",sheet:[37,29],shortName:"robot_face"},{name:"Shrug",unified:"1F937",sheet:[39,47],hidden:["facebook"],skinVariations:[{unified:"1F937-1F3FB",sheet:[39,48],hidden:["facebook"]},{unified:"1F937-1F3FC",sheet:[39,49],hidden:["facebook"]},{unified:"1F937-1F3FD",sheet:[39,50],hidden:["facebook"]},{unified:"1F937-1F3FE",sheet:[39,51],hidden:["facebook"]},{unified:"1F937-1F3FF",sheet:[39,52],hidden:["facebook"]}],shortName:"shrug"},{name:"Fleur De Lis",unified:"269C-FE0F",keywords:["decorative","scout"],sheet:[53,49],shortName:"fleur_de_lis"},{name:"Guatemala Flag",unified:"1F1EC-1F1F9",sheet:[2,12],shortName:"flag-gt"},{name:"Sake Bottle and Cup",unified:"1F376",keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],sheet:[7,21],shortName:"sake"},{name:"Trident Emblem",unified:"1F531",keywords:["weapon","spear"],sheet:[28,20],shortName:"trident"},{name:"Smiling Cat Face with Open Mouth",unified:"1F63A",keywords:["animal","cats","happy","smile"],sheet:[31,36],shortName:"smiley_cat"},{name:"Oil Drum",unified:"1F6E2-FE0F",keywords:["barrell"],sheet:[36,44],shortName:"oil_drum"},{name:"Man Shrugging",unified:"1F937-200D-2642-FE0F",sheet:[39,41],skinVariations:[{unified:"1F937-1F3FB-200D-2642-FE0F",sheet:[39,42]},{unified:"1F937-1F3FC-200D-2642-FE0F",sheet:[39,43]},{unified:"1F937-1F3FD-200D-2642-FE0F",sheet:[39,44]},{unified:"1F937-1F3FE-200D-2642-FE0F",sheet:[39,45]},{unified:"1F937-1F3FF-200D-2642-FE0F",sheet:[39,46]}],shortName:"man-shrugging"},{name:"Scorpion",unified:"1F982",keywords:["animal","arachnid"],sheet:[42,20],shortName:"scorpion"},{name:"Diya Lamp",unified:"1FA94",sheet:[52,8],shortName:"diya_lamp"},{name:"Guam Flag",unified:"1F1EC-1F1FA",sheet:[2,13],shortName:"flag-gu"},{name:"Bottle with Popping Cork",unified:"1F37E",keywords:["drink","wine","bottle","celebration"],sheet:[7,29],shortName:"champagne"},{name:"Notebook with Decorative Cover",unified:"1F4D4",keywords:["classroom","notes","record","paper","study"],sheet:[26,42],shortName:"notebook_with_decorative_cover"},{name:"Name Badge",unified:"1F4DB",keywords:["fire","forbid"],sheet:[26,49],shortName:"name_badge"},{name:"Grinning Cat Face with Smiling Eyes",unified:"1F638",keywords:["animal","cats","smile"],sheet:[31,34],shortName:"smile_cat"},{name:"Woman Shrugging",unified:"1F937-200D-2640-FE0F",sheet:[39,35],skinVariations:[{unified:"1F937-1F3FB-200D-2640-FE0F",sheet:[39,36]},{unified:"1F937-1F3FC-200D-2640-FE0F",sheet:[39,37]},{unified:"1F937-1F3FD-200D-2640-FE0F",sheet:[39,38]},{unified:"1F937-1F3FE-200D-2640-FE0F",sheet:[39,39]},{unified:"1F937-1F3FF-200D-2640-FE0F",sheet:[39,40]}],shortName:"woman-shrugging"},{name:"Mosquito",unified:"1F99F",keywords:["animal","nature","insect","malaria"],sheet:[42,49],shortName:"mosquito"},{name:"Fuel Pump",unified:"26FD",keywords:["gas station","petroleum"],sheet:[54,38],shortName:"fuelpump"},{name:"Guinea-Bissau Flag",unified:"1F1EC-1F1FC",sheet:[2,14],shortName:"flag-gw"},{name:"Wine Glass",unified:"1F377",keywords:["drink","beverage","drunk","alcohol","booze"],sheet:[7,22],shortName:"wine_glass"},{name:"Closed Book",unified:"1F4D5",keywords:["read","library","knowledge","textbook","learn"],sheet:[26,43],shortName:"closed_book"},{name:"Japanese Symbol for Beginner",unified:"1F530",keywords:["badge","shield"],sheet:[28,19],shortName:"beginner"},{name:"Cat Face with Tears of Joy",unified:"1F639",keywords:["animal","cats","haha","happy","tears"],sheet:[31,35],shortName:"joy_cat"},{name:"Police Cars Revolving Light",unified:"1F6A8",keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],sheet:[34,56],shortName:"rotating_light"},{name:"Microbe",unified:"1F9A0",keywords:["amoeba","bacteria","germs"],sheet:[42,50],shortName:"microbe"},{name:"Health Worker",unified:"1F9D1-200D-2695-FE0F",sheet:[47,49],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-2695-FE0F",sheet:[47,50],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-2695-FE0F",sheet:[47,51],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-2695-FE0F",sheet:[47,52],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-2695-FE0F",sheet:[47,53],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-2695-FE0F",sheet:[47,54],hidden:["google","twitter","facebook"]}],shortName:"health_worker"},{name:"Guyana Flag",unified:"1F1EC-1F1FE",sheet:[2,15],shortName:"flag-gy"},{name:"Cocktail Glass",unified:"1F378",keywords:["drink","drunk","alcohol","beverage","booze","mojito"],sheet:[7,23],shortName:"cocktail"},{name:"Male Doctor",unified:"1F468-200D-2695-FE0F",sheet:[17,2],skinVariations:[{unified:"1F468-1F3FB-200D-2695-FE0F",sheet:[17,3]},{unified:"1F468-1F3FC-200D-2695-FE0F",sheet:[17,4]},{unified:"1F468-1F3FD-200D-2695-FE0F",sheet:[17,5]},{unified:"1F468-1F3FE-200D-2695-FE0F",sheet:[17,6]},{unified:"1F468-1F3FF-200D-2695-FE0F",sheet:[17,7]}],shortName:"male-doctor"},{name:"Bouquet",unified:"1F490",keywords:["flowers","nature","spring"],sheet:[25,26],shortName:"bouquet"},{name:"Open Book",unified:"1F4D6",sheet:[26,44],shortNames:["open_book"],shortName:"book"},{name:"Smiling Cat Face with Heart-Shaped Eyes",unified:"1F63B",keywords:["animal","love","like","affection","cats","valentines","heart"],sheet:[31,37],shortName:"heart_eyes_cat"},{name:"Horizontal Traffic Light",unified:"1F6A5",keywords:["transportation","signal"],sheet:[34,53],shortName:"traffic_light"},{name:"Heavy Large Circle",unified:"2B55",keywords:["circle","round"],sheet:[55,43],shortName:"o"},{name:"Hong Kong Sar China Flag",unified:"1F1ED-1F1F0",sheet:[2,16],shortName:"flag-hk"},{name:"Cherry Blossom",unified:"1F338",keywords:["nature","plant","spring","flower"],sheet:[6,16],shortName:"cherry_blossom"},{name:"Tropical Drink",unified:"1F379",keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],sheet:[7,24],shortName:"tropical_drink"},{name:"Female Doctor",unified:"1F469-200D-2695-FE0F",sheet:[19,44],skinVariations:[{unified:"1F469-1F3FB-200D-2695-FE0F",sheet:[19,45]},{unified:"1F469-1F3FC-200D-2695-FE0F",sheet:[19,46]},{unified:"1F469-1F3FD-200D-2695-FE0F",sheet:[19,47]},{unified:"1F469-1F3FE-200D-2695-FE0F",sheet:[19,48]},{unified:"1F469-1F3FF-200D-2695-FE0F",sheet:[19,49]}],shortName:"female-doctor"},{name:"Green Book",unified:"1F4D7",keywords:["read","library","knowledge","study"],sheet:[26,45],shortName:"green_book"},{name:"Cat Face with Wry Smile",unified:"1F63C",keywords:["animal","cats","smirk"],sheet:[31,38],shortName:"smirk_cat"},{name:"Vertical Traffic Light",unified:"1F6A6",keywords:["transportation","driving"],sheet:[34,54],shortName:"vertical_traffic_light"},{name:"White Heavy Check Mark",unified:"2705",keywords:["green-square","ok","agree","vote","election","answer","tick"],sheet:[54,40],shortName:"white_check_mark"},{name:"Heard & Mcdonald Islands Flag",unified:"1F1ED-1F1F2",sheet:[2,17],shortName:"flag-hm"},{name:"Beer Mug",unified:"1F37A",keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,25],shortName:"beer"},{name:"White Flower",unified:"1F4AE",keywords:["japanese","spring"],sheet:[26,4],shortName:"white_flower"},{name:"Blue Book",unified:"1F4D8",keywords:["read","library","knowledge","learn","study"],sheet:[26,46],shortName:"blue_book"},{name:"Kissing Cat Face with Closed Eyes",unified:"1F63D",keywords:["animal","cats","kiss"],sheet:[31,39],shortName:"kissing_cat"},{name:"Octagonal Sign",unified:"1F6D1",sheet:[36,39],shortName:"octagonal_sign"},{name:"Student",unified:"1F9D1-200D-1F393",sheet:[45,29],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F393",sheet:[45,30],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F393",sheet:[45,31],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F393",sheet:[45,32],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F393",sheet:[45,33],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F393",sheet:[45,34],hidden:["google","twitter","facebook"]}],shortName:"student"},{name:"Ballot Box with Check",unified:"2611-FE0F",keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],sheet:[52,55],shortName:"ballot_box_with_check"},{name:"Honduras Flag",unified:"1F1ED-1F1F3",sheet:[2,18],shortName:"flag-hn"},{name:"Clinking Beer Mugs",unified:"1F37B",keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],sheet:[7,26],shortName:"beers"},{name:"Rosette",unified:"1F3F5-FE0F",keywords:["flower","decoration","military"],sheet:[11,18],shortName:"rosette"},{name:"Male Student",unified:"1F468-200D-1F393",sheet:[14,50],skinVariations:[{unified:"1F468-1F3FB-200D-1F393",sheet:[14,51]},{unified:"1F468-1F3FC-200D-1F393",sheet:[14,52]},{unified:"1F468-1F3FD-200D-1F393",sheet:[14,53]},{unified:"1F468-1F3FE-200D-1F393",sheet:[14,54]},{unified:"1F468-1F3FF-200D-1F393",sheet:[14,55]}],shortName:"male-student"},{name:"Orange Book",unified:"1F4D9",keywords:["read","library","knowledge","textbook","study"],sheet:[26,47],shortName:"orange_book"},{name:"Weary Cat Face",unified:"1F640",keywords:["animal","cats","munch","scared","scream"],sheet:[31,42],shortName:"scream_cat"},{name:"Construction Sign",unified:"1F6A7",keywords:["wip","progress","caution","warning"],sheet:[34,55],shortName:"construction"},{name:"Heavy Check Mark",unified:"2714-FE0F",keywords:["ok","nike","answer","yes","tick"],sheet:[55,12],shortName:"heavy_check_mark"},{name:"Croatia Flag",unified:"1F1ED-1F1F7",sheet:[2,19],shortName:"flag-hr"},{name:"Rose",unified:"1F339",keywords:["flowers","valentines","love","spring"],sheet:[6,17],shortName:"rose"},{name:"Female Student",unified:"1F469-200D-1F393",sheet:[17,40],skinVariations:[{unified:"1F469-1F3FB-200D-1F393",sheet:[17,41]},{unified:"1F469-1F3FC-200D-1F393",sheet:[17,42]},{unified:"1F469-1F3FD-200D-1F393",sheet:[17,43]},{unified:"1F469-1F3FE-200D-1F393",sheet:[17,44]},{unified:"1F469-1F3FF-200D-1F393",sheet:[17,45]}],shortName:"female-student"},{name:"Books",unified:"1F4DA",keywords:["literature","library","study"],sheet:[26,48],shortName:"books"},{name:"Crying Cat Face",unified:"1F63F",keywords:["animal","tears","weep","sad","cats","upset","cry"],sheet:[31,41],shortName:"crying_cat_face"},{name:"Clinking Glasses",unified:"1F942",keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],sheet:[41,18],shortName:"clinking_glasses"},{name:"Anchor",unified:"2693",keywords:["ship","ferry","sea","boat"],sheet:[53,42],shortName:"anchor"},{name:"Heavy Multiplication X",unified:"2716-FE0F",keywords:["math","calculation"],sheet:[55,13],shortName:"heavy_multiplication_x"},{name:"Haiti Flag",unified:"1F1ED-1F1F9",sheet:[2,20],shortName:"flag-ht"},{name:"Notebook",unified:"1F4D3",keywords:["stationery","record","notes","paper","study"],sheet:[26,41],shortName:"notebook"},{name:"Pouting Cat Face",unified:"1F63E",keywords:["animal","cats"],sheet:[31,40],shortName:"pouting_cat"},{name:"Wilted Flower",unified:"1F940",keywords:["plant","nature","flower"],sheet:[41,16],shortName:"wilted_flower"},{name:"Tumbler Glass",unified:"1F943",keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],sheet:[41,19],shortName:"tumbler_glass"},{name:"Teacher",unified:"1F9D1-200D-1F3EB",sheet:[45,47],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F3EB",sheet:[45,48],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F3EB",sheet:[45,49],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F3EB",sheet:[45,50],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F3EB",sheet:[45,51],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F3EB",sheet:[45,52],hidden:["google","twitter","facebook"]}],shortName:"teacher"},{name:"Sailboat",unified:"26F5",sheet:[54,16],shortNames:["sailboat"],shortName:"boat"},{name:"Cross Mark",unified:"274C",keywords:["no","delete","remove","cancel","red"],sheet:[55,21],shortName:"x"},{name:"Hungary Flag",unified:"1F1ED-1F1FA",sheet:[2,21],shortName:"flag-hu"},{name:"Hibiscus",unified:"1F33A",keywords:["plant","vegetable","flowers","beach"],sheet:[6,18],shortName:"hibiscus"},{name:"Male Teacher",unified:"1F468-200D-1F3EB",sheet:[15,11],skinVariations:[{unified:"1F468-1F3FB-200D-1F3EB",sheet:[15,12]},{unified:"1F468-1F3FC-200D-1F3EB",sheet:[15,13]},{unified:"1F468-1F3FD-200D-1F3EB",sheet:[15,14]},{unified:"1F468-1F3FE-200D-1F3EB",sheet:[15,15]},{unified:"1F468-1F3FF-200D-1F3EB",sheet:[15,16]}],shortName:"male-teacher"},{name:"Ledger",unified:"1F4D2",keywords:["notes","paper"],sheet:[26,40],shortName:"ledger"},{name:"See-No-Evil Monkey",unified:"1F648",keywords:["monkey","animal","nature","haha"],sheet:[32,44],shortName:"see_no_evil"},{name:"Canoe",unified:"1F6F6",keywords:["boat","paddle","water","ship"],sheet:[36,55],shortName:"canoe"},{name:"Cup with Straw",unified:"1F964",keywords:["drink","soda"],sheet:[41,51],shortName:"cup_with_straw"},{name:"Negative Squared Cross Mark",unified:"274E",keywords:["x","green-square","no","deny"],sheet:[55,22],shortName:"negative_squared_cross_mark"},{name:"Canary Islands Flag",unified:"1F1EE-1F1E8",sheet:[2,22],shortName:"flag-ic"},{name:"Sunflower",unified:"1F33B",keywords:["nature","plant","fall"],sheet:[6,19],shortName:"sunflower"},{name:"Female Teacher",unified:"1F469-200D-1F3EB",sheet:[18,1],skinVariations:[{unified:"1F469-1F3FB-200D-1F3EB",sheet:[18,2]},{unified:"1F469-1F3FC-200D-1F3EB",sheet:[18,3]},{unified:"1F469-1F3FD-200D-1F3EB",sheet:[18,4]},{unified:"1F469-1F3FE-200D-1F3EB",sheet:[18,5]},{unified:"1F469-1F3FF-200D-1F3EB",sheet:[18,6]}],shortName:"female-teacher"},{name:"Page with Curl",unified:"1F4C3",keywords:["documents","office","paper"],sheet:[26,25],shortName:"page_with_curl"},{name:"Hear-No-Evil Monkey",unified:"1F649",keywords:["animal","monkey","nature"],sheet:[32,45],shortName:"hear_no_evil"},{name:"Speedboat",unified:"1F6A4",keywords:["ship","transportation","vehicle","summer"],sheet:[34,52],shortName:"speedboat"},{name:"Beverage Box",unified:"1F9C3",sheet:[44,11],shortName:"beverage_box"},{name:"Heavy Plus Sign",unified:"2795",keywords:["math","calculation","addition","more","increase"],sheet:[55,29],shortName:"heavy_plus_sign"},{name:"Indonesia Flag",unified:"1F1EE-1F1E9",sheet:[2,23],shortName:"flag-id"},{name:"Blossom",unified:"1F33C",keywords:["nature","flowers","yellow"],sheet:[6,20],shortName:"blossom"},{name:"Scroll",unified:"1F4DC",keywords:["documents","ancient","history","paper"],sheet:[26,50],shortName:"scroll"},{name:"Speak-No-Evil Monkey",unified:"1F64A",keywords:["monkey","animal","nature","omg"],sheet:[32,46],shortName:"speak_no_evil"},{name:"Passenger Ship",unified:"1F6F3-FE0F",keywords:["yacht","cruise","ferry"],sheet:[36,52],shortName:"passenger_ship"},{name:"Mate Drink",unified:"1F9C9",sheet:[44,17],shortName:"mate_drink"},{name:"Judge",unified:"1F9D1-200D-2696-FE0F",sheet:[47,55],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-2696-FE0F",sheet:[47,56],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-2696-FE0F",sheet:[48,0],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-2696-FE0F",sheet:[48,1],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-2696-FE0F",sheet:[48,2],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-2696-FE0F",sheet:[48,3],hidden:["google","twitter","facebook"]}],shortName:"judge"},{name:"Heavy Minus Sign",unified:"2796",keywords:["math","calculation","subtract","less"],sheet:[55,30],shortName:"heavy_minus_sign"},{name:"Ireland Flag",unified:"1F1EE-1F1EA",sheet:[2,24],shortName:"flag-ie"},{name:"Tulip",unified:"1F337",keywords:["flowers","plant","nature","summer","spring"],sheet:[6,15],shortName:"tulip"},{name:"Male Judge",unified:"1F468-200D-2696-FE0F",sheet:[17,8],skinVariations:[{unified:"1F468-1F3FB-200D-2696-FE0F",sheet:[17,9]},{unified:"1F468-1F3FC-200D-2696-FE0F",sheet:[17,10]},{unified:"1F468-1F3FD-200D-2696-FE0F",sheet:[17,11]},{unified:"1F468-1F3FE-200D-2696-FE0F",sheet:[17,12]},{unified:"1F468-1F3FF-200D-2696-FE0F",sheet:[17,13]}],shortName:"male-judge"},{name:"Kiss Mark",unified:"1F48B",keywords:["face","lips","love","like","affection","valentines"],sheet:[25,21],shortName:"kiss"},{name:"Page Facing Up",unified:"1F4C4",keywords:["documents","office","paper","information"],sheet:[26,26],shortName:"page_facing_up"},{name:"Ice Cube",unified:"1F9CA",sheet:[44,18],shortName:"ice_cube"},{name:"Ferry",unified:"26F4-FE0F",keywords:["boat","ship","yacht"],sheet:[54,15],shortName:"ferry"},{name:"Heavy Division Sign",unified:"2797",keywords:["divide","math","calculation"],sheet:[55,31],shortName:"heavy_division_sign"},{name:"Israel Flag",unified:"1F1EE-1F1F1",sheet:[2,25],shortName:"flag-il"},{name:"Seedling",unified:"1F331",keywords:["plant","nature","grass","lawn","spring"],sheet:[6,9],shortName:"seedling"},{name:"Female Judge",unified:"1F469-200D-2696-FE0F",sheet:[19,50],skinVariations:[{unified:"1F469-1F3FB-200D-2696-FE0F",sheet:[19,51]},{unified:"1F469-1F3FC-200D-2696-FE0F",sheet:[19,52]},{unified:"1F469-1F3FD-200D-2696-FE0F",sheet:[19,53]},{unified:"1F469-1F3FE-200D-2696-FE0F",sheet:[19,54]},{unified:"1F469-1F3FF-200D-2696-FE0F",sheet:[19,55]}],shortName:"female-judge"},{name:"Love Letter",unified:"1F48C",keywords:["email","like","affection","envelope","valentines"],sheet:[25,22],shortName:"love_letter"},{name:"Newspaper",unified:"1F4F0",keywords:["press","headline"],sheet:[27,13],shortName:"newspaper"},{name:"Motor Boat",unified:"1F6E5-FE0F",keywords:["ship"],sheet:[36,47],shortName:"motor_boat"},{name:"Chopsticks",unified:"1F962",keywords:["food"],sheet:[41,49],shortName:"chopsticks"},{name:"Curly Loop",unified:"27B0",keywords:["scribble","draw","shape","squiggle"],sheet:[55,33],shortName:"curly_loop"},{name:"Isle of Man Flag",unified:"1F1EE-1F1F2",sheet:[2,26],shortName:"flag-im"},{name:"Evergreen Tree",unified:"1F332",keywords:["plant","nature"],sheet:[6,10],shortName:"evergreen_tree"},{name:"Knife Fork Plate",unified:"1F37D-FE0F",sheet:[7,28],shortName:"knife_fork_plate"},{name:"Heart with Arrow",unified:"1F498",keywords:["love","like","heart","affection","valentines"],sheet:[25,34],shortName:"cupid"},{name:"Rolled Up Newspaper",unified:"1F5DE-FE0F",sheet:[30,23],shortName:"rolled_up_newspaper"},{name:"Ship",unified:"1F6A2",keywords:["transportation","titanic","deploy"],sheet:[34,33],shortName:"ship"},{name:"Farmer",unified:"1F9D1-200D-1F33E",sheet:[45,17],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F33E",sheet:[45,18],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F33E",sheet:[45,19],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F33E",sheet:[45,20],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F33E",sheet:[45,21],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F33E",sheet:[45,22],hidden:["google","twitter","facebook"]}],shortName:"farmer"},{name:"Double Curly Loop",unified:"27BF",keywords:["tape","cassette"],sheet:[55,34],shortName:"loop"},{name:"India Flag",unified:"1F1EE-1F1F3",sheet:[2,27],shortName:"flag-in"},{name:"Deciduous Tree",unified:"1F333",keywords:["plant","nature"],sheet:[6,11],shortName:"deciduous_tree"},{name:"Fork and Knife",unified:"1F374",keywords:["cutlery","kitchen"],sheet:[7,19],shortName:"fork_and_knife"},{name:"Male Farmer",unified:"1F468-200D-1F33E",sheet:[14,38],skinVariations:[{unified:"1F468-1F3FB-200D-1F33E",sheet:[14,39]},{unified:"1F468-1F3FC-200D-1F33E",sheet:[14,40]},{unified:"1F468-1F3FD-200D-1F33E",sheet:[14,41]},{unified:"1F468-1F3FE-200D-1F33E",sheet:[14,42]},{unified:"1F468-1F3FF-200D-1F33E",sheet:[14,43]}],shortName:"male-farmer"},{name:"Heart with Ribbon",unified:"1F49D",keywords:["love","valentines"],sheet:[25,39],shortName:"gift_heart"},{name:"Bookmark Tabs",unified:"1F4D1",keywords:["favorite","save","order","tidy"],sheet:[26,39],shortName:"bookmark_tabs"},{name:"Airplane",unified:"2708-FE0F",keywords:["vehicle","transportation","flight","fly"],sheet:[54,41],shortName:"airplane"},{name:"Part Alternation Mark",unified:"303D-FE0F",keywords:["graph","presentation","stats","business","economics","bad"],sheet:[55,45],shortName:"part_alternation_mark"},{name:"British Indian Ocean Territory Flag",unified:"1F1EE-1F1F4",sheet:[2,28],shortName:"flag-io"},{name:"Palm Tree",unified:"1F334",keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],sheet:[6,12],shortName:"palm_tree"},{name:"Female Farmer",unified:"1F469-200D-1F33E",sheet:[17,28],skinVariations:[{unified:"1F469-1F3FB-200D-1F33E",sheet:[17,29]},{unified:"1F469-1F3FC-200D-1F33E",sheet:[17,30]},{unified:"1F469-1F3FD-200D-1F33E",sheet:[17,31]},{unified:"1F469-1F3FE-200D-1F33E",sheet:[17,32]},{unified:"1F469-1F3FF-200D-1F33E",sheet:[17,33]}],shortName:"female-farmer"},{name:"Sparkling Heart",unified:"1F496",keywords:["love","like","affection","valentines"],sheet:[25,32],shortName:"sparkling_heart"},{name:"Bookmark",unified:"1F516",keywords:["favorite","label","save"],sheet:[27,50],shortName:"bookmark"},{name:"Small Airplane",unified:"1F6E9-FE0F",keywords:["flight","transportation","fly","vehicle"],sheet:[36,48],shortName:"small_airplane"},{name:"Spoon",unified:"1F944",keywords:["cutlery","kitchen","tableware"],sheet:[41,20],shortName:"spoon"},{name:"Eight Spoked Asterisk",unified:"2733-FE0F",keywords:["star","sparkle","green-square"],sheet:[55,17],shortName:"eight_spoked_asterisk"},{name:"Iraq Flag",unified:"1F1EE-1F1F6",sheet:[2,29],shortName:"flag-iq"},{name:"Cactus",unified:"1F335",keywords:["vegetable","plant","nature"],sheet:[6,13],shortName:"cactus"},{name:"Label",unified:"1F3F7-FE0F",keywords:["sale","tag"],sheet:[11,19],shortName:"label"},{name:"Growing Heart",unified:"1F497",keywords:["like","love","affection","valentines","pink"],sheet:[25,33],shortName:"heartpulse"},{name:"Hocho",unified:"1F52A",keywords:["knife","blade","cutlery","kitchen","weapon"],sheet:[28,13],shortNames:["knife"],shortName:"hocho"},{name:"Airplane Departure",unified:"1F6EB",sheet:[36,49],shortName:"airplane_departure"},{name:"Cook",unified:"1F9D1-200D-1F373",sheet:[45,23],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F373",sheet:[45,24],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F373",sheet:[45,25],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F373",sheet:[45,26],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F373",sheet:[45,27],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F373",sheet:[45,28],hidden:["google","twitter","facebook"]}],shortName:"cook"},{name:"Eight Pointed Black Star",unified:"2734-FE0F",keywords:["orange-square","shape","polygon"],sheet:[55,18],shortName:"eight_pointed_black_star"},{name:"Iran Flag",unified:"1F1EE-1F1F7",sheet:[2,30],shortName:"flag-ir"},{name:"Ear of Rice",unified:"1F33E",keywords:["nature","plant"],sheet:[6,22],shortName:"ear_of_rice"},{name:"Amphora",unified:"1F3FA",keywords:["vase","jar"],sheet:[11,22],shortName:"amphora"},{name:"Male Cook",unified:"1F468-200D-1F373",sheet:[14,44],skinVariations:[{unified:"1F468-1F3FB-200D-1F373",sheet:[14,45]},{unified:"1F468-1F3FC-200D-1F373",sheet:[14,46]},{unified:"1F468-1F3FD-200D-1F373",sheet:[14,47]},{unified:"1F468-1F3FE-200D-1F373",sheet:[14,48]},{unified:"1F468-1F3FF-200D-1F373",sheet:[14,49]}],shortName:"male-cook"},{name:"Beating Heart",unified:"1F493",keywords:["love","like","affection","valentines","pink","heart"],sheet:[25,29],shortName:"heartbeat"},{name:"Money Bag",unified:"1F4B0",keywords:["dollar","payment","coins","sale"],sheet:[26,6],shortName:"moneybag"},{name:"Airplane Arriving",unified:"1F6EC",sheet:[36,50],shortName:"airplane_arriving"},{name:"Sparkle",unified:"2747-FE0F",keywords:["stars","green-square","awesome","good","fireworks"],sheet:[55,20],shortName:"sparkle"},{name:"Iceland Flag",unified:"1F1EE-1F1F8",sheet:[2,31],shortName:"flag-is"},{name:"Herb",unified:"1F33F",keywords:["vegetable","plant","medicine","weed","grass","lawn"],sheet:[6,23],shortName:"herb"},{name:"Female Cook",unified:"1F469-200D-1F373",sheet:[17,34],skinVariations:[{unified:"1F469-1F3FB-200D-1F373",sheet:[17,35]},{unified:"1F469-1F3FC-200D-1F373",sheet:[17,36]},{unified:"1F469-1F3FD-200D-1F373",sheet:[17,37]},{unified:"1F469-1F3FE-200D-1F373",sheet:[17,38]},{unified:"1F469-1F3FF-200D-1F373",sheet:[17,39]}],shortName:"female-cook"},{name:"Revolving Hearts",unified:"1F49E",keywords:["love","like","affection","valentines"],sheet:[25,40],shortName:"revolving_hearts"},{name:"Banknote with Yen Sign",unified:"1F4B4",keywords:["money","sales","japanese","dollar","currency"],sheet:[26,10],shortName:"yen"},{name:"Parachute",unified:"1FA82",sheet:[52,3],shortName:"parachute"},{name:"Double Exclamation Mark",unified:"203C-FE0F",keywords:["exclamation","surprise"],sheet:[52,10],shortName:"bangbang"},{name:"Italy Flag",unified:"1F1EE-1F1F9",keywords:["italy","flag","nation","country","banner"],sheet:[2,32],shortNames:["flag-it"],shortName:"it"},{name:"Two Hearts",unified:"1F495",keywords:["love","like","affection","valentines","heart"],sheet:[25,31],shortName:"two_hearts"},{name:"Banknote with Dollar Sign",unified:"1F4B5",keywords:["money","sales","bill","currency"],sheet:[26,11],shortName:"dollar"},{name:"Seat",unified:"1F4BA",keywords:["sit","airplane","transport","bus","flight","fly"],sheet:[26,16],shortName:"seat"},{name:"Mechanic",unified:"1F9D1-200D-1F527",sheet:[46,14],hidden:["google","twitter","facebook"],skinVariations:[{unified:"1F9D1-1F3FB-200D-1F527",sheet:[46,15],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FC-200D-1F527",sheet:[46,16],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FD-200D-1F527",sheet:[46,17],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FE-200D-1F527",sheet:[46,18],hidden:["google","twitter","facebook"]},{unified:"1F9D1-1F3FF-200D-1F527",sheet:[46,19],hidden:["google","twitter","facebook"]}],shortName:"mechanic"},{name:"Exclamation Question Mark",unified:"2049-FE0F",keywords:["wat","punctuation","surprise"],sheet:[52,11],shortName:"interrobang"},{name:"Shamrock",unified:"2618-FE0F",keywords:["vegetable","plant","nature","irish","clover"],sheet:[53,1],shortName:"shamrock"},{name:"Jersey Flag",unified:"1F1EF-1F1EA",sheet:[2,33],shortName:"flag-je"},{name:"Four Leaf Clover",unified:"1F340",keywords:["vegetable","plant","nature","lucky","irish"],sheet:[6,24],shortName:"four_leaf_clover"},{name:"Male Mechanic",unified:"1F468-200D-1F527",sheet:[15,50],skinVariations:[{unified:"1F468-1F3FB-200D-1F527",sheet:[15,51]},{unified:"1F468-1F3FC-200D-1F527",sheet:[15,52]},{unified:"1F468-1F3FD-200D-1F527",sheet:[15,53]},{unified:"1F468-1F3FE-200D-1F527",sheet:[15,54]},{unified:"1F468-1F3FF-200D-1F527",sheet:[15,55]}],shortName:"male-mechanic"},{name:"Heart Decoration",unified:"1F49F",keywords:["purple-square","love","like"],sheet:[25,41],shortName:"heart_decoration"},{name:"Banknote with Euro Sign",unified:"1F4B6",keywords:["money","sales","dollar","currency"],sheet:[26,12],shortName:"euro"},{name:"Helicopter",unified:"1F681",keywords:["transportation","vehicle","fly"],sheet:[34,0],shortName:"helicopter"},{name:"Black Question Mark Ornament",unified:"2753",keywords:["doubt","confused"],sheet:[55,23],shortName:"question"},{name:"Jamaica Flag",unified:"1F1EF-1F1F2",sheet:[2,34],shortName:"flag-jm"},{name:"Maple Leaf",unified:"1F341",keywords:["nature","plant","vegetable","ca","fall"],sheet:[6,25],shortName:"maple_leaf"},{name:"Female Mechanic",unified:"1F469-200D-1F527",sheet:[18,35],skinVariations:[{unified:"1F469-1F3FB-200D-1F527",sheet:[18,36]},{unified:"1F469-1F3FC-200D-1F527",sheet:[18,37]},{unified:"1F469-1F3FD-200D-1F527",sheet:[18,38]},{unified:"1F469-1F3FE-200D-1F527",sheet:[18,39]},{unified:"1F469-1F3FF-200D-1F527",sheet:[18,40]}],shortName:"female-mechanic"},{name:"Banknote with Pound Sign",unified:"1F4B7",keywords:["british","sterling","money","sales","bills","uk","england","currency"],sheet:[26,13],shortName:"pound"},{name:"Suspension Railway",unified:"1F69F",keywords:["vehicle","transportation"],sheet:[34,30],shortName:"suspension_railway"},{name:"White Question Mark Ornament",unified:"2754",keywords:["doubts","gray","huh","confused"],sheet:[55,24],shortName:"grey_question"},{name:"Heavy Heart Exclamation Mark Ornament",unified:"2763-FE0F",sheet:[55,27],shortName:"heavy_heart_exclamation_mark_ornament"},{name:"Jordan Flag",unified:"1F1EF-1F1F4",sheet:[2,35],shortName:"flag-jo"},{name:"Fallen Leaf",unified:"1F342",keywords:["nature","plant","vegetable","leaves"],sheet:[6,26],shortName:"fallen_leaf"},{name:"Broken Heart",unified:"1F494",text:"1&&n){i=Object.assign({},i);var a=w[t-1],o=i.skinVariations.find((function(e){return e.unified.includes(a)}));o.hidden&&o.hidden.includes(n)||(i.skinTone=t,i=Object.assign(Object.assign({},i),o)),i.native=this.unifiedToNative(i.unified)}return i.set=n||"",i}},{key:"unifiedToNative",value:function(e){var n=e.split("-").map((function(e){return parseInt("0x"+e,16)}));return String.fromCodePoint.apply(String,t(n))}},{key:"emojiSpriteStyles",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"apple",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:64,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:57,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:y,o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:57;return{width:n+"px",height:n+"px",display:"inline-block","background-image":"url(".concat(a(t,i),")"),"background-size":"".concat(100*o,"% ").concat(100*r,"%"),"background-position":this.getSpritePosition(e,o)}}},{key:"getSpritePosition",value:function(t,n){var i=e(t,2),r=i[0],a=i[1],o=100/(n-1);return"".concat(o*r,"% ").concat(o*a,"%")}},{key:"sanitize",value:function(e){if(null===e)return null;var t=":".concat(e.id||e.shortNames[0],":");return e.skinTone&&(t+=":skin-tone-".concat(e.skinTone,":")),e.colons=t,Object.assign({},e)}},{key:"getSanitizedData",value:function(e,t,n){return this.sanitize(this.getData(e,t,n))}}]),i}();return i.\u0275fac=function(e){return new(e||i)},i.\u0275prov=Object(u.Ob)({factory:function(){return new i},token:i,providedIn:"root"}),i}(),D=function(){var e=function(){function e(t){a(this,e),this.emojiService=t,this.skin=1,this.set="apple",this.sheetSize=64,this.isNative=!1,this.forceSize=!1,this.tooltip=!1,this.size=24,this.emoji="",this.hideObsolete=!1,this.SHEET_COLUMNS=57,this.emojiOver=new u.p,this.emojiLeave=new u.p,this.emojiClick=new u.p,this.title="",this.label="",this.custom=!1,this.isVisible=!0,this.backgroundImageFn=y}return s(e,[{key:"ngOnChanges",value:function(){if(!this.emoji)return this.isVisible=!1;var e=this.getData();if(!e)return this.isVisible=!1;if(this.unified=e.native||null,e.custom&&(this.custom=e.custom),!e.unified&&!e.custom)return this.isVisible=!1;if(this.tooltip&&(this.title=e.shortNames[0]),e.obsoletedBy&&this.hideObsolete)return this.isVisible=!1;if(this.label=[e.native].concat(e.shortNames).filter(Boolean).join(", "),this.isNative&&e.unified&&e.native)this.style={fontSize:this.size+"px"},this.forceSize&&(this.style.display="inline-block",this.style.width=this.size+"px",this.style.height=this.size+"px",this.style["word-break"]="keep-all");else if(e.custom)this.style={width:this.size+"px",height:this.size+"px",display:"inline-block"},this.style=Object.assign(Object.assign({},this.style),e.spriteUrl&&this.sheetRows&&this.sheetColumns?{backgroundImage:"url(".concat(e.spriteUrl,")"),backgroundSize:"".concat(100*this.sheetColumns,"% ").concat(100*this.sheetRows,"%"),backgroundPosition:this.emojiService.getSpritePosition(e.sheet,this.sheetColumns)}:{backgroundImage:"url(".concat(e.imageUrl,")"),backgroundSize:"contain"});else if(e.hidden.length&&e.hidden.includes(this.set)){if(!this.fallback)return this.isVisible=!1;this.style={fontSize:this.size+"px"},this.unified=this.fallback(e,this)}else this.style=this.emojiService.emojiSpriteStyles(e.sheet,this.set,this.size,this.sheetSize,this.sheetRows,this.backgroundImageFn,this.SHEET_COLUMNS);return this.isVisible=!0}},{key:"getData",value:function(){return this.emojiService.getData(this.emoji,this.skin,this.set)}},{key:"getSanitizedData",value:function(){return this.emojiService.getSanitizedData(this.emoji,this.skin,this.set)}},{key:"handleClick",value:function(e){var t=this.getSanitizedData();this.emojiClick.emit({emoji:t,$event:e})}},{key:"handleOver",value:function(e){var t=this.getSanitizedData();this.emojiOver.emit({emoji:t,$event:e})}},{key:"handleLeave",value:function(e){var t=this.getSanitizedData();this.emojiLeave.emit({emoji:t,$event:e})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u.Sb(E))},e.\u0275cmp=u.Mb({type:e,selectors:[["ngx-emoji"]],inputs:{skin:"skin",set:"set",sheetSize:"sheetSize",isNative:"isNative",forceSize:"forceSize",tooltip:"tooltip",size:"size",emoji:"emoji",hideObsolete:"hideObsolete",SHEET_COLUMNS:"SHEET_COLUMNS",backgroundImageFn:"backgroundImageFn",fallback:"fallback",sheetRows:"sheetRows",sheetColumns:"sheetColumns",useButton:"useButton"},outputs:{emojiOver:"emojiOver",emojiLeave:"emojiLeave",emojiClick:"emojiClick"},features:[u.Db],ngContentSelectors:c,decls:2,vars:2,consts:[["type","button","class","emoji-mart-emoji",3,"title","emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["class","emoji-mart-emoji",3,"title","emoji-mart-emoji-native","emoji-mart-emoji-custom","click","mouseenter","mouseleave",4,"ngIf"],["type","button",1,"emoji-mart-emoji",3,"title","click","mouseenter","mouseleave"],[3,"ngStyle"],[3,"ngIf"],[1,"emoji-mart-emoji",3,"title","click","mouseenter","mouseleave"]],template:function(e,t){1&e&&(u.oc(c),u.Gc(0,h,4,8,"button",0),u.Gc(1,l,4,8,"span",1)),2&e&&(u.pc("ngIf",t.useButton&&t.isVisible),u.Fb(1),u.pc("ngIf",!t.useButton&&t.isVisible))},directives:[F.m,F.n],encapsulation:2,changeDetection:0}),e}(),_=function(){var e=function e(){a(this,e)};return e.\u0275mod=u.Qb({type:e}),e.\u0275inj=u.Pb({factory:function(t){return new(t||e)},imports:[[F.c]]}),e}()}}])}(); \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/3rdpartylicenses.txt b/dist_archive/ipfs/0.9.4/3rdpartylicenses.txt new file mode 100644 index 0000000..0283e66 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/3rdpartylicenses.txt @@ -0,0 +1,16137 @@ +@angular-devkit/build-angular +MIT +The MIT License + +Copyright (c) 2017 Google, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +@angular/animations +MIT + +@angular/cdk +MIT +The MIT License + +Copyright (c) 2020 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/common +MIT + +@angular/core +MIT + +@angular/flex-layout +MIT +The MIT License + +Copyright (c) 2020 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/forms +MIT + +@angular/material +MIT +The MIT License + +Copyright (c) 2020 Google LLC. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@angular/platform-browser +MIT + +@angular/router +MIT + +@assemblyscript/loader +Apache-2.0 + +@ctrl/ngx-emoji-mart +MIT +The MIT License (MIT) + +Copyright (c) Scott Cooper + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +@fortawesome/angular-fontawesome +MIT +MIT License + +Copyright (c) 2018 Fonticons, Inc. and contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +@fortawesome/fontawesome-svg-core +MIT +Font Awesome Free License +------------------------- + +Font Awesome Free is free, open source, and GPL friendly. You can use it for +commercial projects, open source projects, or really almost whatever you want. +Full Font Awesome Free license: https://fontawesome.com/license/free. + +# Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) +In the Font Awesome Free download, the CC BY 4.0 license applies to all icons +packaged as SVG and JS file types. + +# Fonts: SIL OFL 1.1 License (https://scripts.sil.org/OFL) +In the Font Awesome Free download, the SIL OFL license applies to all icons +packaged as web and desktop font files. + +# Code: MIT License (https://opensource.org/licenses/MIT) +In the Font Awesome Free download, the MIT license applies to all non-font and +non-icon files. + +# Attribution +Attribution is required by MIT, SIL OFL, and CC BY licenses. Downloaded Font +Awesome Free files already contain embedded comments with sufficient +attribution, so you shouldn't need to do anything additional when using these +files normally. + +We've kept attribution comments terse, so we ask that you do not actively work +to remove them from files, especially code. They're a great way for folks to +learn about Font Awesome. + +# Brand Icons +All brand icons are trademarks of their respective owners. The use of these +trademarks does not indicate endorsement of the trademark holder by Font +Awesome, nor vice versa. **Please do not use brand logos for any purpose except +to represent the company, product, or service to which they refer.** + + +@multiformats/base-x +MIT +The MIT License (MIT) + +Copyright (c) 2018 base-x contributors +Copyright (c) 2014-2018 The Bitcoin Core developers + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +@nebular/eva-icons +MIT + +@nebular/theme +MIT +The MIT License (MIT) + +Copyright (c) 2017 Akveo. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +@peculiar/asn1-schema +MIT +MIT License + +Copyright (c) 2020 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +@peculiar/json-schema +MIT +MIT License + +Copyright (c) 2018 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +@peculiar/webcrypto +MIT +MIT License + +Copyright Peculiar Ventures, Inc. (c) 2019 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +@protobufjs/aspromise +BSD-3-Clause +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +@protobufjs/base64 +BSD-3-Clause +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +@protobufjs/eventemitter +BSD-3-Clause +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +@protobufjs/float +BSD-3-Clause +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +@protobufjs/inquire +BSD-3-Clause +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +@protobufjs/pool +BSD-3-Clause +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +@protobufjs/utf8 +BSD-3-Clause +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +@questnetwork/qd-messages-ts +AGPL-3.0 +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + + Preamble + +The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + +The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + +Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + +A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + +The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + +An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + +The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + +0. Definitions. + +"This License" refers to version 3 of the GNU Affero General Public License. + +"Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + +"The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + +To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + +A "covered work" means either the unmodified Program or a work based +on the Program. + +To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + +To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + +1. Source Code. + +The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + +A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + +The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + +The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + +The Corresponding Source for a work in source code form is that +same work. + +2. Basic Permissions. + +All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. + +No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + +When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + +4. Conveying Verbatim Copies. + +You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. + +You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + +a) The work must carry prominent notices stating that you modified +it, and giving a relevant date. + +b) The work must carry prominent notices stating that it is +released under this License and any conditions added under section +7. This requirement modifies the requirement in section 4 to +"keep intact all notices". + +c) You must license the entire work, as a whole, under this +License to anyone who comes into possession of a copy. This +License will therefore apply, along with any applicable section 7 +additional terms, to the whole of the work, and all its parts, +regardless of how they are packaged. This License gives no +permission to license the work in any other way, but it does not +invalidate such permission if you have separately received it. + +d) If the work has interactive user interfaces, each must display +Appropriate Legal Notices; however, if the Program has interactive +interfaces that do not display Appropriate Legal Notices, your +work need not make them do so. + +A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + +6. Conveying Non-Source Forms. + +You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + +a) Convey the object code in, or embodied in, a physical product +(including a physical distribution medium), accompanied by the +Corresponding Source fixed on a durable physical medium +customarily used for software interchange. + +b) Convey the object code in, or embodied in, a physical product +(including a physical distribution medium), accompanied by a +written offer, valid for at least three years and valid for as +long as you offer spare parts or customer support for that product +model, to give anyone who possesses the object code either (1) a +copy of the Corresponding Source for all the software in the +product that is covered by this License, on a durable physical +medium customarily used for software interchange, for a price no +more than your reasonable cost of physically performing this +conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. + +c) Convey individual copies of the object code with a copy of the +written offer to provide the Corresponding Source. This +alternative is allowed only occasionally and noncommercially, and +only if you received the object code with such an offer, in accord +with subsection 6b. + +d) Convey the object code by offering access from a designated +place (gratis or for a charge), and offer equivalent access to the +Corresponding Source in the same way through the same place at no +further charge. You need not require recipients to copy the +Corresponding Source along with the object code. If the place to +copy the object code is a network server, the Corresponding Source +may be on a different server (operated by you or a third party) +that supports equivalent copying facilities, provided you maintain +clear directions next to the object code saying where to find the +Corresponding Source. Regardless of what server hosts the +Corresponding Source, you remain obligated to ensure that it is +available for as long as needed to satisfy these requirements. + +e) Convey the object code using peer-to-peer transmission, provided +you inform other peers where the object code and Corresponding +Source of the work are being offered to the general public at no +charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + +A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + +"Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + +If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + +The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + +7. Additional Terms. + +"Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + +a) Disclaiming warranty or limiting liability differently from the +terms of sections 15 and 16 of this License; or + +b) Requiring preservation of specified reasonable legal notices or +author attributions in that material or in the Appropriate Legal +Notices displayed by works containing it; or + +c) Prohibiting misrepresentation of the origin of that material, or +requiring that modified versions of such material be marked in +reasonable ways as different from the original version; or + +d) Limiting the use for publicity purposes of names of licensors or +authors of the material; or + +e) Declining to grant rights under trademark law for use of some +trade names, trademarks, or service marks; or + +f) Requiring indemnification of licensors and authors of that +material by anyone who conveys the material (or modified versions of +it) with contractual assumptions of liability to the recipient, for +any liability that these contractual assumptions directly impose on +those licensors and authors. + +All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + +8. Termination. + +You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + +However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + +Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + +9. Acceptance Not Required for Having Copies. + +You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. + +Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + +An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + +11. Patents. + +A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + +A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + +In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + +If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + +A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + +12. No Surrender of Others' Freedom. + +If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + +13. Remote Network Interaction; Use with the GNU General Public License. + +Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + +Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + +14. Revised Versions of this License. + +The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + +Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + +15. Disclaimer of Warranty. + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. Limitation of Liability. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. + +If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + +Copyright (C) + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + +You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/qd-social-ts +AGPL-3.0 +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + +Copyright (C) 2007 Free Software Foundation, Inc. +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + + Preamble + +The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + +The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + +Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + +A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + +The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + +An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + +The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + +0. Definitions. + +"This License" refers to version 3 of the GNU Affero General Public License. + +"Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + +"The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + +To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + +A "covered work" means either the unmodified Program or a work based +on the Program. + +To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + +To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + +An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + +1. Source Code. + +The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + +A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + +The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + +The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + +The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + +The Corresponding Source for a work in source code form is that +same work. + +2. Basic Permissions. + +All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + +You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + +Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + +3. Protecting Users' Legal Rights From Anti-Circumvention Law. + +No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + +When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + +4. Conveying Verbatim Copies. + +You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + +You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + +5. Conveying Modified Source Versions. + +You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + +a) The work must carry prominent notices stating that you modified +it, and giving a relevant date. + +b) The work must carry prominent notices stating that it is +released under this License and any conditions added under section +7. This requirement modifies the requirement in section 4 to +"keep intact all notices". + +c) You must license the entire work, as a whole, under this +License to anyone who comes into possession of a copy. This +License will therefore apply, along with any applicable section 7 +additional terms, to the whole of the work, and all its parts, +regardless of how they are packaged. This License gives no +permission to license the work in any other way, but it does not +invalidate such permission if you have separately received it. + +d) If the work has interactive user interfaces, each must display +Appropriate Legal Notices; however, if the Program has interactive +interfaces that do not display Appropriate Legal Notices, your +work need not make them do so. + +A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + +6. Conveying Non-Source Forms. + +You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + +a) Convey the object code in, or embodied in, a physical product +(including a physical distribution medium), accompanied by the +Corresponding Source fixed on a durable physical medium +customarily used for software interchange. + +b) Convey the object code in, or embodied in, a physical product +(including a physical distribution medium), accompanied by a +written offer, valid for at least three years and valid for as +long as you offer spare parts or customer support for that product +model, to give anyone who possesses the object code either (1) a +copy of the Corresponding Source for all the software in the +product that is covered by this License, on a durable physical +medium customarily used for software interchange, for a price no +more than your reasonable cost of physically performing this +conveying of source, or (2) access to copy the +Corresponding Source from a network server at no charge. + +c) Convey individual copies of the object code with a copy of the +written offer to provide the Corresponding Source. This +alternative is allowed only occasionally and noncommercially, and +only if you received the object code with such an offer, in accord +with subsection 6b. + +d) Convey the object code by offering access from a designated +place (gratis or for a charge), and offer equivalent access to the +Corresponding Source in the same way through the same place at no +further charge. You need not require recipients to copy the +Corresponding Source along with the object code. If the place to +copy the object code is a network server, the Corresponding Source +may be on a different server (operated by you or a third party) +that supports equivalent copying facilities, provided you maintain +clear directions next to the object code saying where to find the +Corresponding Source. Regardless of what server hosts the +Corresponding Source, you remain obligated to ensure that it is +available for as long as needed to satisfy these requirements. + +e) Convey the object code using peer-to-peer transmission, provided +you inform other peers where the object code and Corresponding +Source of the work are being offered to the general public at no +charge under subsection 6d. + +A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + +A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + +"Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + +If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + +The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + +Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + +7. Additional Terms. + +"Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + +When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + +Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + +a) Disclaiming warranty or limiting liability differently from the +terms of sections 15 and 16 of this License; or + +b) Requiring preservation of specified reasonable legal notices or +author attributions in that material or in the Appropriate Legal +Notices displayed by works containing it; or + +c) Prohibiting misrepresentation of the origin of that material, or +requiring that modified versions of such material be marked in +reasonable ways as different from the original version; or + +d) Limiting the use for publicity purposes of names of licensors or +authors of the material; or + +e) Declining to grant rights under trademark law for use of some +trade names, trademarks, or service marks; or + +f) Requiring indemnification of licensors and authors of that +material by anyone who conveys the material (or modified versions of +it) with contractual assumptions of liability to the recipient, for +any liability that these contractual assumptions directly impose on +those licensors and authors. + +All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + +If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + +Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + +8. Termination. + +You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + +However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + +Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + +Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + +9. Acceptance Not Required for Having Copies. + +You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + +10. Automatic Licensing of Downstream Recipients. + +Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + +An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + +You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + +11. Patents. + +A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + +A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + +Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + +In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + +If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + +If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + +A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + +Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + +12. No Surrender of Others' Freedom. + +If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + +13. Remote Network Interaction; Use with the GNU General Public License. + +Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + +Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + +14. Revised Versions of this License. + +The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + +If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + +Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + +15. Disclaimer of Warranty. + +THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +16. Limitation of Liability. + +IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + +17. Interpretation of Sections 15 and 16. + +If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + +Copyright (C) + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published +by the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + +If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + +You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/qd-ui-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-bee-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-coral-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-crypto-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-dolphin-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-image-captcha-js +MIT + +@questnetwork/quest-ocean-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-os-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-pubsub-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-social-js +AGPL-3.0 +GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@questnetwork/quest-utilties-js +AGPL-3.0 + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. + + +@zxing/library +MIT +MIT License + +Copyright (c) 2018 ZXing for JS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +@zxing/ngx-scanner + +abort-controller +MIT +MIT License + +Copyright (c) 2017 Toru Nagashima + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +abortable-iterator +MIT +MIT License + +Copyright (c) 2018 Alan Shaw + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +abstract-leveldown +MIT +# The MIT License (MIT) + +**Copyright © 2013-present Rod Vagg and [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +after +MIT +Copyright (c) 2011 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +aggregate-error +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +any-signal +MIT +MIT License + +Copyright (c) 2019 Jacob Heun + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +array-shuffle +MIT +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +arraybuffer.slice +MIT +Copyright (C) 2013 Rase- + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +asn1js +BSD-3-Clause +Copyright (c) 2014, GMO GlobalSign +Copyright (c) 2015-2019, Peculiar Ventures +All rights reserved. + +Author 2014-2019, Yury Strozhevsky + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, this + list of conditions and the following disclaimer in the documentation and/or + other materials provided with the distribution. + +* Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +assert +MIT +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +async +MIT +Copyright (c) 2010-2018 Caolan McMahon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +autolinker +MIT +The MIT License (MIT) + +Copyright (c) 2014 Gregory Jacobs (http://greg-jacobs.com) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +backo2 +MIT + +base32.js +MIT + +base64-arraybuffer +MIT +Copyright (c) 2012 Niklas von Hertzen + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +base64-js +MIT +The MIT License (MIT) + +Copyright (c) 2014 Jameson Little + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +bcrypto +MIT +This software is licensed under the MIT License. + +Copyright (c) 2017-2019, Christopher Jeffrey (https://github.com/chjj) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on indutny/elliptic: + +https://github.com/indutny/elliptic + +This software is licensed under the MIT License. + +Copyright Fedor Indutny, 2014. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on indutny/hash.js: + +https://github.com/indutny/hash.js + +This software is licensed under the MIT License. + +Copyright Fedor Indutny, 2014. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on indutny/bn.js: + +https://github.com/indutny/bn.js + +This software is licensed under the MIT License. + +Copyright Fedor Indutny, 2015. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on indutny/hmac-drbg: + +https://github.com/indutny/hmac-drbg + +This software is licensed under the MIT License. + +Copyright Fedor Indutny, 2017. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on indutny/minimalistic-crypto-utils: + +https://github.com/indutny/minimalistic-crypto-utils + +This software is licensed under the MIT License. + +Copyright Fedor Indutny, 2017. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on isaacs/inherits: + +https://github.com/isaacs/inherits + +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + +--- + +Parts of this software are based on cryptocoinjs/secp256k1-node: + +https://github.com/cryptocoinjs/secp256k1-node + +The MIT License (MIT) + +Copyright (c) 2014-2016 secp256k1-node contributors + +Parts of this software are based on bn.js, elliptic, hash.js Copyright (c) +2014-2016 Fedor Indutny + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on bitcoin-core/secp256k1: + +https://github.com/bitcoin-core/secp256k1 + +Copyright (c) 2013 Pieter Wuille + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on BLAKE2/BLAKE2: + +https://github.com/BLAKE2/BLAKE2 + +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE LEGAL + SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN ATTORNEY-CLIENT + RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" + BASIS. CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE USE OF THIS + DOCUMENT OR THE INFORMATION OR WORKS PROVIDED HEREUNDER, AND DISCLAIMS + LIABILITY FOR DAMAGES RESULTING FROM THE USE OF THIS DOCUMENT OR THE + INFORMATION OR WORKS PROVIDED HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator and +subsequent owner(s) (each and all, an "owner") of an original work of authorship +and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for the +purpose of contributing to a commons of creative, cultural and scientific works +("Commons") that the public can reliably and without fear of later claims of +infringement build upon, modify, incorporate in other works, reuse and +redistribute as freely as possible in any form whatsoever and for any purposes, +including without limitation commercial purposes. These owners may contribute to +the Commons to promote the ideal of a free culture and the further production of +creative, cultural and scientific works, or to gain reputation or greater +distribution for their Work in part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any expectation of +additional consideration or compensation, the person associating CC0 with a Work +(the "Affirmer"), to the extent that he or she is an owner of Copyright and +Related Rights in the Work, voluntarily elects to apply CC0 to the Work and +publicly distribute the Work under its terms, with knowledge of his or her +Copyright and Related Rights in the Work and the meaning and intended legal +effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and Related +Rights"). Copyright and Related Rights include, but are not limited to, the +following: + + i. the right to reproduce, adapt, distribute, perform, display, communicate, + and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or likeness + depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, subject + to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data in a + Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation thereof, + including any amended or successor version of such directive); and +vii. other similar, equivalent or corresponding rights throughout the world + based on applicable law or treaty, and any national implementations + thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention of, +applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and +unconditionally waives, abandons, and surrenders all of Affirmer's Copyright and +Related Rights and associated claims and causes of action, whether now known or +unknown (including existing as well as future claims and causes of action), in +the Work (i) in all territories worldwide, (ii) for the maximum duration +provided by applicable law or treaty (including future time extensions), (iii) +in any current or future medium and for any number of copies, and (iv) for any +purpose whatsoever, including without limitation commercial, advertising or +promotional purposes (the "Waiver"). Affirmer makes the Waiver for the benefit +of each member of the public at large and to the detriment of Affirmer's heirs +and successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public as +contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason be +judged legally invalid or ineffective under applicable law, then the Waiver +shall be preserved to the maximum extent permitted taking into account +Affirmer's express Statement of Purpose. In addition, to the extent the Waiver +is so judged Affirmer hereby grants to each affected person a royalty-free, non +transferable, non sublicensable, non exclusive, irrevocable and unconditional +license to exercise Affirmer's Copyright and Related Rights in the Work (i) in +all territories worldwide, (ii) for the maximum duration provided by applicable +law or treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional purposes +(the "License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any reason +be judged legally invalid or ineffective under applicable law, such partial +invalidity or ineffectiveness shall not invalidate the remainder of the License, +and in such case Affirmer hereby affirms that he or she will not (i) exercise +any of his or her remaining Copyright and Related Rights in the Work or (ii) +assert any associated claims and causes of action with respect to the Work, in +either case contrary to Affirmer's express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or warranties of + any kind concerning the Work, express, implied, statutory or otherwise, + including without limitation warranties of title, merchantability, fitness + for a particular purpose, non infringement, or the absence of latent or + other defects, accuracy, or the present or absence of errors, whether or not + discoverable, all to the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons that + may apply to the Work or any use thereof, including without limitation any + person's Copyright and Related Rights in the Work. Further, Affirmer + disclaims responsibility for obtaining any necessary consents, permissions + or other rights required for any use of the Work. + d. Affirmer understands and acknowledges that Creative Commons is not a party + to this document and has no duty or obligation with respect to this CC0 or + use of the Work. + +--- + +Parts of this software are based on chacha20-simple: + +http://chacha20.insanecoding.org/ + +Copyright (C) 2014 insane coder + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS +OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF +THIS SOFTWARE. + +--- + +Parts of this software are based on floodyberry/ed25519-donna: + +https://github.com/floodyberry/ed25519-donna + +Public domain by Andrew M. + +Ed25519 reference implementation using Ed25519-donna + +--- + +Parts of this software are based on openssl/openssl: + +https://github.com/openssl/openssl + +OpenSSL License + +Copyright (c) 1998-2018 The OpenSSL Project. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. All advertising materials mentioning features or use of this software must + display the following acknowledgment: "This product includes software + developed by the OpenSSL Project for use in the OpenSSL Toolkit. + (http://www.openssl.org/)" + +4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to endorse + or promote products derived from this software without prior written + permission. For written permission, please contact openssl-core@openssl.org. + +5. Products derived from this software may not be called "OpenSSL" nor may + "OpenSSL" appear in their names without prior written permission of the + OpenSSL Project. + +6. Redistributions of any form whatsoever must retain the following + acknowledgment: "This product includes software developed by the OpenSSL + Project for use in the OpenSSL Toolkit (http://www.openssl.org/)" + +THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY EXPRESSED OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE OpenSSL PROJECT OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF +LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE +OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +This product includes cryptographic software written by Eric Young +(eay@cryptsoft.com). This product includes software written by Tim Hudson +(tjh@cryptsoft.com). + +Original SSLeay License + +Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) +All rights reserved. + +This package is an SSL implementation written by Eric Young (eay@cryptsoft.com). +The implementation was written so as to conform with Netscapes SSL. + +This library is free for commercial and non-commercial use as long as the +following conditions are aheared to. The following conditions apply to all code +found in this distribution, be it the RC4, RSA, lhash, DES, etc., code; not just +the SSL code. The SSL documentation included with this distribution is covered +by the same copyright terms except that the holder is Tim Hudson +(tjh@cryptsoft.com). + +Copyright remains Eric Young's, and as such any Copyright notices in the code +are not to be removed. If this package is used in a product, Eric Young should +be given attribution as the author of the parts of the library used. This can be +in the form of a textual message at program startup or in documentation (online +or textual) provided with the package. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. All advertising materials mentioning features or use of this software + must display the following acknowledgement: + "This product includes cryptographic software written by + Eric Young (eay@cryptsoft.com)" + The word 'cryptographic' can be left out if the rouines from the library + being used are not cryptographic related :-). +4. If you include any Windows specific code (or a derivative thereof) from + the apps directory (application code) you must include an acknowledgement: + "This product includes software written by Tim Hudson (tjh@cryptsoft.com)" + +THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT +SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR +BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY +OF SUCH DAMAGE. + +The licence and distribution terms for any publically available version or +derivative of this code cannot be changed. i.e. this code cannot simply be +copied and put under another distribution licence [including the GNU Public +Licence.] + +--- + +Parts of this software are based on bitcoin/bitcoin: + +https://github.com/bitcoin/bitcoin + +The MIT License (MIT) + +Copyright (c) 2009-2018 The Bitcoin Core developers +Copyright (c) 2009-2018 Bitcoin Developers + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +--- + +Parts of this software are based on rhash/RHash: + +https://github.com/rhash/RHash + +Copyright (c) 2005-2014 Aleksey Kravchenko + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so. + +The Software is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A +PARTICULAR PURPOSE. Use this program at your own risk! + +--- + +Parts of this software are based on emn178/js-sha3: + +https://github.com/emn178/js-sha3 + +Copyright 2015-2018 Chen, Yi-Cyuan + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Parts of this software are based on floodyberry/poly1305-donna: + +https://github.com/floodyberry/poly1305-donna + +Public domain by Andrew M. + +Alternatively MIT (http://www.opensource.org/licenses/mit-license.php) + +--- + +Parts of this software are based on Tarsnap/scrypt: + +https://github.com/Tarsnap/scrypt + +The included code and documentation ("scrypt") is distributed under the +following terms: + +Copyright 2005-2016 Colin Percival. All rights reserved. +Copyright 2005-2016 Tarsnap Backup Inc. All rights reserved. +Copyright 2014 Sean Kelly. All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- + +Parts of this software are based on ed448-goldilocks: + +http://ed448goldilocks.sourceforge.net/ + +The Python bindings are Copyright 2017 John-Mark Gurney, and are provided under +a BSD license as described in python/edgold/ed448.py + +Certain sections of code are public domain or CC0, as marked. + +Earlier versions of this project used small amounts of code which were + + Copyright (c) 2011 Stanford University + Copyright (c) 2011 Mike Hamburg + +but I believe that all of this code has now been replaced. + +The bulk of this library is Copyright (c) 2014-2017 Cryptography Research, Inc. +and licensed under the following MIT license. + +The MIT License (MIT) + +Copyright (c) 2014-2017 Cryptography Research, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Parts of this software are based on golang/go and golang/crypto: + +https://github.com/golang/go + +https://github.com/golang/crypto + +Copyright (c) 2009 The Go Authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. +* Neither the name of Google Inc. nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- + +Parts of this software are based on ElementsProject/secp256k1-zkp: + +https://github.com/ElementsProject/secp256k1-zkp + +Copyright (c) 2013 Pieter Wuille + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +--- + +Parts of this software are based on sipa/bip-schnorr: + +https://github.com/sipa/bips/blob/bip-schnorr/bip-schnorr/reference.py + +Copyright (c) 2018-2019, Pieter Wuille (2-clause BSD License) + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, +this list of conditions and the following disclaimer in the documentation +and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- + +Parts of this software are based on sipa/bech32: + +https://github.com/sipa/bech32 + +Copyright (c) 2017 Pieter Wuille + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Parts of this software are based on Bitcoin-ABC/bitcoin-abc: + +https://github.com/Bitcoin-ABC/bitcoin-abc + +The MIT License (MIT) + +Copyright (c) 2009-2019 The Bitcoin Developers +Copyright (c) 2009-2017 The Bitcoin Core developers + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Parts of this software are based on v8/v8: + +https://github.com/v8/v8 + +Copyright 2014, the V8 project authors. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +* Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +* Neither the name of Google Inc. nor the names of its contributors may be used + to endorse or promote products derived from this software without specific + prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- + +Parts of this software are based on RustCrypto/hashes: + +https://github.com/RustCrypto/hashes + +Copyright (c) 2016-2018, The RustCrypto Authors (MIT License). + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Parts of this software are based on aead/camellia: + +https://github.com/aead/camellia + +Copyright (c) 2016, Andreas Auernhammer (MIT License). + +The MIT License (MIT) + +Copyright (c) 2016 Andreas Auernhammer + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Parts of this software are based on indutny/des.js: + +https://github.com/indutny/des.js + +This software is licensed under the MIT License. + +Copyright Fedor Indutny, 2015. + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Parts of this software are based on crypto-browserify/EVP_BytesToKey: + +https://github.com/crypto-browserify/EVP_BytesToKey + +The MIT License (MIT) + +Copyright (c) 2017 crypto-browserify contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +--- + +Parts of this software are based on joyent/node-bcrypt-pbkdf: + +https://github.com/joyent/node-bcrypt-pbkdf + +Credit for the actual porting work goes to: + Devi Mandiri + +The Blowfish portions are under the following license: + +Blowfish block cipher for OpenBSD +Copyright 1997 Niels Provos +All rights reserved. + +Implementation advice by David Mazieres . + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED +WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT +OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING +IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY +OF SUCH DAMAGE. + +The bcrypt_pbkdf portions are under the following license: + +Copyright (c) 2013 Ted Unangst + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +Performance improvements (Javascript-specific): + +Copyright 2016, Joyent Inc +Author: Alex Wilson + +Permission to use, copy, modify, and distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +--- + +Parts of this software are based on gnutls/nettle: + +https://github.com/gnutls/nettle + +Copyright (c) 1998-2019, Niels Möller and Contributors + +GNU GENERAL PUBLIC LICENSE +Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + +Preamble + +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to +guarantee your freedom to share and change free software--to make sure the +software is free for all its users. This General Public License applies to +most of the Free Software Foundation's software and to any other program whose +authors commit to using it. (Some other Free Software Foundation software is +covered by the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. + +To protect your rights, we need to make restrictions that forbid anyone to deny +you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. + +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must +make sure that they, too, receive or can get the source code. And you must +show them these terms so they know their rights. + +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. + +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. + +Finally, any free program is threatened constantly by software patents. We +wish to avoid the danger that redistributors of a free program will +individually obtain patent licenses, in effect making the program proprietary. +To prevent this, we have made it clear that any patent must be licensed for +everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and modification +follow. + +GNU GENERAL PUBLIC LICENSE +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains a notice +placed by the copyright holder saying it may be distributed under the terms of +this General Public License. The "Program", below, refers to any such program +or work, and a "work based on the Program" means either the Program or any +derivative work under copyright law: that is to say, a work containing the +Program or a portion of it, either verbatim or with modifications and/or +translated into another language. (Hereinafter, translation is included +without limitation in the term "modification".) Each licensee is addressed as +"you". + +Activities other than copying, distribution and modification are not covered by +this License; they are outside its scope. The act of running the Program is +not restricted, and the output from the Program is covered only if its contents +constitute a work based on the Program (independent of having been made by +running the Program). Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's source code as +you receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice and +disclaimer of warranty; keep intact all the notices that refer to this License +and to the absence of any warranty; and give any other recipients of the +Program a copy of this License along with the Program. + +You may charge a fee for the physical act of transferring a copy, and you may +at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion of it, thus +forming a work based on the Program, and copy and distribute such modifications +or work under the terms of Section 1 above, provided that you also meet all of +these conditions: + + a) You must cause the modified files to carry prominent notices stating that + you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in whole or + in part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of + this License. + + c) If the modified program normally reads commands interactively when run, + you must cause it, when started running for such interactive use in the + most ordinary way, to print or display an announcement including an + appropriate copyright notice and a notice that there is no warranty (or + else, saying that you provide a warranty) and that users may redistribute + the program under these conditions, and telling the user how to view a + copy of this License. (Exception: if the Program itself is interactive + but does not normally print such an announcement, your work based on the + Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If identifiable +sections of that work are not derived from the Program, and can be reasonably +considered independent and separate works in themselves, then this License, and +its terms, do not apply to those sections when you distribute them as separate +works. But when you distribute the same sections as part of a whole which is a +work based on the Program, the distribution of the whole must be on the terms +of this License, whose permissions for other licensees extend to the entire +whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest your +rights to work written entirely by you; rather, the intent is to exercise the +right to control the distribution of derivative or collective works based on +the Program. + +In addition, mere aggregation of another work not based on the Program with the +Program (or with a work based on the Program) on a volume of a storage or +distribution medium does not bring the other work under the scope of this +License. + +3. You may copy and distribute the Program (or a work based on it, under +Section 2) in object code or executable form under the terms of Sections 1 and +2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable source code, + which must be distributed under the terms of Sections 1 and 2 above on a + medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three years, to give + any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer to + distribute corresponding source code. (This alternative is allowed only + for noncommercial distribution and only if you received the program in + object code or executable form with such an offer, in accord with + Subsection b above.) + +The source code for a work means the preferred form of the work for making +modifications to it. For an executable work, complete source code means all +the source code for all modules it contains, plus any associated interface +definition files, plus the scripts used to control compilation and installation +of the executable. However, as a special exception, the source code +distributed need not include anything that is normally distributed (in either +source or binary form) with the major components (compiler, kernel, and so on) +of the operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the source +code from the same place counts as distribution of the source code, even though +third parties are not compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program except as +expressly provided under this License. Any attempt otherwise to copy, modify, +sublicense or distribute the Program is void, and will automatically terminate +your rights under this License. However, parties who have received copies, or +rights, from you under this License will not have their licenses terminated so +long as such parties remain in full compliance. + +5. You are not required to accept this License, since you have not signed it. +However, nothing else grants you permission to modify or distribute the Program +or its derivative works. These actions are prohibited by law if you do not +accept this License. Therefore, by modifying or distributing the Program (or +any work based on the Program), you indicate your acceptance of this License to +do so, and all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the Program), +the recipient automatically receives a license from the original licensor to +copy, distribute or modify the Program subject to these terms and conditions. +You may not impose any further restrictions on the recipients' exercise of the +rights granted herein. You are not responsible for enforcing compliance by +third parties to this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), conditions +are imposed on you (whether by court order, agreement or otherwise) that +contradict the conditions of this License, they do not excuse you from the +conditions of this License. If you cannot distribute so as to satisfy +simultaneously your obligations under this License and any other pertinent +obligations, then as a consequence you may not distribute the Program at all. +For example, if a patent license would not permit royalty-free redistribution +of the Program by all those who receive copies directly or indirectly through +you, then the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply and +the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any patents or +other property right claims or to contest validity of any such claims; this +section has the sole purpose of protecting the integrity of the free software +distribution system, which is implemented by public license practices. Many +people have made generous contributions to the wide range of software +distributed through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing to +distribute software through any other system and a licensee cannot impose that +choice. + +This section is intended to make thoroughly clear what is believed to be a +consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in certain +countries either by patents or by copyrighted interfaces, the original +copyright holder who places the Program under this License may add an explicit +geographical distribution limitation excluding those countries, so that +distribution is permitted only in or among countries not thus excluded. In +such case, this License incorporates the limitation as if written in the body +of this License. + +9. The Free Software Foundation may publish revised and/or new versions of the +General Public License from time to time. Such new versions will be similar in +spirit to the present version, but may differ in detail to address new problems +or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any later +version", you have the option of following the terms and conditions either of +that version or of any later version published by the Free Software Foundation. +If the Program does not specify a version number of this License, you may +choose any version ever published by the Free Software Foundation. + +10. If you wish to incorporate parts of the Program into other free programs +whose distribution conditions are different, write to the author to ask for +permission. For software which is copyrighted by the Free Software Foundation, +write to the Free Software Foundation; we sometimes make exceptions for this. +Our decision will be guided by the two goals of preserving the free status of +all derivatives of our free software and of promoting the sharing and reuse of +software generally. + +NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR +THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE +STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE +PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND +PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, +YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL +ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE +PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR +INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA +BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER +OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. + +END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest possible +use to the public, the best way to achieve this is to make it free software +which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest to attach +them to the start of each source file to most effectively convey the exclusion +of warranty; and each file should have at least the "copyright" line and a +pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation; either version 2 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + details. + + You should have received a copy of the GNU General Public License along with + this program; if not, write to the Free Software Foundation, Inc., 51 + Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this when it +starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may be +called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your school, +if any, to sign a "copyright disclaimer" for the program, if necessary. Here +is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General Public +License instead of this License. + +--- + +Parts of this software are based on jedisct1/libsodium: + +https://github.com/jedisct1/libsodium + +ISC License + +Copyright (c) 2013-2019 +Frank Denis + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + + +bignumber.js +MIT +The MIT License (MIT) +===================== + +Copyright © `<2020>` `Michael Mclaughlin` + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the “Software”), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + + +bl +MIT +The MIT License (MIT) +===================== + +Copyright (c) 2013-2019 bl contributors +---------------------------------- + +*bl contributors listed at * + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +blakejs +CC0-1.0 + +blob +MIT +MIT License + +Copyright (C) 2014 Rase- + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +blob-to-it +ISC + +bn.js +MIT + +borc +MIT +The MIT License (MIT) + +Copyright (c) 2016 Friedel Ziegelmayer + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +brorand +MIT + +browser-readablestream-to-it +ISC + +buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh, and other contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +bytes +MIT +(The MIT License) + +Copyright (c) 2012-2014 TJ Holowaychuk +Copyright (c) 2015 Jed Watson + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +cbor +MIT +The MIT License (MIT) + +Copyright (c) 2014 Joe Hildebrand + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +cids +MIT +The MIT License (MIT) + +Copyright (c) 2016 Friedel Ziegelmayer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +class-is +MIT +The MIT License (MIT) + +Copyright (c) 2018 Diogo Silva + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +clean-stack +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +component-bind + +component-emitter +MIT +(The MIT License) + +Copyright (c) 2014 Component contributors + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +component-inherit + +core-js +MIT +Copyright (c) 2014-2020 Denis Pushkarev + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +core-util-is +MIT +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +crypto-js +MIT +# License + +[The MIT License (MIT)](http://opensource.org/licenses/MIT) + +Copyright (c) 2009-2013 Jeff Mott +Copyright (c) 2013-2016 Evan Vosberg + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +css-loader +MIT +Copyright JS Foundation and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +dag-cbor-links +Apache-2.0 + +datastore-core +MIT +MIT License + +Copyright (c) 2017 IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +datastore-level +MIT +MIT License + +Copyright (c) 2017 IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +datastore-pubsub +MIT +The MIT License (MIT) + +Copyright (c) 2018 Protocol Labs, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +debug +MIT +(The MIT License) + +Copyright (c) 2014 TJ Holowaychuk + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software +and associated documentation files (the 'Software'), to deal in the Software without restriction, +including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial +portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT +LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +deferred-leveldown +MIT +# The MIT License (MIT) + +**Copyright © 2013-present Rod Vagg and [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +define-properties +MIT +The MIT License (MIT) + +Copyright (C) 2015 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +denque +Apache-2.0 +Copyright (c) 2018 Mike Diarmid (Salakar) + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this library except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + + +dijkstrajs +MIT +``` +Dijkstra path-finding functions. Adapted from the Dijkstar Python project. + +Copyright (C) 2008 + Wyatt Baldwin + All rights reserved + +Licensed under the MIT license. + + http://www.opensource.org/licenses/mit-license.php + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. +``` + + +dlv +MIT + +elliptic +MIT + +encoding-down +MIT +# The MIT License (MIT) + +**Copyright © 2012-present [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +engine.io-client +MIT +(The MIT License) + +Copyright (c) 2014-2015 Automattic + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +engine.io-parser +MIT +(The MIT License) + +Copyright (c) 2016 Guillermo Rauch (@rauchg) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +err-code +MIT + +errno +MIT + +eva-icons +MIT + +event-iterator +MIT + +eventemitter3 +MIT +The MIT License (MIT) + +Copyright (c) 2014 Arnout Kazemier + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +events +MIT +MIT + +Copyright Joyent, Inc. and other Node contributors. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to permit +persons to whom the Software is furnished to do so, subject to the +following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +USE OR OTHER DEALINGS IN THE SOFTWARE. + + +fast-fifo +MIT +The MIT License (MIT) + +Copyright (c) 2019 Mathias Buus + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +file-saver +MIT +The MIT License + +Copyright © 2016 [Eli Grey][1]. + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + [1]: http://eligrey.com + + +fnv1a +MIT +The MIT License (MIT) + +Copyright (c) 2015 Schwarzkopf Balázs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +get-browser-rtc +MIT + +get-iterator +MIT +MIT License + +Copyright (c) 2018 Alan Shaw + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +globalthis +MIT +The MIT License (MIT) + +Copyright (c) 2016 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +hamt-sharding +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +has-binary2 +MIT +The MIT License (MIT) + +Copyright (c) 2014 Kevin Roark + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +has-cors +MIT + +hash.js +MIT + +hashlru +MIT +Copyright (c) 2016 'Dominic Tarr' + +Permission is hereby granted, free of charge, +to any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom +the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +heap +PSF + +hmac-drbg +MIT + +ieee754 +BSD-3-Clause +Copyright 2008 Fair Oaks Labs, Inc. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +immediate +MIT +Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, Domenic Denicola, Brian Cavalier + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +indent-string +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +indexof + +inherits +ISC +The ISC License + +Copyright (c) Isaac Z. Schlueter + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + + + +interface-datastore +MIT +MIT License + +Copyright (c) 2017 IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + +intersection-observer +W3C-20150513 + +ip-address +MIT +Copyright (C) 2011 by Beau Gunderson + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +ip-regex +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +ipfs +(Apache-2.0 OR MIT) + +ipfs-bitswap +MIT +The MIT License (MIT) + +Copyright (c) 2015 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +ipfs-block-service +MIT +The MIT License (MIT) + +Copyright (c) 2016 IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ipfs-core-utils +MIT +The MIT License (MIT) + +Copyright (c) IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +ipfs-repo +MIT +The MIT License (MIT) + +Copyright (c) 2015 IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +ipfs-repo-migrations +MIT +MIT License + +Copyright (c) 2019 Adam Uhlíř + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ipfs-unixfs +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ipfs-unixfs-exporter +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +ipfs-unixfs-importer +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +ipfs-utils +MIT +The MIT License (MIT) + +Copyright (c) IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +ipld +MIT +The MIT License (MIT) + +Copyright (c) 2016 IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ipld-block +MIT +The MIT License (MIT) + +Copyright (c) 2016 IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ipld-dag-cbor +MIT +The MIT License (MIT) + +Copyright (c) 2015 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +ipld-dag-pb +MIT +The MIT License (MIT) + +Copyright (c) 2016-2018 Protocol Labs + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ipld-raw +MIT +MIT License + +Copyright (c) 2017 IPLD + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +ipns +MIT +The MIT License (MIT) + +Copyright (c) 2018 Protocol Labs, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +is-buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +is-circular +MIT +The MIT License (MIT) + +Copyright (c) 2015 Tejesh Mehta + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +is-domain-name +ISC +Copyright (c) 2016, Emil Bay + +Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +is-electron +MIT +The MIT License (MIT) + +Copyright (c) 2016-2018 Cheton Wu + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +is-fn +MIT +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +is-ip +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +is-ipfs +MIT +The MIT License (MIT) + +Copyright (c) 2018 Protocol Labs, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +is-plain-obj +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +is-typedarray +MIT +This software is released under the MIT license: + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +isarray +MIT + +iso-random-stream +MIT +MIT License + +Copyright (c) Hugo Dias (hugodias.me) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +iso-url +MIT +MIT License + +Copyright (c) Hugo Dias (hugodias.me) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +it-all +ISC + +it-batch +ISC + +it-buffer +MPL-2.0 + +it-drain +ISC + +it-first +ISC + +it-handshake +MIT + +it-last +ISC + +it-length +ISC + +it-length-prefixed +MIT +The MIT License (MIT) + +Copyright (c) 2016 Friedel Ziegelmayer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +it-map +ISC + +it-pair +MIT +Copyright (c) 2013 Dominic Tarr + +Permission is hereby granted, free of charge, +to any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom +the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +it-parallel-batch +ISC + +it-pb-rpc +MPL-2.0 + +it-peekable +ISC + +it-pipe +MIT +MIT License + +Copyright (c) 2019 Alan Shaw + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +it-protocol-buffers +MIT + +it-pushable +MIT +MIT License + +Copyright (c) 2019 Alan Shaw + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +it-reader +MIT +MIT License + +Copyright (c) 2019 Alan Shaw + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +it-ws +MIT +The MIT License (MIT) + +Copyright (c) 2014-2016 Dominic Tarr, Damon Oehlman and contributors + +Permission is hereby granted, free of charge, +to any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom +the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +jimp +MIT +MIT License + +Copyright (c) 2018 Oliver Moran + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +js-sha3 +MIT +Copyright 2015-2018 Chen, Yi-Cyuan + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +jsbn +MIT +Licensing +--------- + +This software is covered under the following copyright: + +/* + * Copyright (c) 2003-2005 Tom Wu + * All Rights Reserved. + * + * Permission is hereby granted, free of charge, to any person obtaining + * a copy of this software and associated documentation files (the + * "Software"), to deal in the Software without restriction, including + * without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to + * permit persons to whom the Software is furnished to do so, subject to + * the following conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, + * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY + * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. + * + * IN NO EVENT SHALL TOM WU BE LIABLE FOR ANY SPECIAL, INCIDENTAL, + * INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER + * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT ADVISED OF + * THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT + * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + * + * In addition, the following condition applies: + * + * All redistributions must retain an intact copy of this copyright notice + * and disclaimer. + */ + +Address all questions regarding this license to: + + Tom Wu + tjw@cs.Stanford.EDU + + +just-debounce-it +MIT +The MIT License (MIT) + +Copyright (c) 2016 angus croll + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +just-safe-get +MIT +The MIT License (MIT) + +Copyright (c) 2016 angus croll + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +just-safe-set +MIT +The MIT License (MIT) + +Copyright (c) 2016 angus croll + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +k-bucket +MIT +"MIT License" + +Copyright (c) Tristan Slominski + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +level +MIT +# The MIT License (MIT) + +**Copyright © 2013-present Rod Vagg and [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +level-codec +MIT +# The MIT License (MIT) + +**Copyright © 2012-present [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +level-errors +MIT +# The MIT License (MIT) + +**Copyright © 2012-present [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +level-iterator-stream +MIT +# The MIT License (MIT) + +**Copyright © 2012-present [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +level-js +MIT +# The MIT License (MIT) + +**Copyright © 2012-present [Max Ogden](https://github.com/maxogden) and [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +level-packager +MIT +# The MIT License (MIT) + +**Copyright © 2013-present [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +level-supports +MIT +# The MIT License (MIT) + +**Copyright © 2019-present [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +levelup +MIT +# The MIT License (MIT) + +**Copyright © 2012-present [Contributors](CONTRIBUTORS.md).** + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p +MIT +The MIT License (MIT) + +Copyright (c) 2015 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +libp2p-bootstrap +MIT +The MIT License (MIT) + +Copyright (c) 2015 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +libp2p-crypto +MIT +The MIT License (MIT) + +Copyright (c) 2016 Friedel Ziegelmayer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +libp2p-gossipsub +Apache-2.0 + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + +libp2p-interfaces +MIT +The MIT License (MIT) + +Copyright (c) 2017 Protocol Labs Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p-kad-dht +MIT +The MIT License (MIT) + +Copyright (c) 2017 Protocol Labs Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p-mplex +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p-noise +MIT +MIT License + +Copyright (c) 2019 NodeFactory + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p-record +MIT +MIT License + +Copyright (c) 2017 libp2p + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p-secio +MIT +The MIT License (MIT) + +Copyright (c) 2016 IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p-utils +MIT +The MIT License (MIT) + +Copyright (c) IPFS + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p-webrtc-peer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +libp2p-webrtc-star +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +libp2p-websockets +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +lodash +MIT +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +lodash.find +MIT +Copyright jQuery Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +lodash.max +MIT +Copyright jQuery Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +lodash.merge +MIT +Copyright OpenJS Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +lodash.padstart +MIT +Copyright jQuery Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +lodash.repeat +MIT +Copyright jQuery Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +lodash.throttle +MIT +Copyright jQuery Foundation and other contributors + +Based on Underscore.js, copyright Jeremy Ashkenas, +DocumentCloud and Investigative Reporters & Editors + +This software consists of voluntary contributions made by many +individuals. For exact contribution history, see the revision history +available at https://github.com/lodash/lodash + +The following license applies to all parts of this software except as +documented below: + +==== + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +==== + +Copyright and related rights for sample code are waived via CC0. Sample +code is defined as all source code displayed within the prose of the +documentation. + +CC0: http://creativecommons.org/publicdomain/zero/1.0/ + +==== + +Files located in the node_modules and vendor directories are externally +maintained libraries used by this software which have their own +licenses; we recommend you read them, as their terms may differ from the +terms above. + + +ltgt +MIT +Copyright (c) 2014 Dominic Tarr + +Permission is hereby granted, free of charge, +to any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom +the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +mafmt +MIT + +merge-options +MIT +The MIT License (MIT) + +Copyright (c) Michael Mayer + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +minimalistic-assert +ISC +Copyright 2015 Calvin Metcalf + +Permission to use, copy, modify, and/or distribute this software for any purpose +with or without fee is hereby granted, provided that the above copyright notice +and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND +FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +minimalistic-crypto-utils +MIT + +mortice +ISC + +moving-average +MIT + +ms +MIT +The MIT License (MIT) + +Copyright (c) 2016 Zeit, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +multiaddr +MIT +The MIT License (MIT) + +Copyright (c) 2016 Protocol Labs Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +multiaddr-to-uri +MIT +MIT License + +Copyright (c) 2018 Alan Shaw + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +multibase +MIT +MIT License + +Copyright (c) 2020 Protocol Labs Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +multicodec +MIT +MIT License + +Copyright © 2016 Multiformats + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +multihashes +MIT +The MIT License (MIT) + +Copyright (c) 2020 Protocol Labs Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +multihashing-async +MIT +The MIT License (MIT) + +Copyright (c) Protocol Labs Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +multistream-select +MIT +The MIT License (MIT) + +Copyright (c) 2015 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +murmurhash3js-revisited +MIT +The MIT License (MIT) + +Copyright (c) 2012-2018 Karan Lyons, Sascha Droste, Alex Ciminian + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +mutable-proxy +MIT +The MIT License (MIT) +Copyright (c) 2016 John Griffing + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +nanoid +MIT +The MIT License (MIT) + +Copyright 2017 Andrey Sitnik + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +ngx-electron +MIT + +ngx-file-drop +MIT + +ngx-linky +MIT +The MIT License (MIT) + +Copyright (c) 2018 Rokas Brazdžionis + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +node-fetch +MIT +The MIT License (MIT) + +Copyright (c) 2016 David Frank + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +node-forge +(BSD-3-Clause OR GPL-2.0) +You may use the Forge project under the terms of either the BSD License or the +GNU General Public License (GPL) Version 2. + +The BSD License is recommended for most projects. It is simple and easy to +understand and it places almost no restrictions on what you can do with the +Forge project. + +If the GPL suits your project better you are also free to use Forge under +that license. + +You don't have to do anything special to choose one license or the other and +you don't have to notify anyone which license you are using. You are free to +use this project in commercial projects as long as the copyright header is +left intact. + +If you are a commercial entity and use this set of libraries in your +commercial software then reasonable payment to Digital Bazaar, if you can +afford it, is not required but is expected and would be appreciated. If this +library saves you time, then it's saving you money. The cost of developing +the Forge software was on the order of several hundred hours and tens of +thousands of dollars. We are attempting to strike a balance between helping +the development community while not being taken advantage of by lucrative +commercial entities for our efforts. + +------------------------------------------------------------------------------- +New BSD License (3-clause) +Copyright (c) 2010, Digital Bazaar, Inc. +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Digital Bazaar, Inc. nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL DIGITAL BAZAAR BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +------------------------------------------------------------------------------- + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + + +node-libs-browser +MIT +(The MIT License) + +Copyright (c) 2012 Tobias Koppers + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +nofilter +MIT +The MIT License (MIT) + +Copyright (c) 2014 Joe Hildebrand + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +object-keys +MIT +The MIT License (MIT) + +Copyright (C) 2013 Jordan Harband + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +observable-webworkers +ISC + +p-any +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-cancelable +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-defer +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-fifo +MIT +MIT License + +Copyright (c) 2019 Alan Shaw + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +p-finally +MIT +The MIT License (MIT) + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +p-limit +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-map +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-queue +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-reflect +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-settle +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-some +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-timeout +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-times +MIT +MIT License + +Copyright (c) Sindre Sorhus (https://sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +p-try +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +parse-duration +MIT + +The MIT License + +Copyright (c) 2013 Jake Rosoman + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +parseqs +MIT +The MIT License (MIT) + +Copyright (c) 2015 Gal Koren + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +parseuri +MIT +The MIT License (MIT) + +Copyright (c) 2014 Gal Koren + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +peer-id +MIT +The MIT License (MIT) + +Copyright (c) 2015 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +process +MIT +(The MIT License) + +Copyright (c) 2013 Roman Shtylman + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +process-nextick-args +MIT +# Copyright (c) 2015 Calvin Metcalf + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.** + + +promise-timeout +MIT +The MIT License (MIT) + +Copyright (c) 2015 David M. Lee, II + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +promise-to-callback +MIT +The MIT License (MIT) + +Copyright (c) Steve Mao (github.com/stevemao) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +protobufjs +BSD-3-Clause +This license applies to all parts of protobuf.js except those files +either explicitly including or referencing a different license or +located in a directory containing a different LICENSE file. + +--- + +Copyright (c) 2016, Daniel Wirtz All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of its author, nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +--- + +Code generated by the command line utilities is owned by the owner +of the input file used when generating it. This code is not +standalone and requires a support library to be linked with it. This +support library is itself covered by the above license. + + +protocol-buffers-schema +MIT +The MIT License (MIT) + +Copyright (c) 2014 Mathias Buus + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +protons +MIT +The MIT License (MIT) + +Copyright (c) 2014 Mathias Buus + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +prr +MIT +The MIT License (MIT) +===================== + +Copyright (c) 2014 Rod Vagg +--------------------------- + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +punycode +MIT +Copyright Mathias Bynens + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +pvtsutils +MIT +MIT License + +Copyright (c) 2017 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +pvutils +MIT +MIT License + +Copyright (c) 2016-2019, Peculiar Ventures +All rights reserved. + +Author 2016-2019, Yury Strozhevsky + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +qrcode +MIT +The MIT License (MIT) + +Copyright (c) 2012 Ryan Day + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + + +querystring-es3 +MIT + +Copyright 2012 Irakli Gozalishvili. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +queue-microtask +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +rabin-wasm +MIT + +randombytes +MIT +MIT License + +Copyright (c) 2017 crypto-browserify + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +readable-stream +MIT +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + + +regenerator-runtime +MIT +MIT License + +Copyright (c) 2014-present, Facebook, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +relative-url +MIT +Copyright (c) 2016 'Dominic Tarr' + +Permission is hereby granted, free of charge, +to any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom +the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +retimer +MIT +The MIT License (MIT) + +Copyright (c) 2015 Matteo Collina + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +rxjs +Apache-2.0 + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + + + +safe-buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +sanitize-filename +WTFPL OR ISC +This project is licensed under the [WTFPL][] and [ISC][] licenses. + +[WTFPL]: https://en.wikipedia.org/wiki/WTFPL +[ISC]: https://opensource.org/licenses/ISC + +## WTFPL + +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE +Version 2, December 2004 + +Copyright (C) 2004 Sam Hocevar \ + +Everyone is permitted to copy and distribute verbatim or modified copies +of this license document, and changing it is allowed as long as the name +is changed. + +DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE TERMS AND CONDITIONS FOR +COPYING, DISTRIBUTION AND MODIFICATION + +0. You just DO WHAT THE FUCK YOU WANT TO. + +## ISC + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + + +secp256k1 +MIT +The MIT License (MIT) + +Copyright (c) 2014-2016 secp256k1-node contributors + +Parts of this software are based on bn.js, elliptic, hash.js +Copyright (c) 2014-2016 Fedor Indutny + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +set-immediate-shim +MIT + +setimmediate +MIT +Copyright (c) 2012 Barnesandnoble.com, llc, Donavon West, and Domenic Denicola + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +shortid +MIT +Copyright (c) Dylan Greene +All rights reserved. + +MIT +no-false-attribs License + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +Distributions of all or part of the Software intended to be used +by the recipients as they would use the unmodified Software, +containing modifications that substantially alter, remove, or +disable functionality of the Software, outside of the documented +configuration mechanisms provided by the Software, shall be +modified such that the Original Author's bug reporting email +addresses and urls are either replaced with the contact information +of the parties responsible for the changes, or removed entirely. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +signed-varint +MIT +Copyright (c) 2014 Dominic Tarr + +Permission is hereby granted, free of charge, +to any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom +the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +socket.io-client +MIT +The MIT License (MIT) + +Copyright (c) 2014 Guillermo Rauch + + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +socket.io-parser +MIT +(The MIT License) + +Copyright (c) 2014 Guillermo Rauch + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the 'Software'), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +sort-keys +MIT +MIT License + +Copyright (c) Sindre Sorhus (sindresorhus.com) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +sparse-array +ISC + +sprintf-js +BSD-3-Clause +Copyright (c) 2007-present, Alexandru Mărășteanu +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: +* Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +* Neither the name of this software nor the names of its contributors may be + used to endorse or promote products derived from this software without + specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +stable +MIT + +stream-browserify +MIT +This software is released under the MIT license: + +Copyright (c) James Halliday + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +stream-to-it +MIT +MIT License + +Copyright (c) 2019 Alan Shaw + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +streaming-iterables +MIT +MIT License + +Copyright (c) 2020 Francis Gulotta + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +string_decoder +MIT +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + + + +time-cache +MIT +MIT License + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +timeout-abort-controller +MIT +MIT License + +Copyright (c) 2019 Jacob Heun + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +timers-browserify +MIT +# timers-browserify + +This project uses the [MIT](http://jryans.mit-license.org/) license: + + Copyright © 2012 J. Ryan Stinnett + + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the “Software”), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + +# lib/node + +The `lib/node` directory borrows files from joyent/node which uses the following license: + + Copyright Joyent, Inc. and other Node contributors. All rights reserved. + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to + deal in the Software without restriction, including without limitation the + rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + IN THE SOFTWARE. + + +timestamp-nano +MIT +MIT License + +Copyright (c) 2017-2018 Yusuke Kawasaki + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +to-array +MIT +Copyright (c) 2012 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +truncate-utf8-bytes +WTFPL + +ts-custom-error +MIT +The MIT License + +Copyright (c) 2019 Adrien Gibrat https://github.com/adriengibrat + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +tslib +0BSD +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. + +typedarray-to-buffer +MIT +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +typical +MIT +The MIT License (MIT) + +Copyright (c) 2014-20 Lloyd Brookes <75pound@gmail.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +uint8arrays +MIT + +url +MIT +The MIT License (MIT) + +Copyright Joyent, Inc. and other Node contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +utf8-byte-length +WTFPL + +util +MIT +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. + + +util-deprecate +MIT +(The MIT License) + +Copyright (c) 2014 Nathan Rajlich + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the "Software"), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + + +uuid +MIT +The MIT License (MIT) + +Copyright (c) 2010-2020 Robert Kieffer and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +varint +MIT + +varint-decoder +MIT +MIT License + +Copyright (c) 2016 David Dias + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + +web-encoding +MIT + +webcrypto-core +MIT +The MIT License (MIT) + +Copyright (c) 2020 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +webpack +MIT +Copyright JS Foundation and other contributors + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +'Software'), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + + +xor-distance +MIT +The MIT License (MIT) + +Copyright (c) 2015 Mathias Buus + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +xtend +MIT +The MIT License (MIT) +Copyright (c) 2012-2014 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + + +yeast +MIT +The MIT License (MIT) + +Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + + + +zone.js +MIT +The MIT License + +Copyright (c) 2010-2020 Google LLC. http://angular.io/license + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/dist_archive/ipfs/0.9.4/6-es2015.37d2287d57069a168bd7.js b/dist_archive/ipfs/0.9.4/6-es2015.37d2287d57069a168bd7.js new file mode 100644 index 0000000..3f4ceec --- /dev/null +++ b/dist_archive/ipfs/0.9.4/6-es2015.37d2287d57069a168bd7.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{"/on3":function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return W}));var i=n("n2fA"),o=n("FQBZ"),s=n("dT8p"),a=n("2Vo4"),c=n("0EQZ"),r=n("FvrZ"),l=n("8yBR"),d=n("STbY"),h=n("fXoL"),g=n("tyNb"),u=n("Witw"),p=n("aceb"),b=n("gvxT"),f=n("kmnG"),m=n("qFsG"),v=n("ofXK"),C=n("d3UM"),F=n("3Pt+"),x=n("bTqV"),y=n("FKr1"),S=n("IyRd"),w=n("znSr"),I=n("NFeN");const k=["emptyItem"],O=["qrPop"],N=["createPop"],P=["newFavoriteFolder"];function M(e,t){if(1&e&&(h.Yb(0,"mat-option",24),h.Ic(1),h.Xb()),2&e){const e=t.$implicit;h.pc("value",e.id),h.Fb(1),h.Kc(" ",e.data.name," ")}}function X(e,t){if(1&e){const e=h.Zb();h.Yb(0,"nb-card"),h.Yb(1,"nb-card-header"),h.Ic(2,"Create Channel"),h.Xb(),h.Yb(3,"nb-card-body",16),h.Yb(4,"div",17),h.Ic(5," Folder: "),h.Yb(6,"mat-select",18),h.fc("valueChange",(function(t){return h.xc(e),h.jc().newChannelFolder=t}))("selectionChange",(function(t){return h.xc(e),h.jc().newChannelFolderChanged(t.value)})),h.Gc(7,M,2,2,"mat-option",19),h.Xb(),h.Xb(),h.Yb(8,"div",20),h.Yb(9,"input",21),h.fc("ngModelChange",(function(t){return h.xc(e),h.jc().newChannelName=t})),h.Xb(),h.Xb(),h.Xb(),h.Yb(10,"nb-card-footer"),h.Yb(11,"button",22),h.fc("click",(function(){h.xc(e);const t=h.jc();return t.createNewChannel(t.newChannelName)})),h.Ic(12,"Create"),h.Xb(),h.Yb(13,"button",23),h.fc("click",(function(){return h.xc(e),h.jc().closePopup()})),h.Ic(14,"Cancel"),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc();h.Fb(6),h.pc("value",e.newChannelFolder),h.Fb(1),h.pc("ngForOf",e.channelFolderListArray),h.Fb(2),h.pc("ngModel",e.newChannelName)}}function Y(e,t){if(1&e){const e=h.Zb();h.Yb(0,"nb-card"),h.Yb(1,"nb-card-header"),h.Ic(2,"Scan QR"),h.Xb(),h.Yb(3,"nb-card-body",16),h.Yb(4,"div",25),h.Yb(5,"zxing-scanner",26),h.fc("deviceChange",(function(t){return h.xc(e),h.jc().currentDevice=t}))("scanSuccess",(function(t){return h.xc(e),h.jc().qrSuccessHandler(t)}))("permissionResponse",(function(t){return h.xc(e),h.jc().onHasPermission(t)}))("camerasFound",(function(t){return h.xc(e),h.jc().onCamerasFound(t)}))("torchCompatible",(function(t){return h.xc(e),h.jc().onTorchCompatible(t)})),h.Xb(),h.Xb(),h.Xb(),h.Yb(6,"nb-card-footer"),h.Yb(7,"button",23),h.fc("click",(function(){return h.xc(e),h.jc().closeQR()})),h.Ic(8,"Cancel"),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc();h.Fb(5),h.pc("torch",e.torchEnabled)("device",e.currentDevice)("formats",e.formatsEnabled)("tryHarder",e.tryHarder)}}function j(e,t){if(1&e&&(h.Yb(0,"mat-option",24),h.Ic(1),h.Xb()),2&e){const e=t.$implicit;h.pc("value",e.id),h.Fb(1),h.Kc(" ",e.data.name," ")}}function q(e,t){if(1&e){const e=h.Zb();h.Yb(0,"nb-card"),h.Yb(1,"nb-card-header"),h.Ic(2,"Join Channel"),h.Xb(),h.Yb(3,"nb-card-body",16),h.Yb(4,"div",17),h.Ic(5," Import Folder Structure: "),h.Yb(6,"mat-form-field",27),h.Yb(7,"mat-select",28),h.fc("valueChange",(function(t){return h.xc(e),h.jc().importFolderStructure=t}))("selectionChange",(function(t){return h.xc(e),h.jc().newInviteImportFoldersChanged(t.value)})),h.Yb(8,"mat-option",24),h.Ic(9," On "),h.Xb(),h.Yb(10,"mat-option",24),h.Ic(11," Off "),h.Xb(),h.Xb(),h.Xb(),h.Xb(),h.Yb(12,"div",17),h.Ic(13," Place Into Folder: "),h.Yb(14,"mat-select",18),h.fc("valueChange",(function(t){return h.xc(e),h.jc().newChannelFolder=t}))("selectionChange",(function(t){return h.xc(e),h.jc().newChannelFolderChanged(t.value)})),h.Gc(15,j,2,2,"mat-option",19),h.Xb(),h.Xb(),h.Yb(16,"div",20),h.Yb(17,"input",29),h.fc("ngModelChange",(function(t){return h.xc(e),h.jc().inviteCodeHex=t})),h.Xb(),h.Yb(18,"nb-icon",30),h.fc("click",(function(){return h.xc(e),h.jc().scanQR()})),h.Xb(),h.Xb(),h.Xb(),h.Yb(19,"nb-card-footer"),h.Yb(20,"button",22),h.fc("click",(function(){h.xc(e);const t=h.jc();return t.importNewChannel(t.inviteCode)})),h.Ic(21,"Join"),h.Xb(),h.Yb(22,"button",23),h.fc("click",(function(){return h.xc(e),h.jc().closePopup()})),h.Ic(23,"Cancel"),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc();h.Fb(7),h.pc("value",e.importFolderStructure),h.Fb(1),h.pc("value",1),h.Fb(2),h.pc("value",0),h.Fb(4),h.pc("value",e.newChannelFolder),h.Fb(1),h.pc("ngForOf",e.channelFolderListArray),h.Fb(2),h.pc("ngModel",e.inviteCodeHex)}}function T(e,t){if(1&e&&(h.Yb(0,"mat-option",24),h.Ic(1),h.Xb()),2&e){const e=t.$implicit;h.pc("value",e.id),h.Fb(1),h.Kc(" ",e.data.name," ")}}function E(e,t){if(1&e){const e=h.Zb();h.Yb(0,"nb-card"),h.Yb(1,"nb-card-header"),h.Ic(2,"New Favorite Folder"),h.Xb(),h.Yb(3,"nb-card-body",16),h.Yb(4,"div",17),h.Ic(5," Folder: "),h.Yb(6,"mat-select",18),h.fc("valueChange",(function(t){return h.xc(e),h.jc().newFavoriteFolderId=t}))("selectionChange",(function(t){return h.xc(e),h.jc().newFavoriteFolderChanged(t.value)})),h.Gc(7,T,2,2,"mat-option",19),h.Xb(),h.Xb(),h.Yb(8,"div",20),h.Yb(9,"input",31),h.fc("ngModelChange",(function(t){return h.xc(e),h.jc().newFavoriteFolderName=t})),h.Xb(),h.Xb(),h.Xb(),h.Yb(10,"nb-card-footer"),h.Yb(11,"button",22),h.fc("click",(function(){h.xc(e);const t=h.jc();return t.createNewFavoriteFolder(t.newFavoriteFolderName)})),h.Ic(12,"Create"),h.Xb(),h.Yb(13,"button",23),h.fc("click",(function(){return h.xc(e),h.jc().closePopup()})),h.Ic(14,"Cancel"),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc();h.Fb(6),h.pc("value",e.newFavoriteFolderId),h.Fb(1),h.pc("ngForOf",e.favoriteFolderListArray),h.Fb(2),h.pc("ngModel",e.newFavoriteFolderName)}}function B(e,t){if(1&e){const e=h.Zb();h.Yb(0,"div",36),h.fc("click",(function(){h.xc(e);const t=h.jc().$implicit;return h.jc().goToProfile(t.pubKey)})),h.Ic(1),h.Xb()}if(2&e){const e=h.jc().$implicit,t=h.jc();h.Fb(1),h.Kc(" ",t.getAliasFromDirectChannel(e.channel),"")}}function D(e,t){if(1&e){const e=h.Zb();h.Yb(0,"div",36),h.fc("click",(function(){h.xc(e);const t=h.jc().$implicit;return h.jc().goToProfile(t.pubKey)})),h.Ic(1," Unknown"),h.Xb()}}function L(e,t){if(1&e){const e=h.Zb();h.Yb(0,"div",32),h.Gc(1,B,2,1,"div",33),h.Gc(2,D,2,0,"div",33),h.Yb(3,"nb-icon",34),h.fc("click",(function(){h.xc(e);const n=t.$implicit;return h.jc().rejectRequest(n.pubKey)})),h.Xb(),h.Yb(4,"nb-icon",35),h.fc("click",(function(){h.xc(e);const n=t.$implicit;return h.jc().importNewChannel(n.invite)})),h.Xb(),h.Xb()}if(2&e){const e=t.$implicit,n=h.jc();h.Fb(1),h.pc("ngIf",n.getAliasFromDirectChannel(e.channel).indexOf("qprivatedch")<0),h.Fb(1),h.pc("ngIf",n.getAliasFromDirectChannel(e.channel).indexOf("qprivatedch")>-1)}}const _=function(e){return{"drag-start":e}};function R(e,t){if(1&e){const e=h.Zb();h.Yb(0,"div"),h.Tb(1,"nb-icon",39),h.Yb(2,"span",40),h.fc("dragstart",(function(t){h.xc(e);const n=h.jc().$implicit;return h.jc().handleDragStart(t,n)})),h.Yb(3,"span",41),h.Ic(4),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc().$implicit,t=h.jc();h.Ib("treeNodeContainerSingle ",e.item,""),h.Kb("active-channel",t.selectedChannel===e.item),h.Fb(3),h.pc("ngClass",h.sc(7,_,t.dragNode===e)),h.Fb(1),h.Kc(" ",t.getAliasFromDirectChannel2(e.item)," ")}}function A(e,t){if(1&e){const e=h.Zb();h.Yb(0,"div"),h.Tb(1,"nb-icon",42),h.Yb(2,"span",40),h.fc("dragstart",(function(t){h.xc(e);const n=h.jc().$implicit;return h.jc().handleDragStart(t,n)})),h.Yb(3,"span",43),h.Ic(4," Unknown "),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc().$implicit,t=h.jc();h.Ib("treeNodeContainerSingle ",e.item,""),h.Kb("active-channel",t.selectedChannel===e.item),h.Fb(3),h.pc("ngClass",h.sc(6,_,t.dragNode===e))}}function K(e,t){if(1&e){const e=h.Zb();h.Yb(0,"mat-tree-node",37),h.fc("dragover",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragOver(n,i)}))("dragend",(function(t){return h.xc(e),h.jc().handleDragEnd(t)}))("drop",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDrop(n,i)}))("click",(function(){h.xc(e);const n=t.$implicit;return h.jc().selectChannel(n.item)})),h.Gc(1,R,5,9,"div",38),h.Gc(2,A,5,8,"div",38),h.Xb()}if(2&e){const e=t.$implicit,n=h.jc();h.pc("ngClass",n.getStyle(e)),h.Fb(1),h.pc("ngIf",n.getAliasFromDirectChannel2(e.item).indexOf("qprivatedch")<0),h.Fb(1),h.pc("ngIf",n.getAliasFromDirectChannel2(e.item).indexOf("qprivatedch")>-1)}}function G(e,t){if(1&e){const e=h.Zb();h.Yb(0,"mat-tree-node",44),h.fc("dragover",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragOver(n,i)}))("dragend",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragEnd(n,i)}))("drop",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDrop(n,i)})),h.Yb(1,"div",45),h.fc("contextmenu",(function(n){h.xc(e);const i=t.$implicit;return h.jc().onContextMenu(n,i.item)})),h.Yb(2,"button",46),h.Yb(3,"mat-icon",47),h.Ic(4),h.Xb(),h.Xb(),h.Tb(5,"nb-icon",48),h.Yb(6,"span",40),h.fc("dragstart",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragStart(n,i)})),h.Yb(7,"span",49),h.Ic(8),h.Xb(),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=t.$implicit,n=h.jc();h.pc("ngClass",n.getStyle(e)),h.Fb(2),h.Gb("aria-label","toggle "+e.item),h.Fb(2),h.Kc(" ",n.treeControl.isExpanded(e)?"expand_more":"chevron_right"," "),h.Fb(3),h.pc("ngClass",h.sc(5,_,n.dragNode===e)),h.Fb(1),h.Kc(" ",n.getFavoriteFolderNameFromId(e.item)," ")}}function z(e,t){if(1&e){const e=h.Zb();h.Yb(0,"button",50),h.fc("click",(function(){h.xc(e);const n=t.item;return h.jc().deleteFolder(n)})),h.Ic(1,"Delete"),h.Xb(),h.Yb(2,"button",50),h.fc("click",(function(){h.xc(e);const n=t.item;return h.jc().onContextMenuAction2(n)})),h.Ic(3,"Rename"),h.Xb(),h.Yb(4,"button",50),h.fc("click",(function(){h.xc(e);const n=t.item;return h.jc().onContextMenuAction2(n)})),h.Ic(5,"New Channel"),h.Xb()}}class H{}class ${}var V={};let Z=(()=>{class e{constructor(){this.dataChange=new a.a([]),this.initialize()}get data(){return this.dataChange.value}initialize(){this.buildFileTree(V,0)}buildFileTree(e,t){return Object.keys(e).reduce((n,i)=>{const o=e[i],s=new H;return s.item=i,null!=o&&("object"==typeof o?s.children=this.buildFileTree(o,t+1):s.item=o),n.concat(s)},[])}insertItem(e,t){e.children||(e.children=[]);const n={item:t};return e.children.push(n),this.dataChange.next(this.data),n}getParentFromNodes(e){for(let t=0;t0)for(let n=0;n0){const e=this.getParent(i,t);if(null!=e)return e}}return null}updateItem(e,t){e.item=t,this.dataChange.next(this.data)}deleteItem(e){this.deleteNode(this.data,e),this.dataChange.next(this.data)}copyPasteItem(e,t){const n=this.insertItem(t,e.item);return e.children&&e.children.forEach(e=>{this.copyPasteItem(e,n)}),n}deleteNode(e,t){const n=e.indexOf(t,0);n>-1?e.splice(n,1):e.forEach(e=>{e.children&&e.children.length>0&&this.deleteNode(e.children,t)})}filter(e){let t;t=e&&e.length>0?{Filter:{emptyFolder:{}},Function:{emptyFolder:{}},Missing:{emptyFolder:{}}}:V;const n=this.buildFileTree(t,0);this.dataChange.next(n)}setQOS(e){this.q=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=h.Ob({token:e,factory:e.\u0275fac}),e})(),W=(()=>{class t{constructor(e,t,n,i,d,h,g,u){this.router=e,this.ngZone=t,this.cd=n,this.database=i,this.ui=d,this.dialog=h,this.nbMenuService=g,this.q=u,this.contextMenuPosition={x:"0px",y:"0px"},this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.selectedParent=null,this.newItemName="",this.checklistSelection=new c.c(!0),this.dragNodeExpandOverWaitTimeMs=300,this.getLevel=e=>e.level,this.isExpandable=e=>e.expandable,this.getChildren=e=>e.children,this.hasChild=(e,t)=>t.expandable,this.hasNoContent=(e,t)=>""===t.item,this.transformer=(e,t)=>{const n=this.nestedNodeMap.get(e),i=n&&n.item===e.item?n:new $;return i.item=e.item,i.level=t,i.expandable=e.children&&e.children.length>0,this.flatNodeMap.set(i,e),this.nestedNodeMap.set(e,i),i},this.dragNodeExpandOverAreaReal=0,this.channelNameList=[],this.incomingFavoriteRequestList=[],this.restoreFlag=0,this.sENwriteBlock=0,this.channelIsSelected="active-channel",this.DEVMODE=s.dev,this.customColumn="name",this.items=[{title:"New Favorite Folder"},{title:"Add Favorite"}],this.currentDevice=null,this.formatsEnabled=[o.BarcodeFormat.QR_CODE],this.torchEnabled=!1,this.torchAvailable$=new a.a(!1),this.tryHarder=!1,this.favoriteFolderListArray=[],this.popupRef=[],this.flatChannelNameList={},this.flatChannelNameList2={},this.flatChannelNeeded=[],this.flatChannelNeeded2=[],this.itemClickSub=this.nbMenuService.onItemClick().subscribe(e=>{"New Favorite Folder"==String(e.item.title)&&(this.getFavoriteFolderList(),this.open(this.newFavoriteFolderPop))}),this.database.setQOS(this.q),this.treeFlattener=new l.c(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new r.j(this.getLevel,this.isExpandable),this.dataSource=new l.b(this.treeControl,this.treeFlattener)}onContextMenu(e,t){e.preventDefault(),this.contextMenuPosition.x=e.clientX+"px",this.contextMenuPosition.y=e.clientY-40+"px",this.contextMenu.menuData={item:t},this.contextMenu.openMenu()}onContextMenuAction1(e){}onContextMenuAction2(e){}descendantsAllSelected(e){return this.treeControl.getDescendants(e).every(e=>this.checklistSelection.isSelected(e))}descendantsPartiallySelected(e){return this.treeControl.getDescendants(e).some(e=>this.checklistSelection.isSelected(e))&&!this.descendantsAllSelected(e)}todoItemSelectionToggle(e){this.checklistSelection.toggle(e);const t=this.treeControl.getDescendants(e);this.checklistSelection.isSelected(e)?this.checklistSelection.select(...t):this.checklistSelection.deselect(...t)}saveNode(e,t){const n=this.flatNodeMap.get(e);this.database.updateItem(n,t)}handleDragStart(e,t){this.dragNode=t,this.treeControl.collapse(t)}handleDragOver(e,t){if(e.preventDefault(),-1===t.item.indexOf("-----")){this.dragNodeExpandOverNode&&t===this.dragNodeExpandOverNode?Date.now()-this.dragNodeExpandOverTime>this.dragNodeExpandOverWaitTimeMs&&(this.treeControl.isExpanded(t)||this.treeControl.expand(t)):(this.dragNodeExpandOverNode=t,this.dragNodeExpandOverTime=(new Date).getTime());const n=e.offsetY/e.target.clientHeight;0<=n&&n<=.25?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=1):1>=n&&n>=.75?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=-1):(this.dragNodeExpandOverAreaReal=0,this.dragNodeExpandOverArea=0)}}handleDrop(e,t){if(t!==this.dragNode&&t.item.indexOf("-----")<0){let e;1===this.dragNodeExpandOverAreaReal||-1===this.dragNodeExpandOverAreaReal||(e=this.flatNodeMap.get(this.dragNode),this.database.deleteItem(e),e=this.database.copyPasteItem(e,this.flatNodeMap.get(t)),this.saveExpandedNodes(),this.buildFavoriteFolderListFromTreeNodeData())}this.handleDragEnd(e)}handleDragEnd(e){this.dragNode=null,this.dragNodeExpandOverNode=null,this.dragNodeExpandOverTime=0,this.dragNodeExpandOverArea=NaN,e.preventDefault()}getStyle(e){if("emptyFolder"==e.item)return"display-none";if(this.dragNode===e)return"drag-start";if(this.dragNodeExpandOverNode===e)switch(this.dragNodeExpandOverArea){case 1:return"drop-above";case-1:return"drop-below";default:return"drop-center"}}closeQR(){setTimeout(()=>{this.closePopup()},500)}scanQR(){this.open(this.qrPop)}deleteItem(e){this.database.deleteItem(this.flatNodeMap.get(e))}filterChanged(e){this.database.filter(e),e?this.treeControl.expandAll():this.treeControl.collapseAll()}getFavoriteFolderNameFromId(e){return"emptyFolder"==e?e:this.q.os.bee.config.getFavoriteFolderNameFromId(e)}isFolder(e){return!(e.indexOf("-----")>-1)}buildFavoritelFolderListFromTreeNodeData(){console.log("!!!!!"),console.log(this.database.data);let e=this.database.data;e=e.filter(e=>"emptyFolder"!=e.item);let t=[];for(let n=0;n-1&&(i="channel"),console.log(i);let o=[];void 0!==e[n].children&&e[n].children.length>0&&(o=this.getFavoriteFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(e[n].item),kind:i,items:0},children:o})}return this.q.os.bee.config.setFavoriteFolderList(t),!0}ngOnDestroy(){console.log("ChannelList: ngOnDestroy..."),clearInterval(this.updateNamesInterval),this.itemClickSub.unsubscribe(),this.dataChangeSub.unsubscribe(),this.favoriteFolderListSub.unsubscribe(),this.selectedChannelSub.unsubscribe()}ngOnInit(){return Object(i.a)(this,void 0,void 0,(function*(){for(;!this.q.os.isSignedIn();)console.log("ChannelList: Waiting for OS Sign In..."),yield this.ui.delay(1e3);this.updateNamesInterval=setInterval(()=>{this.saveExpandedNodes(),this.loadChannels(this.favoriteFolderList),setTimeout(()=>{this.saveExpandedNodes(),this.loadChannels(this.favoriteFolderList)},2e3)},2e4),this.channelNameList=this.q.os.ocean.dolphin.getChannelNameList(),this.favoriteFolderList=this.q.os.bee.config.getFavoriteFolderList(),this.dataChangeSub=this.database.dataChange.subscribe(e=>{this.dataSource.data=[],this.dataSource.data=e}),this.favoriteFolderListSub=this.q.os.bee.config.favoriteFolderListSub.subscribe(e=>{this.loadChannels(e)}),this.selectedChannelSub=this.q.os.channel.onSelect().subscribe(e=>{this.selectedChannel=e}),this.loadChannels(this.favoriteFolderList),setTimeout(()=>{this.saveExpandedNodes(),this.loadChannels(this.favoriteFolderList)},2e3),this.selectedChannel=this.q.os.channel.getSelected(),this.cd.detectChanges()}))}loadChannels(e){this.incomingFavoriteRequestList=this.q.os.ocean.dolphin.getIncomingFavoriteRequests().filter(e=>!this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),e.channel)),V=this.q.os.bee.config.getFavoriteFolderIDList(),this.database.filter(""),e.length>0&&this.q.os.bee.config.getExpandedFavoriteFolderItems().length>0&&(console.log("got a saved state!"),this.expandedNodes=this.q.os.bee.config.getExpandedFavoriteFolderItems(),this.restoreExpandedNodes()),this.updateNames()}saveExpandedNodes(){this.sENwriteBlock=1,this.expandedNodes=[];for(let e=0;e"emptyFolder"!=e.item);let t=[];for(let n=0;n-1&&(i="channel"),console.log(i);let o=[];void 0!==e[n].children&&e[n].children.length>0&&(o=this.getFavoriteFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(e[n].item),kind:i,items:0},children:o})}return this.q.os.bee.config.setFavoriteFolderList(t),!0}selectChannel(e){console.log("ChannelList: Trying to select: >>"+e.trim()),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),e.trim())&&(console.log("ChannelList: Selecting: ",e.trim()),this.q.os.channel.select(e.trim()),this.q.os.ui.getSideBarFixed().left&&this.q.os.ui.hideSideBar("left"),this.cd.detectChanges())}getSelected(){return JSON.stringify(this.selectedChannel)}getFavoriteFolderListTreeChildrenRec(e){let t=[];for(let n=0;n-1&&(i="channel");let o=[];void 0!==e[n].children&&e[n].children.length>0&&(o=this.getFavoriteFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(e[n].item),kind:i,items:0},children:o})}return t}restoreExpandedNodes(){this.sENwriteBlock=1;for(let e=0;ee.item===t.item))}this.sENwriteBlock=0}onCamerasFound(e){this.availableDevices=e,this.hasDevices=Boolean(e&&e.length)}onDeviceSelectChange(e){const t=this.availableDevices.find(t=>t.deviceId===e);this.currentDevice=t||null}onHasPermission(e){this.hasPermission=e}onTorchCompatible(e){this.torchAvailable$.next(e||!1)}toggleTorch(){this.torchEnabled=!this.torchEnabled}toggleTryHarder(){this.tryHarder=!this.tryHarder}qrSuccessHandler(e){console.log(e),this.inviteCodeHex=e,this.closePopup()}getFavoriteFolderList(){return this.favoriteFolderList=this.q.os.bee.config.getFavoriteFolderList(),this.favoriteFolderListArray=[],this.parseStructure(this.favoriteFolderList),this.favoriteFolderListArray.length>0&&(this.newFavoriteFolder=this.favoriteFolderListArray[0]),this.favoriteFolderList}parseStructure(e){for(let t=0;t0?(n=s[s.length-1].split(":")[0],i=s[s.length-1].split(":")[1],s.pop()):(n=o.split(":")[0],i=o.split(":")[1]);let a=this.newFavoriteFolder;"object"!=typeof a&&void 0!==a&&null!=typeof a||(a=""),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),n)?this.ui.showSnack("Channel Exists!","Oops",{duration:1e3}):(this.q.os.ocean.dolphin.removeIncomingFavoriteRequest(n.split("-----")[0].split("-")[1]),this.q.os.social.profile.addFavorite(n.split("-----")[0].split("-")[1]),console.log("ChannelFavorites: Adding Favorite: ",n.split("-----")[0].split("-")[1]),yield this.q.os.channel.import(n,s,"",i,0),this.createCompleteAndClose())}))}rejectRequest(e){this.q.os.ocean.dolphin.removeIncomingFavoriteRequest(e),this.saveExpandedNodes(),this.loadChannels(this.favoriteFolderList),this.q.os.commitNow()}newInviteImportFoldersChanged(){}goToProfile(e){this.ngZone.run(()=>this.router.navigate(["/social/profile/"+e]))}updateNames(){return Object(i.a)(this,void 0,void 0,(function*(){let e=[];for(let t of this.flatChannelNeeded)if(e.indexOf(t)<0){let n=yield this.q.os.social.getAliasFromDirectChannel(t);console.log(n),e.push(t),this.flatChannelNameList[t]=n}for(let t of this.flatChannelNeeded2)if(e.indexOf(t)<0){let n=yield this.q.os.social.getAliasFromDirectChannel2(t);console.log(n),e.push(t),this.flatChannelNameList2[t]=n}this.cd.detectChanges()}))}getAliasFromDirectChannel(e){return this.flatChannelNeeded.push(e),void 0!==this.flatChannelNameList[e]?this.flatChannelNameList[e]:e}getAliasFromDirectChannel2(e){return this.flatChannelNeeded2.push(e),void 0!==this.flatChannelNameList2[e]?this.flatChannelNameList2[e]:e}}return t.\u0275fac=function(e){return new(e||t)(h.Sb(g.c),h.Sb(h.C),h.Sb(h.h),h.Sb(Z),h.Sb(u.a),h.Sb(p.l),h.Sb(p.y),h.Sb(b.a))},t.\u0275cmp=h.Mb({type:t,selectors:[["messages-channel-favorites"]],viewQuery:function(e,t){var n;1&e&&(h.Mc(d.d,!0),h.Mc(k,!0),h.Mc(O,!0),h.Mc(N,!0),h.Mc(P,!0)),2&e&&(h.uc(n=h.gc())&&(t.contextMenu=n.first),h.uc(n=h.gc())&&(t.emptyItem=n.first),h.uc(n=h.gc())&&(t.qrPop=n.first),h.uc(n=h.gc())&&(t.createPop=n.first),h.uc(n=h.gc())&&(t.newFavoriteFolderPop=n.first))},features:[h.Eb([Z])],decls:22,vars:10,consts:[["createPop",""],["qrPop",""],["import",""],["newFavoriteFolder",""],[2,"width","169px","margin-top","20px","color","#598adb"],["matInput","","placeholder","Search",3,"input"],["outline","","size","small",1,"addChannelButton",3,"nbContextMenu"],["icon","plus-outline",2,"font-size","18px","width","auto"],["class","favoriteRequest",4,"ngFor","ngForOf"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop","click",4,"matTreeNodeDef"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop",4,"matTreeNodeDef","matTreeNodeDefWhen"],[2,"visibility","hidden","position","fixed",3,"matMenuTriggerFor"],["contextMenu","matMenu"],["matMenuContent",""],["emptyItem",""],[2,"color","goldenrod"],[2,"padding","20px"],[2,"width","80%","margin-left","10px",3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[2,"padding","20px","padding-bottom","34px","padding-top","0px","color","white !important"],["matInput","","placeholder","Channel Name","value","","name","newChannelName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",2,"margin-right","20px","border","1px solid #ffffff24",3,"click"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[3,"value"],[1,"qrScanWrapper"],[3,"torch","device","formats","tryHarder","deviceChange","scanSuccess","permissionResponse","camerasFound","torchCompatible"],[2,"width","19%"],[3,"value","valueChange","selectionChange"],["matInput","","placeholder","Invite Code","value","","name","inviteCodeHex",2,"color","black","background-color","goldenrod","padding","7px","margin-right","5%","width","80%",3,"ngModel","ngModelChange"],["icon","camera-outline",1,"deleteCode","scanQRCode",3,"click"],["matInput","","placeholder","Folder Name","value","","name","newFavoriteFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],[1,"favoriteRequest"],["class","favoriteRequestText",3,"click",4,"ngIf"],["icon","close-square-outline",2,"color","#ff0000bd","float","right","cursor","pointer",3,"click"],["icon","checkmark-square-2-outline",2,"color","#16eb16","float","right","cursor","pointer",3,"click"],[1,"favoriteRequestText",3,"click"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop","click"],[3,"class","active-channel",4,"ngIf"],["icon","activity"],["draggable","true",1,"checklist-leaf-node",3,"dragstart"],[1,"nodeContent",2,"width","100%",3,"ngClass"],["icon","question-mark-outline"],[1,"nodeContent","unknown",2,"width","100%",3,"ngClass"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop"],[1,"treeNodeContainerFolder",3,"contextmenu"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["icon","folder-outline"],[1,"nodeContent",3,"ngClass"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(h.Gc(0,X,15,3,"ng-template",null,0,h.Hc),h.Gc(2,Y,9,4,"ng-template",null,1,h.Hc),h.Gc(4,q,24,6,"ng-template",null,2,h.Hc),h.Gc(6,E,15,3,"ng-template",null,3,h.Hc),h.Yb(8,"mat-form-field",4),h.Yb(9,"input",5),h.fc("input",(function(e){return t.filterChanged(e.target.value)})),h.Xb(),h.Xb(),h.Yb(10,"button",6),h.Tb(11,"nb-icon",7),h.Xb(),h.Gc(12,L,5,2,"div",8),h.Yb(13,"mat-tree",9),h.Gc(14,K,3,3,"mat-tree-node",10),h.Gc(15,G,9,7,"mat-tree-node",11),h.Xb(),h.Tb(16,"div",12),h.Yb(17,"mat-menu",null,13),h.Gc(19,z,6,0,"ng-template",14),h.Xb(),h.Tb(20,"span",null,15)),2&e){const e=h.vc(18);h.Fb(10),h.pc("nbContextMenu",t.items),h.Fb(2),h.pc("ngForOf",t.incomingFavoriteRequestList),h.Fb(1),h.pc("dataSource",t.dataSource)("treeControl",t.treeControl),h.Fb(2),h.pc("matTreeNodeDefWhen",t.hasChild),h.Fb(1),h.Dc("left",t.contextMenuPosition.x)("top",t.contextMenuPosition.y),h.pc("matMenuTriggerFor",e)}},directives:[f.b,m.a,p.i,p.o,v.l,l.a,l.f,d.d,d.e,d.a,p.d,p.f,p.c,C.a,F.b,F.j,F.m,p.e,x.a,y.g,S.a,v.m,l.e,l.h,l.g,v.k,w.a,I.a,d.b],styles:["button[nbTreeGridRowToggle][_ngcontent-%COMP%]{background:transparent;border:none;padding:0}.search-label[_ngcontent-%COMP%]{display:block}.search-input[_ngcontent-%COMP%]{background:transparent;color:#fff;padding:5px;font-size:12px;width:100%;margin-top:1rem;margin-bottom:1rem;width:78%;margin-left:1%}.addChannelButton[_ngcontent-%COMP%]{color:rgba(134,116,183,.7490196078431373);margin-left:5%;position:relative;top:1px;background-color:#45267d;border:1px solid;border-radius:5px;padding:4px;opacity:.7}.nb-column-name[_ngcontent-%COMP%]{width:80%}.nb-column-items[_ngcontent-%COMP%]{width:20%}.favoriteRequest[_ngcontent-%COMP%]{width:100%;overflow:hidden;white-space:nowrap;padding:10px;border-radius:5px;background:rgba(120,14,62,.6392156862745098);font-family:Ubuntu;font-size:14px;margin-bottom:5px}.favoriteRequestText[_ngcontent-%COMP%]{width:80%;cursor:pointer;overflow:hidden;width:66%;float:left;text-overflow:ellipsis;color:hsla(0,0%,100%,.7490196078431373)}.scanQRCode[_ngcontent-%COMP%]{font-size:37px;color:#315cdf;cursor:pointer}.scanQRCode[_ngcontent-%COMP%]:hover{color:#4a81e6}[_nghost-%COMP%] nb-layout-header[_ngcontent-%COMP%] nav{justify-content:flex-end}.mat-tree[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{background:transparent}.mat-tree-node[_ngcontent-%COMP%]{overflow:visible;cursor:move}.drop-above[_ngcontent-%COMP%]{border-top:10px solid #2196f3;margin-top:-10px}.drop-below[_ngcontent-%COMP%]{border-bottom:10px solid #2196f3;margin-bottom:-10px}.drop-center[_ngcontent-%COMP%]{background-color:#a9a9a9}.drag-start[_ngcontent-%COMP%]{background-color:#1565c0;color:#f0fff0}.treeNodeContainerFolder[_ngcontent-%COMP%]{background-color:rgba(131,119,230,.058823529411764705);padding:0 16px 0 0}.treeNodeContainerFolder[_ngcontent-%COMP%], .treeNodeContainerSingle[_ngcontent-%COMP%]{border-radius:5px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.treeNodeContainerSingle[_ngcontent-%COMP%]{background-color:rgba(69,39,128,.3686274509803922);padding:6px 10px 6px 15px}.mat-tree[_ngcontent-%COMP%]{width:227px;left:14px;top:190px;bottom:40px;position:fixed;overflow:scroll}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:none!important}.emptyFolder[_ngcontent-%COMP%]{display:none}.mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{line-height:20px}.qrScanWrapper[_ngcontent-%COMP%]{min-width:20px;max-height:80vh;max-width:37vw}.mat-tree[_ngcontent-%COMP%]{z-index:999;max-width:227px;left:-1px;padding-right:10px;position:relative;top:0;margin-bottom:40px}.nodeContent.station[_ngcontent-%COMP%], .nodeContent.unknown[_ngcontent-%COMP%]{position:relative;top:-1px}"]}),t})()}).call(this,n("tjlA").Buffer)},"8A8W":function(e,t,n){"use strict";n.r(t),n.d(t,"QDMessagesModule",(function(){return Fe}));var i=n("tyNb"),o=n("fXoL"),s=n("n2fA"),a=n("Witw"),c=n("aceb"),r=n("gvxT"),l=n("ofXK"),d=n("bTqV"),h=n("rk8u"),g=n("/on3");let u=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Mb({type:e,selectors:[["messages-channel-sidebar-left"]],decls:5,vars:0,consts:[["fullWidth",""],["tabIcon","activity-outline",1,"channelList"],["tabIcon","star-outline",1,"channelList","favoriteTab"]],template:function(e,t){1&e&&(o.Yb(0,"nb-tabset",0),o.Yb(1,"nb-tab",1),o.Tb(2,"messages-channel-list"),o.Xb(),o.Yb(3,"nb-tab",2),o.Tb(4,"messages-channel-favorites"),o.Xb(),o.Xb())},directives:[c.H,c.G,h.a,g.a],styles:[".favoriteTab[_ngcontent-%COMP%]{overflow:hidden!important;overflow-y:auto!important}"]}),e})();var p=n("Cjz3"),b=n("5+WD"),f=n("SS7q"),m=n("qFsG"),v=n("3Pt+");const C=["folder"],F=["folderEdit"],x=["participantEdit"];function y(e,t){if(1&e){const e=o.Zb();o.Yb(0,"nb-card"),o.Yb(1,"nb-card-header"),o.Ic(2,"Create Participant Folder"),o.Xb(),o.Yb(3,"nb-card-body",6),o.Yb(4,"div",7),o.Yb(5,"input",8),o.fc("ngModelChange",(function(t){return o.xc(e),o.jc().newFolderName=t})),o.Xb(),o.Xb(),o.Xb(),o.Yb(6,"nb-card-footer"),o.Yb(7,"button",9),o.fc("click",(function(){o.xc(e);const t=o.jc();return t.createFolder(t.newFolderName)})),o.Ic(8,"Create"),o.Xb(),o.Yb(9,"button",10),o.fc("click",(function(){return o.xc(e),o.jc().closePopup()})),o.Ic(10,"Cancel"),o.Xb(),o.Xb(),o.Xb()}if(2&e){const e=o.jc();o.Fb(5),o.pc("ngModel",e.newFolderName)}}function S(e,t){if(1&e){const e=o.Zb();o.Yb(0,"nb-card"),o.Yb(1,"nb-card-header"),o.Ic(2,"Edit Folder"),o.Xb(),o.Yb(3,"nb-card-body",6),o.Yb(4,"div",7),o.Yb(5,"input",11),o.fc("ngModelChange",(function(t){return o.xc(e),o.jc().editedFolderName=t})),o.Xb(),o.Xb(),o.Xb(),o.Yb(6,"nb-card-footer"),o.Yb(7,"button",9),o.fc("click",(function(){o.xc(e);const t=o.jc();return t.editFolder(t.editedFolderId,t.editedFolderName)})),o.Ic(8,"Create"),o.Xb(),o.Yb(9,"button",10),o.fc("click",(function(){return o.xc(e),o.jc().closePopup()})),o.Ic(10,"Cancel"),o.Xb(),o.Xb(),o.Xb()}if(2&e){const e=o.jc();o.Fb(5),o.pc("ngModel",e.editedFolderName)}}function w(e,t){if(1&e){const e=o.Zb();o.Yb(0,"nb-card"),o.Yb(1,"nb-card-header"),o.Ic(2,"Edit Participant"),o.Xb(),o.Yb(3,"nb-card-body",6),o.Yb(4,"div",7),o.Yb(5,"input",12),o.fc("ngModelChange",(function(t){return o.xc(e),o.jc().editedParticipantName=t})),o.Xb(),o.Xb(),o.Xb(),o.Yb(6,"nb-card-footer"),o.Yb(7,"button",9),o.fc("click",(function(){o.xc(e);const t=o.jc();return t.editParticipant(t.editedParticipantId,t.editedParticipantName)})),o.Ic(8,"Create"),o.Xb(),o.Yb(9,"button",10),o.fc("click",(function(){return o.xc(e),o.jc().closePopup()})),o.Ic(10,"Cancel"),o.Xb(),o.Xb(),o.Xb()}if(2&e){const e=o.jc();o.Fb(5),o.pc("ngModel",e.editedParticipantName)}}function I(e,t){if(1&e){const e=o.Zb();o.Yb(0,"nb-icon",21),o.fc("click",(function(){o.xc(e);const t=o.jc(2);return t.openPopup(t.folderPop)})),o.Xb()}}function k(e,t){if(1&e){const e=o.Zb();o.Yb(0,"nb-icon",22),o.fc("click",(function(){o.xc(e);const t=o.jc().$implicit;return o.jc().removeFolder(t.id)})),o.Xb()}}function O(e,t){if(1&e){const e=o.Zb();o.Yb(0,"div",23),o.fc("click",(function(t){return o.xc(e),o.jc(2).clickParticipant(t)})),o.Yb(1,"span",24),o.fc("click",(function(){o.xc(e);const n=t.$implicit;return o.jc(2).openSocialProfile(n.name,n.pubKey)})),o.Ic(2),o.Xb(),o.Yb(3,"nb-icon",25),o.fc("click",(function(){o.xc(e);const n=t.$implicit,i=o.jc().$implicit,s=o.jc();return s.openPopup(s.participantEditPop,i.id,n.pubKey)})),o.Xb(),o.Xb()}if(2&e){const e=t.$implicit,n=o.jc(2);o.Ib("item-box participantEntry ",n.isOnline(e.pubKey),""),o.Fb(2),o.Jc(e.name)}}function N(e,t){if(1&e){const e=o.Zb();o.Yb(0,"div",13),o.Yb(1,"div",14),o.Yb(2,"div",15),o.Ic(3),o.Gc(4,I,1,0,"nb-icon",16),o.Gc(5,k,1,0,"nb-icon",17),o.Yb(6,"nb-icon",18),o.fc("click",(function(){o.xc(e);const n=t.$implicit,i=o.jc();return i.openPopup(i.folderEditPop,n.id)})),o.Xb(),o.Xb(),o.Yb(7,"div",19),o.fc("cdkDropListDropped",(function(t){return o.xc(e),o.jc().drop(t)})),o.Gc(8,O,4,4,"div",20),o.Xb(),o.Xb(),o.Xb()}if(2&e){const e=t.$implicit,n=o.jc();o.Fb(3),o.Kc("",e.name," "),o.Fb(1),o.pc("ngIf",e.participants.length>0||"others"==e.id),o.Fb(1),o.pc("ngIf",0==e.participants.length&&"others"!=e.id),o.Fb(2),o.qc("id",e.id),o.pc("cdkDropListData",e.participants)("cdkDropListConnectedTo",n.connectedTo),o.Fb(1),o.pc("ngForOf",e.participants)}}function P(e,t){1&e&&(o.Yb(0,"div",26),o.Ic(1," Waiting... "),o.Xb())}let M=(()=>{class e{constructor(e,t,n,i,o,s){this.ngZone=e,this.router=t,this.cd=n,this.q=i,this.ui=o,this.dialog=s,this.channel="NoChannelSelected",this.folders=[],this.connectedTo=[],this.channelParticipantListArray=[],this.popupRef=[],this.dev=!1,this.noChannelSelected="NoChannelSelected",this.dev=!1}clickParticipant(e){this.dev&&console.log(e)}isOnline(e){return this.q.os.channel.isPeerOnline(e)}sortFoldersByName(e){e.sort((function(e,t){return e.name.localeCompare(t.name)}));let t=e.filter(e=>"others"==e.id);return e=e.filter(e=>"others"!=e.id),void 0!==t[0]&&e.push(t[0]),e}drop(e){e.previousContainer===e.container?Object(b.d)(e.container.data,e.previousIndex,e.currentIndex):Object(b.e)(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex),this.q.os.channel.setParticipantFolders(this.channel,this.folders)}ngOnDestroy(){clearInterval(this.uiCheck),this.selectedChannelSub.unsubscribe()}getFolderNameForId(e){for(let t=0;tthis.router.navigate(["/social/profile/"+n]))}))}getParticipantNameForId(e){for(let t=0;tt.id!=e));for(let t=0;t0){let t=this.q.os.channel.getParticipantFolders(e);if(this.folders=[],t.length>0){for(let i=0;i-1&&this.q.os.social.profile.isRequestedFavorite(o.key.pubKey))this.q.os.social.profile.addFavorite(o.key.pubKey),n=!0,this.q.os.social.profile.removeFavoriteRequest(o.key.pubKey);else if(this.q.os.social.profile.isRequestedFavorite(o.key.pubKey)){let e=this.q.os.social.profile.getRequestedFavoriteChannel(o.key.pubKey),n={message:{invite:this.q.os.channel.invite.create(e,1),pubKey:yield this.q.os.social.profile.getMyProfileId(),channel:e},toChannelPubKey:t[i].participants[s].pubKey};this.isOnline(n.toChannelPubKey)&&this.q.os.channel.publish(this.channel,n,"REQUEST_FAVORITE"),a=!0}t[i].participants[s].name=o.alias,t[i].participants[s].isFavorite=n,t[i].participants[s].isRequestedFavorite=a}}o=o.filter(e=>e!=t[i].participants[s].pubKey)}this.folders=t}}else t||(this.q.os.channel.sayHi(e),t=!0);let a=[];this.dev&&console.log(o);for(let t=0;t-1&&this.q.os.social.profile.isRequestedFavorite(i.key.pubKey))this.q.os.social.profile.addFavorite(i.key.pubKey),n=!0,this.q.os.social.profile.removeFavoriteRequest(i.key.pubKey);else if(this.q.os.social.profile.isRequestedFavorite(i.key.pubKey)){let e=this.q.os.social.profile.getRequestedFavoriteChannel(i.key.pubKey),n={invite:this.q.os.channel.invite.create(e,1),pubKey:yield this.q.os.social.profile.getMyProfileId(),channel:e};this.isOnline(o[t])&&this.q.os.channel.publish(this.channel,{message:n,toChannelPubKey:o[t]},"REQUEST_FAVORITE"),s=!0}a.push({pubKey:o[t],name:i.alias,isFavorite:n,isRequestedFavorite:s})}else a.push({pubKey:o[t],name:"Anonymous"})}let c=!1;for(let e=0;e{console.log("ChannelParticipantList: changed channel"),this.initProcess(),this.channel=e,console.log("App: Selected Channel: >>"+this.channel+"<<"),console.log("App: noChannelSelected: >>"+this.noChannelSelected+"<<")}),this.uiCheck=setInterval(()=>{this.initProcess()},2e4),yield this.initProcess()}))}}return e.\u0275fac=function(t){return new(t||e)(o.Sb(o.C),o.Sb(i.c),o.Sb(o.h),o.Sb(r.a),o.Sb(a.a),o.Sb(c.l))},e.\u0275cmp=o.Mb({type:e,selectors:[["messages-channel-participant-list"]],viewQuery:function(e,t){var n;1&e&&(o.Mc(C,!0),o.Mc(F,!0),o.Mc(x,!0)),2&e&&(o.uc(n=o.gc())&&(t.folderPop=n.first),o.uc(n=o.gc())&&(t.folderEditPop=n.first),o.uc(n=o.gc())&&(t.participantEditPop=n.first))},decls:10,vars:2,consts:[["folder",""],["folderEdit",""],["participantEdit",""],["class","col-md-3",4,"ngFor","ngForOf"],["class","syncingItem",4,"ngIf"],[1,"spacer"],[2,"color","goldenrod"],[2,"padding","20px","color","white !important"],["matInput","","placeholder","Folder Name","value","","name","newFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",2,"margin-right","20px","border","1px solid #ffffff24",3,"click"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],["matInput","","placeholder","Folder Name","value","","name","editedFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],["matInput","","placeholder","Participant Name","value","","name","editedParticipantName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],[1,"col-md-3"],[1,"drag-container"],[1,"section-heading"],["icon","plus-outline","class","folderIcon",3,"click",4,"ngIf"],["icon","close-outline","class","folderIcon",3,"click",4,"ngIf"],["icon","edit-2-outline",1,"folderIcon","editIcon",3,"click"],["cdkDropList","",1,"item-list",3,"id","cdkDropListData","cdkDropListConnectedTo","cdkDropListDropped"],["cdkDrag","",3,"class","click",4,"ngFor","ngForOf"],["icon","plus-outline",1,"folderIcon",3,"click"],["icon","close-outline",1,"folderIcon",3,"click"],["cdkDrag","",3,"click"],[1,"participantName",3,"click"],["icon","options-2-outline",1,"participantIcon","participantSettingsIcon",3,"click"],[1,"syncingItem"]],template:function(e,t){1&e&&(o.Gc(0,y,11,1,"ng-template",null,0,o.Hc),o.Gc(2,S,11,1,"ng-template",null,1,o.Hc),o.Gc(4,w,11,1,"ng-template",null,2,o.Hc),o.Gc(6,N,9,7,"div",3),o.Gc(7,P,2,0,"div",4),o.Yb(8,"div",5),o.Ic(9,"\xa0"),o.Xb()),2&e&&(o.Fb(6),o.pc("ngForOf",t.folders),o.Fb(1),o.pc("ngIf",0===t.folders.length))},directives:[l.l,l.m,c.d,c.f,c.c,m.a,v.b,v.j,v.m,c.e,d.a,c.o,b.b,b.a],styles:[".section-heading[_ngcontent-%COMP%]{padding:5px 10px}.drag-container[_ngcontent-%COMP%]{margin:0 25px 25px 0}.item-list[_ngcontent-%COMP%]{min-height:60px;border-radius:4px;display:block}.participant[_ngcontent-%COMP%]{background:#0084ff;background-image:linear-gradient(319deg,#fce055,#256eff 37%,#46237a);color:#fff;margin:0}.participantEntry.false[_ngcontent-%COMP%]{opacity:.3}.item-box[_ngcontent-%COMP%], .participantName[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.item-box[_ngcontent-%COMP%]{font-size:14px;background:#0084ff;background-image:linear-gradient(319deg,#fce055,#256eff 37%,#46237a);color:#fff;font-family:MONOSPACE;font-size:11px;padding:6px 10px;border:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:pointer;border-radius:8px;margin:0 0 5px;font-family:Ubuntu;font-size:12px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);border-radius:8px}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .item-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .item-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.drag-container[_ngcontent-%COMP%]{width:400px;max-width:100%;margin:0 0 10px;display:inline-block;vertical-align:top;background-color:rgba(233,236,239,.0196078431372549);padding:15px;border-radius:10px}.section-heading[_ngcontent-%COMP%]{padding-bottom:9px;padding-left:7px;padding-top:0;font-size:15px;font-weight:700;color:#d6d649}.spacer[_ngcontent-%COMP%]{min-height:40px}.editIcon[_ngcontent-%COMP%]{margin-right:10px}.folderIcon[_ngcontent-%COMP%], .participantIcon[_ngcontent-%COMP%]{float:right;font-size:17px;color:#3375f6;cursor:pointer}.syncingItem[_ngcontent-%COMP%]{position:relative;top:20px;text-align:center;color:red}"]}),e})();var X=n("jhN1"),Y=n("kmnG"),j=n("d3UM"),q=n("FKr1"),T=n("UXJo");const E=["qrCode"];function B(e,t){if(1&e){const e=o.Zb();o.Yb(0,"nb-card"),o.Yb(1,"nb-card-header"),o.Ic(2,"Scan QR"),o.Xb(),o.Yb(3,"nb-card-body",13),o.Yb(4,"div"),o.Yb(5,"div",14),o.Tb(6,"img",15),o.Xb(),o.Xb(),o.Xb(),o.Yb(7,"nb-card-footer"),o.Yb(8,"button",16),o.fc("click",(function(){return o.xc(e),o.jc().closePopup()})),o.Ic(9,"Close"),o.Xb(),o.Xb(),o.Xb()}if(2&e){const e=o.jc();o.Fb(6),o.pc("src",e.qrCodeURLSafe,o.zc)}}function D(e,t){if(1&e){const e=o.Zb();o.Yb(0,"li",17),o.Yb(1,"div",18),o.Ic(2),o.Xb(),o.Yb(3,"div",19),o.Ic(4),o.Xb(),o.Tb(5,"nb-icon",20),o.Yb(6,"nb-icon",21),o.fc("click",(function(){o.xc(e);const n=t.$implicit;return o.jc().showQR(n.link)})),o.Xb(),o.Yb(7,"nb-icon",22),o.fc("click",(function(){o.xc(e);const n=t.$implicit;return o.jc().removeInviteCode(n.link)})),o.Xb(),o.Xb()}if(2&e){const e=t.$implicit;o.Fb(2),o.Lc(" ",e.used," / ",e.max," "),o.Fb(2),o.Kc(" ",e.link," "),o.Fb(1),o.pc("cdkCopyToClipboard",e.link)}}function L(e,t){if(1&e){const e=o.Zb();o.Yb(0,"button",23),o.fc("click",(function(){return o.xc(e),o.jc().deleteCurrentChannel()})),o.Ic(1,"Remove Channel"),o.Xb()}}function _(e,t){if(1&e){const e=o.Zb();o.Yb(0,"button",23),o.fc("click",(function(){return o.xc(e),o.jc().removeFromFavoritesByCurrentChannel()})),o.Ic(1,"Remove From Favorites"),o.Xb()}}let R=(()=>{class e{constructor(e,t,n,i,o,s){this.cd=e,this._sanitizer=t,this.ui=n,this.dialog=i,this.nbMenuService=o,this.q=s,this.challengeFlowFlag=0,this.newInviteCodeMax=5,this.isOwner=!1,this.includeFolderStructure=1,this.channelInviteCodes=[],this.selectedChannel="NoChannelSelected",this.noChannelSelected="NoChannelSelected"}newInviteCodeMaxChanged(e){}generateQR(e){return Object(s.a)(this,void 0,void 0,(function*(){console.log(e),this.qrCodeURLSafe=this._sanitizer.bypassSecurityTrustUrl(yield this.q.os.utilities.qr.generate(e))}))}generateInviteCode(){let e,t=this.selectedChannel;e=1==this.includeFolderStructure?this.q.os.channel.invite.create(t,this.newInviteCodeMax,!0):this.q.os.channel.invite.create(t,this.newInviteCodeMax);let n=this.q.os.ocean.dolphin.getInviteCodes(this.selectedChannel);this.channelInviteCodes=[],void 0!==n&&void 0!==n.items&&(this.channelInviteCodes=n.items)}openPopup(e){this.popupRef=this.dialog.open(e,{context:"this is some additional data passed to dialog"})}closePopup(){this.popupRef.close()}showQR(e){this.generateQR(e),this.openPopup(this.qrCode)}removeInviteCode(e){this.q.os.channel.invite.remove(this.selectedChannel,e),this.channelInviteCodes=[];let t=this.q.os.ocean.dolphin.getInviteCodes(this.selectedChannel);void 0!==t&&void 0!==t.items&&(this.channelInviteCodes=t.items)}newInviteExportFoldersChanged(e){}copyToClipboard(e){console.log(e)}ngOnDestroy(){this.selectedChannelSub.unsubscribe()}initChannel(e){return Object(s.a)(this,void 0,void 0,(function*(){if(this.selectedChannel=e,console.log("Channel-Settings: Selected Channel: >>"+this.selectedChannel+"<<"),console.log("Channel-Settings: noChannelSelected: >>"+this.noChannelSelected+"<<"),this.selectedChannel.indexOf("-----")>-1){this.isOwner=this.q.os.ocean.dolphin.isOwner(this.selectedChannel),this.channelInviteCodes=[];let e=this.q.os.ocean.dolphin.getInviteCodes(this.selectedChannel);void 0!==e&&void 0!==e.items&&(this.channelInviteCodes=e.items),this.challengeFlowFlag=this.q.os.channel.challenge.isEnabled()}this.cd.detectChanges()}))}ngOnInit(){return Object(s.a)(this,void 0,void 0,(function*(){for(;!this.q.isReady();)yield this.ui.delay(1e3);this.initChannel(this.q.os.channel.getSelected()),this.selectedChannelSub=this.q.os.channel.onSelect().subscribe(e=>{this.initChannel(e)})}))}challengeFlowFlagChanged(){let e=this.challengeFlowFlag,t=this.q.os.channel.getSelected();e?this.q.os.channel.challenge.enable(t):this.q.os.channel.challenge.disable(t)}deleteCurrentChannel(){this.q.os.channel.remove(this.selectedChannel),this.q.os.channel.select("NoChannelSelected")}removeFromFavoritesByCurrentChannel(){let e=this.selectedChannel;this.q.os.social.profile.removeFavorite(e.split("-----")[0].split("-")[1]),this.q.os.social.profile.removeFavorite(e.split("-----")[0].split("-")[2]),this.q.os.channel.remove(e),this.q.os.channel.removeFromNameList(e),this.q.os.channel.select("NoChannelSelected")}}return e.\u0275fac=function(t){return new(t||e)(o.Sb(o.h),o.Sb(X.b),o.Sb(a.a),o.Sb(c.l),o.Sb(c.y),o.Sb(r.a))},e.\u0275cmp=o.Mb({type:e,selectors:[["messages-channel-settings"]],viewQuery:function(e,t){var n;1&e&&o.Mc(E,!0),2&e&&o.uc(n=o.gc())&&(t.qrCode=n.first)},decls:51,vars:21,consts:[["qrCode",""],[3,"hidden"],[1,"channelSettingsOption"],[2,"width","24%","padding","0"],[3,"value","valueChange","selectionChange"],[3,"value"],[1,"channelSettingsOption","mTop10"],[2,"margin-bottom","4px","height","28px"],[2,"width","19%"],[2,"width","24%"],["nbButton","","size","small",1,"generateInviteCodeButton",2,"color","#99aca2",3,"click"],["class","inviteCodeListItem",4,"ngFor","ngForOf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton removeButton",3,"click",4,"ngIf"],[2,"margin","10px","color","goldenrod"],[1,"qrCodeWrapper"],["alt","",1,"qrCodeShowGenerate",3,"src"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[1,"inviteCodeListItem"],[1,"inviteCodeUsers"],[1,"inviteCodeItem"],["icon","copy-outline",1,"inviteCodeCopy",3,"cdkCopyToClipboard"],["icon","camera-outline",1,"deleteCode",3,"click"],["icon","trash-2-outline",1,"deleteCode",3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","removeButton",3,"click"]],template:function(e,t){1&e&&(o.Gc(0,B,10,1,"ng-template",null,0,o.Hc),o.Yb(2,"div",1),o.Yb(3,"p",2),o.Ic(4," Challenge"),o.Xb(),o.Yb(5,"mat-form-field",3),o.Yb(6,"mat-select",4),o.fc("valueChange",(function(e){return t.challengeFlowFlag=e}))("selectionChange",(function(){return t.challengeFlowFlagChanged()})),o.Yb(7,"mat-option",5),o.Ic(8," On "),o.Xb(),o.Yb(9,"mat-option",5),o.Ic(10," Off "),o.Xb(),o.Xb(),o.Xb(),o.Yb(11,"p",6),o.Ic(12," Invite Codes"),o.Xb(),o.Yb(13,"div",7),o.Ic(14," Include Folders: "),o.Yb(15,"mat-form-field",8),o.Yb(16,"mat-select",4),o.fc("valueChange",(function(e){return t.includeFolderStructure=e}))("selectionChange",(function(e){return t.newInviteExportFoldersChanged(e.value)})),o.Yb(17,"mat-option",5),o.Ic(18," On "),o.Xb(),o.Yb(19,"mat-option",5),o.Ic(20," Off "),o.Xb(),o.Xb(),o.Xb(),o.Xb(),o.Yb(21,"div"),o.Ic(22," Max: "),o.Yb(23,"mat-form-field",9),o.Yb(24,"mat-select",4),o.fc("valueChange",(function(e){return t.newInviteCodeMax=e}))("selectionChange",(function(e){return t.newInviteCodeMaxChanged(e.value)})),o.Yb(25,"mat-option",5),o.Ic(26," 1 "),o.Xb(),o.Yb(27,"mat-option",5),o.Ic(28," 5 "),o.Xb(),o.Yb(29,"mat-option",5),o.Ic(30," 10 "),o.Xb(),o.Yb(31,"mat-option",5),o.Ic(32," 20 "),o.Xb(),o.Yb(33,"mat-option",5),o.Ic(34," 40 "),o.Xb(),o.Yb(35,"mat-option",5),o.Ic(36," 80 "),o.Xb(),o.Yb(37,"mat-option",5),o.Ic(38," 100 "),o.Xb(),o.Yb(39,"mat-option",5),o.Ic(40," 1k "),o.Xb(),o.Yb(41,"mat-option",5),o.Ic(42," 1m "),o.Xb(),o.Yb(43,"mat-option",5),o.Ic(44," 10m "),o.Xb(),o.Xb(),o.Xb(),o.Yb(45,"button",10),o.fc("click",(function(){return t.generateInviteCode()})),o.Ic(46," Generate "),o.Xb(),o.Xb(),o.Yb(47,"ul"),o.Gc(48,D,8,4,"li",11),o.Xb(),o.Xb(),o.Gc(49,L,2,0,"button",12),o.Gc(50,_,2,0,"button",12)),2&e&&(o.Fb(2),o.pc("hidden",!t.isOwner||t.selectedChannel.indexOf("qprivatedch")>-1),o.Fb(4),o.pc("value",t.challengeFlowFlag),o.Fb(1),o.pc("value",1),o.Fb(2),o.pc("value",0),o.Fb(7),o.pc("value",t.includeFolderStructure),o.Fb(1),o.pc("value",1),o.Fb(2),o.pc("value",0),o.Fb(5),o.pc("value",t.newInviteCodeMax),o.Fb(1),o.pc("value",1),o.Fb(2),o.pc("value",5),o.Fb(2),o.pc("value",10),o.Fb(2),o.pc("value",20),o.Fb(2),o.pc("value",40),o.Fb(2),o.pc("value",80),o.Fb(2),o.pc("value",100),o.Fb(2),o.pc("value",1e3),o.Fb(2),o.pc("value",1e6),o.Fb(2),o.pc("value",1e7),o.Fb(5),o.pc("ngForOf",t.channelInviteCodes),o.Fb(1),o.pc("ngIf",t.selectedChannel.indexOf("qprivatedch")<0),o.Fb(1),o.pc("ngIf",t.selectedChannel.indexOf("qprivatedch")>-1))},directives:[Y.b,j.a,q.g,l.l,l.m,c.d,c.f,c.c,c.e,d.a,c.o,T.a],styles:[".channelSettingsOption[_ngcontent-%COMP%]{color:#98aba2!important;margin-bottom:0}.inviteCodeListItem[_ngcontent-%COMP%]{padding:0!important;margin:0!important;width:100%}.inviteCodeUsers[_ngcontent-%COMP%]{width:30%;overflow:hidden;text-overflow:ellipsis}.inviteCodeItem[_ngcontent-%COMP%], .inviteCodeUsers[_ngcontent-%COMP%]{float:left}.inviteCodeItem[_ngcontent-%COMP%]{margin-left:5px;width:30%;margin-right:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deleteCode[_ngcontent-%COMP%]{margin-left:5px}.deleteCode[_ngcontent-%COMP%], .inviteCodeCopy[_ngcontent-%COMP%]{cursor:pointer}.generateInviteCodeButton[_ngcontent-%COMP%]{margin-bottom:16px;color:#2a64ef;height:22px;width:37%;margin-top:5px;position:relative;top:0;margin-left:15px;background-color:transparent;border:1px solid;opacity:.7;font-size:13px}.mat-form-field-infix[_ngcontent-%COMP%]{padding:0}.qrCodeShowGenerate[_ngcontent-%COMP%]{float:left;display:block;min-width:31px;max-height:70vh;max-width:80vw}removeButton[_ngcontent-%COMP%]{margin-right:10px;margin-top:20px;color:rgba(241,79,49,.6705882352941176);border:1px solid rgba(241,79,49,.5686274509803921)!important}"]}),e})(),A=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Mb({type:e,selectors:[["messages-channel-sidebar-right"]],decls:6,vars:0,consts:[["fullWidth",""],["tabIcon","people-outline",1,"channelParticipantList",2,"overflow-x","hidden","padding-top","12px"],["tabIcon","bell-outline"],["tabIcon","settings-outline",1,"channelSettingsTab"]],template:function(e,t){1&e&&(o.Yb(0,"nb-tabset",0),o.Yb(1,"nb-tab",1),o.Tb(2,"messages-channel-participant-list"),o.Xb(),o.Tb(3,"nb-tab",2),o.Yb(4,"nb-tab",3),o.Tb(5,"messages-channel-settings"),o.Xb(),o.Xb())},directives:[c.H,c.G,M,R],styles:[".channelSettingsTab[_ngcontent-%COMP%]{padding-top:20px}"]}),e})();function K(e,t){if(1&e){const e=o.Zb();o.Yb(0,"button",12),o.fc("click",(function(){return o.xc(e),o.jc(2).lockSideBar("right",!1)})),o.Ic(1,"Lock Panel"),o.Xb()}}function G(e,t){if(1&e){const e=o.Zb();o.Yb(0,"button",12),o.fc("click",(function(){return o.xc(e),o.jc(2).lockSideBar("right",!0)})),o.Ic(1,"Float Panel"),o.Xb()}}function z(e,t){if(1&e){const e=o.Zb();o.Yb(0,"nb-sidebar",9),o.Gc(1,K,2,0,"button",10),o.Gc(2,G,2,0,"button",10),o.Yb(3,"button",11),o.fc("click",(function(){return o.xc(e),o.jc().toggleSideBar("right")})),o.Ic(4,"Hide Panel"),o.Xb(),o.Tb(5,"messages-channel-sidebar-right"),o.Xb()}if(2&e){const e=o.jc();o.pc("fixed",e.sideBarFixed.right),o.Fb(1),o.pc("ngIf",e.sideBarFixed.right),o.Fb(1),o.pc("ngIf",!e.sideBarFixed.right)}}function H(e,t){if(1&e){const e=o.Zb();o.Yb(0,"button",11),o.fc("click",(function(){return o.xc(e),o.jc().lockSideBar("left",!1)})),o.Ic(1,"Lock Panel"),o.Xb()}}function $(e,t){if(1&e){const e=o.Zb();o.Yb(0,"button",11),o.fc("click",(function(){return o.xc(e),o.jc().lockSideBar("left",!0)})),o.Ic(1,"Float Panel"),o.Xb()}}function V(e,t){if(1&e&&o.Tb(0,"messages-channel",6),2&e){const e=t.$implicit,n=o.jc();o.pc("channel",e)("hidden",n.selectedChannel!=e)}}function Z(e,t){if(1&e){const e=o.Zb();o.Yb(0,"div",13),o.fc("click",(function(){return o.xc(e),o.jc().toggleSideBar("left")})),o.Tb(1,"nb-icon",14),o.Xb()}}function W(e,t){if(1&e){const e=o.Zb();o.Yb(0,"div",15),o.fc("click",(function(){return o.xc(e),o.jc().toggleSideBar("right")})),o.Tb(1,"nb-icon",16),o.Xb()}}let Q=(()=>{class e{constructor(e,t,n,i){this.cd=e,this.ui=t,this.sidebarService=n,this.q=i,this.channelNameList=[],this.selectedChannel="NoChannelSelected",this.noChannelSelected="NoChannelSelected",this.sideBarFixed={right:!0,left:!0},this.sideBarVisible={right:!1,left:!0}}ngOnDestroy(){this.sideBarFixedSub.unsubscribe(),this.sideBarVisibleSub.unsubscribe(),this.channelFolderListSub.unsubscribe(),this.selectedChannelSub.unsubscribe()}ngOnInit(){return Object(s.a)(this,void 0,void 0,(function*(){for(;!this.q.isReady()||!this.q.os.isSignedIn();)yield this.ui.delay(1e3);this.sideBarFixed=this.q.os.bee.config.getSideBarFixed(),this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),console.log("toggling:",this.sideBarVisible),this.sideBarVisible.left?this.sideBarVisible.left&&this.sidebarService.expand("left"):this.sidebarService.collapse("left"),this.sideBarVisible.right||this.sidebarService.collapse("right"),this.sideBarVisible.right&&this.sidebarService.expand("right"),this.sideBarFixedSub=this.q.os.bee.config.sideBarFixedSub.subscribe(e=>{this.sideBarFixed=this.q.os.bee.config.getSideBarFixed()}),this.sideBarVisibleSub=this.q.os.bee.config.sideBarVisibleSub.subscribe(e=>{console.log("getting",e),this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),this.sideBarVisible.left?this.sideBarVisible.left&&this.sidebarService.expand("left"):this.sidebarService.collapse("left"),this.sideBarVisible.right||this.sidebarService.collapse("right"),this.sideBarVisible.right&&this.sidebarService.expand("right")}),setTimeout(()=>{this.sideBarFixed=this.q.os.bee.config.getSideBarFixed(),this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),console.log("toggling:",this.sideBarVisible),this.sideBarVisible.left?this.sideBarVisible.left&&this.sidebarService.expand("left"):this.sidebarService.collapse("left"),this.sideBarVisible.right||this.sidebarService.collapse("right"),this.sideBarVisible.right&&this.sidebarService.expand("right"),this.channelNameList=this.q.os.ocean.dolphin.getChannelNameList(),this.selectedChannel=this.q.os.channel.getSelected()},100),this.channelFolderListSub=this.q.os.bee.config.channelFolderListSub.subscribe(e=>{this.channelNameList=this.q.os.ocean.dolphin.getChannelNameList()}),this.selectedChannelSub=this.q.os.channel.onSelect().subscribe(e=>{this.selectedChannel=e,console.log("Channel-Tab: Selected Channel: >>"+this.selectedChannel+"<<"),console.log("Channel-Tab: noChannelSelected: >>"+this.noChannelSelected+"<<"),this.cd.detectChanges()})}))}lockSideBar(e,t){this.sideBarFixed[e]=t,this.q.os.bee.config.setSideBarFixed(this.sideBarFixed),this.q.os.bee.config.commitNow()}toggleSideBar(e){this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),this.sideBarVisible[e]=1!=this.sideBarVisible[e],this.q.os.bee.config.setSideBarVisible(this.sideBarVisible),this.q.os.bee.config.commitNow()}}return e.\u0275fac=function(t){return new(t||e)(o.Sb(o.h),o.Sb(a.a),o.Sb(c.D),o.Sb(r.a))},e.\u0275cmp=o.Mb({type:e,selectors:[["messages-channel-tab"]],decls:13,vars:9,consts:[[1,"channelScreen"],["state","expanded","right","","tag","right","class","rightSideBar","collapsed","true",3,"fixed",4,"ngIf"],["state","expanded","left","","tag","left",1,"leftSideBar",3,"fixed"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thinOutlineButton",2,"margin-right","24px","margin-left","0px",3,"click"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thinOutlineButton",3,"click",4,"ngIf"],["class","channel",3,"channel","hidden",4,"ngFor","ngForOf"],[1,"channel",3,"channel","hidden"],["class","toggleSideBarRight toggleSideBarLeft","class","toggleSideBarLeft",3,"click",4,"ngIf"],["class","toggleSideBarRight","class","toggleSideBarRight",3,"click",4,"ngIf"],["state","expanded","right","","tag","right","collapsed","true",1,"rightSideBar",3,"fixed"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thinOutlineButton","style","margin-left: 3px;margin-right: 21px;",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thinOutlineButton",3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thinOutlineButton",2,"margin-left","3px","margin-right","21px",3,"click"],[1,"toggleSideBarLeft",3,"click"],["icon","list-outline"],[1,"toggleSideBarRight",3,"click"],["icon","more-vertical-outline"]],template:function(e,t){1&e&&(o.Yb(0,"nb-layout",0),o.Gc(1,z,6,3,"nb-sidebar",1),o.Yb(2,"nb-sidebar",2),o.Yb(3,"button",3),o.fc("click",(function(){return t.toggleSideBar("left")})),o.Ic(4,"Hide Panel"),o.Xb(),o.Gc(5,H,2,0,"button",4),o.Gc(6,$,2,0,"button",4),o.Tb(7,"messages-channel-sidebar-left"),o.Xb(),o.Yb(8,"nb-layout-column"),o.Gc(9,V,1,2,"messages-channel",5),o.Tb(10,"messages-channel",6),o.Xb(),o.Xb(),o.Gc(11,Z,2,0,"div",7),o.Gc(12,W,2,0,"div",8)),2&e&&(o.Fb(1),o.pc("ngIf","NoChannelSelected"!=t.selectedChannel),o.Fb(1),o.pc("fixed",t.sideBarFixed.left),o.Fb(3),o.pc("ngIf",t.sideBarFixed.left),o.Fb(1),o.pc("ngIf",!t.sideBarFixed.left),o.Fb(3),o.pc("ngForOf",t.channelNameList),o.Fb(1),o.pc("channel",t.noChannelSelected)("hidden",t.selectedChannel!=t.noChannelSelected),o.Fb(1),o.pc("ngIf",!t.sideBarVisible.left),o.Fb(1),o.pc("ngIf",!t.sideBarVisible.right&&"NoChannelSelected"!=t.selectedChannel))},directives:[c.u,l.m,c.B,d.a,u,c.t,l.l,p.a,A,c.o],styles:[".toggleSideBarRight[_ngcontent-%COMP%]{right:7px}.toggleSideBarLeft[_ngcontent-%COMP%], .toggleSideBarRight[_ngcontent-%COMP%]{z-index:20;position:fixed;top:66px;cursor:pointer;color:#36f!important}.toggleSideBarLeft[_ngcontent-%COMP%]{left:7px}.defaultSettingsButton[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.leftSideBar[_ngcontent-%COMP%]{z-index:52}.rightSideBar[_ngcontent-%COMP%]{z-index:51}"]}),e})(),J=(()=>{class e{constructor(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Mb({type:e,selectors:[["quest-messenger-root"]],decls:1,vars:0,template:function(e,t){1&e&&o.Tb(0,"messages-channel-tab")},directives:[Q],styles:[".centerButtonWrapper[_ngcontent-%COMP%]{position:fixed;bottom:3vh;left:0;right:0}.centerButtonContainer[_ngcontent-%COMP%]{margin:auto}.statusBarWrapper[_ngcontent-%COMP%]{position:fixed;bottom:0;max-height:28px;height:28px;left:0;right:0;background-color:#2d2a2a;z-index:20;font-size:14px;color:grey;padding-left:10px;padding-right:10px;border-top:1px solid #000}.statusBarRouterIcon[_ngcontent-%COMP%]{top:4px;margin:0;position:relative;line-height:10px;font-size:21px}.statusBarRadioIcon[_ngcontent-%COMP%]{top:-5px;margin:0 0 0 5px;position:relative;line-height:9px;font-size:17px}.web-top-links[_ngcontent-%COMP%]{position:fixed;right:13px;cursor:pointer;z-index:20;top:14px}@media only screen and (max-width:500px){.web-top-links[_ngcontent-%COMP%]{display:none}}"]}),e})();const U=[{path:"",component:J}];let ee=(()=>{class e{}return e.\u0275mod=o.Qb({type:e}),e.\u0275inj=o.Pb({factory:function(t){return new(t||e)},imports:[[i.g.forChild(U)],i.g]}),e})();var te=n("5RNC"),ne=n("Wp6s"),ie=n("bSwM"),oe=n("STbY"),se=n("8yBR"),ae=n("YUcS"),ce=n("6NWb"),re=n("IyRd"),le=n("f6nW"),de=n("FvrZ"),he=n("tk/3");let ge=(()=>{class e{}return e.\u0275mod=o.Qb({type:e}),e.\u0275inj=o.Pb({factory:function(t){return new(t||e)},imports:[l.c,v.f,i.g]}),e})();n("9gUW"),n("xUDc"),n("8SwR"),n("waa1"),n("bzWg"),n("cVQz"),n("K9Od");var ue=n("tayM"),pe=n("zwFz"),be=n("d3J+"),fe=n("fP41");let me=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:ue.a,useValue:t||{}}]}}static forChild(t){return{ngModule:e,providers:[{provide:ue.a,useValue:t||{}}]}}}return e.\u0275mod=o.Qb({type:e}),e.\u0275inj=o.Pb({factory:function(t){return new(t||e)},imports:[[ge,c.q,c.s,c.b,pe.b,be.b,c.n,fe.a]]}),e})();var ve=n("NFeN"),Ce=n("tR1z");let Fe=(()=>{class e{}return e.\u0275mod=o.Qb({type:e,bootstrap:[J]}),e.\u0275inj=o.Pb({factory:function(t){return new(t||e)},providers:[c.l],imports:[[c.C,le.p,de.d,c.x,T.b,he.b,ne.a,j.b,d.b,ie.a,oe.c,l.c,ee,ce.a,c.J,c.v,me,c.I,Ce.a,c.q,v.f,c.j,c.k.forRoot(),c.g,se.d,b.c,d.b,ie.a,m.b,Y.d,re.b,te.a,ae.a,ve.b,fe.a],le.p,Y.d,j.b,se.d,oe.c]}),e})()},"8SwR":function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("fXoL"),o=n("jhN1"),s=n("ofXK"),a=n("aceb"),c=n("3Pt+"),r=n("zwFz"),l=n("d3J+");function d(e,t){if(1&e){const e=i.Zb();i.Yb(0,"div"),i.Yb(1,"span",13),i.fc("click",(function(){i.xc(e);const t=i.jc().$implicit;return i.jc(2).removeFile(t)})),i.Ic(2,"\xd7"),i.Xb(),i.Xb()}if(2&e){const e=i.jc().$implicit;i.Dc("background-image",e.urlStyle)}}function h(e,t){1&e&&i.Tb(0,"nb-icon",14)}function g(e,t){if(1&e){const e=i.Zb();i.Wb(0),i.Gc(1,d,3,2,"div",11),i.Yb(2,"div"),i.Gc(3,h,1,0,"nb-icon",12),i.Yb(4,"span",13),i.fc("click",(function(){i.xc(e);const n=t.$implicit;return i.jc(2).removeFile(n)})),i.Ic(5,"\xd7"),i.Xb(),i.Xb(),i.Vb()}if(2&e){const e=t.$implicit;i.Fb(1),i.pc("ngIf",e.urlStyle),i.Fb(2),i.pc("ngIf",!e.urlStyle)}}function u(e,t){if(1&e&&(i.Yb(0,"div",9),i.Gc(1,g,6,2,"ng-container",10),i.Xb()),2&e){const e=i.jc();i.Fb(1),i.pc("ngForOf",e.droppedFiles)}}function p(e,t){if(1&e&&i.Tb(0,"nb-icon",15),2&e){const e=i.jc();i.pc("icon",e.buttonIcon)}}function b(e,t){if(1&e&&i.Ic(0),2&e){const e=i.jc();i.Jc(e.buttonTitle)}}function f(e,t){if(1&e){const e=i.Zb();i.Yb(0,"emoji-mart",16),i.fc("emojiClick",(function(t){return i.xc(e),i.jc().addEmoji(t)})),i.Xb()}}let m=(()=>{class e{constructor(e,t){this.cd=e,this.domSanitizer=t,this.newMessage="",this.emojiPickerActive=!1,this.status="",this.inputFocus=!1,this.inputHover=!1,this.droppedFiles=[],this.imgDropTypes=["image/png","image/jpeg","image/gif"],this.message="",this.buttonTitle="",this.buttonIcon="paper-plane-outline",this.showButton=!0,this.dropFiles=!1,this.send=new i.p,this.fileOver=!1}addEmoji(e){this.newMessage+=" "+e.emoji.colons+" ",this.emojiPickerActive=!1}openEmojiPicker(){this.emojiPickerActive=!0}onDrop(e){if(this.dropFiles&&(e.preventDefault(),e.stopPropagation(),this.fileOver=!1,e.dataTransfer&&e.dataTransfer.files))for(const t of e.dataTransfer.files){const e=t;if(this.imgDropTypes.includes(t.type)){const n=new FileReader;n.onload=t=>{e.src=t.target.result,e.urlStyle=this.domSanitizer.bypassSecurityTrustStyle(`url(${e.src})`),this.cd.detectChanges()},n.readAsDataURL(t)}this.droppedFiles.push(e)}}removeFile(e){const t=this.droppedFiles.indexOf(e);t>=0&&this.droppedFiles.splice(t,1)}onDragOver(){this.dropFiles&&(this.fileOver=!0)}onDragLeave(){this.dropFiles&&(this.fileOver=!1)}sendMessage(){(this.droppedFiles.length||String(this.newMessage).trim().length)&&(this.send.emit({message:this.newMessage,files:this.droppedFiles}),this.message="",this.newMessage="",this.droppedFiles=[])}setStatus(e){this.status!==e&&(this.status=e,this.cd.detectChanges())}getInputStatus(){return this.fileOver?this.status||"primary":this.inputFocus||this.inputHover?this.status:""}}return e.\u0275fac=function(t){return new(t||e)(i.Sb(i.h),i.Sb(o.b))},e.\u0275cmp=i.Mb({type:e,selectors:[["nb-chat-form"]],hostVars:2,hostBindings:function(e,t){1&e&&i.fc("drop",(function(e){return t.onDrop(e)}))("dragover",(function(){return t.onDragOver()}))("dragleave",(function(){return t.onDragLeave()})),2&e&&i.Kb("file-over",t.fileOver)},inputs:{message:"message",buttonTitle:"buttonTitle",buttonIcon:"buttonIcon",showButton:"showButton",dropFiles:"dropFiles"},outputs:{send:"send"},decls:10,vars:11,consts:[["class","dropped-files",4,"ngIf"],[1,"message-row"],[2,"width","100%"],["nbInput","","fullWidth","","type","text",3,"ngModel","status","placeholder","ngModelChange","focus","blur","mouseenter","mouseleave","keyup.enter"],["nbSuffix","","nbButton","","ghost","",3,"status","click"],["pack","nebular-essentials",3,"icon",4,"ngIf","ngIfElse"],["title",""],["title","Pick your emoji\u2026","emoji","blush","class","emojiPicker","darkMode","true","style","position: absolute; bottom: 30px; right: 80px;",3,"emojiClick",4,"ngIf"],["emoji","grinning","set","apple","size","26",1,"emojiPickerTrigger",3,"click"],[1,"dropped-files"],[4,"ngFor","ngForOf"],[3,"background-image",4,"ngIf"],["icon","file-text-outline","pack","nebular-essentials",4,"ngIf"],[1,"remove",3,"click"],["icon","file-text-outline","pack","nebular-essentials"],["pack","nebular-essentials",3,"icon"],["title","Pick your emoji\u2026","emoji","blush","darkMode","true",1,"emojiPicker",2,"position","absolute","bottom","30px","right","80px",3,"emojiClick"]],template:function(e,t){if(1&e&&(i.Gc(0,u,2,1,"div",0),i.Yb(1,"div",1),i.Yb(2,"nb-form-field",2),i.Yb(3,"input",3),i.fc("ngModelChange",(function(e){return t.newMessage=e}))("focus",(function(){return t.inputFocus=!0}))("blur",(function(){return t.inputFocus=!1}))("mouseenter",(function(){return t.inputHover=!0}))("mouseleave",(function(){return t.inputHover=!1}))("ngModelChange",(function(e){return t.message=e}))("keyup.enter",(function(){return t.sendMessage()})),i.Xb(),i.Yb(4,"button",4),i.fc("click",(function(){return t.sendMessage()})),i.Gc(5,p,1,1,"nb-icon",5),i.Gc(6,b,1,1,"ng-template",null,6,i.Hc),i.Xb(),i.Xb(),i.Xb(),i.Gc(8,f,1,0,"emoji-mart",7),i.Yb(9,"ngx-emoji",8),i.fc("click",(function(){return t.openEmojiPicker()})),i.Xb()),2&e){const e=i.vc(7);i.pc("ngIf",null==t.droppedFiles?null:t.droppedFiles.length),i.Fb(3),i.Kb("with-button",t.showButton),i.qc("placeholder",t.fileOver?"Drop file to send":"Type a message"),i.pc("ngModel",t.newMessage)("status",t.getInputStatus())("ngModel",t.message),i.Fb(1),i.pc("status",t.status||"primary"),i.Fb(1),i.pc("ngIf",!t.buttonTitle)("ngIfElse",e),i.Fb(3),i.pc("ngIf",t.emojiPickerActive)}},directives:[s.m,a.m,a.r,c.b,c.j,c.m,a.a,a.E,r.a,s.l,a.o,l.a],styles:[""],changeDetection:0}),e})()},"9gUW":function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var i=n("8SwR"),o=n("xUDc"),s=n("fXoL"),a=n("ofXK");const c=["scrollable"];function r(e,t){1&e&&(s.Yb(0,"p",6),s.Ic(1,"No messages yet."),s.Xb())}const l=[[["nb-chat-message"]],[["nb-chat-form"]]],d=["nb-chat-message","nb-chat-form"];let h=(()=>{class e{constructor(){this._scrollBottom=!0}get scrollBottom(){return this._scrollBottom}set scrollBottom(e){var t;this._scrollBottom="string"==typeof(t=e)?"true"===(t=t.toLowerCase().trim())||""===t:!!t}ngOnChanges(e){"status"in e&&this.updateFormStatus()}ngAfterContentInit(){this.updateFormStatus()}ngAfterViewInit(){this.messages.changes.subscribe(e=>{this.messages=e,this.updateView()}),window["quest-network-ui-globals"]={},window["quest-network-ui-globals"]["messages-chat-scrollable"]=this.scrollable.nativeElement,this.updateView()}updateView(){this.scrollBottom&&this.scrollListBottom()}scrollListBottom(){window["quest-network-ui-globals"]={},window["quest-network-ui-globals"]["messages-chat-scrollable"]=this.scrollable.nativeElement,this.scrollable.nativeElement.scrollTop>this.scrollable.nativeElement.scrollHeight-$(this.scrollable.nativeElement).height()-210&&(this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight)}updateFormStatus(){this.chatForm&&this.chatForm.setStatus(this.status)}get tiny(){return"tiny"===this.size}get small(){return"small"===this.size}get medium(){return"medium"===this.size}get large(){return"large"===this.size}get giant(){return"giant"===this.size}get primary(){return"primary"===this.status}get success(){return"success"===this.status}get info(){return"info"===this.status}get warning(){return"warning"===this.status}get danger(){return"danger"===this.status}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s.Mb({type:e,selectors:[["nb-chat"]],contentQueries:function(e,t,n){var a;1&e&&(s.Lb(n,i.a,!0),s.Lb(n,o.a,!1)),2&e&&(s.uc(a=s.gc())&&(t.chatForm=a.first),s.uc(a=s.gc())&&(t.messages=a))},viewQuery:function(e,t){var n;1&e&&s.Mc(c,!0),2&e&&s.uc(n=s.gc())&&(t.scrollable=n.first)},hostVars:20,hostBindings:function(e,t){2&e&&s.Kb("size-tiny",t.tiny)("size-small",t.small)("size-medium",t.medium)("size-large",t.large)("size-giant",t.giant)("status-primary",t.primary)("status-success",t.success)("status-info",t.info)("status-warning",t.warning)("status-danger",t.danger)},inputs:{title:"title",size:"size",status:"status",scrollBottom:"scrollBottom"},features:[s.Db],ngContentSelectors:d,decls:9,vars:2,consts:[[1,"header"],["id","scrollableChatContainer",1,"scrollable"],["scrollable",""],[1,"messages"],["class","no-messages",4,"ngIf"],[1,"form"],[1,"no-messages"]],template:function(e,t){1&e&&(s.oc(l),s.Yb(0,"div",0),s.Ic(1),s.Xb(),s.Yb(2,"div",1,2),s.Yb(4,"div",3),s.nc(5),s.Gc(6,r,2,0,"p",4),s.Xb(),s.Xb(),s.Yb(7,"div",5),s.nc(8,1),s.Xb()),2&e&&(s.Fb(1),s.Jc(t.title),s.Fb(5),s.pc("ngIf",!(null!=t.messages&&t.messages.length)))},directives:[a.m],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%}.messages[_ngcontent-%COMP%]{padding-bottom:0!important;margin-bottom:0}"]}),e})()},Cjz3:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return F}));var i=n("n2fA"),o=n("dT8p"),s=n("fXoL"),a=n("jhN1"),c=n("Witw"),r=n("gvxT"),l=n("XiUz"),d=n("3Pt+"),h=n("kmnG"),g=n("qFsG"),u=n("bTqV"),p=n("9gUW"),b=n("ofXK"),f=n("8SwR"),m=n("xUDc");const v=["newMessage"];function C(e,t){if(1&e&&s.Tb(0,"nb-chat-message",17),2&e){const e=t.$implicit;s.pc("type",e.type)("message",e.message)("reply",e.reply)("sender",e.participant)("date",e.timestamp)("files",e.files)("quote",e.quote)("latitude",e.latitude)("longitude",e.longitude)("avatar",e.participant.avatar)}}let F=(()=>{class t{constructor(e,t,n,i){this._sanitizer=e,this.aChD=t,this.ui=n,this.q=i,this.DEVMODE=o.dev,this.noChannelSelected="NoChannelSelected",this.channelDisplayName="NoChannelSelected",this.showChallengeScreen=!1,this.showJoinScreen=!1,this.showInviteScreen=!1,this.messages=[],this.handledMessages=[]}ngOnDestroy(){void 0!==this.channelSub&&this.channelSub.unsubscribe()}scrollBottom(){try{this.scrollable={},this.scrollable.nativeElement=window["quest-network-ui-globals"]["messages-chat-scrollable"],null!=this.scrollable.nativeElement&&this.scrollable.nativeElement.scrollTop>this.scrollable.nativeElement.scrollHeight-$(this.scrollable.nativeElement).height()-210&&(this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight)}catch(e){console.log(e)}}ngOnInit(){return Object(i.a)(this,void 0,void 0,(function*(){console.log("Channel: Initializing..."),console.log("Channel: Bootstrapping Channel..."),"NoChannelSelected"!=this.channel&&(setTimeout(()=>{this.scrollBottom()},2500),yield this.attemptJoinChannel(this.channel)),this.channelDisplayName=yield this.getChannelDisplayName(this.channel)}))}getChannelDisplayName(e){return Object(i.a)(this,void 0,void 0,(function*(){return e.indexOf("qprivatedch")>-1?yield this.q.os.social.getAliasFromDirectChannel2(e):e}))}goToCaptcha(){this.showChallengeScreen=!0,this.showJoinScreen=!1,this.showInviteScreen=!1}goToInviteScreen(){this.showChallengeScreen=!1,this.showJoinScreen=!1,this.showInviteScreen=!0}goToJoin(){this.showChallengeScreen=!1,this.showJoinScreen=!0,this.showInviteScreen=!1}challengeFail(){return this.showChallengeScreen=!0,this.ui.updateProcessingStatus(!1),this.ui.setElectronSize("0-keyimport"),this.ui.showSnack("Prove that you are smart","Please",{duration:4e3}),!1}completedChallenge(e){setTimeout(()=>{this.ui.updateProcessingStatus(!1)},3e4),this.ui.updateProcessingStatus(!0),this.q.os.ocean.dolphin.completedChallenge(this.channel,e)}capitalize(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}handleNewMessage(t){return Object(i.a)(this,void 0,void 0,(function*(){if("CHALLENGE"==t.type){if(console.log("Received Challenge"),void 0!==t.captchaImageBuffer){let n=e.from(t.captchaImageBuffer.data).toString("base64");this.captchaImageResource=this._sanitizer.bypassSecurityTrustUrl("data:image/png;base64,"+n)}this.showJoinScreen=!0,this.ui.updateProcessingStatus(!1),this.aChD.detectChanges()}else if("ownerSayHi"==t.type)this.ui.updateProcessingStatus(!1),this.showChallengeScreen=!1,this.showJoinScreen=!1,this.showInviteScreen=!1,this.aChD.detectChanges();else if("CHANNEL_MESSAGE"==t.type){t.participant={},t.reply=!!t.self;let e=yield this.getSocialProfileForChannelPubKey(t.channel,t.channelPubKey);if(t.participant.name=void 0!==e.nick?e.nick:e.alias,void 0!==e.key?(t.participant.social=e.key.pubKey,t.participant.isFavorite=this.q.os.social.profile.isFavorite(e.key.pubKey),t.participant.isRequestedFavorite=this.q.os.social.profile.isRequestedFavorite(e.key.pubKey)):(t.participant.social="unknown",t.participant.isFavorite=!1,t.participant.isRequestedFavorite=!1),t.participant.avatar="./assets/defaultAvatar.png",console.log(this.q.os.ui.getHandledMessages()),this.messages.length>0&&t.channelPubKey==this.messages[this.messages.length-1].channelPubKey&&!this.q.os.utilities.inArray(this.q.os.ui.getHandledMessages(),t.id)){let e="\n";try{let t=this.messages[this.messages.length-1].message,n=String(t).split("\n");n.length>1&&(t=String(n[n.length-1]),"!"==t.trim().charAt(t.length-1)||"?"==t.trim().charAt(t.length-1)||","==t.trim().charAt(t.length-1)||"."==t.trim().charAt(t.length-1)||";"==t.trim().charAt(t.length-1)?e=" ":":"!=t.trim().charAt(t.length-1)&&"-"!=t.trim().charAt(t.length-1)&&":"!=t.trim().charAt(t.length-1)&&(e="\n"))}catch(n){console.log(n)}this.q.os.ui.addHandledMessage(t.id),this.messages[this.messages.length-1].message+=e+this.capitalize(String(t.message).trim())}else this.q.os.utilities.inArray(this.q.os.ui.getHandledMessages(),t.id)||(t.message=this.capitalize(String(t.message).trim()),this.messages.push(t));this.aChD.detectChanges()}return!0}))}getSocialProfileForChannelPubKey(e,t){return Object(i.a)(this,void 0,void 0,(function*(){let n,i=this.q.os.channel.getParticipantFolders(e);if(i.length>0)for(let e=0;e{this.ui.updateProcessingStatus(!1)},2e4),console.log("attempting to join: ",e);try{this.q.os.ocean.dolphin.isSubscribed(this.channel)||(yield this.q.os.ocean.dolphin.joinChannel(e));let t=this.q.os.ocean.dolphin.getChannelHistory(this.channel);this.DEVMODE&&console.log("got history: ",t);for(let e=0;eObject(i.a)(this,void 0,void 0,(function*(){yield this.handleNewMessage(e)})));let n=this.q.os.ocean.dolphin.isOwner(e,this.q.os.ocean.dolphin.getChannelKeyChain(e).channelPubKey);console.log("isOwner:",n),n&&(this.showChallengeScreen=!1,this.showJoinScreen=!1,this.showInviteScreen=!1,this.ui.updateProcessingStatus(!1))}catch(t){return"reCaptcha"==t?this.challengeFail():"key invalid"==t?(this.ui.showSnack("Invalid Key!","Start Over",{duration:8e3}),this.ui.delay(2e3),!1):(this.ui.showSnack("Swarm Error =(","Start Over",{duration:8e3}),console.log(t),yield this.ui.delay(5e3),!1)}}))}publishChannelMessage(e){return Object(i.a)(this,void 0,void 0,(function*(){this.q.os.channel.publish(this.channel,e.message),this.newMessage.nativeElement.value=""}))}}return t.\u0275fac=function(e){return new(e||t)(s.Sb(a.b),s.Sb(s.h),s.Sb(c.a),s.Sb(r.a))},t.\u0275cmp=s.Mb({type:t,selectors:[["messages-channel"]],viewQuery:function(e,t){var n;1&e&&s.Mc(v,!0),2&e&&s.uc(n=s.gc())&&(t.newMessage=n.first)},inputs:{channel:"channel"},decls:41,vars:10,consts:[[1,"captchaScreen",3,"hidden"],["fxLayout","column","fxLayoutAlign","space-around center"],[1,"wrapper"],[1,"frameThumbnail",2,"width","80%","margin","10%","margin-top","0",3,"src"],[1,"example-form"],[1,"example-full-width"],["matInput","","placeholder","Captcha Text","value","","name","captchaCode",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",1,"thickOutlineButton","marginRight20",3,"click"],["mat-stroked-button","","color","primary",1,"thickOutlineButton",3,"click"],[1,"inviteScreen",3,"hidden"],["color","primary",1,"example-full-width"],["matInput","","placeholder","Invite Code","value","","name","inviteToken",3,"ngModel","ngModelChange"],[1,"joinScreen",3,"hidden"],[1,"chatScreen",3,"hidden"],[3,"title"],[3,"type","message","reply","sender","date","files","quote","latitude","longitude","avatar",4,"ngFor","ngForOf"],[3,"dropFiles","send"],[3,"type","message","reply","sender","date","files","quote","latitude","longitude","avatar"]],template:function(e,t){1&e&&(s.Yb(0,"div",0),s.Yb(1,"div",1),s.Yb(2,"div",2),s.Tb(3,"img",3),s.Yb(4,"form",4),s.Yb(5,"mat-form-field",5),s.Yb(6,"mat-label"),s.Ic(7,"Captcha Text"),s.Xb(),s.Yb(8,"input",6),s.fc("ngModelChange",(function(e){return t.captchaCode=e})),s.Xb(),s.Xb(),s.Xb(),s.Yb(9,"button",7),s.fc("click",(function(){return t.goToJoin()})),s.Ic(10,"Back"),s.Xb(),s.Yb(11,"button",8),s.fc("click",(function(){return t.completedChallenge(t.captchaCode)})),s.Ic(12,"I Aced That IQ Test"),s.Xb(),s.Xb(),s.Xb(),s.Xb(),s.Yb(13,"div",9),s.Yb(14,"div",1),s.Yb(15,"div",2),s.Ic(16," Enter Invite code: "),s.Yb(17,"form",4),s.Yb(18,"mat-form-field",10),s.Yb(19,"mat-label"),s.Ic(20,"Invite Code"),s.Xb(),s.Yb(21,"input",11),s.fc("ngModelChange",(function(e){return t.inviteToken=e})),s.Xb(),s.Xb(),s.Xb(),s.Tb(22,"br"),s.Tb(23,"br"),s.Yb(24,"button",7),s.fc("click",(function(){return t.goToJoin()})),s.Ic(25,"Back"),s.Xb(),s.Yb(26,"button",8),s.fc("click",(function(){return t.completedChallenge(t.inviteToken)})),s.Ic(27,"Let me in!"),s.Xb(),s.Xb(),s.Xb(),s.Xb(),s.Yb(28,"div",12),s.Yb(29,"div",1),s.Yb(30,"div",2),s.Yb(31,"button",8),s.fc("click",(function(){return t.goToInviteScreen()})),s.Ic(32,"I have an invite code!"),s.Xb(),s.Tb(33,"br"),s.Tb(34,"br"),s.Yb(35,"button",8),s.fc("click",(function(){return t.goToCaptcha()})),s.Ic(36,"Give me the challenge!"),s.Xb(),s.Xb(),s.Xb(),s.Xb(),s.Yb(37,"div",13),s.Yb(38,"nb-chat",14),s.Gc(39,C,1,10,"nb-chat-message",15),s.Yb(40,"nb-chat-form",16),s.fc("send",(function(e){return t.publishChannelMessage(e)})),s.Xb(),s.Xb(),s.Xb()),2&e&&(s.pc("hidden",!t.showChallengeScreen),s.Fb(3),s.pc("src",t.captchaImageResource,s.zc),s.Fb(5),s.pc("ngModel",t.captchaCode),s.Fb(5),s.pc("hidden",!t.showInviteScreen),s.Fb(8),s.pc("ngModel",t.inviteToken),s.Fb(7),s.pc("hidden",!t.showJoinScreen),s.Fb(9),s.pc("hidden",t.showJoinScreen||t.showInviteScreen||t.showChallengeScreen||t.channel==t.noChannelSelected),s.Fb(1),s.qc("title",t.channelDisplayName),s.Fb(1),s.pc("ngForOf",t.messages),s.Fb(1),s.pc("dropFiles",!0))},directives:[l.b,l.a,d.p,d.k,d.l,h.b,h.f,g.a,d.b,d.j,d.m,u.a,p.a,b.l,f.a,m.a],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}"]}),t})()}).call(this,n("tjlA").Buffer)},K9Od:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("fXoL"),o=n("tayM"),s=n("bzWg");const a=function(e){return[e]};let c=(()=>{class e{constructor(e){this.mapKey=e.messageGoogleMapKey}get file(){return{url:`https://maps.googleapis.com/maps/api/staticmap?center=${this.latitude},${this.longitude}&zoom=12&size=400x400&key=${this.mapKey}`,type:"image/png",icon:"location"}}}return e.\u0275fac=function(t){return new(t||e)(i.Sb(o.a))},e.\u0275cmp=i.Mb({type:e,selectors:[["nb-chat-message-map"]],inputs:{message:"message",sender:"sender",date:"date",latitude:"latitude",longitude:"longitude"},decls:1,vars:6,consts:[[3,"files","message","sender","date"]],template:function(e,t){1&e&&i.Tb(0,"nb-chat-message-file",0),2&e&&i.pc("files",i.sc(4,a,t.file))("message",t.message)("sender",t.sender)("date",t.date)},directives:[s.a],encapsulation:2,changeDetection:0}),e})()},bzWg:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n("fXoL"),o=n("jhN1"),s=n("waa1"),a=n("ofXK"),c=n("aceb");function r(e,t){if(1&e&&i.Tb(0,"nb-icon",7),2&e){const e=i.jc().$implicit;i.pc("icon",e.icon)}}function l(e,t){if(1&e&&i.Tb(0,"div"),2&e){const e=i.jc().$implicit;i.Dc("background-image",e.urlStyle)}}function d(e,t){if(1&e&&(i.Yb(0,"a",4),i.Gc(1,r,1,1,"nb-icon",5),i.Gc(2,l,1,2,"div",6),i.Xb()),2&e){const e=t.$implicit;i.pc("href",e.url,i.zc),i.Fb(1),i.pc("ngIf",!e.urlStyle&&e.icon),i.Fb(1),i.pc("ngIf",e.urlStyle)}}function h(e,t){if(1&e&&(i.Wb(0),i.Yb(1,"div",2),i.Gc(2,d,3,3,"a",3),i.Xb(),i.Vb()),2&e){const e=i.jc();i.Fb(2),i.pc("ngForOf",e.readyFiles)}}function g(e,t){if(1&e&&i.Tb(0,"nb-icon",7),2&e){const e=i.jc(2);i.pc("icon",e.readyFiles[0].icon)}}function u(e,t){if(1&e&&i.Tb(0,"div"),2&e){const e=i.jc(2);i.Dc("background-image",e.readyFiles[0].urlStyle)}}function p(e,t){if(1&e&&(i.Wb(0),i.Yb(1,"a",4),i.Gc(2,g,1,1,"nb-icon",5),i.Gc(3,u,1,2,"div",6),i.Xb(),i.Vb()),2&e){const e=i.jc();i.Fb(1),i.pc("href",e.readyFiles[0].url,i.zc),i.Fb(1),i.pc("ngIf",!e.readyFiles[0].urlStyle&&e.readyFiles[0].icon),i.Fb(1),i.pc("ngIf",e.readyFiles[0].urlStyle)}}let b=(()=>{class e{constructor(e,t){this.cd=e,this.domSanitizer=t}set files(e){this.readyFiles=(e||[]).map(e=>{const t=this.isImage(e);return Object.assign(Object.assign({},e),{urlStyle:t&&this.domSanitizer.bypassSecurityTrustStyle(`url(${e.url})`),isImage:t})}),this.cd.detectChanges()}isImage(e){return["image/png","image/jpeg","image/gif"].includes(e.type)}}return e.\u0275fac=function(t){return new(t||e)(i.Sb(i.h),i.Sb(o.b))},e.\u0275cmp=i.Mb({type:e,selectors:[["nb-chat-message-file"]],inputs:{message:"message",sender:"sender",date:"date",files:"files"},decls:4,vars:6,consts:[[3,"sender","date","message"],[4,"ngIf"],[1,"message-content-group"],["target","_blank",3,"href",4,"ngFor","ngForOf"],["target","_blank",3,"href"],[3,"icon",4,"ngIf"],[3,"background-image",4,"ngIf"],[3,"icon"]],template:function(e,t){1&e&&(i.Yb(0,"nb-chat-message-text",0),i.Ic(1),i.Xb(),i.Gc(2,h,3,1,"ng-container",1),i.Gc(3,p,4,3,"ng-container",1)),2&e&&(i.pc("sender",t.sender)("date",t.date)("message",t.message),i.Fb(1),i.Kc(" ",t.message," "),i.Fb(1),i.pc("ngIf",(null==t.readyFiles?null:t.readyFiles.length)>1),i.Fb(1),i.pc("ngIf",1===(null==t.readyFiles?null:t.readyFiles.length)))},directives:[s.a,a.m,a.l,c.o],encapsulation:2,changeDetection:0}),e})()},cVQz:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var i=n("fXoL"),o=n("ofXK"),s=n("waa1");function a(e,t){if(1&e&&(i.Yb(0,"p",3),i.Ic(1),i.Yb(2,"time"),i.Ic(3),i.kc(4,"date"),i.Xb(),i.Xb()),2&e){const e=i.jc();i.Fb(1),i.Kc("",e.sender," "),i.Fb(2),i.Jc(i.mc(4,2,e.date,"shortTime"))}}let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Mb({type:e,selectors:[["nb-chat-message-quote"]],inputs:{message:"message",sender:"sender",date:"date",quote:"quote"},decls:5,vars:4,consts:[["class","sender",4,"ngIf"],[1,"quote"],[3,"message"],[1,"sender"]],template:function(e,t){1&e&&(i.Gc(0,a,5,5,"p",0),i.Yb(1,"p",1),i.Ic(2),i.Xb(),i.Yb(3,"nb-chat-message-text",2),i.Ic(4),i.Xb()),2&e&&(i.pc("ngIf",t.sender||t.date),i.Fb(2),i.Kc(" ",t.quote," "),i.Fb(1),i.pc("message",t.message),i.Fb(1),i.Kc(" ",t.message," "))},directives:[o.m,s.a],pipes:[o.e],encapsulation:2,changeDetection:0}),e})()},dT8p:function(e){e.exports=JSON.parse('{"dev":false}')},rk8u:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return z}));var i=n("n2fA"),o=n("FQBZ"),s=n("dT8p"),a=n("2Vo4"),c=n("0EQZ"),r=n("FvrZ"),l=n("8yBR"),d=n("STbY"),h=n("fXoL"),g=n("Witw"),u=n("aceb"),p=n("gvxT"),b=n("kmnG"),f=n("qFsG"),m=n("d3UM"),v=n("ofXK"),C=n("3Pt+"),F=n("bTqV"),x=n("FKr1"),y=n("IyRd"),S=n("znSr"),w=n("NFeN");const I=["emptyItem"],k=["qrPop"],O=["createPop"],N=["folder"],P=["import"];function M(e,t){if(1&e&&(h.Yb(0,"mat-option",23),h.Ic(1),h.Xb()),2&e){const e=t.$implicit;h.pc("value",e.id),h.Fb(1),h.Kc(" ",e.data.name," ")}}function X(e,t){if(1&e){const e=h.Zb();h.Yb(0,"nb-card"),h.Yb(1,"nb-card-header"),h.Ic(2,"Create Channel"),h.Xb(),h.Yb(3,"nb-card-body",15),h.Yb(4,"div",16),h.Ic(5," Folder: "),h.Yb(6,"mat-select",17),h.fc("valueChange",(function(t){return h.xc(e),h.jc().newChannelFolder=t}))("selectionChange",(function(t){return h.xc(e),h.jc().newChannelFolderChanged(t.value)})),h.Gc(7,M,2,2,"mat-option",18),h.Xb(),h.Xb(),h.Yb(8,"div",19),h.Yb(9,"input",20),h.fc("ngModelChange",(function(t){return h.xc(e),h.jc().newChannelName=t}))("keydown",(function(t){h.xc(e);const n=h.jc();return n.createNewChannelKeyDown(n.newChannelName,t)})),h.Xb(),h.Xb(),h.Xb(),h.Yb(10,"nb-card-footer"),h.Yb(11,"button",21),h.fc("click",(function(){h.xc(e);const t=h.jc();return t.createNewChannel(t.newChannelName)})),h.Ic(12,"Create"),h.Xb(),h.Yb(13,"button",22),h.fc("click",(function(){return h.xc(e),h.jc().closePopup()})),h.Ic(14,"Cancel"),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc();h.Fb(6),h.pc("value",e.newChannelFolder),h.Fb(1),h.pc("ngForOf",e.channelFolderListArray),h.Fb(2),h.pc("ngModel",e.newChannelName)}}function Y(e,t){if(1&e){const e=h.Zb();h.Yb(0,"nb-card"),h.Yb(1,"nb-card-header"),h.Ic(2,"Scan QR"),h.Xb(),h.Yb(3,"nb-card-body",15),h.Yb(4,"div",24),h.Yb(5,"zxing-scanner",25),h.fc("deviceChange",(function(t){return h.xc(e),h.jc().currentDevice=t}))("scanSuccess",(function(t){return h.xc(e),h.jc().qrSuccessHandler(t)}))("permissionResponse",(function(t){return h.xc(e),h.jc().onHasPermission(t)}))("camerasFound",(function(t){return h.xc(e),h.jc().onCamerasFound(t)}))("torchCompatible",(function(t){return h.xc(e),h.jc().onTorchCompatible(t)})),h.Xb(),h.Xb(),h.Xb(),h.Yb(6,"nb-card-footer"),h.Yb(7,"button",22),h.fc("click",(function(){return h.xc(e),h.jc().closeQR()})),h.Ic(8,"Cancel"),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc();h.Fb(5),h.pc("torch",e.torchEnabled)("device",e.currentDevice)("formats",e.formatsEnabled)("tryHarder",e.tryHarder)}}function j(e,t){if(1&e&&(h.Yb(0,"mat-option",23),h.Ic(1),h.Xb()),2&e){const e=t.$implicit;h.pc("value",e.id),h.Fb(1),h.Kc(" ",e.data.name," ")}}function q(e,t){if(1&e){const e=h.Zb();h.Yb(0,"nb-card"),h.Yb(1,"nb-card-header"),h.Ic(2,"Join Channel"),h.Xb(),h.Yb(3,"nb-card-body",15),h.Yb(4,"div",16),h.Ic(5," Import Folder Structure: "),h.Yb(6,"mat-form-field",26),h.Yb(7,"mat-select",27),h.fc("valueChange",(function(t){return h.xc(e),h.jc().importFolderStructure=t}))("selectionChange",(function(t){return h.xc(e),h.jc().newInviteImportFoldersChanged(t.value)})),h.Yb(8,"mat-option",23),h.Ic(9," On "),h.Xb(),h.Yb(10,"mat-option",23),h.Ic(11," Off "),h.Xb(),h.Xb(),h.Xb(),h.Xb(),h.Yb(12,"div",16),h.Ic(13," Place Into Folder: "),h.Yb(14,"mat-select",17),h.fc("valueChange",(function(t){return h.xc(e),h.jc().newChannelFolder=t}))("selectionChange",(function(t){return h.xc(e),h.jc().newChannelFolderChanged(t.value)})),h.Gc(15,j,2,2,"mat-option",18),h.Xb(),h.Xb(),h.Yb(16,"div",19),h.Yb(17,"input",28),h.fc("ngModelChange",(function(t){return h.xc(e),h.jc().inviteCodeHex=t}))("keydown",(function(t){return h.xc(e),h.jc().importNewChannelKeyDown(t)})),h.Xb(),h.Yb(18,"nb-icon",29),h.fc("click",(function(){return h.xc(e),h.jc().scanQR()})),h.Xb(),h.Xb(),h.Xb(),h.Yb(19,"nb-card-footer"),h.Yb(20,"button",21),h.fc("click",(function(){h.xc(e);const t=h.jc();return t.importNewChannel(t.inviteCode)})),h.Ic(21,"Join"),h.Xb(),h.Yb(22,"button",22),h.fc("click",(function(){return h.xc(e),h.jc().closePopup()})),h.Ic(23,"Cancel"),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc();h.Fb(7),h.pc("value",e.importFolderStructure),h.Fb(1),h.pc("value",1),h.Fb(2),h.pc("value",0),h.Fb(4),h.pc("value",e.newChannelFolder),h.Fb(1),h.pc("ngForOf",e.channelFolderListArray),h.Fb(2),h.pc("ngModel",e.inviteCodeHex)}}function T(e,t){if(1&e&&(h.Yb(0,"mat-option",23),h.Ic(1),h.Xb()),2&e){const e=t.$implicit;h.pc("value",e.id),h.Fb(1),h.Kc(" ",e.data.name," ")}}function E(e,t){if(1&e){const e=h.Zb();h.Yb(0,"nb-card"),h.Yb(1,"nb-card-header"),h.Ic(2,"New Channel Folder"),h.Xb(),h.Yb(3,"nb-card-body",15),h.Yb(4,"div",16),h.Ic(5," Folder: "),h.Yb(6,"mat-select",17),h.fc("valueChange",(function(t){return h.xc(e),h.jc().newChannelFolder=t}))("selectionChange",(function(t){return h.xc(e),h.jc().newChannelFolderChanged(t.value)})),h.Gc(7,T,2,2,"mat-option",18),h.Xb(),h.Xb(),h.Yb(8,"div",19),h.Yb(9,"input",30),h.fc("ngModelChange",(function(t){return h.xc(e),h.jc().newFolderName=t}))("keydown",(function(t){h.xc(e);const n=h.jc();return n.createNewFolderKeyDown(n.newFolderName,t)})),h.Xb(),h.Xb(),h.Xb(),h.Yb(10,"nb-card-footer"),h.Yb(11,"button",21),h.fc("click",(function(){h.xc(e);const t=h.jc();return t.createNewFolder(t.newFolderName)})),h.Ic(12,"Create"),h.Xb(),h.Yb(13,"button",22),h.fc("click",(function(){return h.xc(e),h.jc().closePopup()})),h.Ic(14,"Cancel"),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=h.jc();h.Fb(6),h.pc("value",e.newChannelFolder),h.Fb(1),h.pc("ngForOf",e.channelFolderListArray),h.Fb(2),h.pc("ngModel",e.newFolderName)}}const B=function(e){return{"drag-start":e}};function D(e,t){if(1&e){const e=h.Zb();h.Yb(0,"mat-tree-node",31),h.fc("dragover",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragOver(n,i)}))("dragend",(function(t){return h.xc(e),h.jc().handleDragEnd(t)}))("drop",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDrop(n,i)}))("click",(function(){h.xc(e);const n=t.$implicit;return h.jc().selectChannel(n.item)})),h.Yb(1,"div"),h.Tb(2,"nb-icon",32),h.Yb(3,"span",33),h.fc("dragstart",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragStart(n,i)})),h.Yb(4,"span",34),h.Ic(5),h.Xb(),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=t.$implicit,n=h.jc();h.pc("ngClass",n.getStyle(e)),h.Fb(1),h.Ib("treeNodeContainerSingle ",e.item,""),h.Kb("active-channel",n.selectedChannel===e.item),h.Fb(3),h.pc("ngClass",h.sc(8,B,n.dragNode===e)),h.Fb(1),h.Kc(" ",e.item," ")}}function L(e,t){if(1&e){const e=h.Zb();h.Yb(0,"mat-tree-node",35),h.fc("dragover",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragOver(n,i)}))("dragend",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragEnd(n,i)}))("drop",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDrop(n,i)})),h.Yb(1,"div",36),h.fc("contextmenu",(function(n){h.xc(e);const i=t.$implicit;return h.jc().onContextMenu(n,i.item)})),h.Yb(2,"button",37),h.Yb(3,"mat-icon",38),h.Ic(4),h.Xb(),h.Xb(),h.Tb(5,"nb-icon",39),h.Yb(6,"span",33),h.fc("dragstart",(function(n){h.xc(e);const i=t.$implicit;return h.jc().handleDragStart(n,i)})),h.Yb(7,"span",34),h.Ic(8),h.Xb(),h.Xb(),h.Xb(),h.Xb()}if(2&e){const e=t.$implicit,n=h.jc();h.pc("ngClass",n.getStyle(e)),h.Fb(2),h.Gb("aria-label","toggle "+e.item),h.Fb(2),h.Kc(" ",n.treeControl.isExpanded(e)?"expand_more":"chevron_right"," "),h.Fb(3),h.pc("ngClass",h.sc(5,B,n.dragNode===e)),h.Fb(1),h.Kc(" ",n.getFolderNameFromId(e.item)," ")}}function _(e,t){if(1&e){const e=h.Zb();h.Yb(0,"button",40),h.fc("click",(function(){h.xc(e);const n=t.item;return h.jc().deleteFolder(n)})),h.Ic(1,"Delete"),h.Xb(),h.Yb(2,"button",40),h.fc("click",(function(){h.xc(e);const n=t.item;return h.jc().onContextMenuAction2(n)})),h.Ic(3,"Rename"),h.Xb(),h.Yb(4,"button",40),h.fc("click",(function(){h.xc(e);const n=t.item;return h.jc().onContextMenuAction2(n)})),h.Ic(5,"Export"),h.Xb()}}class R{}class A{}var K={};let G=(()=>{class e{constructor(){this.dataChange=new a.a([]),this.initialize()}get data(){return this.dataChange.value}initialize(){this.buildFileTree(K,0)}buildFileTree(e,t){return Object.keys(e).reduce((n,i)=>{const o=e[i],s=new R;return s.item=i,null!=o&&("object"==typeof o?s.children=this.buildFileTree(o,t+1):s.item=o),n.concat(s)},[])}insertItem(e,t){e.children||(e.children=[]);const n={item:t};return e.children.push(n),this.dataChange.next(this.data),n}getParentFromNodes(e){for(let t=0;t0)for(let n=0;n0){const e=this.getParent(i,t);if(null!=e)return e}}return null}updateItem(e,t){e.item=t,this.dataChange.next(this.data)}deleteItem(e){this.deleteNode(this.data,e),this.dataChange.next(this.data)}copyPasteItem(e,t){const n=this.insertItem(t,e.item);return e.children&&e.children.forEach(e=>{this.copyPasteItem(e,n)}),n}deleteNode(e,t){const n=e.indexOf(t,0);n>-1?e.splice(n,1):e.forEach(e=>{e.children&&e.children.length>0&&this.deleteNode(e.children,t)})}filter(e){let t;t=e&&e.length>0?{Filter:{emptyFolder:{}},Function:{emptyFolder:{}},Missing:{emptyFolder:{}}}:K;const n=this.buildFileTree(t,0);this.dataChange.next(n)}setQOS(e){this.q=e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=h.Ob({token:e,factory:e.\u0275fac}),e})(),z=(()=>{class t{constructor(e,t,n,i,d,h){this.cd=e,this.database=t,this.ui=n,this.dialog=i,this.nbMenuService=d,this.q=h,this.contextMenuPosition={x:"0px",y:"0px"},this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.selectedParent=null,this.newItemName="",this.checklistSelection=new c.c(!0),this.dragNodeExpandOverWaitTimeMs=300,this.getLevel=e=>e.level,this.isExpandable=e=>e.expandable,this.getChildren=e=>e.children,this.hasChild=(e,t)=>t.expandable,this.hasNoContent=(e,t)=>""===t.item,this.transformer=(e,t)=>{const n=this.nestedNodeMap.get(e),i=n&&n.item===e.item?n:new A;return i.item=e.item,i.level=t,i.expandable=e.children&&e.children.length>0,this.flatNodeMap.set(i,e),this.nestedNodeMap.set(e,i),i},this.dragNodeExpandOverAreaReal=0,this.channelNameList=[],this.restoreFlag=0,this.sENwriteBlock=0,this.channelIsSelected="active-channel",this.DEVMODE=s.dev,this.customColumn="name",this.items=[{title:"New Folder"},{title:"New Channel"},{title:"Join Channel"}],this.currentDevice=null,this.formatsEnabled=[o.BarcodeFormat.QR_CODE],this.torchEnabled=!1,this.torchAvailable$=new a.a(!1),this.tryHarder=!1,this.channelFolderListArray=[],this.popupRef=[],this.importFolderStructure=1,this.itemClickSub=this.nbMenuService.onItemClick().subscribe(e=>{"New Channel"==String(e.item.title)?(this.getChannelFolderList(),this.open(this.createPop)):"Join Channel"==String(e.item.title)?(this.getChannelFolderList(),this.open(this.importPop)):"New Folder"==String(e.item.title)&&(this.getChannelFolderList(),this.open(this.folderPop))}),this.database.setQOS(this.q),this.treeFlattener=new l.c(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new r.j(this.getLevel,this.isExpandable),this.dataSource=new l.b(this.treeControl,this.treeFlattener)}onContextMenu(e,t){e.preventDefault(),this.contextMenuPosition.x=e.clientX+"px",this.contextMenuPosition.y=e.clientY-40+"px",this.contextMenu.menuData={item:t},this.contextMenu.openMenu()}onContextMenuAction1(e){}onContextMenuAction2(e){}descendantsAllSelected(e){return this.treeControl.getDescendants(e).every(e=>this.checklistSelection.isSelected(e))}descendantsPartiallySelected(e){return this.treeControl.getDescendants(e).some(e=>this.checklistSelection.isSelected(e))&&!this.descendantsAllSelected(e)}todoItemSelectionToggle(e){this.checklistSelection.toggle(e);const t=this.treeControl.getDescendants(e);this.checklistSelection.isSelected(e)?this.checklistSelection.select(...t):this.checklistSelection.deselect(...t)}saveNode(e,t){const n=this.flatNodeMap.get(e);this.database.updateItem(n,t)}handleDragStart(e,t){this.dragNode=t,this.treeControl.collapse(t)}handleDragOver(e,t){if(e.preventDefault(),-1===t.item.indexOf("-----")){this.dragNodeExpandOverNode&&t===this.dragNodeExpandOverNode?Date.now()-this.dragNodeExpandOverTime>this.dragNodeExpandOverWaitTimeMs&&(this.treeControl.isExpanded(t)||this.treeControl.expand(t)):(this.dragNodeExpandOverNode=t,this.dragNodeExpandOverTime=(new Date).getTime());const n=e.offsetY/e.target.clientHeight;0<=n&&n<=.25?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=1):1>=n&&n>=.75?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=-1):(this.dragNodeExpandOverAreaReal=0,this.dragNodeExpandOverArea=0)}}handleDrop(e,t){if(t!==this.dragNode&&t.item.indexOf("-----")<0){let e;1===this.dragNodeExpandOverAreaReal||-1===this.dragNodeExpandOverAreaReal||(e=this.flatNodeMap.get(this.dragNode),this.database.deleteItem(e),e=this.database.copyPasteItem(e,this.flatNodeMap.get(t)),this.saveExpandedNodes(),this.buildChannelFolderListFromTreeNodeData())}this.handleDragEnd(e)}handleDragEnd(e){this.dragNode=null,this.dragNodeExpandOverNode=null,this.dragNodeExpandOverTime=0,this.dragNodeExpandOverArea=NaN,e.preventDefault()}getStyle(e){if("emptyFolder"==e.item)return"display-none";if(this.dragNode===e)return"drag-start";if(this.dragNodeExpandOverNode===e)switch(this.dragNodeExpandOverArea){case 1:return"drop-above";case-1:return"drop-below";default:return"drop-center"}}closeQR(){setTimeout(()=>{this.closePopup()},500)}scanQR(){this.open(this.qrPop)}deleteItem(e){this.database.deleteItem(this.flatNodeMap.get(e))}filterChanged(e){this.database.filter(e),e?this.treeControl.expandAll():this.treeControl.collapseAll()}getFolderNameFromId(e){return"emptyFolder"==e?e:this.q.os.bee.config.getFolderNameFromId(e)}isFolder(e){return!(e.indexOf("-----")>-1)}ngOnDestroy(){console.log("ChannelList: ngOnDestroy..."),this.itemClickSub.unsubscribe(),this.dataChangeSub.unsubscribe(),this.channelFolderListSub.unsubscribe(),this.selectedChannelSub.unsubscribe()}createNewChannelKeyDown(e,t){13===t.keyCode&&this.createNewChannel(e)}importNewChannelKeyDown(e){13===e.keyCode&&this.importNewChannel()}createNewFolderKeyDown(e,t){13===t.keyCode&&this.createNewFolder(e)}ngOnInit(){return Object(i.a)(this,void 0,void 0,(function*(){for(;!this.q.os.isSignedIn();)console.log("ChannelList: Waiting for OS Sign In..."),yield this.ui.delay(1e3);this.channelNameList=this.q.os.ocean.dolphin.getChannelNameList(),this.channelFolderList=this.q.os.bee.config.getChannelFolderList(),this.dataChangeSub=this.database.dataChange.subscribe(e=>{this.dataSource.data=[],this.dataSource.data=e}),this.channelFolderListSub=this.q.os.bee.config.channelFolderListSub.subscribe(e=>{this.loadChannels(e)}),this.selectedChannelSub=this.q.os.channel.onSelect().subscribe(e=>{this.selectedChannel=e}),this.loadChannels(this.channelFolderList),this.selectedChannel=this.q.os.channel.getSelected(),this.cd.detectChanges()}))}loadChannels(e){K=this.q.os.bee.config.getChannelFolderIDList(),this.database.filter(""),e.length>0&&this.q.os.bee.config.getExpandedChannelFolderItems().length>0&&(console.log("got a saved state!"),this.expandedNodes=this.q.os.bee.config.getExpandedChannelFolderItems(),this.restoreExpandedNodes())}saveExpandedNodes(){this.sENwriteBlock=1,this.expandedNodes=[];for(let e=0;e"emptyFolder"!=e.item);let t=[];for(let n=0;n-1&&(i="channel"),console.log(i);let o=[];void 0!==e[n].children&&e[n].children.length>0&&(o=this.getFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFolderNameFromId(e[n].item),kind:i,items:0},children:o})}return this.q.os.bee.config.setChannelFolderList(t),!0}selectChannel(e){console.log("ChannelList: Trying to select: >>"+e.trim()),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),e.trim())&&(console.log("ChannelList: Selecting: ",e.trim()),this.q.os.channel.select(e.trim()),this.q.os.ui.getSideBarFixed().left&&this.q.os.ui.hideSideBar("left"),this.cd.detectChanges(),setTimeout(()=>{this.scrollBottom()},2500),setTimeout(()=>{this.scrollBottom()},5500),setTimeout(()=>{this.scrollBottom()},4e3))}getSelected(){return JSON.stringify(this.selectedChannel)}scrollBottom(){try{this.scrollable={},this.scrollable.nativeElement=window["quest-network-ui-globals"]["messages-chat-scrollable"],null!=this.scrollable.nativeElement&&this.scrollable.nativeElement.scrollTop>this.scrollable.nativeElement.scrollHeight-$(this.scrollable.nativeElement).height()-210&&(this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight)}catch(e){console.log(e)}}getFolderListTreeChildrenRec(e){let t=[];for(let n=0;n-1&&(i="channel");let o=[];void 0!==e[n].children&&e[n].children.length>0&&(o=this.getFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFolderNameFromId(e[n].item),kind:i,items:0},children:o})}return t}restoreExpandedNodes(){this.sENwriteBlock=1;for(let e=0;ee.item===t.item))}this.sENwriteBlock=0}onCamerasFound(e){this.availableDevices=e,this.hasDevices=Boolean(e&&e.length)}onDeviceSelectChange(e){const t=this.availableDevices.find(t=>t.deviceId===e);this.currentDevice=t||null}onHasPermission(e){this.hasPermission=e}onTorchCompatible(e){this.torchAvailable$.next(e||!1)}toggleTorch(){this.torchEnabled=!this.torchEnabled}toggleTryHarder(){this.tryHarder=!this.tryHarder}qrSuccessHandler(e){console.log(e),this.inviteCodeHex=e,this.closePopup()}getChannelFolderList(){return this.channelFolderList=this.q.os.bee.config.getChannelFolderList(),this.channelFolderListArray=[],this.parseStructure(this.channelFolderList),this.channelFolderListArray.length>0&&(this.newChannelFolder=this.channelFolderListArray[0]),this.channelFolderList}parseStructure(e){for(let t=0;t0?(t=o[o.length-1].split(":")[0],n=o[o.length-1].split(":")[1],o.pop()):(t=i.split(":")[0],n=i.split(":")[1]);let s=this.newChannelFolder;"object"!=typeof s&&void 0!==s&&null!=typeof s||(s=""),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),t)?this.ui.showSnack("Channel Exists!","Oops",{duration:1e3}):(yield this.q.os.channel.import(t,o,s,n,this.importFolderStructure),this.createCompleteAndClose())}))}newInviteImportFoldersChanged(){}}return t.\u0275fac=function(e){return new(e||t)(h.Sb(h.h),h.Sb(G),h.Sb(g.a),h.Sb(u.l),h.Sb(u.y),h.Sb(p.a))},t.\u0275cmp=h.Mb({type:t,selectors:[["messages-channel-list"]],viewQuery:function(e,t){var n;1&e&&(h.Mc(d.d,!0),h.Mc(I,!0),h.Mc(k,!0),h.Mc(O,!0),h.Mc(N,!0),h.Mc(P,!0)),2&e&&(h.uc(n=h.gc())&&(t.contextMenu=n.first),h.uc(n=h.gc())&&(t.emptyItem=n.first),h.uc(n=h.gc())&&(t.qrPop=n.first),h.uc(n=h.gc())&&(t.createPop=n.first),h.uc(n=h.gc())&&(t.folderPop=n.first),h.uc(n=h.gc())&&(t.importPop=n.first))},features:[h.Eb([G])],decls:21,vars:9,consts:[["createPop",""],["qrPop",""],["import",""],["folder",""],[2,"width","169px","margin-top","20px","color","#598adb"],["matInput","","placeholder","Search",3,"input"],["outline","","size","small",1,"addChannelButton",3,"nbContextMenu"],["icon","plus-outline",2,"font-size","18px","width","auto"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop","click",4,"matTreeNodeDef"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop",4,"matTreeNodeDef","matTreeNodeDefWhen"],[2,"visibility","hidden","position","fixed",3,"matMenuTriggerFor"],["contextMenu","matMenu"],["matMenuContent",""],["emptyItem",""],[2,"color","goldenrod"],[2,"padding","20px"],[2,"width","80%","margin-left","10px",3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[2,"padding","20px","padding-bottom","34px","padding-top","0px","color","white !important"],["matInput","","placeholder","Channel Name","value","","name","newChannelName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange","keydown"],["mat-stroked-button","","color","primary",2,"margin-right","20px","border","1px solid #ffffff24",3,"click"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[3,"value"],[1,"qrScanWrapper"],[3,"torch","device","formats","tryHarder","deviceChange","scanSuccess","permissionResponse","camerasFound","torchCompatible"],[2,"width","19%"],[3,"value","valueChange","selectionChange"],["matInput","","placeholder","Invite Code","value","","name","inviteCodeHex",2,"color","black","background-color","goldenrod","padding","7px","margin-right","5%","width","80%",3,"ngModel","ngModelChange","keydown"],["icon","camera-outline",1,"deleteCode","scanQRCode",3,"click"],["matInput","","placeholder","Folder Name","value","","name","newFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange","keydown"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop","click"],["icon","activity"],["draggable","true",1,"checklist-leaf-node",3,"dragstart"],[1,"nodeContent",3,"ngClass"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop"],[1,"treeNodeContainerFolder",3,"contextmenu"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["icon","folder-outline"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(h.Gc(0,X,15,3,"ng-template",null,0,h.Hc),h.Gc(2,Y,9,4,"ng-template",null,1,h.Hc),h.Gc(4,q,24,6,"ng-template",null,2,h.Hc),h.Gc(6,E,15,3,"ng-template",null,3,h.Hc),h.Yb(8,"mat-form-field",4),h.Yb(9,"input",5),h.fc("input",(function(e){return t.filterChanged(e.target.value)})),h.Xb(),h.Xb(),h.Yb(10,"button",6),h.Tb(11,"nb-icon",7),h.Xb(),h.Yb(12,"mat-tree",8),h.Gc(13,D,6,10,"mat-tree-node",9),h.Gc(14,L,9,7,"mat-tree-node",10),h.Xb(),h.Tb(15,"div",11),h.Yb(16,"mat-menu",null,12),h.Gc(18,_,6,0,"ng-template",13),h.Xb(),h.Tb(19,"span",null,14)),2&e){const e=h.vc(17);h.Fb(10),h.pc("nbContextMenu",t.items),h.Fb(2),h.pc("dataSource",t.dataSource)("treeControl",t.treeControl),h.Fb(2),h.pc("matTreeNodeDefWhen",t.hasChild),h.Fb(1),h.Dc("left",t.contextMenuPosition.x)("top",t.contextMenuPosition.y),h.pc("matMenuTriggerFor",e)}},directives:[b.b,f.a,u.i,u.o,l.a,l.f,d.d,d.e,d.a,u.d,u.f,u.c,m.a,v.l,C.b,C.j,C.m,u.e,F.a,x.g,y.a,l.e,l.h,l.g,v.k,S.a,w.a,d.b],styles:["button[nbTreeGridRowToggle][_ngcontent-%COMP%]{background:transparent;border:none;padding:0}.search-label[_ngcontent-%COMP%]{display:block}.search-input[_ngcontent-%COMP%]{background:transparent;color:#fff;padding:5px;font-size:12px;width:100%;margin-top:1rem;margin-bottom:1rem;width:78%;margin-left:1%}.addChannelButton[_ngcontent-%COMP%]{color:rgba(134,116,183,.7490196078431373);margin-left:5%;position:relative;top:1px;background-color:#45267d;border:1px solid;border-radius:5px;padding:4px;opacity:.7}.nb-column-name[_ngcontent-%COMP%]{width:80%}.nb-column-items[_ngcontent-%COMP%]{width:20%}.scanQRCode[_ngcontent-%COMP%]{font-size:37px;color:#315cdf;cursor:pointer}.scanQRCode[_ngcontent-%COMP%]:hover{color:#4a81e6}[_nghost-%COMP%] nb-layout-header[_ngcontent-%COMP%] nav{justify-content:flex-end}.mat-tree[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{background:transparent}.mat-tree-node[_ngcontent-%COMP%]{overflow:visible;cursor:move}.drop-above[_ngcontent-%COMP%]{border-top:10px solid #2196f3;margin-top:-10px}.drop-below[_ngcontent-%COMP%]{border-bottom:10px solid #2196f3;margin-bottom:-10px}.drop-center[_ngcontent-%COMP%]{background-color:#a9a9a9}.drag-start[_ngcontent-%COMP%]{background-color:#1565c0;color:#f0fff0}.treeNodeContainerFolder[_ngcontent-%COMP%]{background-color:rgba(131,119,230,.058823529411764705);padding:0 16px 0 0}.treeNodeContainerFolder[_ngcontent-%COMP%], .treeNodeContainerSingle[_ngcontent-%COMP%]{border-radius:5px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.treeNodeContainerSingle[_ngcontent-%COMP%]{background-color:rgba(69,39,128,.3686274509803922);padding:6px 10px 6px 15px}.mat-tree[_ngcontent-%COMP%]{z-index:999;width:227px;left:14px;top:190px;padding-right:10px;bottom:40px;position:fixed;overflow:scroll}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:none!important}.emptyFolder[_ngcontent-%COMP%]{display:none}.mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{line-height:20px}.qrScanWrapper[_ngcontent-%COMP%]{min-width:20px;max-height:80vh;max-width:37vw}"]}),t})()}).call(this,n("tjlA").Buffer)},tayM:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));class i{}},waa1:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var i=n("fXoL"),o=n("tyNb"),s=n("gvxT"),a=n("ofXK"),c=n("aceb"),r=n("zwFz"),l=n("fP41");function d(e,t){1&e&&i.Tb(0,"nb-icon",7)}function h(e,t){1&e&&i.Tb(0,"nb-icon",8)}function g(e,t){if(1&e){const e=i.Zb();i.Yb(0,"p",4),i.fc("click",(function(){i.xc(e);const t=i.jc();return t.goToProfile(t.sender.social)})),i.Ic(1),i.Gc(2,d,1,0,"nb-icon",5),i.Gc(3,h,1,0,"nb-icon",6),i.Xb()}if(2&e){const e=i.jc();i.Fb(1),i.Kc(" ",e.sender.name," "),i.Fb(1),i.pc("ngIf",e.sender.isRequestedFavorite),i.Fb(1),i.pc("ngIf",e.sender.isFavorite)}}function u(e,t){if(1&e&&(i.Yb(0,"p",9),i.Ic(1),i.Xb()),2&e){const e=i.jc();i.Fb(1),i.Kc(" ",e.sender.name," ")}}const p=function(){return{newWindow:!0}};function b(e,t){if(1&e&&(i.Tb(0,"div",17),i.kc(1,"linky")),2&e){const e=i.jc().$implicit;i.pc("innerHTML",i.mc(1,1,e.text,i.rc(4,p)),i.yc)}}function f(e,t){if(1&e&&i.Tb(0,"ngx-emoji",18),2&e){const e=i.jc().$implicit;i.pc("emoji",e.emojiColon)}}function m(e,t){if(1&e&&(i.Yb(0,"div",14),i.Gc(1,b,2,5,"div",15),i.Gc(2,f,1,1,"ngx-emoji",16),i.Xb()),2&e){const e=t.$implicit;i.Fb(1),i.pc("ngIf",!e.isEmoji),i.Fb(1),i.pc("ngIf",e.isEmoji)}}function v(e,t){if(1&e&&(i.Yb(0,"div",12),i.Gc(1,m,3,2,"div",13),i.Xb()),2&e){const e=t.$implicit;i.Fb(1),i.pc("ngForOf",e)}}function C(e,t){if(1&e&&(i.Yb(0,"div",10),i.Gc(1,v,2,1,"div",11),i.Xb()),2&e){const e=i.jc();i.Fb(1),i.pc("ngForOf",e.messageRows)}}function F(e,t){if(1&e&&(i.Yb(0,"div"),i.Tb(1,"ngx-emoji",19),i.Xb()),2&e){const e=i.jc();i.Fb(1),i.qc("emoji",e.messageRows[0][0].emojiColon)}}let x=(()=>{class e{constructor(e,t,n){this.ngZone=e,this.router=t,this.q=n,this.scrollable={}}scrollBottom(){try{this.scrollable.nativeElement=window["quest-network-ui-globals"]["messages-chat-scrollable"],null!=this.scrollable.nativeElement&&this.scrollable.nativeElement.scrollTop>this.scrollable.nativeElement.scrollHeight-$(this.scrollable.nativeElement).height()-210&&(this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight)}catch(e){console.log(e)}}ngOnInit(){this.messageRows=this.getArray(this.message),this.scrollBottom()}ngOnChanges(){this.messageRows=this.getArray(this.message),this.scrollBottom()}goToProfile(e){this.ngZone.run(()=>this.router.navigate(["/social/profile/"+e]))}getArray(e){let t=[],n=[],i=[],o=String(e).trim();try{let e=["\n:","\n :","\n :"];for(let t of e)o=o.replace(new RegExp(t,"g")," :")}catch(s){}try{let e=[":D",":\\)","=\\)",":-\\)","=D"];for(let n of e)o=o.replace(new RegExp(n,"g"),":grinning:");let t=/:(?![\n])[()#$@-\w]+:/g.exec(o);for(let n of t)n.substr(1,n.length-2).indexOf(":")<0&&(o=o.replace(n," "+n+" "))}catch(s){console.log(s)}n=o.trim().split("\n"),i=[];for(let a of n)i.push(a.trim().split(" "));for(let a=0;a0&&(t.messageRows.length>1||!t.messageRows[0][0].isEmoji)),i.Fb(1),i.pc("ngIf",1==t.messageRows.length&&1==t.messageRows[0].length&&t.messageRows[0][0].isEmoji))},directives:[a.m,c.o,a.l,r.a],pipes:[l.b],styles:[".senderIcon[_ngcontent-%COMP%]{top:-2px;position:relative;color:#d2d24b}.socialLink[_ngcontent-%COMP%]{cursor:pointer}.messageDisplayName[_ngcontent-%COMP%]{color:#d6d8dc!important;padding-bottom:5px!important}.messageSenderStarIcon[_ngcontent-%COMP%]{color:#256dff!important}.emojiChunk[_ngcontent-%COMP%]{max-height:22px;overflow:hidden;margin:0;position:relative;top:5px;padding:0 2px}.chunkContainer[_ngcontent-%COMP%], .emojiChunk[_ngcontent-%COMP%], .messagesInnerWrapper[_ngcontent-%COMP%], .textChunk[_ngcontent-%COMP%]{display:inline-block}.textChunk[_ngcontent-%COMP%]{white-space:nowrap;padding-left:2px;padding-right:2px;max-height:22px}"],changeDetection:0}),e})()},xUDc:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var i=n("R0Ic"),o=n("fXoL"),s=n("jhN1"),a=n("ofXK"),c=n("bzWg"),r=n("cVQz"),l=n("K9Od"),d=n("waa1");function h(e,t){if(1&e&&(o.Wb(0),o.Ic(1),o.Vb()),2&e){const e=o.jc(2);o.Fb(1),o.Kc(" ",e.getInitials()," ")}}function g(e,t){if(1&e&&(o.Yb(0,"div",7),o.Gc(1,h,2,1,"ng-container",8),o.Xb()),2&e){const e=o.jc();o.Dc("background-image",e.avatarStyle),o.Fb(1),o.pc("ngIf",!e.avatarStyle)}}function u(e,t){if(1&e&&o.Tb(0,"nb-chat-message-file",9),2&e){const e=o.jc();o.pc("sender",e.sender)("date",e.date)("message",e.message)("files",e.files)}}function p(e,t){if(1&e&&o.Tb(0,"nb-chat-message-quote",10),2&e){const e=o.jc();o.pc("sender",e.sender)("date",e.date)("message",e.message)("quote",e.quote)}}function b(e,t){if(1&e&&o.Tb(0,"nb-chat-message-map",11),2&e){const e=o.jc();o.pc("sender",e.sender)("date",e.date)("message",e.message)("latitude",e.latitude)("longitude",e.longitude)}}function f(e,t){if(1&e&&o.Tb(0,"nb-chat-message-text",12),2&e){const e=o.jc();o.pc("sender",e.sender)("date",e.date)("message",e.message)}}let m=(()=>{class e{constructor(e){this.domSanitizer=e,this._reply=!1}get flyInOut(){return!0}get notReply(){return!this.reply}get reply(){return this._reply}set reply(e){var t;this._reply="string"==typeof(t=e)?"true"===(t=t.toLowerCase().trim())||""===t:!!t}set avatar(e){this.avatarStyle=e?this.domSanitizer.bypassSecurityTrustStyle(`url(${e})`):null}getInitials(){return this.sender?this.sender.split(" ").map(e=>e.charAt(0)).splice(0,2).join("").toUpperCase():""}}return e.\u0275fac=function(t){return new(t||e)(o.Sb(s.b))},e.\u0275cmp=o.Mb({type:e,selectors:[["nb-chat-message"]],hostVars:5,hostBindings:function(e,t){2&e&&(o.Fc("@flyInOut",t.flyInOut),o.Kb("not-reply",t.notReply)("reply",t.reply))},inputs:{reply:"reply",message:"message",sender:"sender",date:"date",files:"files",quote:"quote",latitude:"latitude",longitude:"longitude",avatar:"avatar",type:"type"},decls:7,vars:5,consts:[["class","avatar",3,"background-image",4,"ngIf"],[1,"message"],[3,"ngSwitch"],[3,"sender","date","message","files",4,"ngSwitchCase"],[3,"sender","date","message","quote",4,"ngSwitchCase"],[3,"sender","date","message","latitude","longitude",4,"ngSwitchCase"],[3,"sender","date","message",4,"ngSwitchDefault"],[1,"avatar"],[4,"ngIf"],[3,"sender","date","message","files"],[3,"sender","date","message","quote"],[3,"sender","date","message","latitude","longitude"],[3,"sender","date","message"]],template:function(e,t){1&e&&(o.Gc(0,g,2,3,"div",0),o.Yb(1,"div",1),o.Wb(2,2),o.Gc(3,u,1,4,"nb-chat-message-file",3),o.Gc(4,p,1,4,"nb-chat-message-quote",4),o.Gc(5,b,1,5,"nb-chat-message-map",5),o.Gc(6,f,1,3,"nb-chat-message-text",6),o.Vb(),o.Xb()),2&e&&(o.pc("ngIf",!t.reply),o.Fb(2),o.pc("ngSwitch",t.type),o.Fb(1),o.pc("ngSwitchCase","file"),o.Fb(1),o.pc("ngSwitchCase","quote"),o.Fb(1),o.pc("ngSwitchCase","map"))},directives:[a.m,a.o,a.p,a.q,c.a,r.a,l.a,d.a],encapsulation:2,data:{animation:[Object(i.m)("flyInOut",[Object(i.j)("in",Object(i.k)({transform:"translateX(0)"})),Object(i.l)("void => *",[Object(i.k)({transform:"translateX(-100%)"}),Object(i.e)(80)]),Object(i.l)("* => void",[Object(i.e)(80,Object(i.k)({transform:"translateX(100%)"}))])])]},changeDetection:0}),e})()}}]); \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/6-es5.37d2287d57069a168bd7.js b/dist_archive/ipfs/0.9.4/6-es5.37d2287d57069a168bd7.js new file mode 100644 index 0000000..e555497 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/6-es5.37d2287d57069a168bd7.js @@ -0,0 +1 @@ +!function(){function e(e,t){var i;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(i=n(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var a=0,o=function(){};return{s:o,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,c=!0,s=!1;return{s:function(){i=e[Symbol.iterator]()},n:function(){var e=i.next();return c=e.done,e},e:function(e){s=!0,r=e},f:function(){try{c||null==i.return||i.return()}finally{if(s)throw r}}}}function t(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||n(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n-1)}}var G=function(e){return{"drag-start":e}};function z(e,t){if(1&e){var n=g.Zb();g.Yb(0,"div"),g.Tb(1,"nb-icon",39),g.Yb(2,"span",40),g.fc("dragstart",(function(e){g.xc(n);var t=g.jc().$implicit;return g.jc().handleDragStart(e,t)})),g.Yb(3,"span",41),g.Ic(4),g.Xb(),g.Xb(),g.Xb()}if(2&e){var i=g.jc().$implicit,a=g.jc();g.Ib("treeNodeContainerSingle ",i.item,""),g.Kb("active-channel",a.selectedChannel===i.item),g.Fb(3),g.pc("ngClass",g.sc(7,G,a.dragNode===i)),g.Fb(1),g.Kc(" ",a.getAliasFromDirectChannel2(i.item)," ")}}function H(e,t){if(1&e){var n=g.Zb();g.Yb(0,"div"),g.Tb(1,"nb-icon",42),g.Yb(2,"span",40),g.fc("dragstart",(function(e){g.xc(n);var t=g.jc().$implicit;return g.jc().handleDragStart(e,t)})),g.Yb(3,"span",43),g.Ic(4," Unknown "),g.Xb(),g.Xb(),g.Xb()}if(2&e){var i=g.jc().$implicit,a=g.jc();g.Ib("treeNodeContainerSingle ",i.item,""),g.Kb("active-channel",a.selectedChannel===i.item),g.Fb(3),g.pc("ngClass",g.sc(6,G,a.dragNode===i))}}function $(e,t){if(1&e){var n=g.Zb();g.Yb(0,"mat-tree-node",37),g.fc("dragover",(function(e){g.xc(n);var i=t.$implicit;return g.jc().handleDragOver(e,i)}))("dragend",(function(e){return g.xc(n),g.jc().handleDragEnd(e)}))("drop",(function(e){g.xc(n);var i=t.$implicit;return g.jc().handleDrop(e,i)}))("click",(function(){g.xc(n);var e=t.$implicit;return g.jc().selectChannel(e.item)})),g.Gc(1,z,5,9,"div",38),g.Gc(2,H,5,8,"div",38),g.Xb()}if(2&e){var i=t.$implicit,a=g.jc();g.pc("ngClass",a.getStyle(i)),g.Fb(1),g.pc("ngIf",a.getAliasFromDirectChannel2(i.item).indexOf("qprivatedch")<0),g.Fb(1),g.pc("ngIf",a.getAliasFromDirectChannel2(i.item).indexOf("qprivatedch")>-1)}}function V(e,t){if(1&e){var n=g.Zb();g.Yb(0,"mat-tree-node",44),g.fc("dragover",(function(e){g.xc(n);var i=t.$implicit;return g.jc().handleDragOver(e,i)}))("dragend",(function(e){g.xc(n);var i=t.$implicit;return g.jc().handleDragEnd(e,i)}))("drop",(function(e){g.xc(n);var i=t.$implicit;return g.jc().handleDrop(e,i)})),g.Yb(1,"div",45),g.fc("contextmenu",(function(e){g.xc(n);var i=t.$implicit;return g.jc().onContextMenu(e,i.item)})),g.Yb(2,"button",46),g.Yb(3,"mat-icon",47),g.Ic(4),g.Xb(),g.Xb(),g.Tb(5,"nb-icon",48),g.Yb(6,"span",40),g.fc("dragstart",(function(e){g.xc(n);var i=t.$implicit;return g.jc().handleDragStart(e,i)})),g.Yb(7,"span",49),g.Ic(8),g.Xb(),g.Xb(),g.Xb(),g.Xb()}if(2&e){var i=t.$implicit,a=g.jc();g.pc("ngClass",a.getStyle(i)),g.Fb(2),g.Gb("aria-label","toggle "+i.item),g.Fb(2),g.Kc(" ",a.treeControl.isExpanded(i)?"expand_more":"chevron_right"," "),g.Fb(3),g.pc("ngClass",g.sc(5,G,a.dragNode===i)),g.Fb(1),g.Kc(" ",a.getFavoriteFolderNameFromId(i.item)," ")}}function Z(e,t){if(1&e){var n=g.Zb();g.Yb(0,"button",50),g.fc("click",(function(){g.xc(n);var e=t.item;return g.jc().deleteFolder(e)})),g.Ic(1,"Delete"),g.Xb(),g.Yb(2,"button",50),g.fc("click",(function(){g.xc(n);var e=t.item;return g.jc().onContextMenuAction2(e)})),g.Ic(3,"Rename"),g.Xb(),g.Yb(4,"button",50),g.fc("click",(function(){g.xc(n);var e=t.item;return g.jc().onContextMenuAction2(e)})),g.Ic(5,"New Channel"),g.Xb()}}var W=function e(){r(this,e)},Q=function e(){r(this,e)},J={},U=function(){var e=function(){function e(){r(this,e),this.dataChange=new d.a([]),this.initialize()}return o(e,[{key:"initialize",value:function(){this.buildFileTree(J,0)}},{key:"buildFileTree",value:function(e,t){var n=this;return Object.keys(e).reduce((function(i,a){var o=e[a],r=new W;return r.item=a,null!=o&&("object"==typeof o?r.children=n.buildFileTree(o,t+1):r.item=o),i.concat(r)}),[])}},{key:"insertItem",value:function(e,t){e.children||(e.children=[]);var n={item:t};return e.children.push(n),this.dataChange.next(this.data),n}},{key:"getParentFromNodes",value:function(e){for(var t=0;t0)for(var n=0;n0){var a=this.getParent(i,t);if(null!=a)return a}}return null}},{key:"updateItem",value:function(e,t){e.item=t,this.dataChange.next(this.data)}},{key:"deleteItem",value:function(e){this.deleteNode(this.data,e),this.dataChange.next(this.data)}},{key:"copyPasteItem",value:function(e,t){var n=this,i=this.insertItem(t,e.item);return e.children&&e.children.forEach((function(e){n.copyPasteItem(e,i)})),i}},{key:"deleteNode",value:function(e,t){var n=this,i=e.indexOf(t,0);i>-1?e.splice(i,1):e.forEach((function(e){e.children&&e.children.length>0&&n.deleteNode(e.children,t)}))}},{key:"filter",value:function(e){var t;t=e&&e.length>0?{Filter:{emptyFolder:{}},Function:{emptyFolder:{}},Missing:{emptyFolder:{}}}:J;var n=this.buildFileTree(t,0);this.dataChange.next(n)}},{key:"setQOS",value:function(e){this.q=e}},{key:"data",get:function(){return this.dataChange.value}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=g.Ob({token:e,factory:e.\u0275fac}),e}(),ee=function(){var i=function(){function i(e,t,n,a,o,c,b,g){var f=this;r(this,i),this.router=e,this.ngZone=t,this.cd=n,this.database=a,this.ui=o,this.dialog=c,this.nbMenuService=b,this.q=g,this.contextMenuPosition={x:"0px",y:"0px"},this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.selectedParent=null,this.newItemName="",this.checklistSelection=new u.c(!0),this.dragNodeExpandOverWaitTimeMs=300,this.getLevel=function(e){return e.level},this.isExpandable=function(e){return e.expandable},this.getChildren=function(e){return e.children},this.hasChild=function(e,t){return t.expandable},this.hasNoContent=function(e,t){return""===t.item},this.transformer=function(e,t){var n=f.nestedNodeMap.get(e),i=n&&n.item===e.item?n:new Q;return i.item=e.item,i.level=t,i.expandable=e.children&&e.children.length>0,f.flatNodeMap.set(i,e),f.nestedNodeMap.set(e,i),i},this.dragNodeExpandOverAreaReal=0,this.channelNameList=[],this.incomingFavoriteRequestList=[],this.restoreFlag=0,this.sENwriteBlock=0,this.channelIsSelected="active-channel",this.DEVMODE=l.dev,this.customColumn="name",this.items=[{title:"New Favorite Folder"},{title:"Add Favorite"}],this.currentDevice=null,this.formatsEnabled=[s.BarcodeFormat.QR_CODE],this.torchEnabled=!1,this.torchAvailable$=new d.a(!1),this.tryHarder=!1,this.favoriteFolderListArray=[],this.popupRef=[],this.flatChannelNameList={},this.flatChannelNameList2={},this.flatChannelNeeded=[],this.flatChannelNeeded2=[],this.itemClickSub=this.nbMenuService.onItemClick().subscribe((function(e){"New Favorite Folder"==String(e.item.title)&&(f.getFavoriteFolderList(),f.open(f.newFavoriteFolderPop))})),this.database.setQOS(this.q),this.treeFlattener=new p.c(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new h.j(this.getLevel,this.isExpandable),this.dataSource=new p.b(this.treeControl,this.treeFlattener)}return o(i,[{key:"onContextMenu",value:function(e,t){e.preventDefault(),this.contextMenuPosition.x=e.clientX+"px",this.contextMenuPosition.y=e.clientY-40+"px",this.contextMenu.menuData={item:t},this.contextMenu.openMenu()}},{key:"onContextMenuAction1",value:function(e){}},{key:"onContextMenuAction2",value:function(e){}},{key:"descendantsAllSelected",value:function(e){var t=this;return this.treeControl.getDescendants(e).every((function(e){return t.checklistSelection.isSelected(e)}))}},{key:"descendantsPartiallySelected",value:function(e){var t=this;return this.treeControl.getDescendants(e).some((function(e){return t.checklistSelection.isSelected(e)}))&&!this.descendantsAllSelected(e)}},{key:"todoItemSelectionToggle",value:function(e){var n,i;this.checklistSelection.toggle(e);var a=this.treeControl.getDescendants(e);this.checklistSelection.isSelected(e)?(n=this.checklistSelection).select.apply(n,t(a)):(i=this.checklistSelection).deselect.apply(i,t(a))}},{key:"saveNode",value:function(e,t){var n=this.flatNodeMap.get(e);this.database.updateItem(n,t)}},{key:"handleDragStart",value:function(e,t){this.dragNode=t,this.treeControl.collapse(t)}},{key:"handleDragOver",value:function(e,t){if(e.preventDefault(),-1===t.item.indexOf("-----")){this.dragNodeExpandOverNode&&t===this.dragNodeExpandOverNode?Date.now()-this.dragNodeExpandOverTime>this.dragNodeExpandOverWaitTimeMs&&(this.treeControl.isExpanded(t)||this.treeControl.expand(t)):(this.dragNodeExpandOverNode=t,this.dragNodeExpandOverTime=(new Date).getTime());var n=e.offsetY/e.target.clientHeight;0<=n&&n<=.25?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=1):1>=n&&n>=.75?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=-1):(this.dragNodeExpandOverAreaReal=0,this.dragNodeExpandOverArea=0)}}},{key:"handleDrop",value:function(e,t){var n;t!==this.dragNode&&t.item.indexOf("-----")<0&&(1===this.dragNodeExpandOverAreaReal||-1===this.dragNodeExpandOverAreaReal||(n=this.flatNodeMap.get(this.dragNode),this.database.deleteItem(n),n=this.database.copyPasteItem(n,this.flatNodeMap.get(t)),this.saveExpandedNodes(),this.buildFavoriteFolderListFromTreeNodeData()));this.handleDragEnd(e)}},{key:"handleDragEnd",value:function(e){this.dragNode=null,this.dragNodeExpandOverNode=null,this.dragNodeExpandOverTime=0,this.dragNodeExpandOverArea=NaN,e.preventDefault()}},{key:"getStyle",value:function(e){if("emptyFolder"==e.item)return"display-none";if(this.dragNode===e)return"drag-start";if(this.dragNodeExpandOverNode===e)switch(this.dragNodeExpandOverArea){case 1:return"drop-above";case-1:return"drop-below";default:return"drop-center"}}},{key:"closeQR",value:function(){var e=this;setTimeout((function(){e.closePopup()}),500)}},{key:"scanQR",value:function(){this.open(this.qrPop)}},{key:"deleteItem",value:function(e){this.database.deleteItem(this.flatNodeMap.get(e))}},{key:"filterChanged",value:function(e){this.database.filter(e),e?this.treeControl.expandAll():this.treeControl.collapseAll()}},{key:"getFavoriteFolderNameFromId",value:function(e){return"emptyFolder"==e?e:this.q.os.bee.config.getFavoriteFolderNameFromId(e)}},{key:"isFolder",value:function(e){return!(e.indexOf("-----")>-1)}},{key:"buildFavoritelFolderListFromTreeNodeData",value:function(){console.log("!!!!!"),console.log(this.database.data);var e=this.database.data;e=e.filter((function(e){return"emptyFolder"!=e.item}));for(var t=[],n=0;n-1&&(i="channel"),console.log(i);var a=[];void 0!==e[n].children&&e[n].children.length>0&&(a=this.getFavoriteFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(e[n].item),kind:i,items:0},children:a})}return this.q.os.bee.config.setFavoriteFolderList(t),!0}},{key:"ngOnDestroy",value:function(){console.log("ChannelList: ngOnDestroy..."),clearInterval(this.updateNamesInterval),this.itemClickSub.unsubscribe(),this.dataChangeSub.unsubscribe(),this.favoriteFolderListSub.unsubscribe(),this.selectedChannelSub.unsubscribe()}},{key:"ngOnInit",value:function(){return Object(c.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.q.os.isSignedIn()){e.next=6;break}return console.log("ChannelList: Waiting for OS Sign In..."),e.next=4,this.ui.delay(1e3);case 4:e.next=0;break;case 6:this.updateNamesInterval=setInterval((function(){t.saveExpandedNodes(),t.loadChannels(t.favoriteFolderList),setTimeout((function(){t.saveExpandedNodes(),t.loadChannels(t.favoriteFolderList)}),2e3)}),2e4),this.channelNameList=this.q.os.ocean.dolphin.getChannelNameList(),this.favoriteFolderList=this.q.os.bee.config.getFavoriteFolderList(),this.dataChangeSub=this.database.dataChange.subscribe((function(e){t.dataSource.data=[],t.dataSource.data=e})),this.favoriteFolderListSub=this.q.os.bee.config.favoriteFolderListSub.subscribe((function(e){t.loadChannels(e)})),this.selectedChannelSub=this.q.os.channel.onSelect().subscribe((function(e){t.selectedChannel=e})),this.loadChannels(this.favoriteFolderList),setTimeout((function(){t.saveExpandedNodes(),t.loadChannels(t.favoriteFolderList)}),2e3),this.selectedChannel=this.q.os.channel.getSelected(),this.cd.detectChanges();case 7:case"end":return e.stop()}}),e,this)})))}},{key:"loadChannels",value:function(e){var t=this;this.incomingFavoriteRequestList=this.q.os.ocean.dolphin.getIncomingFavoriteRequests().filter((function(e){return!t.q.os.utilities.inArray(t.q.os.ocean.dolphin.getChannelNameList(),e.channel)})),J=this.q.os.bee.config.getFavoriteFolderIDList(),this.database.filter(""),e.length>0&&this.q.os.bee.config.getExpandedFavoriteFolderItems().length>0&&(console.log("got a saved state!"),this.expandedNodes=this.q.os.bee.config.getExpandedFavoriteFolderItems(),this.restoreExpandedNodes()),this.updateNames()}},{key:"saveExpandedNodes",value:function(){this.sENwriteBlock=1,this.expandedNodes=[];for(var e=0;e-1&&(i="channel"),console.log(i);var a=[];void 0!==e[n].children&&e[n].children.length>0&&(a=this.getFavoriteFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(e[n].item),kind:i,items:0},children:a})}return this.q.os.bee.config.setFavoriteFolderList(t),!0}},{key:"selectChannel",value:function(e){console.log("ChannelList: Trying to select: >>"+e.trim()),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),e.trim())&&(console.log("ChannelList: Selecting: ",e.trim()),this.q.os.channel.select(e.trim()),this.q.os.ui.getSideBarFixed().left&&this.q.os.ui.hideSideBar("left"),this.cd.detectChanges())}},{key:"getSelected",value:function(){return JSON.stringify(this.selectedChannel)}},{key:"getFavoriteFolderListTreeChildrenRec",value:function(e){for(var t=[],n=0;n-1&&(i="channel");var a=[];void 0!==e[n].children&&e[n].children.length>0&&(a=this.getFavoriteFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(e[n].item),kind:i,items:0},children:a})}return t}},{key:"restoreExpandedNodes",value:function(){var e=this;this.sENwriteBlock=1;for(var t=function(t){var n=e.expandedNodes[t];console.log(n),console.log(e.treeControl.dataNodes),e.treeControl.expand(e.treeControl.dataNodes.find((function(e){return e.item===n.item})))},n=0;n0&&(this.newFavoriteFolder=this.favoriteFolderListArray[0]),this.favoriteFolderList}},{key:"parseStructure",value:function(e){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:"NoInviteSelected";return Object(c.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var i,a,o,r,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.saveExpandedNodes(),this.ui.showSnack("Importing Channel...","Please Wait"),"NoInviteSelected"==e&&(e=this.inviteCodeHex),o=n.from(e,"hex").toString("utf8"),(r=o.split("/////")).length>0?(i=r[r.length-1].split(":")[0],a=r[r.length-1].split(":")[1],r.pop()):(i=o.split(":")[0],a=o.split(":")[1]),"object"!=typeof(c=this.newFavoriteFolder)&&void 0!==c&&null!=typeof c||(c=""),!this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),i)){t.next=9;break}this.ui.showSnack("Channel Exists!","Oops",{duration:1e3}),t.next=15;break;case 9:return this.q.os.ocean.dolphin.removeIncomingFavoriteRequest(i.split("-----")[0].split("-")[1]),this.q.os.social.profile.addFavorite(i.split("-----")[0].split("-")[1]),console.log("ChannelFavorites: Adding Favorite: ",i.split("-----")[0].split("-")[1]),t.next=14,this.q.os.channel.import(i,r,"",a,0);case 14:this.createCompleteAndClose();case 15:case"end":return t.stop()}}),t,this)})))}},{key:"rejectRequest",value:function(e){this.q.os.ocean.dolphin.removeIncomingFavoriteRequest(e),this.saveExpandedNodes(),this.loadChannels(this.favoriteFolderList),this.q.os.commitNow()}},{key:"newInviteImportFoldersChanged",value:function(){}},{key:"goToProfile",value:function(e){var t=this;this.ngZone.run((function(){return t.router.navigate(["/social/profile/"+e])}))}},{key:"updateNames",value:function(){return Object(c.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,i,a,o,r,c,s,l,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=[],i=e(this.flatChannelNeeded),t.prev=2,i.s();case 4:if((a=i.n()).done){t.next=13;break}if(o=a.value,!(n.indexOf(o)<0)){t.next=11;break}return t.next=9,this.q.os.social.getAliasFromDirectChannel(o);case 9:r=t.sent,console.log(r),n.push(o),this.flatChannelNameList[o]=r;case 11:t.next=4;break;case 13:t.next=18;break;case 15:t.prev=15,t.t0=t.catch(2),i.e(t.t0);case 18:return t.prev=18,i.f(),t.finish(18);case 21:c=e(this.flatChannelNeeded2),t.prev=22,c.s();case 24:if((s=c.n()).done){t.next=33;break}if(l=s.value,!(n.indexOf(l)<0)){t.next=31;break}return t.next=29,this.q.os.social.getAliasFromDirectChannel2(l);case 29:d=t.sent,console.log(d),n.push(l),this.flatChannelNameList2[l]=d;case 31:t.next=24;break;case 33:t.next=38;break;case 35:t.prev=35,t.t1=t.catch(22),c.e(t.t1);case 38:return t.prev=38,c.f(),t.finish(38);case 41:this.cd.detectChanges();case 42:case"end":return t.stop()}}),t,this,[[2,15,18,21],[22,35,38,41]])})))}},{key:"getAliasFromDirectChannel",value:function(e){return this.flatChannelNeeded.push(e),void 0!==this.flatChannelNameList[e]?this.flatChannelNameList[e]:e}},{key:"getAliasFromDirectChannel2",value:function(e){return this.flatChannelNeeded2.push(e),void 0!==this.flatChannelNameList2[e]?this.flatChannelNameList2[e]:e}}]),i}();return i.\u0275fac=function(e){return new(e||i)(g.Sb(f.c),g.Sb(g.C),g.Sb(g.h),g.Sb(U),g.Sb(v.a),g.Sb(m.l),g.Sb(m.y),g.Sb(C.a))},i.\u0275cmp=g.Mb({type:i,selectors:[["messages-channel-favorites"]],viewQuery:function(e,t){var n;1&e&&(g.Mc(b.d,!0),g.Mc(M,!0),g.Mc(X,!0),g.Mc(j,!0),g.Mc(Y,!0)),2&e&&(g.uc(n=g.gc())&&(t.contextMenu=n.first),g.uc(n=g.gc())&&(t.emptyItem=n.first),g.uc(n=g.gc())&&(t.qrPop=n.first),g.uc(n=g.gc())&&(t.createPop=n.first),g.uc(n=g.gc())&&(t.newFavoriteFolderPop=n.first))},features:[g.Eb([U])],decls:22,vars:10,consts:[["createPop",""],["qrPop",""],["import",""],["newFavoriteFolder",""],[2,"width","169px","margin-top","20px","color","#598adb"],["matInput","","placeholder","Search",3,"input"],["outline","","size","small",1,"addChannelButton",3,"nbContextMenu"],["icon","plus-outline",2,"font-size","18px","width","auto"],["class","favoriteRequest",4,"ngFor","ngForOf"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop","click",4,"matTreeNodeDef"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop",4,"matTreeNodeDef","matTreeNodeDefWhen"],[2,"visibility","hidden","position","fixed",3,"matMenuTriggerFor"],["contextMenu","matMenu"],["matMenuContent",""],["emptyItem",""],[2,"color","goldenrod"],[2,"padding","20px"],[2,"width","80%","margin-left","10px",3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[2,"padding","20px","padding-bottom","34px","padding-top","0px","color","white !important"],["matInput","","placeholder","Channel Name","value","","name","newChannelName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",2,"margin-right","20px","border","1px solid #ffffff24",3,"click"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[3,"value"],[1,"qrScanWrapper"],[3,"torch","device","formats","tryHarder","deviceChange","scanSuccess","permissionResponse","camerasFound","torchCompatible"],[2,"width","19%"],[3,"value","valueChange","selectionChange"],["matInput","","placeholder","Invite Code","value","","name","inviteCodeHex",2,"color","black","background-color","goldenrod","padding","7px","margin-right","5%","width","80%",3,"ngModel","ngModelChange"],["icon","camera-outline",1,"deleteCode","scanQRCode",3,"click"],["matInput","","placeholder","Folder Name","value","","name","newFavoriteFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],[1,"favoriteRequest"],["class","favoriteRequestText",3,"click",4,"ngIf"],["icon","close-square-outline",2,"color","#ff0000bd","float","right","cursor","pointer",3,"click"],["icon","checkmark-square-2-outline",2,"color","#16eb16","float","right","cursor","pointer",3,"click"],[1,"favoriteRequestText",3,"click"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop","click"],[3,"class","active-channel",4,"ngIf"],["icon","activity"],["draggable","true",1,"checklist-leaf-node",3,"dragstart"],[1,"nodeContent",2,"width","100%",3,"ngClass"],["icon","question-mark-outline"],[1,"nodeContent","unknown",2,"width","100%",3,"ngClass"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop"],[1,"treeNodeContainerFolder",3,"contextmenu"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["icon","folder-outline"],[1,"nodeContent",3,"ngClass"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(g.Gc(0,T,15,3,"ng-template",null,0,g.Hc),g.Gc(2,E,9,4,"ng-template",null,1,g.Hc),g.Gc(4,D,24,6,"ng-template",null,2,g.Hc),g.Gc(6,L,15,3,"ng-template",null,3,g.Hc),g.Yb(8,"mat-form-field",4),g.Yb(9,"input",5),g.fc("input",(function(e){return t.filterChanged(e.target.value)})),g.Xb(),g.Xb(),g.Yb(10,"button",6),g.Tb(11,"nb-icon",7),g.Xb(),g.Gc(12,K,5,2,"div",8),g.Yb(13,"mat-tree",9),g.Gc(14,$,3,3,"mat-tree-node",10),g.Gc(15,V,9,7,"mat-tree-node",11),g.Xb(),g.Tb(16,"div",12),g.Yb(17,"mat-menu",null,13),g.Gc(19,Z,6,0,"ng-template",14),g.Xb(),g.Tb(20,"span",null,15)),2&e){var n=g.vc(18);g.Fb(10),g.pc("nbContextMenu",t.items),g.Fb(2),g.pc("ngForOf",t.incomingFavoriteRequestList),g.Fb(1),g.pc("dataSource",t.dataSource)("treeControl",t.treeControl),g.Fb(2),g.pc("matTreeNodeDefWhen",t.hasChild),g.Fb(1),g.Dc("left",t.contextMenuPosition.x)("top",t.contextMenuPosition.y),g.pc("matMenuTriggerFor",n)}},directives:[x.b,y.a,m.i,m.o,k.l,p.a,p.f,b.d,b.e,b.a,m.d,m.f,m.c,F.a,w.b,w.j,w.m,m.e,S.a,I.g,O.a,k.m,p.e,p.h,p.g,k.k,N.a,P.a,b.b],styles:["button[nbTreeGridRowToggle][_ngcontent-%COMP%]{background:transparent;border:none;padding:0}.search-label[_ngcontent-%COMP%]{display:block}.search-input[_ngcontent-%COMP%]{background:transparent;color:#fff;padding:5px;font-size:12px;width:100%;margin-top:1rem;margin-bottom:1rem;width:78%;margin-left:1%}.addChannelButton[_ngcontent-%COMP%]{color:rgba(134,116,183,.7490196078431373);margin-left:5%;position:relative;top:1px;background-color:#45267d;border:1px solid;border-radius:5px;padding:4px;opacity:.7}.nb-column-name[_ngcontent-%COMP%]{width:80%}.nb-column-items[_ngcontent-%COMP%]{width:20%}.favoriteRequest[_ngcontent-%COMP%]{width:100%;overflow:hidden;white-space:nowrap;padding:10px;border-radius:5px;background:rgba(120,14,62,.6392156862745098);font-family:Ubuntu;font-size:14px;margin-bottom:5px}.favoriteRequestText[_ngcontent-%COMP%]{width:80%;cursor:pointer;overflow:hidden;width:66%;float:left;text-overflow:ellipsis;color:hsla(0,0%,100%,.7490196078431373)}.scanQRCode[_ngcontent-%COMP%]{font-size:37px;color:#315cdf;cursor:pointer}.scanQRCode[_ngcontent-%COMP%]:hover{color:#4a81e6}[_nghost-%COMP%] nb-layout-header[_ngcontent-%COMP%] nav{justify-content:flex-end}.mat-tree[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{background:transparent}.mat-tree-node[_ngcontent-%COMP%]{overflow:visible;cursor:move}.drop-above[_ngcontent-%COMP%]{border-top:10px solid #2196f3;margin-top:-10px}.drop-below[_ngcontent-%COMP%]{border-bottom:10px solid #2196f3;margin-bottom:-10px}.drop-center[_ngcontent-%COMP%]{background-color:#a9a9a9}.drag-start[_ngcontent-%COMP%]{background-color:#1565c0;color:#f0fff0}.treeNodeContainerFolder[_ngcontent-%COMP%]{background-color:rgba(131,119,230,.058823529411764705);padding:0 16px 0 0}.treeNodeContainerFolder[_ngcontent-%COMP%], .treeNodeContainerSingle[_ngcontent-%COMP%]{border-radius:5px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.treeNodeContainerSingle[_ngcontent-%COMP%]{background-color:rgba(69,39,128,.3686274509803922);padding:6px 10px 6px 15px}.mat-tree[_ngcontent-%COMP%]{width:227px;left:14px;top:190px;bottom:40px;position:fixed;overflow:scroll}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:none!important}.emptyFolder[_ngcontent-%COMP%]{display:none}.mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{line-height:20px}.qrScanWrapper[_ngcontent-%COMP%]{min-width:20px;max-height:80vh;max-width:37vw}.mat-tree[_ngcontent-%COMP%]{z-index:999;max-width:227px;left:-1px;padding-right:10px;position:relative;top:0;margin-bottom:40px}.nodeContent.station[_ngcontent-%COMP%], .nodeContent.unknown[_ngcontent-%COMP%]{position:relative;top:-1px}"]}),i}()}).call(this,a("tjlA").Buffer)},"8A8W":function(t,n,i){"use strict";i.r(n),i.d(n,"QDMessagesModule",(function(){return Ye}));var a,c=i("tyNb"),s=i("fXoL"),l=i("n2fA"),d=i("Witw"),u=i("aceb"),h=i("gvxT"),p=i("ofXK"),b=i("bTqV"),g=i("rk8u"),f=i("/on3"),v=((a=function(){function e(){r(this,e)}return o(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||a)},a.\u0275cmp=s.Mb({type:a,selectors:[["messages-channel-sidebar-left"]],decls:5,vars:0,consts:[["fullWidth",""],["tabIcon","activity-outline",1,"channelList"],["tabIcon","star-outline",1,"channelList","favoriteTab"]],template:function(e,t){1&e&&(s.Yb(0,"nb-tabset",0),s.Yb(1,"nb-tab",1),s.Tb(2,"messages-channel-list"),s.Xb(),s.Yb(3,"nb-tab",2),s.Tb(4,"messages-channel-favorites"),s.Xb(),s.Xb())},directives:[u.H,u.G,g.a,f.a],styles:[".favoriteTab[_ngcontent-%COMP%]{overflow:hidden!important;overflow-y:auto!important}"]}),a),m=i("Cjz3"),C=i("5+WD"),x=i("SS7q"),y=i("qFsG"),k=i("3Pt+"),F=["folder"],w=["folderEdit"],S=["participantEdit"];function I(e,t){if(1&e){var n=s.Zb();s.Yb(0,"nb-card"),s.Yb(1,"nb-card-header"),s.Ic(2,"Create Participant Folder"),s.Xb(),s.Yb(3,"nb-card-body",6),s.Yb(4,"div",7),s.Yb(5,"input",8),s.fc("ngModelChange",(function(e){return s.xc(n),s.jc().newFolderName=e})),s.Xb(),s.Xb(),s.Xb(),s.Yb(6,"nb-card-footer"),s.Yb(7,"button",9),s.fc("click",(function(){s.xc(n);var e=s.jc();return e.createFolder(e.newFolderName)})),s.Ic(8,"Create"),s.Xb(),s.Yb(9,"button",10),s.fc("click",(function(){return s.xc(n),s.jc().closePopup()})),s.Ic(10,"Cancel"),s.Xb(),s.Xb(),s.Xb()}if(2&e){var i=s.jc();s.Fb(5),s.pc("ngModel",i.newFolderName)}}function O(e,t){if(1&e){var n=s.Zb();s.Yb(0,"nb-card"),s.Yb(1,"nb-card-header"),s.Ic(2,"Edit Folder"),s.Xb(),s.Yb(3,"nb-card-body",6),s.Yb(4,"div",7),s.Yb(5,"input",11),s.fc("ngModelChange",(function(e){return s.xc(n),s.jc().editedFolderName=e})),s.Xb(),s.Xb(),s.Xb(),s.Yb(6,"nb-card-footer"),s.Yb(7,"button",9),s.fc("click",(function(){s.xc(n);var e=s.jc();return e.editFolder(e.editedFolderId,e.editedFolderName)})),s.Ic(8,"Create"),s.Xb(),s.Yb(9,"button",10),s.fc("click",(function(){return s.xc(n),s.jc().closePopup()})),s.Ic(10,"Cancel"),s.Xb(),s.Xb(),s.Xb()}if(2&e){var i=s.jc();s.Fb(5),s.pc("ngModel",i.editedFolderName)}}function N(e,t){if(1&e){var n=s.Zb();s.Yb(0,"nb-card"),s.Yb(1,"nb-card-header"),s.Ic(2,"Edit Participant"),s.Xb(),s.Yb(3,"nb-card-body",6),s.Yb(4,"div",7),s.Yb(5,"input",12),s.fc("ngModelChange",(function(e){return s.xc(n),s.jc().editedParticipantName=e})),s.Xb(),s.Xb(),s.Xb(),s.Yb(6,"nb-card-footer"),s.Yb(7,"button",9),s.fc("click",(function(){s.xc(n);var e=s.jc();return e.editParticipant(e.editedParticipantId,e.editedParticipantName)})),s.Ic(8,"Create"),s.Xb(),s.Yb(9,"button",10),s.fc("click",(function(){return s.xc(n),s.jc().closePopup()})),s.Ic(10,"Cancel"),s.Xb(),s.Xb(),s.Xb()}if(2&e){var i=s.jc();s.Fb(5),s.pc("ngModel",i.editedParticipantName)}}function P(e,t){if(1&e){var n=s.Zb();s.Yb(0,"nb-icon",21),s.fc("click",(function(){s.xc(n);var e=s.jc(2);return e.openPopup(e.folderPop)})),s.Xb()}}function M(e,t){if(1&e){var n=s.Zb();s.Yb(0,"nb-icon",22),s.fc("click",(function(){s.xc(n);var e=s.jc().$implicit;return s.jc().removeFolder(e.id)})),s.Xb()}}function X(e,t){if(1&e){var n=s.Zb();s.Yb(0,"div",23),s.fc("click",(function(e){return s.xc(n),s.jc(2).clickParticipant(e)})),s.Yb(1,"span",24),s.fc("click",(function(){s.xc(n);var e=t.$implicit;return s.jc(2).openSocialProfile(e.name,e.pubKey)})),s.Ic(2),s.Xb(),s.Yb(3,"nb-icon",25),s.fc("click",(function(){s.xc(n);var e=t.$implicit,i=s.jc().$implicit,a=s.jc();return a.openPopup(a.participantEditPop,i.id,e.pubKey)})),s.Xb(),s.Xb()}if(2&e){var i=t.$implicit,a=s.jc(2);s.Ib("item-box participantEntry ",a.isOnline(i.pubKey),""),s.Fb(2),s.Jc(i.name)}}function j(e,t){if(1&e){var n=s.Zb();s.Yb(0,"div",13),s.Yb(1,"div",14),s.Yb(2,"div",15),s.Ic(3),s.Gc(4,P,1,0,"nb-icon",16),s.Gc(5,M,1,0,"nb-icon",17),s.Yb(6,"nb-icon",18),s.fc("click",(function(){s.xc(n);var e=t.$implicit,i=s.jc();return i.openPopup(i.folderEditPop,e.id)})),s.Xb(),s.Xb(),s.Yb(7,"div",19),s.fc("cdkDropListDropped",(function(e){return s.xc(n),s.jc().drop(e)})),s.Gc(8,X,4,4,"div",20),s.Xb(),s.Xb(),s.Xb()}if(2&e){var i=t.$implicit,a=s.jc();s.Fb(3),s.Kc("",i.name," "),s.Fb(1),s.pc("ngIf",i.participants.length>0||"others"==i.id),s.Fb(1),s.pc("ngIf",0==i.participants.length&&"others"!=i.id),s.Fb(2),s.qc("id",i.id),s.pc("cdkDropListData",i.participants)("cdkDropListConnectedTo",a.connectedTo),s.Fb(1),s.pc("ngForOf",i.participants)}}function Y(e,t){1&e&&(s.Yb(0,"div",26),s.Ic(1," Waiting... "),s.Xb())}var q,T=((q=function(){function t(e,n,i,a,o,c){r(this,t),this.ngZone=e,this.router=n,this.cd=i,this.q=a,this.ui=o,this.dialog=c,this.channel="NoChannelSelected",this.folders=[],this.connectedTo=[],this.channelParticipantListArray=[],this.popupRef=[],this.dev=!1,this.noChannelSelected="NoChannelSelected",this.dev=!1}return o(t,[{key:"clickParticipant",value:function(e){this.dev&&console.log(e)}},{key:"isOnline",value:function(e){return this.q.os.channel.isPeerOnline(e)}},{key:"sortFoldersByName",value:function(e){e.sort((function(e,t){return e.name.localeCompare(t.name)}));var t=e.filter((function(e){return"others"==e.id}));return e=e.filter((function(e){return"others"!=e.id})),void 0!==t[0]&&e.push(t[0]),e}},{key:"drop",value:function(e){e.previousContainer===e.container?Object(C.d)(e.container.data,e.previousIndex,e.currentIndex):Object(C.e)(e.previousContainer.data,e.container.data,e.previousIndex,e.currentIndex),this.q.os.channel.setParticipantFolders(this.channel,this.folders)}},{key:"ngOnDestroy",value:function(){clearInterval(this.uiCheck),this.selectedChannelSub.unsubscribe()}},{key:"getFolderNameForId",value:function(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";""!=t&&(this.editedFolderId=t,this.editedFolderName=this.getFolderNameForId(t)),""!=n&&(this.editedParticipantId=n,this.editedParticipantName=this.getParticipantNameForId(n)),this.popupRef.push(this.dialog.open(e,{context:"this is some additional data passed to dialog"}))}},{key:"closePopup",value:function(){console.log("close toggled"),this.popupRef[this.popupRef.length-1].close(),this.popupRef.pop()}},{key:"initRefresh",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return Object(l.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.q.os.utilities.delay(2e3);case 2:return this.cd.detectChanges(),t.next=5,this.q.os.utilities.delay(2e3);case 5:return this.cd.detectChanges(),t.next=8,this.q.os.utilities.delay(2e3);case 8:if(this.cd.detectChanges(),t.t0=e,!t.t0){t.next=14;break}return t.next=13,this.q.os.utilities.delay(2e3);case 13:this.initRefresh(!1);case 14:case"end":return t.stop()}}),t,this)})))}},{key:"initProcess",value:function(){return Object(l.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,i,a,o,r,c,s,l,d,u,h,p,b,g,f,v,m,C,x,y,k,F,w,S,I,O,N,P=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.channel=this.q.os.channel.getSelected(),n=this.channel,i=!1,"NoChannelSelected"==n){t.next=117;break}if(t.prev=3,void 0!==(a=this.q.os.ocean.dolphin.getChannelParticipantList(n)).cList){t.next=7;break}throw this.q.os.channel.sayHi(n),i=!0,"no list";case 7:if(o=a.cList.split(","),r=o,this.connectedTo=[],this.folders=[],!(o.length>0)){t.next=12;break}return t.delegateYield(regeneratorRuntime.mark((function e(){var t,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=P.q.os.channel.getParticipantFolders(n),P.folders=[],!(t.length>0)){e.next=10;break}i=regeneratorRuntime.mark((function e(i){var a,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:a=regeneratorRuntime.mark((function e(a){var r,c,s,l,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t[i].participants[a].nick||""==t[i].participants[a].nick){e.next=4;break}t[i].participants[a].name=t[i].participants[a].nick,e.next=32;break;case 4:return e.prev=4,console.log("ChannelParticipantList: Getting Profile For Foldered Participant..."),e.next=8,P.q.os.social.profile.getByChannelPubKey(t[i].participants[a].pubKey);case 8:r=e.sent,e.next=14;break;case 11:e.prev=11,e.t0=e.catch(4),console.log(e.t0);case 14:if(void 0===r||void 0===r.alias){e.next=32;break}if(c=!1,s=!1,!(n.indexOf("qprivatedch")>-1&&P.q.os.social.profile.isRequestedFavorite(r.key.pubKey))){e.next=20;break}P.q.os.social.profile.addFavorite(r.key.pubKey),c=!0,P.q.os.social.profile.removeFavoriteRequest(r.key.pubKey),e.next=31;break;case 20:if(!P.q.os.social.profile.isRequestedFavorite(r.key.pubKey)){e.next=31;break}return l=P.q.os.social.profile.getRequestedFavoriteChannel(r.key.pubKey),e.t1=P.q.os.channel.invite.create(l,1),e.next=25,P.q.os.social.profile.getMyProfileId();case 25:e.t2=e.sent,e.t3=l,e.t4={invite:e.t1,pubKey:e.t2,channel:e.t3},e.t5=t[i].participants[a].pubKey,d={message:e.t4,toChannelPubKey:e.t5},P.isOnline(d.toChannelPubKey)&&P.q.os.channel.publish(P.channel,d,"REQUEST_FAVORITE"),s=!0;case 31:t[i].participants[a].name=r.alias,t[i].participants[a].isFavorite=c,t[i].participants[a].isRequestedFavorite=s;case 32:o=o.filter((function(e){return e!=t[i].participants[a].pubKey}));case 33:case"end":return e.stop()}}),e,null,[[4,11]])})),r=0;case 2:if(!(r-1&&this.q.os.social.profile.isRequestedFavorite(l.key.pubKey))){t.next=35;break}this.q.os.social.profile.addFavorite(l.key.pubKey),d=!0,this.q.os.social.profile.removeFavoriteRequest(l.key.pubKey),t.next=44;break;case 35:if(!this.q.os.social.profile.isRequestedFavorite(l.key.pubKey)){t.next=44;break}return h=this.q.os.social.profile.getRequestedFavoriteChannel(l.key.pubKey),t.t2=this.q.os.channel.invite.create(h,1),t.next=40,this.q.os.social.profile.getMyProfileId();case 40:t.t3=t.sent,t.t4=h,p={invite:t.t2,pubKey:t.t3,channel:t.t4},this.isOnline(o[s])&&this.q.os.channel.publish(this.channel,{message:p,toChannelPubKey:o[s]},"REQUEST_FAVORITE"),u=!0;case 44:c.push({pubKey:o[s],name:l.alias,isFavorite:d,isRequestedFavorite:u}),t.next=48;break;case 47:c.push({pubKey:o[s],name:"Anonymous"});case 48:s++,t.next=16;break;case 51:for(b=!1,g=0;g>"+t.channel+"<<"),console.log("App: noChannelSelected: >>"+t.noChannelSelected+"<<")})),this.uiCheck=setInterval((function(){t.initProcess()}),2e4),e.next=9,this.initProcess();case 9:case"end":return e.stop()}}),e,this)})))}}]),t}()).\u0275fac=function(e){return new(e||q)(s.Sb(s.C),s.Sb(c.c),s.Sb(s.h),s.Sb(h.a),s.Sb(d.a),s.Sb(u.l))},q.\u0275cmp=s.Mb({type:q,selectors:[["messages-channel-participant-list"]],viewQuery:function(e,t){var n;1&e&&(s.Mc(F,!0),s.Mc(w,!0),s.Mc(S,!0)),2&e&&(s.uc(n=s.gc())&&(t.folderPop=n.first),s.uc(n=s.gc())&&(t.folderEditPop=n.first),s.uc(n=s.gc())&&(t.participantEditPop=n.first))},decls:10,vars:2,consts:[["folder",""],["folderEdit",""],["participantEdit",""],["class","col-md-3",4,"ngFor","ngForOf"],["class","syncingItem",4,"ngIf"],[1,"spacer"],[2,"color","goldenrod"],[2,"padding","20px","color","white !important"],["matInput","","placeholder","Folder Name","value","","name","newFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",2,"margin-right","20px","border","1px solid #ffffff24",3,"click"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],["matInput","","placeholder","Folder Name","value","","name","editedFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],["matInput","","placeholder","Participant Name","value","","name","editedParticipantName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],[1,"col-md-3"],[1,"drag-container"],[1,"section-heading"],["icon","plus-outline","class","folderIcon",3,"click",4,"ngIf"],["icon","close-outline","class","folderIcon",3,"click",4,"ngIf"],["icon","edit-2-outline",1,"folderIcon","editIcon",3,"click"],["cdkDropList","",1,"item-list",3,"id","cdkDropListData","cdkDropListConnectedTo","cdkDropListDropped"],["cdkDrag","",3,"class","click",4,"ngFor","ngForOf"],["icon","plus-outline",1,"folderIcon",3,"click"],["icon","close-outline",1,"folderIcon",3,"click"],["cdkDrag","",3,"click"],[1,"participantName",3,"click"],["icon","options-2-outline",1,"participantIcon","participantSettingsIcon",3,"click"],[1,"syncingItem"]],template:function(e,t){1&e&&(s.Gc(0,I,11,1,"ng-template",null,0,s.Hc),s.Gc(2,O,11,1,"ng-template",null,1,s.Hc),s.Gc(4,N,11,1,"ng-template",null,2,s.Hc),s.Gc(6,j,9,7,"div",3),s.Gc(7,Y,2,0,"div",4),s.Yb(8,"div",5),s.Ic(9,"\xa0"),s.Xb()),2&e&&(s.Fb(6),s.pc("ngForOf",t.folders),s.Fb(1),s.pc("ngIf",0===t.folders.length))},directives:[p.l,p.m,u.d,u.f,u.c,y.a,k.b,k.j,k.m,u.e,b.a,u.o,C.b,C.a],styles:[".section-heading[_ngcontent-%COMP%]{padding:5px 10px}.drag-container[_ngcontent-%COMP%]{margin:0 25px 25px 0}.item-list[_ngcontent-%COMP%]{min-height:60px;border-radius:4px;display:block}.participant[_ngcontent-%COMP%]{background:#0084ff;background-image:linear-gradient(319deg,#fce055,#256eff 37%,#46237a);color:#fff;margin:0}.participantEntry.false[_ngcontent-%COMP%]{opacity:.3}.item-box[_ngcontent-%COMP%], .participantName[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.item-box[_ngcontent-%COMP%]{font-size:14px;background:#0084ff;background-image:linear-gradient(319deg,#fce055,#256eff 37%,#46237a);color:#fff;font-family:MONOSPACE;font-size:11px;padding:6px 10px;border:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;cursor:pointer;border-radius:8px;margin:0 0 5px;font-family:Ubuntu;font-size:12px}.cdk-drag-preview[_ngcontent-%COMP%]{box-sizing:border-box;border-radius:4px;box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);border-radius:8px}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%], .item-list.cdk-drop-list-dragging[_ngcontent-%COMP%] .item-box[_ngcontent-%COMP%]:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}.drag-container[_ngcontent-%COMP%]{width:400px;max-width:100%;margin:0 0 10px;display:inline-block;vertical-align:top;background-color:rgba(233,236,239,.0196078431372549);padding:15px;border-radius:10px}.section-heading[_ngcontent-%COMP%]{padding-bottom:9px;padding-left:7px;padding-top:0;font-size:15px;font-weight:700;color:#d6d649}.spacer[_ngcontent-%COMP%]{min-height:40px}.editIcon[_ngcontent-%COMP%]{margin-right:10px}.folderIcon[_ngcontent-%COMP%], .participantIcon[_ngcontent-%COMP%]{float:right;font-size:17px;color:#3375f6;cursor:pointer}.syncingItem[_ngcontent-%COMP%]{position:relative;top:20px;text-align:center;color:red}"]}),q),E=i("jhN1"),R=i("kmnG"),D=i("d3UM"),B=i("FKr1"),L=i("UXJo"),_=["qrCode"];function A(e,t){if(1&e){var n=s.Zb();s.Yb(0,"nb-card"),s.Yb(1,"nb-card-header"),s.Ic(2,"Scan QR"),s.Xb(),s.Yb(3,"nb-card-body",13),s.Yb(4,"div"),s.Yb(5,"div",14),s.Tb(6,"img",15),s.Xb(),s.Xb(),s.Xb(),s.Yb(7,"nb-card-footer"),s.Yb(8,"button",16),s.fc("click",(function(){return s.xc(n),s.jc().closePopup()})),s.Ic(9,"Close"),s.Xb(),s.Xb(),s.Xb()}if(2&e){var i=s.jc();s.Fb(6),s.pc("src",i.qrCodeURLSafe,s.zc)}}function K(e,t){if(1&e){var n=s.Zb();s.Yb(0,"li",17),s.Yb(1,"div",18),s.Ic(2),s.Xb(),s.Yb(3,"div",19),s.Ic(4),s.Xb(),s.Tb(5,"nb-icon",20),s.Yb(6,"nb-icon",21),s.fc("click",(function(){s.xc(n);var e=t.$implicit;return s.jc().showQR(e.link)})),s.Xb(),s.Yb(7,"nb-icon",22),s.fc("click",(function(){s.xc(n);var e=t.$implicit;return s.jc().removeInviteCode(e.link)})),s.Xb(),s.Xb()}if(2&e){var i=t.$implicit;s.Fb(2),s.Lc(" ",i.used," / ",i.max," "),s.Fb(2),s.Kc(" ",i.link," "),s.Fb(1),s.pc("cdkCopyToClipboard",i.link)}}function G(e,t){if(1&e){var n=s.Zb();s.Yb(0,"button",23),s.fc("click",(function(){return s.xc(n),s.jc().deleteCurrentChannel()})),s.Ic(1,"Remove Channel"),s.Xb()}}function z(e,t){if(1&e){var n=s.Zb();s.Yb(0,"button",23),s.fc("click",(function(){return s.xc(n),s.jc().removeFromFavoritesByCurrentChannel()})),s.Ic(1,"Remove From Favorites"),s.Xb()}}var H,$,V=(($=function(){function e(t,n,i,a,o,c){r(this,e),this.cd=t,this._sanitizer=n,this.ui=i,this.dialog=a,this.nbMenuService=o,this.q=c,this.challengeFlowFlag=0,this.newInviteCodeMax=5,this.isOwner=!1,this.includeFolderStructure=1,this.channelInviteCodes=[],this.selectedChannel="NoChannelSelected",this.noChannelSelected="NoChannelSelected"}return o(e,[{key:"newInviteCodeMaxChanged",value:function(e){}},{key:"generateQR",value:function(e){return Object(l.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log(e),t.t0=this._sanitizer,t.next=4,this.q.os.utilities.qr.generate(e);case 4:t.t1=t.sent,this.qrCodeURLSafe=t.t0.bypassSecurityTrustUrl.call(t.t0,t.t1);case 6:case"end":return t.stop()}}),t,this)})))}},{key:"generateInviteCode",value:function(){var e=this.selectedChannel;1==this.includeFolderStructure?this.q.os.channel.invite.create(e,this.newInviteCodeMax,!0):this.q.os.channel.invite.create(e,this.newInviteCodeMax);var t=this.q.os.ocean.dolphin.getInviteCodes(this.selectedChannel);this.channelInviteCodes=[],void 0!==t&&void 0!==t.items&&(this.channelInviteCodes=t.items)}},{key:"openPopup",value:function(e){this.popupRef=this.dialog.open(e,{context:"this is some additional data passed to dialog"})}},{key:"closePopup",value:function(){this.popupRef.close()}},{key:"showQR",value:function(e){this.generateQR(e),this.openPopup(this.qrCode)}},{key:"removeInviteCode",value:function(e){this.q.os.channel.invite.remove(this.selectedChannel,e),this.channelInviteCodes=[];var t=this.q.os.ocean.dolphin.getInviteCodes(this.selectedChannel);void 0!==t&&void 0!==t.items&&(this.channelInviteCodes=t.items)}},{key:"newInviteExportFoldersChanged",value:function(e){}},{key:"copyToClipboard",value:function(e){console.log(e)}},{key:"ngOnDestroy",value:function(){this.selectedChannelSub.unsubscribe()}},{key:"initChannel",value:function(e){return Object(l.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.selectedChannel=e,console.log("Channel-Settings: Selected Channel: >>"+this.selectedChannel+"<<"),console.log("Channel-Settings: noChannelSelected: >>"+this.noChannelSelected+"<<"),this.selectedChannel.indexOf("-----")>-1&&(this.isOwner=this.q.os.ocean.dolphin.isOwner(this.selectedChannel),this.channelInviteCodes=[],void 0!==(n=this.q.os.ocean.dolphin.getInviteCodes(this.selectedChannel))&&void 0!==n.items&&(this.channelInviteCodes=n.items),this.challengeFlowFlag=this.q.os.channel.challenge.isEnabled()),this.cd.detectChanges();case 2:case"end":return t.stop()}}),t,this)})))}},{key:"ngOnInit",value:function(){return Object(l.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.q.isReady()){e.next=5;break}return e.next=3,this.ui.delay(1e3);case 3:e.next=0;break;case 5:this.initChannel(this.q.os.channel.getSelected()),this.selectedChannelSub=this.q.os.channel.onSelect().subscribe((function(e){t.initChannel(e)}));case 6:case"end":return e.stop()}}),e,this)})))}},{key:"challengeFlowFlagChanged",value:function(){var e=this.challengeFlowFlag,t=this.q.os.channel.getSelected();e?this.q.os.channel.challenge.enable(t):this.q.os.channel.challenge.disable(t)}},{key:"deleteCurrentChannel",value:function(){this.q.os.channel.remove(this.selectedChannel),this.q.os.channel.select("NoChannelSelected")}},{key:"removeFromFavoritesByCurrentChannel",value:function(){var e=this.selectedChannel;this.q.os.social.profile.removeFavorite(e.split("-----")[0].split("-")[1]),this.q.os.social.profile.removeFavorite(e.split("-----")[0].split("-")[2]),this.q.os.channel.remove(e),this.q.os.channel.removeFromNameList(e),this.q.os.channel.select("NoChannelSelected")}}]),e}()).\u0275fac=function(e){return new(e||$)(s.Sb(s.h),s.Sb(E.b),s.Sb(d.a),s.Sb(u.l),s.Sb(u.y),s.Sb(h.a))},$.\u0275cmp=s.Mb({type:$,selectors:[["messages-channel-settings"]],viewQuery:function(e,t){var n;1&e&&s.Mc(_,!0),2&e&&s.uc(n=s.gc())&&(t.qrCode=n.first)},decls:51,vars:21,consts:[["qrCode",""],[3,"hidden"],[1,"channelSettingsOption"],[2,"width","24%","padding","0"],[3,"value","valueChange","selectionChange"],[3,"value"],[1,"channelSettingsOption","mTop10"],[2,"margin-bottom","4px","height","28px"],[2,"width","19%"],[2,"width","24%"],["nbButton","","size","small",1,"generateInviteCodeButton",2,"color","#99aca2",3,"click"],["class","inviteCodeListItem",4,"ngFor","ngForOf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton removeButton",3,"click",4,"ngIf"],[2,"margin","10px","color","goldenrod"],[1,"qrCodeWrapper"],["alt","",1,"qrCodeShowGenerate",3,"src"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[1,"inviteCodeListItem"],[1,"inviteCodeUsers"],[1,"inviteCodeItem"],["icon","copy-outline",1,"inviteCodeCopy",3,"cdkCopyToClipboard"],["icon","camera-outline",1,"deleteCode",3,"click"],["icon","trash-2-outline",1,"deleteCode",3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","removeButton",3,"click"]],template:function(e,t){1&e&&(s.Gc(0,A,10,1,"ng-template",null,0,s.Hc),s.Yb(2,"div",1),s.Yb(3,"p",2),s.Ic(4," Challenge"),s.Xb(),s.Yb(5,"mat-form-field",3),s.Yb(6,"mat-select",4),s.fc("valueChange",(function(e){return t.challengeFlowFlag=e}))("selectionChange",(function(){return t.challengeFlowFlagChanged()})),s.Yb(7,"mat-option",5),s.Ic(8," On "),s.Xb(),s.Yb(9,"mat-option",5),s.Ic(10," Off "),s.Xb(),s.Xb(),s.Xb(),s.Yb(11,"p",6),s.Ic(12," Invite Codes"),s.Xb(),s.Yb(13,"div",7),s.Ic(14," Include Folders: "),s.Yb(15,"mat-form-field",8),s.Yb(16,"mat-select",4),s.fc("valueChange",(function(e){return t.includeFolderStructure=e}))("selectionChange",(function(e){return t.newInviteExportFoldersChanged(e.value)})),s.Yb(17,"mat-option",5),s.Ic(18," On "),s.Xb(),s.Yb(19,"mat-option",5),s.Ic(20," Off "),s.Xb(),s.Xb(),s.Xb(),s.Xb(),s.Yb(21,"div"),s.Ic(22," Max: "),s.Yb(23,"mat-form-field",9),s.Yb(24,"mat-select",4),s.fc("valueChange",(function(e){return t.newInviteCodeMax=e}))("selectionChange",(function(e){return t.newInviteCodeMaxChanged(e.value)})),s.Yb(25,"mat-option",5),s.Ic(26," 1 "),s.Xb(),s.Yb(27,"mat-option",5),s.Ic(28," 5 "),s.Xb(),s.Yb(29,"mat-option",5),s.Ic(30," 10 "),s.Xb(),s.Yb(31,"mat-option",5),s.Ic(32," 20 "),s.Xb(),s.Yb(33,"mat-option",5),s.Ic(34," 40 "),s.Xb(),s.Yb(35,"mat-option",5),s.Ic(36," 80 "),s.Xb(),s.Yb(37,"mat-option",5),s.Ic(38," 100 "),s.Xb(),s.Yb(39,"mat-option",5),s.Ic(40," 1k "),s.Xb(),s.Yb(41,"mat-option",5),s.Ic(42," 1m "),s.Xb(),s.Yb(43,"mat-option",5),s.Ic(44," 10m "),s.Xb(),s.Xb(),s.Xb(),s.Yb(45,"button",10),s.fc("click",(function(){return t.generateInviteCode()})),s.Ic(46," Generate "),s.Xb(),s.Xb(),s.Yb(47,"ul"),s.Gc(48,K,8,4,"li",11),s.Xb(),s.Xb(),s.Gc(49,G,2,0,"button",12),s.Gc(50,z,2,0,"button",12)),2&e&&(s.Fb(2),s.pc("hidden",!t.isOwner||t.selectedChannel.indexOf("qprivatedch")>-1),s.Fb(4),s.pc("value",t.challengeFlowFlag),s.Fb(1),s.pc("value",1),s.Fb(2),s.pc("value",0),s.Fb(7),s.pc("value",t.includeFolderStructure),s.Fb(1),s.pc("value",1),s.Fb(2),s.pc("value",0),s.Fb(5),s.pc("value",t.newInviteCodeMax),s.Fb(1),s.pc("value",1),s.Fb(2),s.pc("value",5),s.Fb(2),s.pc("value",10),s.Fb(2),s.pc("value",20),s.Fb(2),s.pc("value",40),s.Fb(2),s.pc("value",80),s.Fb(2),s.pc("value",100),s.Fb(2),s.pc("value",1e3),s.Fb(2),s.pc("value",1e6),s.Fb(2),s.pc("value",1e7),s.Fb(5),s.pc("ngForOf",t.channelInviteCodes),s.Fb(1),s.pc("ngIf",t.selectedChannel.indexOf("qprivatedch")<0),s.Fb(1),s.pc("ngIf",t.selectedChannel.indexOf("qprivatedch")>-1))},directives:[R.b,D.a,B.g,p.l,p.m,u.d,u.f,u.c,u.e,b.a,u.o,L.a],styles:[".channelSettingsOption[_ngcontent-%COMP%]{color:#98aba2!important;margin-bottom:0}.inviteCodeListItem[_ngcontent-%COMP%]{padding:0!important;margin:0!important;width:100%}.inviteCodeUsers[_ngcontent-%COMP%]{width:30%;overflow:hidden;text-overflow:ellipsis}.inviteCodeItem[_ngcontent-%COMP%], .inviteCodeUsers[_ngcontent-%COMP%]{float:left}.inviteCodeItem[_ngcontent-%COMP%]{margin-left:5px;width:30%;margin-right:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.deleteCode[_ngcontent-%COMP%]{margin-left:5px}.deleteCode[_ngcontent-%COMP%], .inviteCodeCopy[_ngcontent-%COMP%]{cursor:pointer}.generateInviteCodeButton[_ngcontent-%COMP%]{margin-bottom:16px;color:#2a64ef;height:22px;width:37%;margin-top:5px;position:relative;top:0;margin-left:15px;background-color:transparent;border:1px solid;opacity:.7;font-size:13px}.mat-form-field-infix[_ngcontent-%COMP%]{padding:0}.qrCodeShowGenerate[_ngcontent-%COMP%]{float:left;display:block;min-width:31px;max-height:70vh;max-width:80vw}removeButton[_ngcontent-%COMP%]{margin-right:10px;margin-top:20px;color:rgba(241,79,49,.6705882352941176);border:1px solid rgba(241,79,49,.5686274509803921)!important}"]}),$),Z=((H=function(){function e(){r(this,e)}return o(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||H)},H.\u0275cmp=s.Mb({type:H,selectors:[["messages-channel-sidebar-right"]],decls:6,vars:0,consts:[["fullWidth",""],["tabIcon","people-outline",1,"channelParticipantList",2,"overflow-x","hidden","padding-top","12px"],["tabIcon","bell-outline"],["tabIcon","settings-outline",1,"channelSettingsTab"]],template:function(e,t){1&e&&(s.Yb(0,"nb-tabset",0),s.Yb(1,"nb-tab",1),s.Tb(2,"messages-channel-participant-list"),s.Xb(),s.Tb(3,"nb-tab",2),s.Yb(4,"nb-tab",3),s.Tb(5,"messages-channel-settings"),s.Xb(),s.Xb())},directives:[u.H,u.G,T,V],styles:[".channelSettingsTab[_ngcontent-%COMP%]{padding-top:20px}"]}),H);function W(e,t){if(1&e){var n=s.Zb();s.Yb(0,"button",12),s.fc("click",(function(){return s.xc(n),s.jc(2).lockSideBar("right",!1)})),s.Ic(1,"Lock Panel"),s.Xb()}}function Q(e,t){if(1&e){var n=s.Zb();s.Yb(0,"button",12),s.fc("click",(function(){return s.xc(n),s.jc(2).lockSideBar("right",!0)})),s.Ic(1,"Float Panel"),s.Xb()}}function J(e,t){if(1&e){var n=s.Zb();s.Yb(0,"nb-sidebar",9),s.Gc(1,W,2,0,"button",10),s.Gc(2,Q,2,0,"button",10),s.Yb(3,"button",11),s.fc("click",(function(){return s.xc(n),s.jc().toggleSideBar("right")})),s.Ic(4,"Hide Panel"),s.Xb(),s.Tb(5,"messages-channel-sidebar-right"),s.Xb()}if(2&e){var i=s.jc();s.pc("fixed",i.sideBarFixed.right),s.Fb(1),s.pc("ngIf",i.sideBarFixed.right),s.Fb(1),s.pc("ngIf",!i.sideBarFixed.right)}}function U(e,t){if(1&e){var n=s.Zb();s.Yb(0,"button",11),s.fc("click",(function(){return s.xc(n),s.jc().lockSideBar("left",!1)})),s.Ic(1,"Lock Panel"),s.Xb()}}function ee(e,t){if(1&e){var n=s.Zb();s.Yb(0,"button",11),s.fc("click",(function(){return s.xc(n),s.jc().lockSideBar("left",!0)})),s.Ic(1,"Float Panel"),s.Xb()}}function te(e,t){if(1&e&&s.Tb(0,"messages-channel",6),2&e){var n=t.$implicit,i=s.jc();s.pc("channel",n)("hidden",i.selectedChannel!=n)}}function ne(e,t){if(1&e){var n=s.Zb();s.Yb(0,"div",13),s.fc("click",(function(){return s.xc(n),s.jc().toggleSideBar("left")})),s.Tb(1,"nb-icon",14),s.Xb()}}function ie(e,t){if(1&e){var n=s.Zb();s.Yb(0,"div",15),s.fc("click",(function(){return s.xc(n),s.jc().toggleSideBar("right")})),s.Tb(1,"nb-icon",16),s.Xb()}}var ae,oe,re,ce,se=((oe=function(){function e(t,n,i,a){r(this,e),this.cd=t,this.ui=n,this.sidebarService=i,this.q=a,this.channelNameList=[],this.selectedChannel="NoChannelSelected",this.noChannelSelected="NoChannelSelected",this.sideBarFixed={right:!0,left:!0},this.sideBarVisible={right:!1,left:!0}}return o(e,[{key:"ngOnDestroy",value:function(){this.sideBarFixedSub.unsubscribe(),this.sideBarVisibleSub.unsubscribe(),this.channelFolderListSub.unsubscribe(),this.selectedChannelSub.unsubscribe()}},{key:"ngOnInit",value:function(){return Object(l.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.q.isReady()&&this.q.os.isSignedIn()){e.next=5;break}return e.next=3,this.ui.delay(1e3);case 3:e.next=0;break;case 5:this.sideBarFixed=this.q.os.bee.config.getSideBarFixed(),this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),console.log("toggling:",this.sideBarVisible),this.sideBarVisible.left?this.sideBarVisible.left&&this.sidebarService.expand("left"):this.sidebarService.collapse("left"),this.sideBarVisible.right||this.sidebarService.collapse("right"),this.sideBarVisible.right&&this.sidebarService.expand("right"),this.sideBarFixedSub=this.q.os.bee.config.sideBarFixedSub.subscribe((function(e){t.sideBarFixed=t.q.os.bee.config.getSideBarFixed()})),this.sideBarVisibleSub=this.q.os.bee.config.sideBarVisibleSub.subscribe((function(e){console.log("getting",e),t.sideBarVisible=t.q.os.bee.config.getSideBarVisible(),t.sideBarVisible.left?t.sideBarVisible.left&&t.sidebarService.expand("left"):t.sidebarService.collapse("left"),t.sideBarVisible.right||t.sidebarService.collapse("right"),t.sideBarVisible.right&&t.sidebarService.expand("right")})),setTimeout((function(){t.sideBarFixed=t.q.os.bee.config.getSideBarFixed(),t.sideBarVisible=t.q.os.bee.config.getSideBarVisible(),console.log("toggling:",t.sideBarVisible),t.sideBarVisible.left?t.sideBarVisible.left&&t.sidebarService.expand("left"):t.sidebarService.collapse("left"),t.sideBarVisible.right||t.sidebarService.collapse("right"),t.sideBarVisible.right&&t.sidebarService.expand("right"),t.channelNameList=t.q.os.ocean.dolphin.getChannelNameList(),t.selectedChannel=t.q.os.channel.getSelected()}),100),this.channelFolderListSub=this.q.os.bee.config.channelFolderListSub.subscribe((function(e){t.channelNameList=t.q.os.ocean.dolphin.getChannelNameList()})),this.selectedChannelSub=this.q.os.channel.onSelect().subscribe((function(e){t.selectedChannel=e,console.log("Channel-Tab: Selected Channel: >>"+t.selectedChannel+"<<"),console.log("Channel-Tab: noChannelSelected: >>"+t.noChannelSelected+"<<"),t.cd.detectChanges()}));case 6:case"end":return e.stop()}}),e,this)})))}},{key:"lockSideBar",value:function(e,t){this.sideBarFixed[e]=t,this.q.os.bee.config.setSideBarFixed(this.sideBarFixed),this.q.os.bee.config.commitNow()}},{key:"toggleSideBar",value:function(e){this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),this.sideBarVisible[e]=1!=this.sideBarVisible[e],this.q.os.bee.config.setSideBarVisible(this.sideBarVisible),this.q.os.bee.config.commitNow()}}]),e}()).\u0275fac=function(e){return new(e||oe)(s.Sb(s.h),s.Sb(d.a),s.Sb(u.D),s.Sb(h.a))},oe.\u0275cmp=s.Mb({type:oe,selectors:[["messages-channel-tab"]],decls:13,vars:9,consts:[[1,"channelScreen"],["state","expanded","right","","tag","right","class","rightSideBar","collapsed","true",3,"fixed",4,"ngIf"],["state","expanded","left","","tag","left",1,"leftSideBar",3,"fixed"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thinOutlineButton",2,"margin-right","24px","margin-left","0px",3,"click"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thinOutlineButton",3,"click",4,"ngIf"],["class","channel",3,"channel","hidden",4,"ngFor","ngForOf"],[1,"channel",3,"channel","hidden"],["class","toggleSideBarRight toggleSideBarLeft","class","toggleSideBarLeft",3,"click",4,"ngIf"],["class","toggleSideBarRight","class","toggleSideBarRight",3,"click",4,"ngIf"],["state","expanded","right","","tag","right","collapsed","true",1,"rightSideBar",3,"fixed"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thinOutlineButton","style","margin-left: 3px;margin-right: 21px;",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thinOutlineButton",3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thinOutlineButton",2,"margin-left","3px","margin-right","21px",3,"click"],[1,"toggleSideBarLeft",3,"click"],["icon","list-outline"],[1,"toggleSideBarRight",3,"click"],["icon","more-vertical-outline"]],template:function(e,t){1&e&&(s.Yb(0,"nb-layout",0),s.Gc(1,J,6,3,"nb-sidebar",1),s.Yb(2,"nb-sidebar",2),s.Yb(3,"button",3),s.fc("click",(function(){return t.toggleSideBar("left")})),s.Ic(4,"Hide Panel"),s.Xb(),s.Gc(5,U,2,0,"button",4),s.Gc(6,ee,2,0,"button",4),s.Tb(7,"messages-channel-sidebar-left"),s.Xb(),s.Yb(8,"nb-layout-column"),s.Gc(9,te,1,2,"messages-channel",5),s.Tb(10,"messages-channel",6),s.Xb(),s.Xb(),s.Gc(11,ne,2,0,"div",7),s.Gc(12,ie,2,0,"div",8)),2&e&&(s.Fb(1),s.pc("ngIf","NoChannelSelected"!=t.selectedChannel),s.Fb(1),s.pc("fixed",t.sideBarFixed.left),s.Fb(3),s.pc("ngIf",t.sideBarFixed.left),s.Fb(1),s.pc("ngIf",!t.sideBarFixed.left),s.Fb(3),s.pc("ngForOf",t.channelNameList),s.Fb(1),s.pc("channel",t.noChannelSelected)("hidden",t.selectedChannel!=t.noChannelSelected),s.Fb(1),s.pc("ngIf",!t.sideBarVisible.left),s.Fb(1),s.pc("ngIf",!t.sideBarVisible.right&&"NoChannelSelected"!=t.selectedChannel))},directives:[u.u,p.m,u.B,b.a,v,u.t,p.l,m.a,Z,u.o],styles:[".toggleSideBarRight[_ngcontent-%COMP%]{right:7px}.toggleSideBarLeft[_ngcontent-%COMP%], .toggleSideBarRight[_ngcontent-%COMP%]{z-index:20;position:fixed;top:66px;cursor:pointer;color:#36f!important}.toggleSideBarLeft[_ngcontent-%COMP%]{left:7px}.defaultSettingsButton[_ngcontent-%COMP%]{padding-left:10px;padding-right:10px}.leftSideBar[_ngcontent-%COMP%]{z-index:52}.rightSideBar[_ngcontent-%COMP%]{z-index:51}"]}),oe),le=((ae=function e(){r(this,e)}).\u0275fac=function(e){return new(e||ae)},ae.\u0275cmp=s.Mb({type:ae,selectors:[["quest-messenger-root"]],decls:1,vars:0,template:function(e,t){1&e&&s.Tb(0,"messages-channel-tab")},directives:[se],styles:[".centerButtonWrapper[_ngcontent-%COMP%]{position:fixed;bottom:3vh;left:0;right:0}.centerButtonContainer[_ngcontent-%COMP%]{margin:auto}.statusBarWrapper[_ngcontent-%COMP%]{position:fixed;bottom:0;max-height:28px;height:28px;left:0;right:0;background-color:#2d2a2a;z-index:20;font-size:14px;color:grey;padding-left:10px;padding-right:10px;border-top:1px solid #000}.statusBarRouterIcon[_ngcontent-%COMP%]{top:4px;margin:0;position:relative;line-height:10px;font-size:21px}.statusBarRadioIcon[_ngcontent-%COMP%]{top:-5px;margin:0 0 0 5px;position:relative;line-height:9px;font-size:17px}.web-top-links[_ngcontent-%COMP%]{position:fixed;right:13px;cursor:pointer;z-index:20;top:14px}@media only screen and (max-width:500px){.web-top-links[_ngcontent-%COMP%]{display:none}}"]}),ae),de=[{path:"",component:le}],ue=((re=function e(){r(this,e)}).\u0275mod=s.Qb({type:re}),re.\u0275inj=s.Pb({factory:function(e){return new(e||re)},imports:[[c.g.forChild(de)],c.g]}),re),he=i("5RNC"),pe=i("Wp6s"),be=i("bSwM"),ge=i("STbY"),fe=i("8yBR"),ve=i("YUcS"),me=i("6NWb"),Ce=i("IyRd"),xe=i("f6nW"),ye=i("FvrZ"),ke=i("tk/3"),Fe=((ce=function e(){r(this,e)}).\u0275mod=s.Qb({type:ce}),ce.\u0275inj=s.Pb({factory:function(e){return new(e||ce)},imports:[p.c,k.f,c.g]}),ce);i("9gUW"),i("xUDc"),i("8SwR"),i("waa1"),i("bzWg"),i("cVQz"),i("K9Od");var we,Se,Ie=i("tayM"),Oe=i("zwFz"),Ne=i("d3J+"),Pe=i("fP41"),Me=((we=function(){function e(){r(this,e)}return o(e,null,[{key:"forRoot",value:function(t){return{ngModule:e,providers:[{provide:Ie.a,useValue:t||{}}]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[{provide:Ie.a,useValue:t||{}}]}}}]),e}()).\u0275mod=s.Qb({type:we}),we.\u0275inj=s.Pb({factory:function(e){return new(e||we)},imports:[[Fe,u.q,u.s,u.b,Oe.b,Ne.b,u.n,Pe.a]]}),we),Xe=i("NFeN"),je=i("tR1z"),Ye=((Se=function e(){r(this,e)}).\u0275mod=s.Qb({type:Se,bootstrap:[le]}),Se.\u0275inj=s.Pb({factory:function(e){return new(e||Se)},providers:[u.l],imports:[[u.C,xe.p,ye.d,u.x,L.b,ke.b,pe.a,D.b,b.b,be.a,ge.c,p.c,ue,me.a,u.J,u.v,Me,u.I,je.a,u.q,k.f,u.j,u.k.forRoot(),u.g,fe.d,C.c,b.b,be.a,y.b,R.d,Ce.b,he.a,ve.a,Xe.b,Pe.a],xe.p,R.d,D.b,fe.d,ge.c]}),Se)},"8SwR":function(t,n,i){"use strict";i.d(n,"a",(function(){return x}));var a=i("fXoL"),c=i("jhN1"),s=i("ofXK"),l=i("aceb"),d=i("3Pt+"),u=i("zwFz"),h=i("d3J+");function p(e,t){if(1&e){var n=a.Zb();a.Yb(0,"div"),a.Yb(1,"span",13),a.fc("click",(function(){a.xc(n);var e=a.jc().$implicit;return a.jc(2).removeFile(e)})),a.Ic(2,"\xd7"),a.Xb(),a.Xb()}if(2&e){var i=a.jc().$implicit;a.Dc("background-image",i.urlStyle)}}function b(e,t){1&e&&a.Tb(0,"nb-icon",14)}function g(e,t){if(1&e){var n=a.Zb();a.Wb(0),a.Gc(1,p,3,2,"div",11),a.Yb(2,"div"),a.Gc(3,b,1,0,"nb-icon",12),a.Yb(4,"span",13),a.fc("click",(function(){a.xc(n);var e=t.$implicit;return a.jc(2).removeFile(e)})),a.Ic(5,"\xd7"),a.Xb(),a.Xb(),a.Vb()}if(2&e){var i=t.$implicit;a.Fb(1),a.pc("ngIf",i.urlStyle),a.Fb(2),a.pc("ngIf",!i.urlStyle)}}function f(e,t){if(1&e&&(a.Yb(0,"div",9),a.Gc(1,g,6,2,"ng-container",10),a.Xb()),2&e){var n=a.jc();a.Fb(1),a.pc("ngForOf",n.droppedFiles)}}function v(e,t){if(1&e&&a.Tb(0,"nb-icon",15),2&e){var n=a.jc();a.pc("icon",n.buttonIcon)}}function m(e,t){if(1&e&&a.Ic(0),2&e){var n=a.jc();a.Jc(n.buttonTitle)}}function C(e,t){if(1&e){var n=a.Zb();a.Yb(0,"emoji-mart",16),a.fc("emojiClick",(function(e){return a.xc(n),a.jc().addEmoji(e)})),a.Xb()}}var x=function(){var t=function(){function t(e,n){r(this,t),this.cd=e,this.domSanitizer=n,this.newMessage="",this.emojiPickerActive=!1,this.status="",this.inputFocus=!1,this.inputHover=!1,this.droppedFiles=[],this.imgDropTypes=["image/png","image/jpeg","image/gif"],this.message="",this.buttonTitle="",this.buttonIcon="paper-plane-outline",this.showButton=!0,this.dropFiles=!1,this.send=new a.p,this.fileOver=!1}return o(t,[{key:"addEmoji",value:function(e){this.newMessage+=" "+e.emoji.colons+" ",this.emojiPickerActive=!1}},{key:"openEmojiPicker",value:function(){this.emojiPickerActive=!0}},{key:"onDrop",value:function(t){var n=this;if(this.dropFiles&&(t.preventDefault(),t.stopPropagation(),this.fileOver=!1,t.dataTransfer&&t.dataTransfer.files)){var i,a=e(t.dataTransfer.files);try{var o=function(){var e=i.value,t=e;if(n.imgDropTypes.includes(e.type)){var a=new FileReader;a.onload=function(e){t.src=e.target.result,t.urlStyle=n.domSanitizer.bypassSecurityTrustStyle("url(".concat(t.src,")")),n.cd.detectChanges()},a.readAsDataURL(e)}n.droppedFiles.push(t)};for(a.s();!(i=a.n()).done;)o()}catch(r){a.e(r)}finally{a.f()}}}},{key:"removeFile",value:function(e){var t=this.droppedFiles.indexOf(e);t>=0&&this.droppedFiles.splice(t,1)}},{key:"onDragOver",value:function(){this.dropFiles&&(this.fileOver=!0)}},{key:"onDragLeave",value:function(){this.dropFiles&&(this.fileOver=!1)}},{key:"sendMessage",value:function(){(this.droppedFiles.length||String(this.newMessage).trim().length)&&(this.send.emit({message:this.newMessage,files:this.droppedFiles}),this.message="",this.newMessage="",this.droppedFiles=[])}},{key:"setStatus",value:function(e){this.status!==e&&(this.status=e,this.cd.detectChanges())}},{key:"getInputStatus",value:function(){return this.fileOver?this.status||"primary":this.inputFocus||this.inputHover?this.status:""}}]),t}();return t.\u0275fac=function(e){return new(e||t)(a.Sb(a.h),a.Sb(c.b))},t.\u0275cmp=a.Mb({type:t,selectors:[["nb-chat-form"]],hostVars:2,hostBindings:function(e,t){1&e&&a.fc("drop",(function(e){return t.onDrop(e)}))("dragover",(function(){return t.onDragOver()}))("dragleave",(function(){return t.onDragLeave()})),2&e&&a.Kb("file-over",t.fileOver)},inputs:{message:"message",buttonTitle:"buttonTitle",buttonIcon:"buttonIcon",showButton:"showButton",dropFiles:"dropFiles"},outputs:{send:"send"},decls:10,vars:11,consts:[["class","dropped-files",4,"ngIf"],[1,"message-row"],[2,"width","100%"],["nbInput","","fullWidth","","type","text",3,"ngModel","status","placeholder","ngModelChange","focus","blur","mouseenter","mouseleave","keyup.enter"],["nbSuffix","","nbButton","","ghost","",3,"status","click"],["pack","nebular-essentials",3,"icon",4,"ngIf","ngIfElse"],["title",""],["title","Pick your emoji\u2026","emoji","blush","class","emojiPicker","darkMode","true","style","position: absolute; bottom: 30px; right: 80px;",3,"emojiClick",4,"ngIf"],["emoji","grinning","set","apple","size","26",1,"emojiPickerTrigger",3,"click"],[1,"dropped-files"],[4,"ngFor","ngForOf"],[3,"background-image",4,"ngIf"],["icon","file-text-outline","pack","nebular-essentials",4,"ngIf"],[1,"remove",3,"click"],["icon","file-text-outline","pack","nebular-essentials"],["pack","nebular-essentials",3,"icon"],["title","Pick your emoji\u2026","emoji","blush","darkMode","true",1,"emojiPicker",2,"position","absolute","bottom","30px","right","80px",3,"emojiClick"]],template:function(e,t){if(1&e&&(a.Gc(0,f,2,1,"div",0),a.Yb(1,"div",1),a.Yb(2,"nb-form-field",2),a.Yb(3,"input",3),a.fc("ngModelChange",(function(e){return t.newMessage=e}))("focus",(function(){return t.inputFocus=!0}))("blur",(function(){return t.inputFocus=!1}))("mouseenter",(function(){return t.inputHover=!0}))("mouseleave",(function(){return t.inputHover=!1}))("ngModelChange",(function(e){return t.message=e}))("keyup.enter",(function(){return t.sendMessage()})),a.Xb(),a.Yb(4,"button",4),a.fc("click",(function(){return t.sendMessage()})),a.Gc(5,v,1,1,"nb-icon",5),a.Gc(6,m,1,1,"ng-template",null,6,a.Hc),a.Xb(),a.Xb(),a.Xb(),a.Gc(8,C,1,0,"emoji-mart",7),a.Yb(9,"ngx-emoji",8),a.fc("click",(function(){return t.openEmojiPicker()})),a.Xb()),2&e){var n=a.vc(7);a.pc("ngIf",null==t.droppedFiles?null:t.droppedFiles.length),a.Fb(3),a.Kb("with-button",t.showButton),a.qc("placeholder",t.fileOver?"Drop file to send":"Type a message"),a.pc("ngModel",t.newMessage)("status",t.getInputStatus())("ngModel",t.message),a.Fb(1),a.pc("status",t.status||"primary"),a.Fb(1),a.pc("ngIf",!t.buttonTitle)("ngIfElse",n),a.Fb(3),a.pc("ngIf",t.emojiPickerActive)}},directives:[s.m,l.m,l.r,d.b,d.j,d.m,l.a,l.E,u.a,s.l,l.o,h.a],styles:[""],changeDetection:0}),t}()},"9gUW":function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n("8SwR"),a=n("xUDc"),c=n("fXoL"),s=n("ofXK"),l=["scrollable"];function d(e,t){1&e&&(c.Yb(0,"p",6),c.Ic(1,"No messages yet."),c.Xb())}var u=[[["nb-chat-message"]],[["nb-chat-form"]]],h=["nb-chat-message","nb-chat-form"],p=function(){var e=function(){function e(){r(this,e),this._scrollBottom=!0}return o(e,[{key:"ngOnChanges",value:function(e){"status"in e&&this.updateFormStatus()}},{key:"ngAfterContentInit",value:function(){this.updateFormStatus()}},{key:"ngAfterViewInit",value:function(){var e=this;this.messages.changes.subscribe((function(t){e.messages=t,e.updateView()})),window["quest-network-ui-globals"]={},window["quest-network-ui-globals"]["messages-chat-scrollable"]=this.scrollable.nativeElement,this.updateView()}},{key:"updateView",value:function(){this.scrollBottom&&this.scrollListBottom()}},{key:"scrollListBottom",value:function(){window["quest-network-ui-globals"]={},window["quest-network-ui-globals"]["messages-chat-scrollable"]=this.scrollable.nativeElement,this.scrollable.nativeElement.scrollTop>this.scrollable.nativeElement.scrollHeight-$(this.scrollable.nativeElement).height()-210&&(this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight)}},{key:"updateFormStatus",value:function(){this.chatForm&&this.chatForm.setStatus(this.status)}},{key:"scrollBottom",get:function(){return this._scrollBottom},set:function(e){var t;this._scrollBottom="string"==typeof(t=e)?"true"===(t=t.toLowerCase().trim())||""===t:!!t}},{key:"tiny",get:function(){return"tiny"===this.size}},{key:"small",get:function(){return"small"===this.size}},{key:"medium",get:function(){return"medium"===this.size}},{key:"large",get:function(){return"large"===this.size}},{key:"giant",get:function(){return"giant"===this.size}},{key:"primary",get:function(){return"primary"===this.status}},{key:"success",get:function(){return"success"===this.status}},{key:"info",get:function(){return"info"===this.status}},{key:"warning",get:function(){return"warning"===this.status}},{key:"danger",get:function(){return"danger"===this.status}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c.Mb({type:e,selectors:[["nb-chat"]],contentQueries:function(e,t,n){var o;1&e&&(c.Lb(n,i.a,!0),c.Lb(n,a.a,!1)),2&e&&(c.uc(o=c.gc())&&(t.chatForm=o.first),c.uc(o=c.gc())&&(t.messages=o))},viewQuery:function(e,t){var n;1&e&&c.Mc(l,!0),2&e&&c.uc(n=c.gc())&&(t.scrollable=n.first)},hostVars:20,hostBindings:function(e,t){2&e&&c.Kb("size-tiny",t.tiny)("size-small",t.small)("size-medium",t.medium)("size-large",t.large)("size-giant",t.giant)("status-primary",t.primary)("status-success",t.success)("status-info",t.info)("status-warning",t.warning)("status-danger",t.danger)},inputs:{title:"title",size:"size",status:"status",scrollBottom:"scrollBottom"},features:[c.Db],ngContentSelectors:h,decls:9,vars:2,consts:[[1,"header"],["id","scrollableChatContainer",1,"scrollable"],["scrollable",""],[1,"messages"],["class","no-messages",4,"ngIf"],[1,"form"],[1,"no-messages"]],template:function(e,t){1&e&&(c.oc(u),c.Yb(0,"div",0),c.Ic(1),c.Xb(),c.Yb(2,"div",1,2),c.Yb(4,"div",3),c.nc(5),c.Gc(6,d,2,0,"p",4),c.Xb(),c.Xb(),c.Yb(7,"div",5),c.nc(8,1),c.Xb()),2&e&&(c.Fb(1),c.Jc(t.title),c.Fb(5),c.pc("ngIf",!(null!=t.messages&&t.messages.length)))},directives:[s.m],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;position:relative;height:100%}.messages[_ngcontent-%COMP%]{padding-bottom:0!important;margin-bottom:0}"]}),e}()},Cjz3:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k}));var i=n("n2fA"),a=n("dT8p"),c=n("fXoL"),s=n("jhN1"),l=n("Witw"),d=n("gvxT"),u=n("XiUz"),h=n("3Pt+"),p=n("kmnG"),b=n("qFsG"),g=n("bTqV"),f=n("9gUW"),v=n("ofXK"),m=n("8SwR"),C=n("xUDc"),x=["newMessage"];function y(e,t){if(1&e&&c.Tb(0,"nb-chat-message",17),2&e){var n=t.$implicit;c.pc("type",n.type)("message",n.message)("reply",n.reply)("sender",n.participant)("date",n.timestamp)("files",n.files)("quote",n.quote)("latitude",n.latitude)("longitude",n.longitude)("avatar",n.participant.avatar)}}var k=function(){var t=function(){function t(e,n,i,o){r(this,t),this._sanitizer=e,this.aChD=n,this.ui=i,this.q=o,this.DEVMODE=a.dev,this.noChannelSelected="NoChannelSelected",this.channelDisplayName="NoChannelSelected",this.showChallengeScreen=!1,this.showJoinScreen=!1,this.showInviteScreen=!1,this.messages=[],this.handledMessages=[]}return o(t,[{key:"ngOnDestroy",value:function(){void 0!==this.channelSub&&this.channelSub.unsubscribe()}},{key:"scrollBottom",value:function(){try{this.scrollable={},this.scrollable.nativeElement=window["quest-network-ui-globals"]["messages-chat-scrollable"],null!=this.scrollable.nativeElement&&this.scrollable.nativeElement.scrollTop>this.scrollable.nativeElement.scrollHeight-$(this.scrollable.nativeElement).height()-210&&(this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight)}catch(e){console.log(e)}}},{key:"ngOnInit",value:function(){return Object(i.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("Channel: Initializing..."),console.log("Channel: Bootstrapping Channel..."),e.t0="NoChannelSelected"!=this.channel,!e.t0){e.next=7;break}return setTimeout((function(){t.scrollBottom()}),2500),e.next=7,this.attemptJoinChannel(this.channel);case 7:return e.next=9,this.getChannelDisplayName(this.channel);case 9:this.channelDisplayName=e.sent;case 10:case"end":return e.stop()}}),e,this)})))}},{key:"getChannelDisplayName",value:function(e){return Object(i.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e.indexOf("qprivatedch")>-1)){t.next=6;break}return t.next=3,this.q.os.social.getAliasFromDirectChannel2(e);case 3:t.t0=t.sent,t.next=7;break;case 6:t.t0=e;case 7:return t.abrupt("return",t.t0);case 8:case"end":return t.stop()}}),t,this)})))}},{key:"goToCaptcha",value:function(){this.showChallengeScreen=!0,this.showJoinScreen=!1,this.showInviteScreen=!1}},{key:"goToInviteScreen",value:function(){this.showChallengeScreen=!1,this.showJoinScreen=!1,this.showInviteScreen=!0}},{key:"goToJoin",value:function(){this.showChallengeScreen=!1,this.showJoinScreen=!0,this.showInviteScreen=!1}},{key:"challengeFail",value:function(){return this.showChallengeScreen=!0,this.ui.updateProcessingStatus(!1),this.ui.setElectronSize("0-keyimport"),this.ui.showSnack("Prove that you are smart","Please",{duration:4e3}),!1}},{key:"completedChallenge",value:function(e){var t=this;setTimeout((function(){t.ui.updateProcessingStatus(!1)}),3e4),this.ui.updateProcessingStatus(!0),this.q.os.ocean.dolphin.completedChallenge(this.channel,e)}},{key:"capitalize",value:function(e){return"string"!=typeof e?"":e.charAt(0).toUpperCase()+e.slice(1)}},{key:"handleNewMessage",value:function(t){return Object(i.a)(this,void 0,void 0,regeneratorRuntime.mark((function n(){var i,a,o,r,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if("CHALLENGE"!=t.type){n.next=5;break}console.log("Received Challenge"),void 0!==t.captchaImageBuffer&&(i=e.from(t.captchaImageBuffer.data).toString("base64"),this.captchaImageResource=this._sanitizer.bypassSecurityTrustUrl("data:image/png;base64,"+i)),this.showJoinScreen=!0,this.ui.updateProcessingStatus(!1),this.aChD.detectChanges(),n.next=16;break;case 5:if("ownerSayHi"!=t.type){n.next=9;break}this.ui.updateProcessingStatus(!1),this.showChallengeScreen=!1,this.showJoinScreen=!1,this.showInviteScreen=!1,this.aChD.detectChanges(),n.next=16;break;case 9:if("CHANNEL_MESSAGE"!=t.type){n.next=16;break}return t.participant={},t.reply=!!t.self,n.next=13,this.getSocialProfileForChannelPubKey(t.channel,t.channelPubKey);case 13:if(a=n.sent,t.participant.name=void 0!==a.nick?a.nick:a.alias,void 0!==a.key?(t.participant.social=a.key.pubKey,t.participant.isFavorite=this.q.os.social.profile.isFavorite(a.key.pubKey),t.participant.isRequestedFavorite=this.q.os.social.profile.isRequestedFavorite(a.key.pubKey)):(t.participant.social="unknown",t.participant.isFavorite=!1,t.participant.isRequestedFavorite=!1),t.participant.avatar="./assets/defaultAvatar.png",console.log(this.q.os.ui.getHandledMessages()),this.messages.length>0&&t.channelPubKey==this.messages[this.messages.length-1].channelPubKey&&!this.q.os.utilities.inArray(this.q.os.ui.getHandledMessages(),t.id)){o="\n";try{r=this.messages[this.messages.length-1].message,(c=String(r).split("\n")).length>1&&("!"==(r=String(c[c.length-1])).trim().charAt(r.length-1)||"?"==r.trim().charAt(r.length-1)||","==r.trim().charAt(r.length-1)||"."==r.trim().charAt(r.length-1)||";"==r.trim().charAt(r.length-1)?o=" ":":"!=r.trim().charAt(r.length-1)&&"-"!=r.trim().charAt(r.length-1)&&":"!=r.trim().charAt(r.length-1)&&(o="\n"))}catch(s){console.log(s)}this.q.os.ui.addHandledMessage(t.id),this.messages[this.messages.length-1].message+=o+this.capitalize(String(t.message).trim())}else this.q.os.utilities.inArray(this.q.os.ui.getHandledMessages(),t.id)||(t.message=this.capitalize(String(t.message).trim()),this.messages.push(t));this.aChD.detectChanges();case 16:return n.abrupt("return",!0);case 17:case"end":return n.stop()}}),n,this)})))}},{key:"getSocialProfileForChannelPubKey",value:function(e,t){return Object(i.a)(this,void 0,void 0,regeneratorRuntime.mark((function n(){var i,a,o,r,c,s;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!((a=this.q.os.channel.getParticipantFolders(e)).length>0)){n.next=37;break}o=0;case 3:if(!(o div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}"]}),t}()}).call(this,n("tjlA").Buffer)},K9Od:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var i=n("fXoL"),a=n("tayM"),c=n("bzWg"),s=function(e){return[e]},l=function(){var e=function(){function e(t){r(this,e),this.mapKey=t.messageGoogleMapKey}return o(e,[{key:"file",get:function(){return{url:"https://maps.googleapis.com/maps/api/staticmap?center=".concat(this.latitude,",").concat(this.longitude,"&zoom=12&size=400x400&key=").concat(this.mapKey),type:"image/png",icon:"location"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Sb(a.a))},e.\u0275cmp=i.Mb({type:e,selectors:[["nb-chat-message-map"]],inputs:{message:"message",sender:"sender",date:"date",latitude:"latitude",longitude:"longitude"},decls:1,vars:6,consts:[[3,"files","message","sender","date"]],template:function(e,t){1&e&&i.Tb(0,"nb-chat-message-file",0),2&e&&i.pc("files",i.sc(4,s,t.file))("message",t.message)("sender",t.sender)("date",t.date)},directives:[c.a],encapsulation:2,changeDetection:0}),e}()},bzWg:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n("fXoL"),a=n("jhN1"),c=n("waa1"),s=n("ofXK"),l=n("aceb");function d(e,t){if(1&e&&i.Tb(0,"nb-icon",7),2&e){var n=i.jc().$implicit;i.pc("icon",n.icon)}}function u(e,t){if(1&e&&i.Tb(0,"div"),2&e){var n=i.jc().$implicit;i.Dc("background-image",n.urlStyle)}}function h(e,t){if(1&e&&(i.Yb(0,"a",4),i.Gc(1,d,1,1,"nb-icon",5),i.Gc(2,u,1,2,"div",6),i.Xb()),2&e){var n=t.$implicit;i.pc("href",n.url,i.zc),i.Fb(1),i.pc("ngIf",!n.urlStyle&&n.icon),i.Fb(1),i.pc("ngIf",n.urlStyle)}}function p(e,t){if(1&e&&(i.Wb(0),i.Yb(1,"div",2),i.Gc(2,h,3,3,"a",3),i.Xb(),i.Vb()),2&e){var n=i.jc();i.Fb(2),i.pc("ngForOf",n.readyFiles)}}function b(e,t){if(1&e&&i.Tb(0,"nb-icon",7),2&e){var n=i.jc(2);i.pc("icon",n.readyFiles[0].icon)}}function g(e,t){if(1&e&&i.Tb(0,"div"),2&e){var n=i.jc(2);i.Dc("background-image",n.readyFiles[0].urlStyle)}}function f(e,t){if(1&e&&(i.Wb(0),i.Yb(1,"a",4),i.Gc(2,b,1,1,"nb-icon",5),i.Gc(3,g,1,2,"div",6),i.Xb(),i.Vb()),2&e){var n=i.jc();i.Fb(1),i.pc("href",n.readyFiles[0].url,i.zc),i.Fb(1),i.pc("ngIf",!n.readyFiles[0].urlStyle&&n.readyFiles[0].icon),i.Fb(1),i.pc("ngIf",n.readyFiles[0].urlStyle)}}var v=function(){var e=function(){function e(t,n){r(this,e),this.cd=t,this.domSanitizer=n}return o(e,[{key:"isImage",value:function(e){return["image/png","image/jpeg","image/gif"].includes(e.type)}},{key:"files",set:function(e){var t=this;this.readyFiles=(e||[]).map((function(e){var n=t.isImage(e);return Object.assign(Object.assign({},e),{urlStyle:n&&t.domSanitizer.bypassSecurityTrustStyle("url(".concat(e.url,")")),isImage:n})})),this.cd.detectChanges()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Sb(i.h),i.Sb(a.b))},e.\u0275cmp=i.Mb({type:e,selectors:[["nb-chat-message-file"]],inputs:{message:"message",sender:"sender",date:"date",files:"files"},decls:4,vars:6,consts:[[3,"sender","date","message"],[4,"ngIf"],[1,"message-content-group"],["target","_blank",3,"href",4,"ngFor","ngForOf"],["target","_blank",3,"href"],[3,"icon",4,"ngIf"],[3,"background-image",4,"ngIf"],[3,"icon"]],template:function(e,t){1&e&&(i.Yb(0,"nb-chat-message-text",0),i.Ic(1),i.Xb(),i.Gc(2,p,3,1,"ng-container",1),i.Gc(3,f,4,3,"ng-container",1)),2&e&&(i.pc("sender",t.sender)("date",t.date)("message",t.message),i.Fb(1),i.Kc(" ",t.message," "),i.Fb(1),i.pc("ngIf",(null==t.readyFiles?null:t.readyFiles.length)>1),i.Fb(1),i.pc("ngIf",1===(null==t.readyFiles?null:t.readyFiles.length)))},directives:[c.a,s.m,s.l,l.o],encapsulation:2,changeDetection:0}),e}()},cVQz:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n("fXoL"),a=n("ofXK"),o=n("waa1");function c(e,t){if(1&e&&(i.Yb(0,"p",3),i.Ic(1),i.Yb(2,"time"),i.Ic(3),i.kc(4,"date"),i.Xb(),i.Xb()),2&e){var n=i.jc();i.Fb(1),i.Kc("",n.sender," "),i.Fb(2),i.Jc(i.mc(4,2,n.date,"shortTime"))}}var s=function(){var e=function e(){r(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Mb({type:e,selectors:[["nb-chat-message-quote"]],inputs:{message:"message",sender:"sender",date:"date",quote:"quote"},decls:5,vars:4,consts:[["class","sender",4,"ngIf"],[1,"quote"],[3,"message"],[1,"sender"]],template:function(e,t){1&e&&(i.Gc(0,c,5,5,"p",0),i.Yb(1,"p",1),i.Ic(2),i.Xb(),i.Yb(3,"nb-chat-message-text",2),i.Ic(4),i.Xb()),2&e&&(i.pc("ngIf",t.sender||t.date),i.Fb(2),i.Kc(" ",t.quote," "),i.Fb(1),i.pc("message",t.message),i.Fb(1),i.Kc(" ",t.message," "))},directives:[a.m,o.a],pipes:[a.e],encapsulation:2,changeDetection:0}),e}()},dT8p:function(e){e.exports=JSON.parse('{"dev":false}')},rk8u:function(e,n,i){"use strict";(function(e){i.d(n,"a",(function(){return Z}));var a=i("n2fA"),c=i("FQBZ"),s=i("dT8p"),l=i("2Vo4"),d=i("0EQZ"),u=i("FvrZ"),h=i("8yBR"),p=i("STbY"),b=i("fXoL"),g=i("Witw"),f=i("aceb"),v=i("gvxT"),m=i("kmnG"),C=i("qFsG"),x=i("d3UM"),y=i("ofXK"),k=i("3Pt+"),F=i("bTqV"),w=i("FKr1"),S=i("IyRd"),I=i("znSr"),O=i("NFeN"),N=["emptyItem"],P=["qrPop"],M=["createPop"],X=["folder"],j=["import"];function Y(e,t){if(1&e&&(b.Yb(0,"mat-option",23),b.Ic(1),b.Xb()),2&e){var n=t.$implicit;b.pc("value",n.id),b.Fb(1),b.Kc(" ",n.data.name," ")}}function q(e,t){if(1&e){var n=b.Zb();b.Yb(0,"nb-card"),b.Yb(1,"nb-card-header"),b.Ic(2,"Create Channel"),b.Xb(),b.Yb(3,"nb-card-body",15),b.Yb(4,"div",16),b.Ic(5," Folder: "),b.Yb(6,"mat-select",17),b.fc("valueChange",(function(e){return b.xc(n),b.jc().newChannelFolder=e}))("selectionChange",(function(e){return b.xc(n),b.jc().newChannelFolderChanged(e.value)})),b.Gc(7,Y,2,2,"mat-option",18),b.Xb(),b.Xb(),b.Yb(8,"div",19),b.Yb(9,"input",20),b.fc("ngModelChange",(function(e){return b.xc(n),b.jc().newChannelName=e}))("keydown",(function(e){b.xc(n);var t=b.jc();return t.createNewChannelKeyDown(t.newChannelName,e)})),b.Xb(),b.Xb(),b.Xb(),b.Yb(10,"nb-card-footer"),b.Yb(11,"button",21),b.fc("click",(function(){b.xc(n);var e=b.jc();return e.createNewChannel(e.newChannelName)})),b.Ic(12,"Create"),b.Xb(),b.Yb(13,"button",22),b.fc("click",(function(){return b.xc(n),b.jc().closePopup()})),b.Ic(14,"Cancel"),b.Xb(),b.Xb(),b.Xb()}if(2&e){var i=b.jc();b.Fb(6),b.pc("value",i.newChannelFolder),b.Fb(1),b.pc("ngForOf",i.channelFolderListArray),b.Fb(2),b.pc("ngModel",i.newChannelName)}}function T(e,t){if(1&e){var n=b.Zb();b.Yb(0,"nb-card"),b.Yb(1,"nb-card-header"),b.Ic(2,"Scan QR"),b.Xb(),b.Yb(3,"nb-card-body",15),b.Yb(4,"div",24),b.Yb(5,"zxing-scanner",25),b.fc("deviceChange",(function(e){return b.xc(n),b.jc().currentDevice=e}))("scanSuccess",(function(e){return b.xc(n),b.jc().qrSuccessHandler(e)}))("permissionResponse",(function(e){return b.xc(n),b.jc().onHasPermission(e)}))("camerasFound",(function(e){return b.xc(n),b.jc().onCamerasFound(e)}))("torchCompatible",(function(e){return b.xc(n),b.jc().onTorchCompatible(e)})),b.Xb(),b.Xb(),b.Xb(),b.Yb(6,"nb-card-footer"),b.Yb(7,"button",22),b.fc("click",(function(){return b.xc(n),b.jc().closeQR()})),b.Ic(8,"Cancel"),b.Xb(),b.Xb(),b.Xb()}if(2&e){var i=b.jc();b.Fb(5),b.pc("torch",i.torchEnabled)("device",i.currentDevice)("formats",i.formatsEnabled)("tryHarder",i.tryHarder)}}function E(e,t){if(1&e&&(b.Yb(0,"mat-option",23),b.Ic(1),b.Xb()),2&e){var n=t.$implicit;b.pc("value",n.id),b.Fb(1),b.Kc(" ",n.data.name," ")}}function R(e,t){if(1&e){var n=b.Zb();b.Yb(0,"nb-card"),b.Yb(1,"nb-card-header"),b.Ic(2,"Join Channel"),b.Xb(),b.Yb(3,"nb-card-body",15),b.Yb(4,"div",16),b.Ic(5," Import Folder Structure: "),b.Yb(6,"mat-form-field",26),b.Yb(7,"mat-select",27),b.fc("valueChange",(function(e){return b.xc(n),b.jc().importFolderStructure=e}))("selectionChange",(function(e){return b.xc(n),b.jc().newInviteImportFoldersChanged(e.value)})),b.Yb(8,"mat-option",23),b.Ic(9," On "),b.Xb(),b.Yb(10,"mat-option",23),b.Ic(11," Off "),b.Xb(),b.Xb(),b.Xb(),b.Xb(),b.Yb(12,"div",16),b.Ic(13," Place Into Folder: "),b.Yb(14,"mat-select",17),b.fc("valueChange",(function(e){return b.xc(n),b.jc().newChannelFolder=e}))("selectionChange",(function(e){return b.xc(n),b.jc().newChannelFolderChanged(e.value)})),b.Gc(15,E,2,2,"mat-option",18),b.Xb(),b.Xb(),b.Yb(16,"div",19),b.Yb(17,"input",28),b.fc("ngModelChange",(function(e){return b.xc(n),b.jc().inviteCodeHex=e}))("keydown",(function(e){return b.xc(n),b.jc().importNewChannelKeyDown(e)})),b.Xb(),b.Yb(18,"nb-icon",29),b.fc("click",(function(){return b.xc(n),b.jc().scanQR()})),b.Xb(),b.Xb(),b.Xb(),b.Yb(19,"nb-card-footer"),b.Yb(20,"button",21),b.fc("click",(function(){b.xc(n);var e=b.jc();return e.importNewChannel(e.inviteCode)})),b.Ic(21,"Join"),b.Xb(),b.Yb(22,"button",22),b.fc("click",(function(){return b.xc(n),b.jc().closePopup()})),b.Ic(23,"Cancel"),b.Xb(),b.Xb(),b.Xb()}if(2&e){var i=b.jc();b.Fb(7),b.pc("value",i.importFolderStructure),b.Fb(1),b.pc("value",1),b.Fb(2),b.pc("value",0),b.Fb(4),b.pc("value",i.newChannelFolder),b.Fb(1),b.pc("ngForOf",i.channelFolderListArray),b.Fb(2),b.pc("ngModel",i.inviteCodeHex)}}function D(e,t){if(1&e&&(b.Yb(0,"mat-option",23),b.Ic(1),b.Xb()),2&e){var n=t.$implicit;b.pc("value",n.id),b.Fb(1),b.Kc(" ",n.data.name," ")}}function B(e,t){if(1&e){var n=b.Zb();b.Yb(0,"nb-card"),b.Yb(1,"nb-card-header"),b.Ic(2,"New Channel Folder"),b.Xb(),b.Yb(3,"nb-card-body",15),b.Yb(4,"div",16),b.Ic(5," Folder: "),b.Yb(6,"mat-select",17),b.fc("valueChange",(function(e){return b.xc(n),b.jc().newChannelFolder=e}))("selectionChange",(function(e){return b.xc(n),b.jc().newChannelFolderChanged(e.value)})),b.Gc(7,D,2,2,"mat-option",18),b.Xb(),b.Xb(),b.Yb(8,"div",19),b.Yb(9,"input",30),b.fc("ngModelChange",(function(e){return b.xc(n),b.jc().newFolderName=e}))("keydown",(function(e){b.xc(n);var t=b.jc();return t.createNewFolderKeyDown(t.newFolderName,e)})),b.Xb(),b.Xb(),b.Xb(),b.Yb(10,"nb-card-footer"),b.Yb(11,"button",21),b.fc("click",(function(){b.xc(n);var e=b.jc();return e.createNewFolder(e.newFolderName)})),b.Ic(12,"Create"),b.Xb(),b.Yb(13,"button",22),b.fc("click",(function(){return b.xc(n),b.jc().closePopup()})),b.Ic(14,"Cancel"),b.Xb(),b.Xb(),b.Xb()}if(2&e){var i=b.jc();b.Fb(6),b.pc("value",i.newChannelFolder),b.Fb(1),b.pc("ngForOf",i.channelFolderListArray),b.Fb(2),b.pc("ngModel",i.newFolderName)}}var L=function(e){return{"drag-start":e}};function _(e,t){if(1&e){var n=b.Zb();b.Yb(0,"mat-tree-node",31),b.fc("dragover",(function(e){b.xc(n);var i=t.$implicit;return b.jc().handleDragOver(e,i)}))("dragend",(function(e){return b.xc(n),b.jc().handleDragEnd(e)}))("drop",(function(e){b.xc(n);var i=t.$implicit;return b.jc().handleDrop(e,i)}))("click",(function(){b.xc(n);var e=t.$implicit;return b.jc().selectChannel(e.item)})),b.Yb(1,"div"),b.Tb(2,"nb-icon",32),b.Yb(3,"span",33),b.fc("dragstart",(function(e){b.xc(n);var i=t.$implicit;return b.jc().handleDragStart(e,i)})),b.Yb(4,"span",34),b.Ic(5),b.Xb(),b.Xb(),b.Xb(),b.Xb()}if(2&e){var i=t.$implicit,a=b.jc();b.pc("ngClass",a.getStyle(i)),b.Fb(1),b.Ib("treeNodeContainerSingle ",i.item,""),b.Kb("active-channel",a.selectedChannel===i.item),b.Fb(3),b.pc("ngClass",b.sc(8,L,a.dragNode===i)),b.Fb(1),b.Kc(" ",i.item," ")}}function A(e,t){if(1&e){var n=b.Zb();b.Yb(0,"mat-tree-node",35),b.fc("dragover",(function(e){b.xc(n);var i=t.$implicit;return b.jc().handleDragOver(e,i)}))("dragend",(function(e){b.xc(n);var i=t.$implicit;return b.jc().handleDragEnd(e,i)}))("drop",(function(e){b.xc(n);var i=t.$implicit;return b.jc().handleDrop(e,i)})),b.Yb(1,"div",36),b.fc("contextmenu",(function(e){b.xc(n);var i=t.$implicit;return b.jc().onContextMenu(e,i.item)})),b.Yb(2,"button",37),b.Yb(3,"mat-icon",38),b.Ic(4),b.Xb(),b.Xb(),b.Tb(5,"nb-icon",39),b.Yb(6,"span",33),b.fc("dragstart",(function(e){b.xc(n);var i=t.$implicit;return b.jc().handleDragStart(e,i)})),b.Yb(7,"span",34),b.Ic(8),b.Xb(),b.Xb(),b.Xb(),b.Xb()}if(2&e){var i=t.$implicit,a=b.jc();b.pc("ngClass",a.getStyle(i)),b.Fb(2),b.Gb("aria-label","toggle "+i.item),b.Fb(2),b.Kc(" ",a.treeControl.isExpanded(i)?"expand_more":"chevron_right"," "),b.Fb(3),b.pc("ngClass",b.sc(5,L,a.dragNode===i)),b.Fb(1),b.Kc(" ",a.getFolderNameFromId(i.item)," ")}}function K(e,t){if(1&e){var n=b.Zb();b.Yb(0,"button",40),b.fc("click",(function(){b.xc(n);var e=t.item;return b.jc().deleteFolder(e)})),b.Ic(1,"Delete"),b.Xb(),b.Yb(2,"button",40),b.fc("click",(function(){b.xc(n);var e=t.item;return b.jc().onContextMenuAction2(e)})),b.Ic(3,"Rename"),b.Xb(),b.Yb(4,"button",40),b.fc("click",(function(){b.xc(n);var e=t.item;return b.jc().onContextMenuAction2(e)})),b.Ic(5,"Export"),b.Xb()}}var G=function e(){r(this,e)},z=function e(){r(this,e)},H={},V=function(){var e=function(){function e(){r(this,e),this.dataChange=new l.a([]),this.initialize()}return o(e,[{key:"initialize",value:function(){this.buildFileTree(H,0)}},{key:"buildFileTree",value:function(e,t){var n=this;return Object.keys(e).reduce((function(i,a){var o=e[a],r=new G;return r.item=a,null!=o&&("object"==typeof o?r.children=n.buildFileTree(o,t+1):r.item=o),i.concat(r)}),[])}},{key:"insertItem",value:function(e,t){e.children||(e.children=[]);var n={item:t};return e.children.push(n),this.dataChange.next(this.data),n}},{key:"getParentFromNodes",value:function(e){for(var t=0;t0)for(var n=0;n0){var a=this.getParent(i,t);if(null!=a)return a}}return null}},{key:"updateItem",value:function(e,t){e.item=t,this.dataChange.next(this.data)}},{key:"deleteItem",value:function(e){this.deleteNode(this.data,e),this.dataChange.next(this.data)}},{key:"copyPasteItem",value:function(e,t){var n=this,i=this.insertItem(t,e.item);return e.children&&e.children.forEach((function(e){n.copyPasteItem(e,i)})),i}},{key:"deleteNode",value:function(e,t){var n=this,i=e.indexOf(t,0);i>-1?e.splice(i,1):e.forEach((function(e){e.children&&e.children.length>0&&n.deleteNode(e.children,t)}))}},{key:"filter",value:function(e){var t;t=e&&e.length>0?{Filter:{emptyFolder:{}},Function:{emptyFolder:{}},Missing:{emptyFolder:{}}}:H;var n=this.buildFileTree(t,0);this.dataChange.next(n)}},{key:"setQOS",value:function(e){this.q=e}},{key:"data",get:function(){return this.dataChange.value}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=b.Ob({token:e,factory:e.\u0275fac}),e}(),Z=function(){var n=function(){function n(e,t,i,a,o,p){var b=this;r(this,n),this.cd=e,this.database=t,this.ui=i,this.dialog=a,this.nbMenuService=o,this.q=p,this.contextMenuPosition={x:"0px",y:"0px"},this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.selectedParent=null,this.newItemName="",this.checklistSelection=new d.c(!0),this.dragNodeExpandOverWaitTimeMs=300,this.getLevel=function(e){return e.level},this.isExpandable=function(e){return e.expandable},this.getChildren=function(e){return e.children},this.hasChild=function(e,t){return t.expandable},this.hasNoContent=function(e,t){return""===t.item},this.transformer=function(e,t){var n=b.nestedNodeMap.get(e),i=n&&n.item===e.item?n:new z;return i.item=e.item,i.level=t,i.expandable=e.children&&e.children.length>0,b.flatNodeMap.set(i,e),b.nestedNodeMap.set(e,i),i},this.dragNodeExpandOverAreaReal=0,this.channelNameList=[],this.restoreFlag=0,this.sENwriteBlock=0,this.channelIsSelected="active-channel",this.DEVMODE=s.dev,this.customColumn="name",this.items=[{title:"New Folder"},{title:"New Channel"},{title:"Join Channel"}],this.currentDevice=null,this.formatsEnabled=[c.BarcodeFormat.QR_CODE],this.torchEnabled=!1,this.torchAvailable$=new l.a(!1),this.tryHarder=!1,this.channelFolderListArray=[],this.popupRef=[],this.importFolderStructure=1,this.itemClickSub=this.nbMenuService.onItemClick().subscribe((function(e){"New Channel"==String(e.item.title)?(b.getChannelFolderList(),b.open(b.createPop)):"Join Channel"==String(e.item.title)?(b.getChannelFolderList(),b.open(b.importPop)):"New Folder"==String(e.item.title)&&(b.getChannelFolderList(),b.open(b.folderPop))})),this.database.setQOS(this.q),this.treeFlattener=new h.c(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new u.j(this.getLevel,this.isExpandable),this.dataSource=new h.b(this.treeControl,this.treeFlattener)}return o(n,[{key:"onContextMenu",value:function(e,t){e.preventDefault(),this.contextMenuPosition.x=e.clientX+"px",this.contextMenuPosition.y=e.clientY-40+"px",this.contextMenu.menuData={item:t},this.contextMenu.openMenu()}},{key:"onContextMenuAction1",value:function(e){}},{key:"onContextMenuAction2",value:function(e){}},{key:"descendantsAllSelected",value:function(e){var t=this;return this.treeControl.getDescendants(e).every((function(e){return t.checklistSelection.isSelected(e)}))}},{key:"descendantsPartiallySelected",value:function(e){var t=this;return this.treeControl.getDescendants(e).some((function(e){return t.checklistSelection.isSelected(e)}))&&!this.descendantsAllSelected(e)}},{key:"todoItemSelectionToggle",value:function(e){var n,i;this.checklistSelection.toggle(e);var a=this.treeControl.getDescendants(e);this.checklistSelection.isSelected(e)?(n=this.checklistSelection).select.apply(n,t(a)):(i=this.checklistSelection).deselect.apply(i,t(a))}},{key:"saveNode",value:function(e,t){var n=this.flatNodeMap.get(e);this.database.updateItem(n,t)}},{key:"handleDragStart",value:function(e,t){this.dragNode=t,this.treeControl.collapse(t)}},{key:"handleDragOver",value:function(e,t){if(e.preventDefault(),-1===t.item.indexOf("-----")){this.dragNodeExpandOverNode&&t===this.dragNodeExpandOverNode?Date.now()-this.dragNodeExpandOverTime>this.dragNodeExpandOverWaitTimeMs&&(this.treeControl.isExpanded(t)||this.treeControl.expand(t)):(this.dragNodeExpandOverNode=t,this.dragNodeExpandOverTime=(new Date).getTime());var n=e.offsetY/e.target.clientHeight;0<=n&&n<=.25?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=1):1>=n&&n>=.75?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=-1):(this.dragNodeExpandOverAreaReal=0,this.dragNodeExpandOverArea=0)}}},{key:"handleDrop",value:function(e,t){var n;t!==this.dragNode&&t.item.indexOf("-----")<0&&(1===this.dragNodeExpandOverAreaReal||-1===this.dragNodeExpandOverAreaReal||(n=this.flatNodeMap.get(this.dragNode),this.database.deleteItem(n),n=this.database.copyPasteItem(n,this.flatNodeMap.get(t)),this.saveExpandedNodes(),this.buildChannelFolderListFromTreeNodeData()));this.handleDragEnd(e)}},{key:"handleDragEnd",value:function(e){this.dragNode=null,this.dragNodeExpandOverNode=null,this.dragNodeExpandOverTime=0,this.dragNodeExpandOverArea=NaN,e.preventDefault()}},{key:"getStyle",value:function(e){if("emptyFolder"==e.item)return"display-none";if(this.dragNode===e)return"drag-start";if(this.dragNodeExpandOverNode===e)switch(this.dragNodeExpandOverArea){case 1:return"drop-above";case-1:return"drop-below";default:return"drop-center"}}},{key:"closeQR",value:function(){var e=this;setTimeout((function(){e.closePopup()}),500)}},{key:"scanQR",value:function(){this.open(this.qrPop)}},{key:"deleteItem",value:function(e){this.database.deleteItem(this.flatNodeMap.get(e))}},{key:"filterChanged",value:function(e){this.database.filter(e),e?this.treeControl.expandAll():this.treeControl.collapseAll()}},{key:"getFolderNameFromId",value:function(e){return"emptyFolder"==e?e:this.q.os.bee.config.getFolderNameFromId(e)}},{key:"isFolder",value:function(e){return!(e.indexOf("-----")>-1)}},{key:"ngOnDestroy",value:function(){console.log("ChannelList: ngOnDestroy..."),this.itemClickSub.unsubscribe(),this.dataChangeSub.unsubscribe(),this.channelFolderListSub.unsubscribe(),this.selectedChannelSub.unsubscribe()}},{key:"createNewChannelKeyDown",value:function(e,t){13===t.keyCode&&this.createNewChannel(e)}},{key:"importNewChannelKeyDown",value:function(e){13===e.keyCode&&this.importNewChannel()}},{key:"createNewFolderKeyDown",value:function(e,t){13===t.keyCode&&this.createNewFolder(e)}},{key:"ngOnInit",value:function(){return Object(a.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var t=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.q.os.isSignedIn()){e.next=6;break}return console.log("ChannelList: Waiting for OS Sign In..."),e.next=4,this.ui.delay(1e3);case 4:e.next=0;break;case 6:this.channelNameList=this.q.os.ocean.dolphin.getChannelNameList(),this.channelFolderList=this.q.os.bee.config.getChannelFolderList(),this.dataChangeSub=this.database.dataChange.subscribe((function(e){t.dataSource.data=[],t.dataSource.data=e})),this.channelFolderListSub=this.q.os.bee.config.channelFolderListSub.subscribe((function(e){t.loadChannels(e)})),this.selectedChannelSub=this.q.os.channel.onSelect().subscribe((function(e){t.selectedChannel=e})),this.loadChannels(this.channelFolderList),this.selectedChannel=this.q.os.channel.getSelected(),this.cd.detectChanges();case 7:case"end":return e.stop()}}),e,this)})))}},{key:"loadChannels",value:function(e){H=this.q.os.bee.config.getChannelFolderIDList(),this.database.filter(""),e.length>0&&this.q.os.bee.config.getExpandedChannelFolderItems().length>0&&(console.log("got a saved state!"),this.expandedNodes=this.q.os.bee.config.getExpandedChannelFolderItems(),this.restoreExpandedNodes())}},{key:"saveExpandedNodes",value:function(){this.sENwriteBlock=1,this.expandedNodes=[];for(var e=0;e-1&&(i="channel"),console.log(i);var a=[];void 0!==e[n].children&&e[n].children.length>0&&(a=this.getFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFolderNameFromId(e[n].item),kind:i,items:0},children:a})}return this.q.os.bee.config.setChannelFolderList(t),!0}},{key:"selectChannel",value:function(e){var t=this;console.log("ChannelList: Trying to select: >>"+e.trim()),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),e.trim())&&(console.log("ChannelList: Selecting: ",e.trim()),this.q.os.channel.select(e.trim()),this.q.os.ui.getSideBarFixed().left&&this.q.os.ui.hideSideBar("left"),this.cd.detectChanges(),setTimeout((function(){t.scrollBottom()}),2500),setTimeout((function(){t.scrollBottom()}),5500),setTimeout((function(){t.scrollBottom()}),4e3))}},{key:"getSelected",value:function(){return JSON.stringify(this.selectedChannel)}},{key:"scrollBottom",value:function(){try{this.scrollable={},this.scrollable.nativeElement=window["quest-network-ui-globals"]["messages-chat-scrollable"],null!=this.scrollable.nativeElement&&this.scrollable.nativeElement.scrollTop>this.scrollable.nativeElement.scrollHeight-$(this.scrollable.nativeElement).height()-210&&(this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight)}catch(e){console.log(e)}}},{key:"getFolderListTreeChildrenRec",value:function(e){for(var t=[],n=0;n-1&&(i="channel");var a=[];void 0!==e[n].children&&e[n].children.length>0&&(a=this.getFolderListTreeChildrenRec(e[n].children)),t.push({id:e[n].item,data:{name:this.q.os.bee.config.getFolderNameFromId(e[n].item),kind:i,items:0},children:a})}return t}},{key:"restoreExpandedNodes",value:function(){var e=this;this.sENwriteBlock=1;for(var t=function(t){var n=e.expandedNodes[t];console.log(n),console.log(e.treeControl.dataNodes),e.treeControl.expand(e.treeControl.dataNodes.find((function(e){return e.item===n.item})))},n=0;n0&&(this.newChannelFolder=this.channelFolderListArray[0]),this.channelFolderList}},{key:"parseStructure",value:function(e){for(var t=0;t0?(n=o[o.length-1].split(":")[0],i=o[o.length-1].split(":")[1],o.pop()):(n=a.split(":")[0],i=a.split(":")[1]),"object"!=typeof(r=this.newChannelFolder)&&void 0!==r&&null!=typeof r||(r=""),!this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),n)){t.next=9;break}this.ui.showSnack("Channel Exists!","Oops",{duration:1e3}),t.next=12;break;case 9:return t.next=11,this.q.os.channel.import(n,o,r,i,this.importFolderStructure);case 11:this.createCompleteAndClose();case 12:case"end":return t.stop()}}),t,this)})))}},{key:"newInviteImportFoldersChanged",value:function(){}}]),n}();return n.\u0275fac=function(e){return new(e||n)(b.Sb(b.h),b.Sb(V),b.Sb(g.a),b.Sb(f.l),b.Sb(f.y),b.Sb(v.a))},n.\u0275cmp=b.Mb({type:n,selectors:[["messages-channel-list"]],viewQuery:function(e,t){var n;1&e&&(b.Mc(p.d,!0),b.Mc(N,!0),b.Mc(P,!0),b.Mc(M,!0),b.Mc(X,!0),b.Mc(j,!0)),2&e&&(b.uc(n=b.gc())&&(t.contextMenu=n.first),b.uc(n=b.gc())&&(t.emptyItem=n.first),b.uc(n=b.gc())&&(t.qrPop=n.first),b.uc(n=b.gc())&&(t.createPop=n.first),b.uc(n=b.gc())&&(t.folderPop=n.first),b.uc(n=b.gc())&&(t.importPop=n.first))},features:[b.Eb([V])],decls:21,vars:9,consts:[["createPop",""],["qrPop",""],["import",""],["folder",""],[2,"width","169px","margin-top","20px","color","#598adb"],["matInput","","placeholder","Search",3,"input"],["outline","","size","small",1,"addChannelButton",3,"nbContextMenu"],["icon","plus-outline",2,"font-size","18px","width","auto"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop","click",4,"matTreeNodeDef"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop",4,"matTreeNodeDef","matTreeNodeDefWhen"],[2,"visibility","hidden","position","fixed",3,"matMenuTriggerFor"],["contextMenu","matMenu"],["matMenuContent",""],["emptyItem",""],[2,"color","goldenrod"],[2,"padding","20px"],[2,"width","80%","margin-left","10px",3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[2,"padding","20px","padding-bottom","34px","padding-top","0px","color","white !important"],["matInput","","placeholder","Channel Name","value","","name","newChannelName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange","keydown"],["mat-stroked-button","","color","primary",2,"margin-right","20px","border","1px solid #ffffff24",3,"click"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[3,"value"],[1,"qrScanWrapper"],[3,"torch","device","formats","tryHarder","deviceChange","scanSuccess","permissionResponse","camerasFound","torchCompatible"],[2,"width","19%"],[3,"value","valueChange","selectionChange"],["matInput","","placeholder","Invite Code","value","","name","inviteCodeHex",2,"color","black","background-color","goldenrod","padding","7px","margin-right","5%","width","80%",3,"ngModel","ngModelChange","keydown"],["icon","camera-outline",1,"deleteCode","scanQRCode",3,"click"],["matInput","","placeholder","Folder Name","value","","name","newFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange","keydown"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop","click"],["icon","activity"],["draggable","true",1,"checklist-leaf-node",3,"dragstart"],[1,"nodeContent",3,"ngClass"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop"],[1,"treeNodeContainerFolder",3,"contextmenu"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["icon","folder-outline"],["mat-menu-item","",3,"click"]],template:function(e,t){if(1&e&&(b.Gc(0,q,15,3,"ng-template",null,0,b.Hc),b.Gc(2,T,9,4,"ng-template",null,1,b.Hc),b.Gc(4,R,24,6,"ng-template",null,2,b.Hc),b.Gc(6,B,15,3,"ng-template",null,3,b.Hc),b.Yb(8,"mat-form-field",4),b.Yb(9,"input",5),b.fc("input",(function(e){return t.filterChanged(e.target.value)})),b.Xb(),b.Xb(),b.Yb(10,"button",6),b.Tb(11,"nb-icon",7),b.Xb(),b.Yb(12,"mat-tree",8),b.Gc(13,_,6,10,"mat-tree-node",9),b.Gc(14,A,9,7,"mat-tree-node",10),b.Xb(),b.Tb(15,"div",11),b.Yb(16,"mat-menu",null,12),b.Gc(18,K,6,0,"ng-template",13),b.Xb(),b.Tb(19,"span",null,14)),2&e){var n=b.vc(17);b.Fb(10),b.pc("nbContextMenu",t.items),b.Fb(2),b.pc("dataSource",t.dataSource)("treeControl",t.treeControl),b.Fb(2),b.pc("matTreeNodeDefWhen",t.hasChild),b.Fb(1),b.Dc("left",t.contextMenuPosition.x)("top",t.contextMenuPosition.y),b.pc("matMenuTriggerFor",n)}},directives:[m.b,C.a,f.i,f.o,h.a,h.f,p.d,p.e,p.a,f.d,f.f,f.c,x.a,y.l,k.b,k.j,k.m,f.e,F.a,w.g,S.a,h.e,h.h,h.g,y.k,I.a,O.a,p.b],styles:["button[nbTreeGridRowToggle][_ngcontent-%COMP%]{background:transparent;border:none;padding:0}.search-label[_ngcontent-%COMP%]{display:block}.search-input[_ngcontent-%COMP%]{background:transparent;color:#fff;padding:5px;font-size:12px;width:100%;margin-top:1rem;margin-bottom:1rem;width:78%;margin-left:1%}.addChannelButton[_ngcontent-%COMP%]{color:rgba(134,116,183,.7490196078431373);margin-left:5%;position:relative;top:1px;background-color:#45267d;border:1px solid;border-radius:5px;padding:4px;opacity:.7}.nb-column-name[_ngcontent-%COMP%]{width:80%}.nb-column-items[_ngcontent-%COMP%]{width:20%}.scanQRCode[_ngcontent-%COMP%]{font-size:37px;color:#315cdf;cursor:pointer}.scanQRCode[_ngcontent-%COMP%]:hover{color:#4a81e6}[_nghost-%COMP%] nb-layout-header[_ngcontent-%COMP%] nav{justify-content:flex-end}.mat-tree[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{background:transparent}.mat-tree-node[_ngcontent-%COMP%]{overflow:visible;cursor:move}.drop-above[_ngcontent-%COMP%]{border-top:10px solid #2196f3;margin-top:-10px}.drop-below[_ngcontent-%COMP%]{border-bottom:10px solid #2196f3;margin-bottom:-10px}.drop-center[_ngcontent-%COMP%]{background-color:#a9a9a9}.drag-start[_ngcontent-%COMP%]{background-color:#1565c0;color:#f0fff0}.treeNodeContainerFolder[_ngcontent-%COMP%]{background-color:rgba(131,119,230,.058823529411764705);padding:0 16px 0 0}.treeNodeContainerFolder[_ngcontent-%COMP%], .treeNodeContainerSingle[_ngcontent-%COMP%]{border-radius:5px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.treeNodeContainerSingle[_ngcontent-%COMP%]{background-color:rgba(69,39,128,.3686274509803922);padding:6px 10px 6px 15px}.mat-tree[_ngcontent-%COMP%]{z-index:999;width:227px;left:14px;top:190px;padding-right:10px;bottom:40px;position:fixed;overflow:scroll}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:none!important}.emptyFolder[_ngcontent-%COMP%]{display:none}.mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{line-height:20px}.qrScanWrapper[_ngcontent-%COMP%]{min-width:20px;max-height:80vh;max-width:37vw}"]}),n}()}).call(this,i("tjlA").Buffer)},tayM:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var i=function e(){r(this,e)}},waa1:function(t,n,i){"use strict";i.d(n,"a",(function(){return w}));var a=i("fXoL"),c=i("tyNb"),s=i("gvxT"),l=i("ofXK"),d=i("aceb"),u=i("zwFz"),h=i("fP41");function p(e,t){1&e&&a.Tb(0,"nb-icon",7)}function b(e,t){1&e&&a.Tb(0,"nb-icon",8)}function g(e,t){if(1&e){var n=a.Zb();a.Yb(0,"p",4),a.fc("click",(function(){a.xc(n);var e=a.jc();return e.goToProfile(e.sender.social)})),a.Ic(1),a.Gc(2,p,1,0,"nb-icon",5),a.Gc(3,b,1,0,"nb-icon",6),a.Xb()}if(2&e){var i=a.jc();a.Fb(1),a.Kc(" ",i.sender.name," "),a.Fb(1),a.pc("ngIf",i.sender.isRequestedFavorite),a.Fb(1),a.pc("ngIf",i.sender.isFavorite)}}function f(e,t){if(1&e&&(a.Yb(0,"p",9),a.Ic(1),a.Xb()),2&e){var n=a.jc();a.Fb(1),a.Kc(" ",n.sender.name," ")}}var v=function(){return{newWindow:!0}};function m(e,t){if(1&e&&(a.Tb(0,"div",17),a.kc(1,"linky")),2&e){var n=a.jc().$implicit;a.pc("innerHTML",a.mc(1,1,n.text,a.rc(4,v)),a.yc)}}function C(e,t){if(1&e&&a.Tb(0,"ngx-emoji",18),2&e){var n=a.jc().$implicit;a.pc("emoji",n.emojiColon)}}function x(e,t){if(1&e&&(a.Yb(0,"div",14),a.Gc(1,m,2,5,"div",15),a.Gc(2,C,1,1,"ngx-emoji",16),a.Xb()),2&e){var n=t.$implicit;a.Fb(1),a.pc("ngIf",!n.isEmoji),a.Fb(1),a.pc("ngIf",n.isEmoji)}}function y(e,t){if(1&e&&(a.Yb(0,"div",12),a.Gc(1,x,3,2,"div",13),a.Xb()),2&e){var n=t.$implicit;a.Fb(1),a.pc("ngForOf",n)}}function k(e,t){if(1&e&&(a.Yb(0,"div",10),a.Gc(1,y,2,1,"div",11),a.Xb()),2&e){var n=a.jc();a.Fb(1),a.pc("ngForOf",n.messageRows)}}function F(e,t){if(1&e&&(a.Yb(0,"div"),a.Tb(1,"ngx-emoji",19),a.Xb()),2&e){var n=a.jc();a.Fb(1),a.qc("emoji",n.messageRows[0][0].emojiColon)}}var w=function(){var t=function(){function t(e,n,i){r(this,t),this.ngZone=e,this.router=n,this.q=i,this.scrollable={}}return o(t,[{key:"scrollBottom",value:function(){try{this.scrollable.nativeElement=window["quest-network-ui-globals"]["messages-chat-scrollable"],null!=this.scrollable.nativeElement&&this.scrollable.nativeElement.scrollTop>this.scrollable.nativeElement.scrollHeight-$(this.scrollable.nativeElement).height()-210&&(this.scrollable.nativeElement.scrollTop=this.scrollable.nativeElement.scrollHeight)}catch(e){console.log(e)}}},{key:"ngOnInit",value:function(){this.messageRows=this.getArray(this.message),this.scrollBottom()}},{key:"ngOnChanges",value:function(){this.messageRows=this.getArray(this.message),this.scrollBottom()}},{key:"goToProfile",value:function(e){var t=this;this.ngZone.run((function(){return t.router.navigate(["/social/profile/"+e])}))}},{key:"getArray",value:function(t){var n=[],i=[],a=String(t).trim();try{for(var o=0,r=["\n:","\n :","\n :"];o0&&(t.messageRows.length>1||!t.messageRows[0][0].isEmoji)),a.Fb(1),a.pc("ngIf",1==t.messageRows.length&&1==t.messageRows[0].length&&t.messageRows[0][0].isEmoji))},directives:[l.m,d.o,l.l,u.a],pipes:[h.b],styles:[".senderIcon[_ngcontent-%COMP%]{top:-2px;position:relative;color:#d2d24b}.socialLink[_ngcontent-%COMP%]{cursor:pointer}.messageDisplayName[_ngcontent-%COMP%]{color:#d6d8dc!important;padding-bottom:5px!important}.messageSenderStarIcon[_ngcontent-%COMP%]{color:#256dff!important}.emojiChunk[_ngcontent-%COMP%]{max-height:22px;overflow:hidden;margin:0;position:relative;top:5px;padding:0 2px}.chunkContainer[_ngcontent-%COMP%], .emojiChunk[_ngcontent-%COMP%], .messagesInnerWrapper[_ngcontent-%COMP%], .textChunk[_ngcontent-%COMP%]{display:inline-block}.textChunk[_ngcontent-%COMP%]{white-space:nowrap;padding-left:2px;padding-right:2px;max-height:22px}"],changeDetection:0}),t}()},xUDc:function(e,t,n){"use strict";n.d(t,"a",(function(){return C}));var i=n("R0Ic"),a=n("fXoL"),c=n("jhN1"),s=n("ofXK"),l=n("bzWg"),d=n("cVQz"),u=n("K9Od"),h=n("waa1");function p(e,t){if(1&e&&(a.Wb(0),a.Ic(1),a.Vb()),2&e){var n=a.jc(2);a.Fb(1),a.Kc(" ",n.getInitials()," ")}}function b(e,t){if(1&e&&(a.Yb(0,"div",7),a.Gc(1,p,2,1,"ng-container",8),a.Xb()),2&e){var n=a.jc();a.Dc("background-image",n.avatarStyle),a.Fb(1),a.pc("ngIf",!n.avatarStyle)}}function g(e,t){if(1&e&&a.Tb(0,"nb-chat-message-file",9),2&e){var n=a.jc();a.pc("sender",n.sender)("date",n.date)("message",n.message)("files",n.files)}}function f(e,t){if(1&e&&a.Tb(0,"nb-chat-message-quote",10),2&e){var n=a.jc();a.pc("sender",n.sender)("date",n.date)("message",n.message)("quote",n.quote)}}function v(e,t){if(1&e&&a.Tb(0,"nb-chat-message-map",11),2&e){var n=a.jc();a.pc("sender",n.sender)("date",n.date)("message",n.message)("latitude",n.latitude)("longitude",n.longitude)}}function m(e,t){if(1&e&&a.Tb(0,"nb-chat-message-text",12),2&e){var n=a.jc();a.pc("sender",n.sender)("date",n.date)("message",n.message)}}var C=function(){var e=function(){function e(t){r(this,e),this.domSanitizer=t,this._reply=!1}return o(e,[{key:"getInitials",value:function(){return this.sender?this.sender.split(" ").map((function(e){return e.charAt(0)})).splice(0,2).join("").toUpperCase():""}},{key:"flyInOut",get:function(){return!0}},{key:"notReply",get:function(){return!this.reply}},{key:"reply",get:function(){return this._reply},set:function(e){var t;this._reply="string"==typeof(t=e)?"true"===(t=t.toLowerCase().trim())||""===t:!!t}},{key:"avatar",set:function(e){this.avatarStyle=e?this.domSanitizer.bypassSecurityTrustStyle("url(".concat(e,")")):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a.Sb(c.b))},e.\u0275cmp=a.Mb({type:e,selectors:[["nb-chat-message"]],hostVars:5,hostBindings:function(e,t){2&e&&(a.Fc("@flyInOut",t.flyInOut),a.Kb("not-reply",t.notReply)("reply",t.reply))},inputs:{reply:"reply",message:"message",sender:"sender",date:"date",files:"files",quote:"quote",latitude:"latitude",longitude:"longitude",avatar:"avatar",type:"type"},decls:7,vars:5,consts:[["class","avatar",3,"background-image",4,"ngIf"],[1,"message"],[3,"ngSwitch"],[3,"sender","date","message","files",4,"ngSwitchCase"],[3,"sender","date","message","quote",4,"ngSwitchCase"],[3,"sender","date","message","latitude","longitude",4,"ngSwitchCase"],[3,"sender","date","message",4,"ngSwitchDefault"],[1,"avatar"],[4,"ngIf"],[3,"sender","date","message","files"],[3,"sender","date","message","quote"],[3,"sender","date","message","latitude","longitude"],[3,"sender","date","message"]],template:function(e,t){1&e&&(a.Gc(0,b,2,3,"div",0),a.Yb(1,"div",1),a.Wb(2,2),a.Gc(3,g,1,4,"nb-chat-message-file",3),a.Gc(4,f,1,4,"nb-chat-message-quote",4),a.Gc(5,v,1,5,"nb-chat-message-map",5),a.Gc(6,m,1,3,"nb-chat-message-text",6),a.Vb(),a.Xb()),2&e&&(a.pc("ngIf",!t.reply),a.Fb(2),a.pc("ngSwitch",t.type),a.Fb(1),a.pc("ngSwitchCase","file"),a.Fb(1),a.pc("ngSwitchCase","quote"),a.Fb(1),a.pc("ngSwitchCase","map"))},directives:[s.m,s.o,s.p,s.q,l.a,d.a,u.a,h.a],encapsulation:2,data:{animation:[Object(i.m)("flyInOut",[Object(i.j)("in",Object(i.k)({transform:"translateX(0)"})),Object(i.l)("void => *",[Object(i.k)({transform:"translateX(-100%)"}),Object(i.e)(80)]),Object(i.l)("* => void",[Object(i.e)(80,Object(i.k)({transform:"translateX(100%)"}))])])]},changeDetection:0}),e}()}}])}(); \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/7-es2015.6d485030e5b58e2b38d2.js b/dist_archive/ipfs/0.9.4/7-es2015.6d485030e5b58e2b38d2.js new file mode 100644 index 0000000..56a4c5a --- /dev/null +++ b/dist_archive/ipfs/0.9.4/7-es2015.6d485030e5b58e2b38d2.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{"4LSw":function(t,e,n){"use strict";n.r(e),n.d(e,"QDSocialModule",(function(){return Pe}));var o=n("tyNb"),i=n("n2fA"),r=n("fXoL"),c=n("aceb"),s=n("gvxT"),a=n("ofXK"),l=n("bTqV"),p=n("zVjI");const d=function(){return["/social/stream/network"]},g=function(){return["active-channel"]},u=function(){return["/social/profile"]},h=function(){return{exact:!0}};let b=(()=>{class t{constructor(t,e,n,o){this.router=t,this.ngZone=e,this.sidebarService=n,this.q=o,this.selectedStream="Network"}showAlgo(t){this.q.os.bee.config.getSideBarFixed().left&&this.sidebarService.collapse("left"),this.selectedStream=t,this.ngZone.run(()=>this.router.navigate(["/social/stream/"+t.toLowerCase()]))}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(o.c),r.Sb(r.C),r.Sb(c.D),r.Sb(s.a))},t.\u0275cmp=r.Mb({type:t,selectors:[["social-sidebar-left"]],decls:18,vars:10,consts:[[1,"algorithmsHeader"],[1,"treeNodeContainerSingle","Network",3,"routerLink","routerLinkActive"],["icon","activity"],[1,"checklist-leaf-node"],[1,"nodeContent"],[1,"newAlgoButton"],["icon","plus-outline",1,"newAlgoIcon"],[1,"treeNodeContainerSingle","Network",3,"routerLink","routerLinkActive","routerLinkActiveOptions"],["icon","shake-outline"],[1,"nodeContent","station",2,"width","100%"]],template:function(t,e){1&t&&(r.Yb(0,"div",0),r.Ic(1,"\nAlgorithms:\n"),r.Xb(),r.Yb(2,"div",1),r.Tb(3,"nb-icon",2),r.Yb(4,"span",3),r.Yb(5,"span",4),r.Ic(6," Network "),r.Xb(),r.Xb(),r.Xb(),r.Yb(7,"button",5),r.Tb(8,"nb-icon",6),r.Ic(9," New Algorithm\n"),r.Xb(),r.Yb(10,"div",7),r.Tb(11,"nb-icon",8),r.Yb(12,"span",3),r.Yb(13,"span",9),r.Ic(14," My Station "),r.Xb(),r.Xb(),r.Xb(),r.Yb(15,"div",0),r.Ic(16,"\nFavorites:\n"),r.Xb(),r.Tb(17,"social-profile-favorites")),2&t&&(r.Fb(2),r.pc("routerLink",r.rc(5,d))("routerLinkActive",r.rc(6,g)),r.Fb(8),r.pc("routerLink",r.rc(7,u))("routerLinkActive",r.rc(8,g))("routerLinkActiveOptions",r.rc(9,h)))},directives:[o.d,o.e,c.o,p.a],styles:[".favoriteTab[_ngcontent-%COMP%]{overflow:hidden!important;overflow-y:auto!important}.algorithmsHeader[_ngcontent-%COMP%]{margin-top:20px;color:#4982e7;margin-bottom:10px;font-family:Ubuntu}.treeNodeContainerSingle[_ngcontent-%COMP%]{border-radius:5px;padding:6px 10px 6px 15px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:rgba(71,129,233,.9882352941176471)!important;font-size:16px;font-family:Ubuntu;cursor:pointer;background:#262246}.newAlgoButton[_ngcontent-%COMP%]{margin-top:10px;background:transparent;border:0;color:#256dff;font-family:Ubuntu;font-size:16px;padding:10px;margin-bottom:10px}.newAlgoIcon[_ngcontent-%COMP%]{position:relative;font-size:16px}.treeNodeContainerSingle[_ngcontent-%COMP%]:focus{outline:0;border:0}.algorithmsHeader[_ngcontent-%COMP%]:first-child{margin-top:22px}.nodeContent.station[_ngcontent-%COMP%]{position:relative;top:-2px}"]}),t})();function f(t,e){if(1&t){const t=r.Zb();r.Yb(0,"button",4),r.fc("click",(function(){return r.xc(t),r.jc().lockSideBar("left",!1)})),r.Ic(1,"Lock Panel"),r.Xb()}}function m(t,e){if(1&t){const t=r.Zb();r.Yb(0,"button",4),r.fc("click",(function(){return r.xc(t),r.jc().lockSideBar("left",!0)})),r.Ic(1,"Float Panel"),r.Xb()}}function C(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",5),r.fc("click",(function(){return r.xc(t),r.jc().toggleSideBar("left")})),r.Tb(1,"nb-icon",6),r.Xb()}}let x=(()=>{class t{constructor(t,e,n,o,i,r){this.ngZone=t,this.cd=e,this.sidebarService=n,this.q=o,this.activatedRoute=i,this.router=r,this.initRnd=0,this.postActive=!1,this.routeActive=!0,this.sideBarFixed={right:!0,left:!0},this.sideBarVisible={right:!1,left:!0},this.sideBarLockedClass="",this.sideBarLockedClassA="sideBarLocked",this.selectedProfile="NoProfileSelected",this.selectedPost="NoPostSelected"}ngOnDestroy(){this.sideBarFixedSub.unsubscribe(),this.sideBarVisibleSub.unsubscribe()}ngOnInit(){return Object(i.a)(this,void 0,void 0,(function*(){let t=this.q.os.social.profile.getSelected();void 0!==t&&(this.selectedProfile=t,this.postActive=!1),this.sideBarFixed=this.q.os.bee.config.getSideBarFixed(),this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),console.log("toggling:",this.sideBarVisible),this.sideBarVisible.left?this.sideBarVisible.left&&(this.sideBarFixed.left||(this.sideBarLockedClass=this.sideBarLockedClassA),this.sidebarService.expand("left")):(this.sideBarLockedClass="",this.sidebarService.collapse("left")),this.sideBarVisible.right||this.sidebarService.collapse("right"),this.sideBarVisible.right&&this.sidebarService.expand("right"),this.sideBarFixedSub=this.q.os.bee.config.sideBarFixedSub.subscribe(t=>{this.sideBarFixed=this.q.os.bee.config.getSideBarFixed()}),this.sideBarVisibleSub=this.q.os.bee.config.sideBarVisibleSub.subscribe(t=>{console.log("getting",t),this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),this.sideBarVisible.left?this.sideBarVisible.left&&this.sidebarService.expand("left"):this.sidebarService.collapse("left"),this.sideBarVisible.right||this.sidebarService.collapse("right"),this.sideBarVisible.right&&this.sidebarService.expand("right")}),setTimeout(()=>{this.sideBarFixed=this.q.os.bee.config.getSideBarFixed(),this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),console.log("toggling:",this.sideBarVisible),this.sideBarVisible.left?this.sideBarVisible.left&&this.sidebarService.expand("left"):this.sidebarService.collapse("left"),this.sideBarVisible.right||this.sidebarService.collapse("right"),this.sideBarVisible.right&&this.sidebarService.expand("right")},100),this.sidebarService.onCollapse().subscribe(()=>{console.log("collapsed"),this.sideBarFixed.left?(this.sideBarVisible.left=!1,this.sideBarLockedClass=""):this.sideBarLockedClass=this.sideBarLockedClassA})}))}lockSideBar(t,e){this.sideBarFixed[t]=e,this.q.os.bee.config.setSideBarFixed(this.sideBarFixed),this.sideBarLockedClass=e?"":this.sideBarLockedClassA,this.q.os.bee.config.commitNow()}toggleSideBar(t){this.sideBarVisible=this.q.os.bee.config.getSideBarVisible(),this.sideBarVisible[t]?(this.sideBarVisible[t]=!1,this.sideBarLockedClass=""):(this.sideBarFixed.left||(this.sideBarLockedClass=this.sideBarLockedClassA),this.sideBarVisible[t]=!0),this.q.os.bee.config.setSideBarVisible(this.sideBarVisible),this.q.os.bee.config.commitNow()}goToMyProfile(){this.ngZone.run(()=>this.router.navigate(["/social/profile"])),this.sideBarFixed.left?(this.sideBarVisible.left=!1,this.sideBarLockedClass="",this.sidebarService.collapse("left")):this.sideBarLockedClass=this.sideBarLockedClassA}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(r.C),r.Sb(r.h),r.Sb(c.D),r.Sb(s.a),r.Sb(o.a),r.Sb(o.c))},t.\u0275cmp=r.Mb({type:t,selectors:[["quest-messenger-root"]],decls:10,vars:8,consts:[["state","expanded","left","","tag","left","collapsed","true",1,"leftSideBar","mat-elevation-z6",3,"fixed"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thinOutlineButton floatButton",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thinOutlineButton",3,"click"],["class","toggleSideBarRight toggleSideBarLeft","class","toggleSideBarLeft",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thinOutlineButton","floatButton",3,"click"],[1,"toggleSideBarLeft",3,"click"],["icon","list-outline"]],template:function(t,e){1&t&&(r.Yb(0,"nb-layout"),r.Yb(1,"nb-sidebar",0),r.Gc(2,f,2,0,"button",1),r.Gc(3,m,2,0,"button",1),r.Yb(4,"button",2),r.fc("click",(function(){return e.toggleSideBar("left")})),r.Ic(5,"Hide Panel"),r.Xb(),r.Tb(6,"social-sidebar-left"),r.Xb(),r.Yb(7,"nb-layout-column"),r.Gc(8,C,2,0,"div",3),r.Tb(9,"router-outlet"),r.Xb(),r.Xb()),2&t&&(r.Fb(1),r.pc("fixed",e.sideBarFixed.left),r.Fb(1),r.pc("ngIf",e.sideBarFixed.left),r.Fb(1),r.pc("ngIf",!e.sideBarFixed.left),r.Fb(4),r.Jb("routerOutletWrapper streamsBrowseColumn ",e.sideBarLockedClass,"",e.sideBarVisible.left,""),r.Fb(1),r.pc("ngIf",!e.sideBarVisible.left))},directives:[c.u,c.B,a.m,l.a,b,c.t,o.h,c.o],styles:[".floatButton[_ngcontent-%COMP%]{left:131px;position:absolute}.toggleSideBarLeft[_ngcontent-%COMP%]{left:15px;position:absolute;top:32px;color:#d3c4c4;cursor:pointer;z-index:5}.centerButtonWrapper[_ngcontent-%COMP%]{position:fixed;bottom:3vh;left:0;right:0}.centerButtonContainer[_ngcontent-%COMP%]{margin:auto}.statusBarWrapper[_ngcontent-%COMP%]{position:fixed;bottom:0;max-height:28px;height:28px;left:0;right:0;background-color:#2d2a2a;z-index:20;font-size:14px;color:grey;padding-left:10px;padding-right:10px;border-top:1px solid #000}.statusBarRouterIcon[_ngcontent-%COMP%]{top:4px;margin:0;position:relative;line-height:10px;font-size:21px}.statusBarRadioIcon[_ngcontent-%COMP%]{top:-5px;margin:0 0 0 5px;position:relative;line-height:9px;font-size:17px}.web-top-links[_ngcontent-%COMP%]{position:fixed;right:13px;cursor:pointer;z-index:20;top:14px}@media only screen and (max-width:500px){.web-top-links[_ngcontent-%COMP%]{display:none}}nb-layout-column.profileLayoutColumn[_ngcontent-%COMP%]{background:linear-gradient(-10deg,#1d1a38,#3a0e0e);overflow:hidden;overflow-y:auto;position:absolute;top:0;bottom:28px;left:0;right:0}nb-layout-column[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}nb-layout-column[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:rgba(78,132,229,.5607843137254902)}nb-layout-column[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}.toggleStreams[_ngcontent-%COMP%]{left:52px;background:#eed864;border-radius:4px;top:22px}.toggleStreams[_ngcontent-%COMP%], .toggleStreamsActive[_ngcontent-%COMP%]{position:absolute;font-size:15px;font-weight:700;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer}.toggleStreamsActive[_ngcontent-%COMP%]{left:22px;border-radius:4px;top:72px;border:1px solid #276ffd}.toggleStreamsActive[_ngcontent-%COMP%]:hover{background:rgba(37,109,254,.0784313725490196)}.toggleStreams[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}nb-layout[_ngcontent-%COMP%]{overflow:hidden;position:fixed}nb-layout-column[_ngcontent-%COMP%]{overflow-y:auto}.streamsBrowseColumn[_ngcontent-%COMP%]{background:#22283a}social-timeline-post-combined-timeline[_ngcontent-%COMP%]{padding-top:60px}"]}),t})();var P=n("2Vo4"),v=n("FQBZ"),O=n("ZREu"),M=n("jhN1"),y=n("3Pt+"),_=n("IyRd"),k=n("qFsG"),w=n("zwFz"),F=n("d3J+"),S=n("fP41");function j(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",8),r.fc("click",(function(){r.xc(t);const e=r.jc();return e.postDelete(e.postObj)})),r.Tb(1,"nb-icon",9),r.Xb()}}function B(t,e){1&t&&(r.Yb(0,"div",10),r.Tb(1,"img",11),r.Xb())}function I(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",12),r.fc("click",(function(){r.xc(t);const e=r.jc();return e.selectProfile(e.profile.key.pubKey)})),r.Ic(1),r.Xb()}if(2&t){const t=r.jc();r.Fb(1),r.Kc(" ",t.profile.alias," ")}}function z(t,e){if(1&t&&(r.Yb(0,"div",13),r.Ic(1),r.Xb()),2&t){const t=r.jc();r.Fb(1),r.Kc(" ",t.postObj.dTimestamp,"\n")}}function T(t,e){if(1&t&&(r.Yb(0,"div",13),r.Ic(1),r.Xb()),2&t){const t=r.jc();r.Fb(1),r.Kc(" ",t.postObj.timestamp,"\n")}}const q=function(){return{newWindow:!0}};function N(t,e){if(1&t&&(r.Tb(0,"div",27),r.kc(1,"linky")),2&t){const t=r.jc().$implicit;r.pc("innerHTML",r.mc(1,1,t.text,r.rc(4,q)),r.yc)}}function R(t,e){if(1&t&&r.Tb(0,"ngx-emoji",28),2&t){const t=r.jc().$implicit;r.pc("emoji",t.emojiColon)}}function Y(t,e){if(1&t&&(r.Yb(0,"div",24),r.Gc(1,N,2,5,"div",25),r.Gc(2,R,1,1,"ngx-emoji",26),r.Xb()),2&t){const t=e.$implicit;r.Fb(1),r.pc("ngIf",!t.isEmoji),r.Fb(1),r.pc("ngIf",t.isEmoji)}}function X(t,e){if(1&t&&(r.Yb(0,"div"),r.Gc(1,Y,3,2,"div",23),r.Xb()),2&t){const t=e.$implicit;r.Fb(1),r.pc("ngForOf",t)}}function A(t,e){if(1&t&&(r.Yb(0,"div",21),r.Gc(1,X,2,1,"div",22),r.Xb()),2&t){const t=r.jc(2);r.Fb(1),r.pc("ngForOf",t.postRows)}}function L(t,e){if(1&t&&(r.Yb(0,"div"),r.Tb(1,"ngx-emoji",29),r.Xb()),2&t){const t=r.jc(2);r.Fb(1),r.qc("emoji",t.postRows[0][0].emojiColon)}}function D(t,e){if(1&t){const t=r.Zb();r.Yb(0,"button",30),r.fc("click",(function(){r.xc(t);const e=r.jc(2);return e.selectPost(e.postObj.qHash)})),r.Ic(1),r.Xb()}if(2&t){const t=r.jc(2);r.Fb(1),r.Jc(t.replyCount)}}function E(t,e){if(1&t){const t=r.Zb();r.Yb(0,"emoji-mart",37),r.fc("emojiClick",(function(e){r.xc(t);const n=r.jc(3);return n.addEmoji(e,n.postObj.qHash)})),r.Xb()}}function K(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",31),r.Yb(1,"textarea",32),r.fc("ngModelChange",(function(e){r.xc(t);const n=r.jc(2);return n.reply[n.postObj.qHash]=e})),r.Xb(),r.Tb(2,"ngx-emoji",33),r.Gc(3,E,1,0,"ng-template",null,34,r.Hc),r.Yb(5,"button",35),r.fc("click",(function(){r.xc(t);const e=r.jc(2);return e.post(e.postObj.qHash)})),r.Ic(6,"Reply"),r.Xb(),r.Yb(7,"button",36),r.fc("click",(function(){return r.xc(t),r.jc(2).cancel()})),r.Ic(8,"Cancel"),r.Xb(),r.Xb()}if(2&t){const t=r.vc(4),e=r.jc(2);r.Fb(1),r.pc("ngModel",e.reply[e.postObj.qHash]),r.Fb(1),r.pc("nbPopover",t)}}function V(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",14),r.Gc(1,A,2,1,"div",15),r.Gc(2,L,2,1,"div",16),r.Yb(3,"button",17),r.fc("click",(function(){r.xc(t);const e=r.jc();return e.reply(e.postObj.qHash)})),r.Tb(4,"nb-icon",18),r.Xb(),r.Gc(5,D,2,1,"button",19),r.Gc(6,K,9,2,"div",20),r.Xb()}if(2&t){const t=r.jc();r.Fb(1),r.pc("ngIf",t.postRows.length>0&&1!=t.postRows.length||1!=t.postRows[0].length||t.postRows.length>1||!t.postRows[0][0].isEmoji),r.Fb(1),r.pc("ngIf",1==t.postRows.length&&1==t.postRows[0].length&&t.postRows[0][0].isEmoji),r.Fb(3),r.pc("ngIf",t.replyCount>0),r.Fb(1),r.pc("ngIf",t.selectedNode==t.postObj.qHash)}}function G(t,e){1&t&&(r.Yb(0,"div",38),r.Ic(1,"\n[Post Deleted]\n"),r.Xb())}let H=(()=>{class t{constructor(t,e,n,o,i,r){this.ngZone=t,this.router=e,this._sanitizer=n,this.dialog=o,this.cd=i,this.q=r,this.postObj={id:"123",timestamp:0,content:"Demo",dTimestamp:""},this.isMyProfile=!1,this.profile={},this.dev=!1,this.selectedNode="",this.replyCount=0,this.imeline=[]}reply(t){this.selectedNode=t,this.cd.detectChanges()}cancel(){this.selectedNode=""}selectPost(t){this.ngZone.run(()=>this.router.navigate(["/social/timeline/post/"+t]))}selectProfile(t){this.ngZone.run(()=>this.router.navigate(["/social/profile/"+t]))}addEmoji(t,e=""){void 0===this.reply[e]?this.reply[e]=t.emoji.colons+" ":this.reply[e]+=" "+t.emoji.colons+" ",this.cd.detectChanges()}post(t){return Object(i.a)(this,void 0,void 0,(function*(){this.q.os.ui.showSnack("Syncing Timeline...","Please Wait");let e=yield this.q.os.social.profile.getMyProfile();if(void 0===e.alias)throw alert("Please set your Alias first!"),"no name set";let n={content:this.reply[t],socialPubKey:e.key.pubKey,replyTo:t};yield this.q.os.social.timeline.post.new(n),this.selectedNode="",this.reply[t]="",this.cd.detectChanges(),setTimeout(()=>{this.q.os.social.timeline.agent.reload(),this.cd.detectChanges()},2e3)}))}ngOnInit(){return Object(i.a)(this,void 0,void 0,(function*(){if(void 0!==this.postObj.content){this.postRows=this.getArray(this.postObj.content),this.postObj.dTimestamp=new Date(this.postObj.timestamp).toString(),this.replyCount=this.q.os.social.timeline.agent.getReplyCount(this.postObj.qHash);try{this.profile=yield this.q.os.social.profile.get(this.postObj.socialPubKey),void 0===this.profile.alias&&(this.profile.alias="Anonymous"),void 0===this.profile.timestamp&&(this.profile.timestamp=0)}catch(t){this.profile={alias:"Anonymous",timestamp:0}}this.cd.detectChanges()}}))}ngOnChanges(){return Object(i.a)(this,void 0,void 0,(function*(){void 0!==this.postObj.content&&(this.postRows=this.getArray(this.postObj.content),this.postObj.dTimestamp=new Date(this.postObj.timestamp).toString(),this.profile=yield this.q.os.social.profile.get(this.postObj.socialPubKey),this.cd.detectChanges())}))}postDelete(t){console.log("qD Social/Profile: Deleting...",t),this.q.os.social.timeline.post.delete(t.qHash,t.socialPubKey),this.postObj.timestamp=0,this.postObj.dTimestamp=""}getArray(t){let e=[],n=[],o=[],i=String(t).trim();try{let t=["\n:","\n :","\n :"];for(let e of t)i=i.replace(new RegExp(e,"g")," :")}catch(r){}try{let t=[":D",":\\)","=\\)",":-\\)","=D"];for(let n of t)i=i.replace(new RegExp(n,"g"),":grinning:");let e=/:(?![\n])[()#$@-\w]+:/g.exec(i);for(let n of e)n.substr(1,n.length-2).indexOf(":")<0&&(i=i.replace(n," "+n+" "))}catch(r){this.dev&&console.log(r)}n=i.trim().split("\n"),o=[];for(let c of n)o.push(c.trim().split(" "));for(let c=0;c0),r.Fb(1),r.pc("ngIf",e.postObj.timestamp>0),r.Fb(1),r.pc("ngIf",null!=e.profile.alias&&e.profile.alias.length>0&&e.postObj.timestamp>0),r.Fb(1),r.pc("ngIf",null!=e.postObj.dTimestamp&&e.postObj.dTimestamp.length>0),r.Fb(1),r.pc("ngIf",null!=e.postObj.dTimestamp&&e.postObj.dTimestamp.length<0),r.Fb(1),r.pc("ngIf",e.postObj.timestamp>0),r.Fb(1),r.pc("ngIf",0==e.postObj.timestamp))},directives:[a.m,c.o,a.l,w.a,k.a,y.b,y.j,y.m,c.z,l.a,F.a],pipes:[S.b],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.verifyButton[_ngcontent-%COMP%]{margin-right:70px!important}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;z-index:1;float:left;margin-right:10px}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;position:relative;top:-60px;padding-top:60px;z-index:0;padding-bottom:50px}.editButton[_ngcontent-%COMP%]{right:23px}.editButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{position:absolute;font-size:20px;z-index:1;top:48px}.saveButton[_ngcontent-%COMP%]{right:143px}.discardButton[_ngcontent-%COMP%]{position:absolute;right:23px;font-size:20px;z-index:1;top:48px}.fundUs[_ngcontent-%COMP%]{text-align:center}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:absolute;top:70px;font-size:19px;right:22px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}.editButton[_ngcontent-%COMP%]{top:52px}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{position:absolute;left:99px;top:30vh;margin-top:55px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;cursor:pointer}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{margin-top:0;position:fixed;left:10px;top:17.5vh;right:10px;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}}.senderIcon[_ngcontent-%COMP%]{top:-2px;position:relative;color:#d2d24b}.socialLink[_ngcontent-%COMP%]{cursor:pointer}.messageDisplayName[_ngcontent-%COMP%]{color:#d6d8dc!important;padding-bottom:5px!important}.messageSenderStarIcon[_ngcontent-%COMP%]{color:#256dff!important}.emojiChunk[_ngcontent-%COMP%]{max-height:22px;overflow:hidden;margin:0;position:relative;top:5px;padding:0 2px}.chunkContainer[_ngcontent-%COMP%], .emojiChunk[_ngcontent-%COMP%], .messagesInnerWrapper[_ngcontent-%COMP%], .textChunk[_ngcontent-%COMP%]{display:inline-block}.textChunk[_ngcontent-%COMP%]{white-space:nowrap;padding-left:2px;padding-right:2px;max-height:22px}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.pp[_ngcontent-%COMP%]{z-index:12}.details[_ngcontent-%COMP%]{z-index:11}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;width:90vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473)}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628)}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{color:rgba(199,40,249,.3803921568627451);font-size:14px;margin-bottom:10px;width:320px}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.details[_ngcontent-%COMP%]{color:#6d95ce}.postAlias[_ngcontent-%COMP%]{cursor:pointer;display:inline-block;font-weight:900!important;color:rgba(166,6,6,.7803921568627451);letter-spacing:-.1rem;font-family:Helvetica}.postContent[_ngcontent-%COMP%]{width:100%;margin-top:40px}.replyButton[_ngcontent-%COMP%]{position:relative;top:22px;left:-10px;padding:10px;background:transparent;border:0;color:red}.newPostContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;text-align:right;width:auto;margin:-4px 0 0 9px;border:1px solid rgba(255,0,0,.25882352941176473)}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent}.replyCancelButton[_ngcontent-%COMP%]{color:red!important;float:left;color:red;border:2px solid red;opacity:.5}.replyCancelButton[_ngcontent-%COMP%]:hover{opacity:1}.replyCount[_ngcontent-%COMP%]{background-color:rgba(113,125,211,.2);border:0;top:17px;font-size:16px;color:#4982e8;border-radius:30px;padding:6px;line-height:16px}.lockClosed[_ngcontent-%COMP%], .replyCount[_ngcontent-%COMP%]{position:relative}.lockClosed[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{position:absolute;right:-5px;top:-11px;color:rgba(45,100,237,.10980392156862745);font-size:28px}"],changeDetection:0}),t})();function W(t,e){if(1&t&&(r.Yb(0,"div",4),r.Tb(1,"app-social-profile-post",5),r.Xb()),2&t){const t=r.jc().$implicit,e=r.jc();r.Fb(1),r.pc("postObj",t)("isMyProfile",e.isMyProfile)}}function Z(t,e){if(1&t&&(r.Yb(0,"div",2),r.Gc(1,W,2,2,"div",3),r.Xb()),2&t){const t=e.$implicit;r.Fb(1),r.pc("ngIf",null!=t.content)}}function U(t,e){if(1&t&&(r.Yb(0,"div",8),r.Tb(1,"app-social-profile-post",9),r.Xb()),2&t){const t=r.jc(),e=t.index,n=t.$implicit,o=r.jc();r.Fb(1),r.Ib("postContainer mat-elevation-z8 post level-",e,""),r.pc("postObj",n)("isMyProfile",o.isMyProfile)}}function $(t,e){if(1&t&&(r.Yb(0,"div",8),r.Tb(1,"app-social-profile-post",10),r.Xb()),2&t){const t=r.jc().$implicit,e=r.jc();r.Fb(1),r.pc("postObj",t)("isMyProfile",e.isMyProfile)}}function Q(t,e){if(1&t&&(r.Yb(0,"div",8),r.Tb(1,"app-social-profile-post",11),r.Xb()),2&t){const t=r.jc().$implicit,e=r.jc();r.Fb(1),r.pc("postObj",t)("isMyProfile",e.isMyProfile)}}function J(t,e){if(1&t&&(r.Yb(0,"div",6),r.Gc(1,U,2,5,"div",7),r.Gc(2,$,2,2,"div",7),r.Gc(3,Q,2,2,"div",7),r.Xb()),2&t){const t=e.$implicit,n=r.jc();r.Fb(1),r.pc("ngIf",n.combinedTimeline.length>1),r.Fb(1),r.pc("ngIf",1==n.combinedTimeline.length&&null==t.replyTo),r.Fb(1),r.pc("ngIf",1==n.combinedTimeline.length&&null!=t.replyTo)}}let tt=(()=>{class t{constructor(t,e,n,o){this._sanitizer=t,this.dialog=e,this.cd=n,this.q=o,this.pubKey="NoProfileSelected",this.postList=[],this.combinedTimeline=[],this.DEVMODE=O.dev,this.replyTree=[],this.isMyProfile=!1}ngOnInit(){return Object(i.a)(this,void 0,void 0,(function*(){void 0!==this.combinedTimeline[0].replyTo&&(this.replyTree=yield this.q.os.social.timeline.agent.resolveReplyTreeRec(this.combinedTimeline[0]),console.log(this.replyTree))}))}ngOnChanges(){return Object(i.a)(this,void 0,void 0,(function*(){}))}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(M.b),r.Sb(c.l),r.Sb(r.h),r.Sb(s.a))},t.\u0275cmp=r.Mb({type:t,selectors:[["social-timeline-post-combined-timeline"]],inputs:{combinedTimeline:"combinedTimeline",isMyProfile:"isMyProfile"},features:[r.Db],decls:2,vars:2,consts:[["class","replyLoop",4,"ngFor","ngForOf"],["class","postOuterWrapper",4,"ngFor","ngForOf"],[1,"replyLoop"],["class","replyWrapper",4,"ngIf"],[1,"replyWrapper"],[1,"postContainer","mat-elevation-z8","reply",3,"postObj","isMyProfile"],[1,"postOuterWrapper"],["class","postWrapper",4,"ngIf"],[1,"postWrapper"],[3,"postObj","isMyProfile"],[1,"postContainer","mat-elevation-z8","post","singleLevel",3,"postObj","isMyProfile"],[1,"postContainer","mat-elevation-z8","post","singleLevel","replyPost",3,"postObj","isMyProfile"]],template:function(t,e){1&t&&(r.Gc(0,Z,2,1,"div",0),r.Gc(1,J,4,3,"div",1)),2&t&&(r.pc("ngForOf",e.replyTree),r.Fb(1),r.pc("ngForOf",e.combinedTimeline))},directives:[a.l,a.m,H],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.verifyButton[_ngcontent-%COMP%]{margin-right:70px!important}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;position:relative;left:30px;top:-30px;z-index:1}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;padding-top:60px;z-index:0;padding-bottom:50px;margin-top:-60px;margin-bottom:42px;color:#6d95ce;z-index:11;background:#151b2e;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471))}.editButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:20px;margin-top:-15px}.discardButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:23px}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:absolute;font-size:19px;right:22px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{left:99px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;cursor:pointer;margin-top:-53px;margin-bottom:23px;margin-left:78px}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{max-height:20px;text-overflow:ellipsis;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}.editButton[_ngcontent-%COMP%]{margin-top:-9px}}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.search[_ngcontent-%COMP%]{z-index:2;right:0;left:0;padding:20px;height:95px;bottom:28px;position:absolute;top:0}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-family:Ubuntu;position:absolute;letter-spacing:1px;color:rgba(241,237,205,.8196078431372549);padding:10px 10px 10px 26px;font-size:16px;left:5%;width:90%;font-weight:500!important}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid red}.search[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:1.75rem}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:rgba(41,104,245,.8313725490196079)}.pp[_ngcontent-%COMP%]{z-index:12}.fundUs[_ngcontent-%COMP%]{z-index:2;width:100%;margin-bottom:120px;text-align:center;margin-top:38px}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;height:40px;width:40px;border:0;color:#7b9cc3;padding-right:8px;width:50px;position:absolute;top:19px;right:5%}.search[_ngcontent-%COMP%] .searchButton[_ngcontent-%COMP%]:focus, .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%]:focus{outline:none!important;border:0!important;box-shadow:none!important}.results[_ngcontent-%COMP%]{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.59));font-family:Ubuntu;overflow:hidden;overflow-y:auto;position:absolute;left:0;right:0;bottom:27px;top:0}.resultCardWrapper[_ngcontent-%COMP%]{padding:20px 4% 20px 5%}.resultCardWrapper[_ngcontent-%COMP%]:first-child{padding-top:60px;padding-bottom:20px}.resultCardWrapper[_ngcontent-%COMP%]:last-child{padding-bottom:120px}.searchResultAlias[_ngcontent-%COMP%]{font-size:18px}.searchResultPp[_ngcontent-%COMP%], .searchResultPpImg[_ngcontent-%COMP%]{height:100px}.searchResultColumn[_ngcontent-%COMP%]{color:#4f84e2;padding:10px 10px 10px 20px}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:none;color:#4f84e2;margin-top:7px}.searchResultAboutWrapper[_ngcontent-%COMP%]{width:100%}.resultCard[_ngcontent-%COMP%]{border-radius:5px;flex-direction:row;box-sizing:border-box;display:flex;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.5882352941176471));overflow:hidden;cursor:pointer;border:1px solid transparent}.resultCard[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));overflow:hidden;border:1px solid red}.searchResultFullName[_ngcontent-%COMP%]{color:rgba(79,132,226,.5411764705882353)}@media only screen and (max-width:816px){.searchResultColumn[_ngcontent-%COMP%]{padding-left:10px}.searchResultConnection.searchResultColumn[_ngcontent-%COMP%]{display:none}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:block}.resultCard[_ngcontent-%COMP%]{flex-flow:row wrap}}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;position:relative;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{float:right;color:#452781}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent} nb-popover{background:transparent!important}@media only screen and (max-width:616px){.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{margin-left:0;margin-right:0!important;margin-top:0;border:0!important;margin-bottom:15px;border-radius:0;border-top:1px solid #40389e!important;border-bottom:1px solid #423193!important;width:100vw}.postContainer[_ngcontent-%COMP%]:last-child{margin-bottom:40px}}.emojiPicker[_ngcontent-%COMP%]{right:60px}@media only screen and (min-width:420px) and (max-width:480px){.emojiPicker[_ngcontent-%COMP%]{right:-40px}}@media only screen and (min-width:480px) and (max-width:900px){.emojiPicker[_ngcontent-%COMP%]{right:0}}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;margin-right:5vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473);display:block}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628);border-radius:0;margin-top:-46px}.postContainer.level-0[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:0}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-top:-56px}.postContainer.reply[_ngcontent-%COMP%]{border-left:8px solid;border-right:8px solid;border-top:1px solid;position:relative;margin:-17px 6vw 0;top:22px}.postContainer.singleLevel[_ngcontent-%COMP%]{margin-top:40px!important;margin-bottom:20px;border-radius:10px!important}.postContainer.singleLevel.replyPost[_ngcontent-%COMP%]{margin-top:0!important;border-radius:10px!important}.replyLoop[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.replyLoop[_ngcontent-%COMP%]:first-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:30px}.replyLoop[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.combinedTimeline[_ngcontent-%COMP%]:nth-child(2){margin-top:120px}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{margin-top:-44px}.replyLoop[_ngcontent-%COMP%] .reply[_ngcontent-%COMP%] .lockClosed[_ngcontent-%COMP%]{display:none}.replyLoop[_ngcontent-%COMP%]:first-child .reply[_ngcontent-%COMP%] .lockClosed[_ngcontent-%COMP%]{display:block}"]}),t})();var et=n("XiUz");const nt=["qrPop"],ot=["createPop"],it=["qrCode"];function rt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"nb-card"),r.Yb(1,"nb-card-header"),r.Ic(2,"Verify Peer"),r.Xb(),r.Yb(3,"nb-card-body",16),r.Yb(4,"div",17),r.Yb(5,"zxing-scanner",18),r.fc("deviceChange",(function(e){return r.xc(t),r.jc().currentDevice=e}))("scanSuccess",(function(e){return r.xc(t),r.jc().qrSuccessHandler(e)}))("permissionResponse",(function(e){return r.xc(t),r.jc().onHasPermission(e)}))("camerasFound",(function(e){return r.xc(t),r.jc().onCamerasFound(e)}))("torchCompatible",(function(e){return r.xc(t),r.jc().onTorchCompatible(e)})),r.Xb(),r.Xb(),r.Xb(),r.Yb(6,"nb-card-footer"),r.Yb(7,"button",19),r.fc("click",(function(){return r.xc(t),r.jc().closeQR()})),r.Ic(8,"Cancel"),r.Xb(),r.Xb(),r.Xb()}if(2&t){const t=r.jc();r.Fb(5),r.pc("torch",t.torchEnabled)("device",t.currentDevice)("formats",t.formatsEnabled)("tryHarder",t.tryHarder)}}function ct(t,e){if(1&t){const t=r.Zb();r.Yb(0,"nb-card"),r.Yb(1,"nb-card-header"),r.Ic(2,"Verify Peer"),r.Xb(),r.Yb(3,"nb-card-body",20),r.Yb(4,"div"),r.Yb(5,"div",21),r.Tb(6,"img",22),r.Xb(),r.Xb(),r.Xb(),r.Yb(7,"nb-card-footer"),r.Yb(8,"button",19),r.fc("click",(function(){return r.xc(t),r.jc().closePopup()})),r.Ic(9,"Close"),r.Xb(),r.Xb(),r.Xb()}if(2&t){const t=r.jc();r.Fb(6),r.pc("src",t.qrCodeURLSafe,r.zc)}}function st(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",26),r.fc("click",(function(){return r.xc(t),r.jc(2).togglePrivacy()})),r.Tb(1,"nb-icon",27),r.Ic(2," Private"),r.Xb()}}function at(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",28),r.fc("click",(function(){return r.xc(t),r.jc(2).togglePrivacy()})),r.Tb(1,"nb-icon",29),r.Ic(2," Public"),r.Xb()}}function lt(t,e){if(1&t&&(r.Yb(0,"div",23),r.Gc(1,st,3,0,"div",24),r.Gc(2,at,3,0,"div",25),r.Xb()),2&t){const t=r.jc();r.Fb(1),r.pc("ngIf",t.private),r.Fb(1),r.pc("ngIf",!t.private)}}function pt(t,e){1&t&&(r.Yb(0,"div",30),r.Tb(1,"img",31),r.Xb())}function dt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",45),r.fc("click",(function(){return r.xc(t),r.jc(2).showVerificationQR()})),r.Ic(1),r.Xb()}if(2&t){const t=r.jc(2);r.Ib("pubKeyDisplay ",t.isMyProfile,""),r.Fb(1),r.Jc(t.pubKey)}}function gt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"button",46),r.fc("click",(function(){return r.xc(t),r.jc(2).edit()})),r.Ic(1,"Edit"),r.Xb()}}function ut(t,e){if(1&t){const t=r.Zb();r.Yb(0,"button",47),r.fc("click",(function(){return r.xc(t),r.jc(2).verify()})),r.Tb(1,"nb-icon",48),r.Xb()}}function ht(t,e){1&t&&(r.Yb(0,"button",49),r.Tb(1,"nb-icon",48),r.Xb())}function bt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"button",50),r.fc("click",(function(){return r.xc(t),r.jc(2).setConnection(!0)})),r.Tb(1,"nb-icon",51),r.Xb()}}function ft(t,e){if(1&t){const t=r.Zb();r.Yb(0,"button",52),r.fc("click",(function(){r.xc(t);const e=r.jc(2);return e.openMessages(e.pubKey)})),r.Tb(1,"nb-icon",53),r.Xb()}}function mt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"button",54),r.fc("click",(function(){return r.xc(t),r.jc(2).setConnection(!1)})),r.Tb(1,"nb-icon",51),r.Xb()}}function Ct(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",55),r.fc("click",(function(){return r.xc(t),r.jc(2).showVerificationQR()})),r.ic(),r.Yb(1,"svg",56),r.Yb(2,"g"),r.Tb(3,"rect",57),r.Xb(),r.Tb(4,"path",58),r.Xb(),r.Xb()}}function xt(t,e){if(1&t&&(r.Yb(0,"div",32),r.Gc(1,dt,2,4,"div",33),r.Gc(2,gt,2,0,"button",34),r.Gc(3,ut,2,0,"button",35),r.Gc(4,ht,2,0,"button",36),r.Gc(5,bt,2,0,"button",37),r.Gc(6,ft,2,0,"button",38),r.Gc(7,mt,2,0,"button",39),r.Yb(8,"div",40),r.Yb(9,"div",41),r.Ic(10),r.Xb(),r.Yb(11,"div",42),r.Ic(12),r.Xb(),r.Xb(),r.Yb(13,"div",43),r.Ic(14),r.Xb(),r.Gc(15,Ct,5,0,"div",44),r.Xb()),2&t){const t=r.jc();r.Fb(1),r.pc("ngIf",!t.searchResultsActive),r.Fb(1),r.pc("ngIf",t.isMyProfile),r.Fb(1),r.pc("ngIf",!t.isMyProfile&&!t.isVerified),r.Fb(1),r.pc("ngIf",!t.isMyProfile&&t.isVerified),r.Fb(1),r.pc("ngIf",!t.isMyProfile&&!t.isConnection&&!t.isRequestedConnection),r.Fb(1),r.pc("ngIf",!t.isMyProfile&&t.isConnection),r.Fb(1),r.pc("ngIf",!t.isMyProfile&&t.isRequestedConnection),r.Fb(3),r.Kc(" ",t.alias," "),r.Fb(2),r.Kc(" ",t.fullName," "),r.Fb(2),r.Kc("\n",t.about,"\n"),r.Fb(1),r.pc("ngIf",!t.searchResultsActive&&t.isMyProfile)}}function Pt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",66),r.fc("click",(function(){return r.xc(t),r.jc(2).showVerificationQR()})),r.Ic(1),r.Xb()}if(2&t){const t=r.jc(2);r.Fb(1),r.Jc(t.pubKey)}}function vt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",32),r.Gc(1,Pt,2,1,"div",59),r.Yb(2,"div",40),r.Yb(3,"div",41),r.Yb(4,"input",60),r.fc("ngModelChange",(function(e){return r.xc(t),r.jc().newAlias=e})),r.Xb(),r.Xb(),r.Yb(5,"div",42),r.Yb(6,"input",61),r.fc("ngModelChange",(function(e){return r.xc(t),r.jc().newFullName=e})),r.Xb(),r.Xb(),r.Xb(),r.Yb(7,"div",62),r.Yb(8,"textarea",63),r.fc("ngModelChange",(function(e){return r.xc(t),r.jc().newAbout=e})),r.Xb(),r.Xb(),r.Yb(9,"button",64),r.fc("click",(function(){return r.xc(t),r.jc().save()})),r.Ic(10,"Save"),r.Xb(),r.Yb(11,"button",65),r.fc("click",(function(){return r.xc(t),r.jc().edit(!1)})),r.Ic(12,"Discard"),r.Xb(),r.Xb()}if(2&t){const t=r.jc();r.Fb(1),r.pc("ngIf",!t.searchResultsActive),r.Fb(3),r.pc("ngModel",t.newAlias),r.Fb(2),r.pc("ngModel",t.newFullName),r.Fb(2),r.pc("ngModel",t.newAbout)}}function Ot(t,e){if(1&t){const t=r.Zb();r.Yb(0,"emoji-mart",72),r.fc("emojiClick",(function(e){return r.xc(t),r.jc(2).addEmoji(e)})),r.Xb()}}function Mt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",67),r.Yb(1,"textarea",68),r.fc("ngModelChange",(function(e){return r.xc(t),r.jc().newPost=e})),r.Xb(),r.Tb(2,"ngx-emoji",69),r.Gc(3,Ot,1,0,"ng-template",null,70,r.Hc),r.Yb(5,"button",71),r.fc("click",(function(){return r.xc(t),r.jc().post()})),r.Ic(6,"Post"),r.Xb(),r.Xb()}if(2&t){const t=r.vc(4),e=r.jc();r.Fb(1),r.pc("ngModel",e.newPost),r.Fb(1),r.pc("nbPopover",t)}}function yt(t,e){if(1&t&&r.Tb(0,"social-timeline-post-combined-timeline",73),2&t){const t=e.$implicit,n=r.jc();r.pc("combinedTimeline",t)("isMyProfile",n.isMyProfile)}}function _t(t,e){1&t&&(r.Yb(0,"button",76),r.Ic(1," Sync More "),r.Xb())}function kt(t,e){1&t&&(r.Yb(0,"button",76),r.Ic(1," Sync "),r.Xb())}function wt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",74),r.fc("click",(function(){r.xc(t);const e=r.jc();return e.syncMore(e.pubKey)})),r.Gc(1,_t,2,0,"button",75),r.Gc(2,kt,2,0,"button",75),r.Xb()}if(2&t){const t=r.jc();r.Fb(1),r.pc("ngIf",t.groupedTimeline.length>0),r.Fb(1),r.pc("ngIf",0===t.groupedTimeline.length)}}function Ft(t,e){1&t&&r.Tb(0,"nb-icon",93)}function St(t,e){if(1&t){const t=r.Zb();r.Yb(0,"nb-icon",94),r.fc("click",(function(){r.xc(t);const e=r.jc().$implicit;return r.jc(2).openMessages(e.key.pubKey)})),r.Xb()}}function jt(t,e){1&t&&r.Tb(0,"nb-icon",51)}function Bt(t,e){1&t&&r.Tb(0,"nb-icon",93)}function It(t,e){if(1&t){const t=r.Zb();r.Yb(0,"nb-icon",94),r.fc("click",(function(){r.xc(t);const e=r.jc().$implicit;return r.jc(2).openMessages(e.key.pubKey)})),r.Xb()}}function zt(t,e){1&t&&r.Tb(0,"nb-icon",51)}const Tt=function(t){return[t]};function qt(t,e){if(1&t&&(r.Yb(0,"div",79),r.Yb(1,"div",80),r.Yb(2,"div",81),r.Tb(3,"img",82),r.Xb(),r.Yb(4,"div",83),r.Yb(5,"span",84),r.Ic(6),r.Xb(),r.Tb(7,"br"),r.Yb(8,"span",85),r.Ic(9),r.Xb(),r.Xb(),r.Yb(10,"div",86),r.Gc(11,Ft,1,0,"nb-icon",87),r.Gc(12,St,1,0,"nb-icon",88),r.Gc(13,jt,1,0,"nb-icon",89),r.Xb(),r.Yb(14,"div",90),r.Yb(15,"div",91),r.Ic(16),r.Xb(),r.Xb(),r.Yb(17,"div",92),r.Gc(18,Bt,1,0,"nb-icon",87),r.Gc(19,It,1,0,"nb-icon",88),r.Gc(20,zt,1,0,"nb-icon",89),r.Xb(),r.Xb(),r.Xb()),2&t){const t=e.$implicit;r.Fb(1),r.pc("routerLink",r.sc(10,Tt,"/social/profile/"+t.key.pubKey)),r.Fb(5),r.Kc("",t.alias," "),r.Fb(3),r.Kc("",t.fullName," "),r.Fb(2),r.pc("ngIf",!t.isFavorite&&!t.isRequestedFavorite),r.Fb(1),r.pc("ngIf",t.isFavorite),r.Fb(1),r.pc("ngIf",t.isRequestedFavorite),r.Fb(3),r.Kc(" ",t.about," "),r.Fb(2),r.pc("ngIf",!t.isFavorite&&!t.isRequestedFavorite),r.Fb(1),r.pc("ngIf",t.isFavorite),r.Fb(1),r.pc("ngIf",t.isRequestedFavorite)}}function Nt(t,e){if(1&t&&(r.Yb(0,"div",77),r.Gc(1,qt,21,12,"div",78),r.Xb()),2&t){const t=r.jc();r.Fb(1),r.pc("ngForOf",t.searchResults)}}function Rt(t,e){1&t&&r.Tb(0,"nb-icon",95)}function Yt(t,e){if(1&t&&r.Ic(0),2&t){const t=r.jc();r.Jc(t.buttonTitle)}}let Xt=(()=>{class t{constructor(t,e,n,o,i,r,c){this.route=t,this.router=e,this.ngZone=n,this._sanitizer=o,this.dialog=i,this.cd=r,this.q=c,this.pubKey="NoProfileSelected",this.newPost="",this.timeline=[],this.DEVMODE=O.dev,this.buttonTitle="",this.status="",this.inputFocus=!1,this.inputHover=!1,this.searchPhrase="",this.searchResults=[],this.searchResultsActive=!1,this.noProfileSelected="NoProfileSelected",this.syncSub={},this.synced=[],this.replyTree={},this.groupedTimeline=[],this.syncStatus=!1,this.alias="Anonymous",this.fullName="Anonymous",this.about="The Universe is under no obligation to make sense to you. I'd rather not say anything. do@not-find-me.com",this.editDetails=!1,this.isMyProfile=!1,this.private=!0,this.isConnection=!1,this.isRequestedConnection=!1,this.requestLock=!1,this.currentDevice=null,this.formatsEnabled=[v.BarcodeFormat.QR_CODE],this.torchEnabled=!1,this.torchAvailable$=new P.a(!1),this.tryHarder=!1,this.isVerified=!1,this.verifyQrCode="",this.popupRef=[],this.isOwner=!1}post(){return Object(i.a)(this,void 0,void 0,(function*(){if(null==typeof this.pubKey||"NoProfileSelected"==this.pubKey)throw"no key set";let t=yield this.q.os.social.profile.get(this.pubKey);if(console.log(t),void 0===t.alias)throw alert("Please set your Alias first!"),"no name set";let e={content:this.newPost,socialPubKey:this.pubKey};yield this.q.os.social.timeline.post.new(e),this.newPost="",setTimeout(()=>{this.syncTimeline()},2e3)}))}addEmoji(t){this.newPost+=" "+t.emoji.colons+" "}showStream(){this.ngZone.run(()=>this.router.navigate(["/social/stream/network"]))}parseSearchBar(){this.searchPhrase.length>0?this.search():(this.searchResultsActive=!1,this.cd.detectChanges())}search(){return Object(i.a)(this,void 0,void 0,(function*(){this.searchResults=yield this.q.os.social.profile.search(this.searchPhrase),this.searchResultsActive=this.searchResults.length>0,this.cd.detectChanges()}))}setStatus(t){this.status!==t&&(this.status=t)}getInputStatus(){return""}loadProfile(){return Object(i.a)(this,void 0,void 0,(function*(){console.log("Profile: Initializing..."),this.isConnection=this.q.os.social.profile.isFavorite(this.pubKey),this.isRequestedConnection=this.q.os.social.profile.isRequestedFavorite(this.pubKey),this.isVerified=this.q.os.social.profile.isVerified(this.pubKey),console.log("Profile: Bootstrapping Profile...");try{let t=yield this.q.os.social.profile.get(this.pubKey);this.isMyProfile=this.q.os.social.profile.isMyProfileId(this.pubKey),console.log("Social: Is my profile:",this.isMyProfile),void 0!==t.alias&&(this.alias=t.alias),void 0!==t.fullName&&(this.fullName=t.fullName),void 0!==t.about&&(this.about=t.about),void 0!==t.private&&(this.private=t.private)}catch(t){console.log(t)}}))}syncMore(t){let e=this.q.os.social.timeline.agent.getLimit(t);e+=5,this.q.os.social.timeline.agent.sync(t,{limit:e})}updateListen(){void 0===this.syncSub[this.pubKey]&&(this.syncSub[this.pubKey]=this.q.os.social.timeline.agent.onSync(this.pubKey).subscribe(t=>Object(i.a)(this,void 0,void 0,(function*(){this.syncStatus=!1,void 0!==t&&void 0!==t.groupedTimeline?(this.groupedTimeline=[],this.groupedTimeline=t.groupedTimeline,this.q.os.ui.showSnack("Timeline Synced!","Yeah",{duration:500}),this.syncStatus=!0,this.cd.detectChanges(),setTimeout(()=>{this.cd.detectChanges()},2e3),setTimeout(()=>{this.cd.detectChanges()},5e3),setTimeout(()=>{this.syncStatus=!0,this.cd.detectChanges()},1e4)):(this.q.os.ui.showSnack("Sync Failed!","Oh No",{duration:1e3}),this.syncStatus=!0)}))))}ngOnInit(){this.ngOnChanges()}ngOnChanges(){return Object(i.a)(this,void 0,void 0,(function*(){if(void 0!==this.pubKey&&"NoProfileSelected"!=this.pubKey&&this.pubKey.length>0)try{yield this.loadProfile(),this.cd.detectChanges()}catch(t){}else{let t=yield this.q.os.social.profile.getMyProfile();this.pubKey=JSON.parse(JSON.stringify(t.key.pubKey)),yield this.loadProfile(),this.cd.detectChanges()}void 0===this.paramSub&&(this.paramSub=this.route.params.subscribe(t=>Object(i.a)(this,void 0,void 0,(function*(){console.log(t),void 0!==t.pubKey&&(this.pubKey=t.pubKey),this.q.os.ui.showSnack("Syncing Timeline...","Please Wait"),this.ngOnChanges()})))),setTimeout(()=>{this.syncTimeline()},3e3)}))}syncTimeline(){return Object(i.a)(this,void 0,void 0,(function*(){this.unsubscribeAll(),this.updateListen();try{yield this.q.os.social.timeline.agent.sync(this.pubKey)}catch(t){}}))}unsubscribeAll(){let t=Object.keys(this.syncSub);for(let n of t)try{this.syncSub[n].unsubscribe(),delete this.syncSub[this.pubKey]}catch(e){}}ngOnDestroy(){this.paramSub.unsubscribe(),this.unsubscribeAll()}edit(t=!0){t&&(this.newAlias=this.alias,this.newFullName=this.fullName,this.newAbout=this.about),this.editDetails=t}save(){return Object(i.a)(this,void 0,void 0,(function*(){let t=[];try{t=yield this.q.os.social.timeline.getReferenceTree(this.pubKey)}catch(n){}let e={private:this.private,alias:this.newAlias,fullName:this.newFullName,about:this.newAbout};t.length>0&&(e.timeline=t),this.q.os.social.profile.set(this.pubKey,e),this.q.os.social.profile.select(this.pubKey),this.edit(!1),this.ngOnChanges()}))}setConnection(t){return Object(i.a)(this,void 0,void 0,(function*(){if(this.requestLock)return!1;if(this.requestLock=!0,t){let e=yield this.q.os.social.profile.getMyProfileId();if(console.log("qSocial: trying to add New Favorite Request...",this.pubKey),!this.q.os.social.profile.isRequestedFavorite(this.pubKey)){let n=yield this.q.os.channel.create("qprivatedch-"+e+"-"+this.pubKey,"",!0);this.q.os.social.profile.addFavoriteRequest(this.pubKey,n),this.isRequestedConnection=t,this.requestLock=!1}}else{let e=this.q.os.channel.find(this.pubKey);this.q.os.channel.remove(e),this.q.os.social.profile.removeFavorite(this.pubKey),this.q.os.social.profile.removeFavoriteRequest(this.pubKey),this.isRequestedConnection=t,this.isConnection=t,this.requestLock=!1}}))}togglePrivacy(){return Object(i.a)(this,void 0,void 0,(function*(){if(!this.isMyProfile)return!1;yield this.q.os.social.profile.togglePrivacy(this.pubKey),this.private=!this.private}))}openProfile(t){return Object(i.a)(this,void 0,void 0,(function*(){this.pubKey=t,this.q.os.social.profile.select(this.pubKey),this.searchResultsActive=!1}))}openMessages(t){return Object(i.a)(this,void 0,void 0,(function*(){let e=this.q.os.channel.find(t);this.q.os.channel.select(e),this.ngZone.run(()=>this.router.navigate(["/messages"]))}))}searchBarClicked(){this.searchResults.length>0&&(this.searchResultsActive=!0)}verify(){this.scanQR()}onCamerasFound(t){this.availableDevices=t,this.hasDevices=Boolean(t&&t.length)}onDeviceSelectChange(t){const e=this.availableDevices.find(e=>e.deviceId===t);this.currentDevice=e||null}onHasPermission(t){this.hasPermission=t}onTorchCompatible(t){this.torchAvailable$.next(t||!1)}toggleTorch(){this.torchEnabled=!this.torchEnabled}toggleTryHarder(){this.tryHarder=!this.tryHarder}qrSuccessHandler(t){return Object(i.a)(this,void 0,void 0,(function*(){console.log(t),alert("success!"),(yield this.q.os.social.verify(this.pubKey,JSON.parse(t)))?this.isVerified=!0:(this.q.os.ui.showSnack("Verification Failed",{duration:2e3}),this.isVerified=!1),this.closePopup()}))}closeQR(){setTimeout(()=>{this.closePopup()},500)}scanQR(){this.open(this.qrPop)}showVerificationQR(){return Object(i.a)(this,void 0,void 0,(function*(){if(this.isMyProfile){let t=yield this.q.os.social.profile.getVerificationQR();console.log(t),this.generateQR(t),this.open(this.qrCode),this.q.os.social.profile.startVerificationWorker()}}))}open(t){this.popupRef.push(this.dialog.open(t,{context:"this is some additional data passed to dialog"}))}closePopup(){console.log("close toggled"),this.popupRef[this.popupRef.length-1].close(),this.popupRef.pop()}generateQR(t){return Object(i.a)(this,void 0,void 0,(function*(){console.log(t),this.qrCodeURLSafe=this._sanitizer.bypassSecurityTrustUrl(yield this.q.os.utilities.qr.generate(t))}))}generateInviteCode(){}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(o.a),r.Sb(o.c),r.Sb(r.C),r.Sb(M.b),r.Sb(c.l),r.Sb(r.h),r.Sb(s.a))},t.\u0275cmp=r.Mb({type:t,selectors:[["app-social-profile"]],viewQuery:function(t,e){var n;1&t&&(r.Mc(nt,!0),r.Mc(ot,!0),r.Mc(it,!0)),2&t&&(r.uc(n=r.gc())&&(e.qrPop=n.first),r.uc(n=r.gc())&&(e.createPop=n.first),r.uc(n=r.gc())&&(e.qrCode=n.first))},hostAttrs:[1,"profileLayoutColumn"],inputs:{pubKey:"pubKey",buttonTitle:"buttonTitle",replyTree:"replyTree",groupedTimeline:"groupedTimeline"},features:[r.Db],decls:20,vars:12,consts:[["qrPop",""],["qrCode",""],["class","poster",4,"ngIf"],["class","pp",4,"ngIf"],["class","details mat-elevation-z6",4,"ngIf"],["class","newPostContainer mat-elevation-z8",4,"ngIf"],[3,"combinedTimeline","isMyProfile",4,"ngFor","ngForOf"],["class","fundUs",3,"click",4,"ngIf"],["class","results social-search-results",4,"ngIf"],[1,"search","profileSearch"],[1,"message-row"],[2,"width","100%"],["fullWidth","","nbInput","","type","text",1,"mat-elevation-z16",3,"ngModel","placeholder","ngModelChange","focus","blur","mouseenter","mouseleave","keyup.enter","keyup","click"],["nbSuffix","","nbButton","","ghost","",1,"searchButtonWrapper",3,"click"],["class","searchButton","icon","search-outline",4,"ngIf","ngIfElse"],["title",""],[2,"color","goldenrod"],[1,"qrScanWrapper"],[3,"torch","device","formats","tryHarder","deviceChange","scanSuccess","permissionResponse","camerasFound","torchCompatible"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[2,"margin","10px","color","goldenrod"],[1,"qrCodeWrapper"],["alt","",1,"qrCodeShowGenerate",3,"src"],[1,"poster"],["class","profilePrivacy private mat-elevatation-z6",3,"click",4,"ngIf"],["class","profilePrivacy mat-elevatation-z14",3,"click",4,"ngIf"],[1,"profilePrivacy","private","mat-elevatation-z6",3,"click"],["icon","lock-outline"],[1,"profilePrivacy","mat-elevatation-z14",3,"click"],["icon","globe-outline"],[1,"pp"],["src","./assets/defaultAvatar.png",1,"mat-elevation-z14"],[1,"details","mat-elevation-z6"],[3,"class","click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton verifyButton",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton active verifyButton",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton active",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton pending",3,"click",4,"ngIf"],[1,"name"],[1,"alias"],[1,"fullname"],[1,"about"],["class","pubKeyDisplay Icon",3,"click",4,"ngIf"],[3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton",3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton","verifyButton",3,"click"],["icon","checkmark-circle-2-outline"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton","active","verifyButton"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton",3,"click"],["icon","star-outline"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton","active",3,"click"],["icon","message-circle-outline"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton","pending",3,"click"],[1,"pubKeyDisplay","Icon",3,"click"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","viewBox","0 0 24 24","fill","black","width","18px","height","18px",1,"pubKeyIcon"],["fill","none","height","24","width","24"],["d","M15,21h-2v-2h2V21z M13,14h-2v5h2V14z M21,12h-2v4h2V12z M19,10h-2v2h2V10z M7,12H5v2h2V12z M5,10H3v2h2V10z M12,5h2V3h-2V5 z M4.5,4.5v3h3v-3H4.5z M9,9H3V3h6V9z M4.5,16.5v3h3v-3H4.5z M9,21H3v-6h6V21z M16.5,4.5v3h3v-3H16.5z M21,9h-6V3h6V9z M19,19v-3 l-4,0v2h2v3h4v-2H19z M17,12l-4,0v2h4V12z M13,10H7v2h2v2h2v-2h2V10z M14,9V7h-2V5h-2v4L14,9z M6.75,5.25h-1.5v1.5h1.5V5.25z M6.75,17.25h-1.5v1.5h1.5V17.25z M18.75,5.25h-1.5v1.5h1.5V5.25z"],["class","pubKeyDisplay",3,"click",4,"ngIf"],["matInput","","placeholder","Alias","name","newAlias",3,"ngModel","ngModelChange"],["matInput","","placeholder","Full Name","name","newFullName",3,"ngModel","ngModelChange"],[1,"about",2,"padding-bottom","20px"],["matInput","","name","about",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","saveButton",3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","discardButton",3,"click"],[1,"pubKeyDisplay",3,"click"],[1,"newPostContainer","mat-elevation-z8"],["matInput","","name","newPost","placeholder","What's going on?",3,"ngModel","ngModelChange"],["emoji","grinning","set","apple","size","24",1,"emojiPickerTrigger",3,"nbPopover"],["emojiPickerRef",""],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","postButton",3,"click"],["title","Pick your emoji\u2026","emoji","blush","darkMode","true",1,"emojiPicker",3,"emojiClick"],[3,"combinedTimeline","isMyProfile"],[1,"fundUs",3,"click"],["mat-stroked-button","","color","secondary","class","mat-elevation-z18 defaultSettingsButton noOutlineButton fundButton",4,"ngIf"],["mat-stroked-button","","color","secondary",1,"mat-elevation-z18","defaultSettingsButton","noOutlineButton","fundButton"],[1,"results","social-search-results"],["class","resultCardWrapper",4,"ngFor","ngForOf"],[1,"resultCardWrapper"],["fxLayout","row",1,"resultCard","mat-elevation-z6",3,"routerLink"],[1,"searchResultPp"],["src","./assets/defaultAvatar.png",1,"searchResultPpImg"],[1,"searchResultColumn"],[1,"searchResultAlias"],[1,"searchResultFullName"],[1,"searchResultConnection","topCorner"],["icon","star-outline","style","opacity: 0.2;",4,"ngIf"],["icon","message-circle-outline",3,"click",4,"ngIf"],["icon","star-outline",4,"ngIf"],[1,"searchResultAbout","searchResultColumn",2,"flex","auto"],[1,"searchResultAboutWrapper"],[1,"searchResultConnection","searchResultColumn",2,"margin-top","27px","margin-right","10px"],["icon","star-outline",2,"opacity","0.2"],["icon","message-circle-outline",3,"click"],["icon","search-outline",1,"searchButton"]],template:function(t,e){if(1&t&&(r.Gc(0,rt,9,4,"ng-template",null,0,r.Hc),r.Gc(2,ct,10,1,"ng-template",null,1,r.Hc),r.Gc(4,lt,3,2,"div",2),r.Gc(5,pt,2,0,"div",3),r.Gc(6,xt,16,11,"div",4),r.Gc(7,vt,13,4,"div",4),r.Gc(8,Mt,7,2,"div",5),r.Gc(9,yt,1,2,"social-timeline-post-combined-timeline",6),r.Gc(10,wt,3,2,"div",7),r.Gc(11,Nt,2,1,"div",8),r.Yb(12,"div",9),r.Yb(13,"div",10),r.Yb(14,"div",11),r.Yb(15,"input",12),r.fc("ngModelChange",(function(t){return e.searchPhrase=t}))("focus",(function(){return e.inputFocus=!0}))("blur",(function(){return e.inputFocus=!1}))("mouseenter",(function(){return e.inputHover=!0}))("mouseleave",(function(){return e.inputHover=!1}))("keyup.enter",(function(){return e.search()}))("keyup",(function(){return e.parseSearchBar()}))("click",(function(){return e.searchBarClicked()})),r.Xb(),r.Yb(16,"button",13),r.fc("click",(function(){return e.search()})),r.Gc(17,Rt,1,0,"nb-icon",14),r.Gc(18,Yt,1,1,"ng-template",null,15,r.Hc),r.Xb(),r.Xb(),r.Xb(),r.Xb()),2&t){const t=r.vc(19);r.Fb(4),r.pc("ngIf",!e.searchResultsActive),r.Fb(1),r.pc("ngIf",!e.searchResultsActive),r.Fb(1),r.pc("ngIf",!e.editDetails&&!e.searchResultsActive),r.Fb(1),r.pc("ngIf",e.editDetails&&!e.searchResultsActive),r.Fb(1),r.pc("ngIf",e.isMyProfile),r.Fb(1),r.pc("ngForOf",e.groupedTimeline),r.Fb(1),r.pc("ngIf",!e.searchResultsActive),r.Fb(1),r.pc("ngIf",e.searchResultsActive),r.Fb(4),r.qc("placeholder","Who are you looking for?"),r.pc("ngModel",e.searchPhrase),r.Fb(2),r.pc("ngIf",!e.buttonTitle)("ngIfElse",t)}},directives:[a.m,a.l,y.b,y.j,y.m,c.E,c.d,c.f,c.c,_.a,c.e,l.a,c.o,k.a,w.a,c.z,F.a,tt,et.b,o.d],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.qrCodeShowGenerate[_ngcontent-%COMP%]{max-width:85vw}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;position:relative;left:30px;top:-30px;z-index:1}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;padding-top:60px;z-index:0;padding-bottom:50px;margin-top:-60px;margin-bottom:42px;color:#6d95ce;z-index:11;background:#151b2e;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471))}.editButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:20px;margin-top:-15px}.discardButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:23px}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:relative;float:right;font-size:19px;right:18px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:18px;z-indeX:1}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{left:99px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;margin-top:-53px;margin-bottom:23px;margin-left:78px}.pubKeyDisplay.true[_ngcontent-%COMP%]{cursor:pointer}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.search[_ngcontent-%COMP%]{z-index:23;position:fixed;right:0;left:0;padding:20px;height:95px;bottom:28px}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-family:Ubuntu;position:absolute;letter-spacing:1px;color:rgba(241,237,205,.8196078431372549);padding:10px 10px 10px 26px;font-size:16px;left:5%;width:90%;font-weight:500!important}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid red}.search[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:1.75rem}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:rgba(41,104,245,.8313725490196079)}.pp[_ngcontent-%COMP%]{z-index:12}.fundUs[_ngcontent-%COMP%]{z-index:2;width:100%;padding-bottom:192px;text-align:center;margin-top:38px}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;height:40px;width:40px;border:0;color:#7b9cc3;padding-right:8px;width:50px;position:absolute;top:19px;right:5%}.search[_ngcontent-%COMP%] .searchButton[_ngcontent-%COMP%]:focus, .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%]:focus{outline:none!important;border:0!important;box-shadow:none!important}.results[_ngcontent-%COMP%]{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.59));font-family:Ubuntu;overflow:hidden;overflow-y:auto;position:fixed;left:0;right:0;bottom:27px;top:49px;z-index:22}.resultCardWrapper[_ngcontent-%COMP%]{padding:20px 4% 20px 5%}.resultCardWrapper[_ngcontent-%COMP%]:first-child{padding-top:60px;padding-bottom:20px}.resultCardWrapper[_ngcontent-%COMP%]:last-child{padding-bottom:120px}.searchResultAlias[_ngcontent-%COMP%]{font-size:18px}.searchResultPp[_ngcontent-%COMP%], .searchResultPpImg[_ngcontent-%COMP%]{height:100px}.searchResultColumn[_ngcontent-%COMP%]{color:#4f84e2;padding:10px 10px 10px 20px}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:none;color:#4f84e2;margin-top:7px}.searchResultAboutWrapper[_ngcontent-%COMP%]{width:100%}.resultCard[_ngcontent-%COMP%]{border-radius:5px;flex-direction:row;box-sizing:border-box;display:flex;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.8313725490196079));overflow:hidden;cursor:pointer;border:1px solid transparent}.resultCard[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.8313725490196079));overflow:hidden;border:1px solid red}.searchResultFullName[_ngcontent-%COMP%]{color:rgba(79,132,226,.5411764705882353)}@media only screen and (max-width:816px){.searchResultColumn[_ngcontent-%COMP%]{padding-left:10px}.searchResultConnection.searchResultColumn[_ngcontent-%COMP%]{display:none}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:block}.resultCard[_ngcontent-%COMP%]{flex-flow:row wrap}}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;margin-right:5vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473);display:block}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628);border-radius:0;margin-top:-56px}.postContainer.level-0[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:0}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-top:-56px}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;position:relative;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{float:right;color:#452781}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent} nb-popover{background:transparent!important}@media only screen and (max-width:616px){.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{margin-right:0!important;border-radius:0;border-top:1px solid #40389e!important;border-bottom:1px solid #423193!important;margin:0 5vw 15px 0}.postContainer[_ngcontent-%COMP%]:last-child{margin-bottom:40px}}.emojiPicker[_ngcontent-%COMP%]{right:60px;font-size:19px;right:22px;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}@media only screen and (min-width:420px) and (max-width:480px){.emojiPicker[_ngcontent-%COMP%]{right:-40px}}@media only screen and (min-width:480px) and (max-width:900px){.emojiPicker[_ngcontent-%COMP%]{right:0}}.profilePrivacy.private[_ngcontent-%COMP%]{background:rgba(231,213,100,.6784313725490196);font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}.postContainer.reply[_ngcontent-%COMP%]{border-left:8px solid;border-right:8px solid;border-top:1px solid;position:relative;margin:-17px 6vw 0;top:22px}.postContainer.singleLevel[_ngcontent-%COMP%]{margin-top:40px!important;margin-bottom:20px;border-radius:10px!important}.postContainer.singleLevel.replyPost[_ngcontent-%COMP%]{margin-top:0!important;border-radius:10px!important}.replyLoop[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.replyLoop[_ngcontent-%COMP%]:first-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:30px}.replyLoop[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.pubKeyIcon[_ngcontent-%COMP%]{width:35px;height:35px;fill:rgba(63,62,167,.7686274509803922);position:static;right:30px;cursor:pointer}.pubKeyDisplay.Icon[_ngcontent-%COMP%]{float:right;margin:0 30px 0 0;padding:0;height:0;overflow:visible}.pubKeyDisplay.Icon[_ngcontent-%COMP%]:hover .pubKeyIcon[_ngcontent-%COMP%]{fill:#5851bb}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{max-height:20px;text-overflow:ellipsis;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}.editButton[_ngcontent-%COMP%]{margin-top:-9px}}"],changeDetection:0}),t})();const At=["qrPop"],Lt=["createPop"];function Dt(t,e){1&t&&r.Tb(0,"nb-icon",8)}function Et(t,e){if(1&t&&r.Ic(0),2&t){const t=r.jc();r.Jc(t.buttonTitle)}}function Kt(t,e){if(1&t&&r.Tb(0,"social-timeline-post-combined-timeline",13),2&t){const t=e.$implicit,n=r.jc(2);r.pc("combinedTimeline",t)("isMyProfile",n.isMyProfile)}}function Vt(t,e){if(1&t){const t=r.Zb();r.Yb(0,"div",14),r.fc("click",(function(){return r.xc(t),r.jc(2).syncMore()})),r.Yb(1,"button",15),r.Ic(2," Sync More "),r.Xb(),r.Xb()}}function Gt(t,e){1&t&&(r.Yb(0,"div",16),r.Yb(1,"a",17),r.Yb(2,"button",18),r.Ic(3," Syncing... "),r.Xb(),r.Xb(),r.Xb())}function Ht(t,e){if(1&t&&(r.Yb(0,"div",9),r.Gc(1,Kt,1,2,"social-timeline-post-combined-timeline",10),r.Gc(2,Vt,3,0,"div",11),r.Gc(3,Gt,4,0,"div",12),r.Xb()),2&t){const t=r.jc();r.Fb(1),r.pc("ngForOf",t.groupedTimeline),r.Fb(1),r.pc("ngIf",!t.searchResultsActive&&t.groupedTimeline.length>0),r.Fb(1),r.pc("ngIf",!(t.searchResultsActive||0!=t.groupedTimeline.length&&t.syncStatus))}}const Wt=["qrPop"],Zt=["createPop"];function Ut(t,e){1&t&&r.Tb(0,"nb-icon",11)}function $t(t,e){if(1&t&&r.Ic(0),2&t){const t=r.jc();r.Jc(t.buttonTitle)}}function Qt(t,e){1&t&&r.Tb(0,"social-timeline-post-combined-timeline",12),2&t&&r.pc("combinedTimeline",e.$implicit)}function Jt(t,e){1&t&&(r.Yb(0,"div",13),r.Tb(1,"nb-icon",14),r.Xb())}function te(t,e){if(1&t&&(r.Yb(0,"div",17),r.Tb(1,"app-social-profile-post",18),r.Xb()),2&t){const t=r.jc().$implicit,e=r.jc();r.Fb(1),r.pc("postObj",t)("isMyProfile",e.isMyProfile)}}function ee(t,e){if(1&t&&(r.Yb(0,"div",15),r.Gc(1,te,2,2,"div",16),r.Xb()),2&t){const t=e.$implicit;r.Fb(1),r.pc("ngIf",null!=t.content&&t.content.length>0)}}const ne=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"",component:x,children:[{path:"profile/:pubKey",component:Xt},{path:"profile",component:Xt},{path:"stream/:algoName",component:(()=>{class t{constructor(t,e,n,o){this._sanitizer=t,this.dialog=e,this.cd=n,this.q=o,this.pubKey="NoProfileSelected",this.postList=[],this.initRnd=0,this.DEVMODE=O.dev,this.buttonTitle="",this.status="",this.inputFocus=!1,this.inputHover=!1,this.searchPhrase="",this.searchResults=[],this.searchResultsActive=!1,this.noProfileSelected="NoProfileSelected",this.syncSub={},this.groupedTimeline=[],this.replyTree={},this.syncStatus=!0,this.popupRef=[]}parseSearchBar(){this.searchPhrase.length>0?this.search():this.cd.detectChanges()}search(){return Object(i.a)(this,void 0,void 0,(function*(){this.searchResults=yield this.q.os.social.timeline.search(this.searchPhrase),this.timeline=this.searchResults.length>0?this.searchResults:this.q.os.social.timeline.get(),this.cd.detectChanges()}))}updateListen(){this.groupedTimeline=[],this.replyTree={},void 0===this.syncSub.all&&(this.syncSub.all=this.q.os.social.timeline.agent.onSync("all").subscribe(t=>Object(i.a)(this,void 0,void 0,(function*(){void 0!==t&&void 0!==t.groupedTimeline?(this.groupedTimeline=t.groupedTimeline,this.syncStatus=!0,this.q.os.ui.showSnack("Stream Synced!","Yeah",{duration:1e3}),this.cd.detectChanges(),setTimeout(()=>{this.cd.detectChanges()},5e3),setTimeout(()=>{this.cd.detectChanges()},12e3)):this.syncStatus=!0}))))}ngOnDestroy(){try{this.onAlgoChange.unsubscribe()}catch(e){}let t=Object.keys(this.syncSub);for(let n of t)this.syncSub[n].unsubscribe()}ngOnInit(t=!1){return Object(i.a)(this,void 0,void 0,(function*(){this.q.os.ui.showSnack("Syncing Stream...","Please Wait"),this.syncStatus=!1,this.updateListen();let e=yield this.q.os.social.timeline.agent.sync("all");this.groupedTimeline=e.groupedTimeline,this.syncStatus=!0,t||(this.onAlgoChange=this.q.os.social.algo.onSelect().subscribe(t=>Object(i.a)(this,void 0,void 0,(function*(){this.ngOnInit(!0)}))))}))}unsubscribeAll(){let t=Object.keys(this.syncSub);for(let n of t)try{this.syncSub[n].unsubscribe(),delete this.syncSub[this.pubKey]}catch(e){}}ngOnChanges(){return Object(i.a)(this,void 0,void 0,(function*(){}))}searchBarClicked(){}syncMoreWorker(){return Object(i.a)(this,void 0,void 0,(function*(){let t=this.q.os.social.timeline.agent.getLimit("all");t+=5;let e=yield this.q.os.social.timeline.agent.sync("all",{limit:t});this.groupedTimeline=e.groupedTimeline,this.syncStatus=!0,this.q.os.ui.showSnack("Stream Synced!","Yay",{duration:1e3}),console.log(this.groupedTimeline),this.cd.detectChanges()}))}syncMore(){return Object(i.a)(this,void 0,void 0,(function*(){this.q.os.ui.showSnack("Syncing Stream...","Please Wait"),this.syncStatus=!1,this.cd.detectChanges(),setTimeout(()=>{this.syncMoreWorker()},3e3)}))}open(t){this.popupRef.push(this.dialog.open(t,{context:"this is some additional data passed to dialog"}))}closePopup(){console.log("close toggled"),this.popupRef[this.popupRef.length-1].close(),this.popupRef.pop()}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(M.b),r.Sb(c.l),r.Sb(r.h),r.Sb(s.a))},t.\u0275cmp=r.Mb({type:t,selectors:[["app-social-stream"]],viewQuery:function(t,e){var n;1&t&&(r.Mc(At,!0),r.Mc(Lt,!0)),2&t&&(r.uc(n=r.gc())&&(e.qrPop=n.first),r.uc(n=r.gc())&&(e.createPop=n.first))},inputs:{initRnd:"initRnd",buttonTitle:"buttonTitle",groupedTimeline:"groupedTimeline"},features:[r.Db],decls:9,vars:5,consts:[[1,"search"],[1,"message-row"],[2,"width","100%"],["fullWidth","","nbInput","","type","text",1,"mat-elevation-z16",3,"ngModel","placeholder","ngModelChange","focus","blur","mouseenter","mouseleave","keyup.enter","keyup","click"],["nbSuffix","","nbButton","","ghost","",1,"searchButtonWrapper",3,"click"],["class","searchButton","icon","search-outline",4,"ngIf","ngIfElse"],["title",""],["class","postViewer",4,"ngIf"],["icon","search-outline",1,"searchButton"],[1,"postViewer"],[3,"combinedTimeline","isMyProfile",4,"ngFor","ngForOf"],["class","fundUs",3,"click",4,"ngIf"],["class","fundUs","style","margin-top: 40vh;",4,"ngIf"],[3,"combinedTimeline","isMyProfile"],[1,"fundUs",3,"click"],["mat-stroked-button","","color","secondary",1,"mat-elevation-z18","defaultSettingsButton","noOutlineButton","fundButton"],[1,"fundUs",2,"margin-top","40vh"],["target","_blank",1,"mat-elevation-z18"],["mat-stroked-button","","color","secondary",1,"defaultSettingsButton","noOutlineButton","fundButton"]],template:function(t,e){if(1&t&&(r.Yb(0,"div",0),r.Yb(1,"div",1),r.Yb(2,"div",2),r.Yb(3,"input",3),r.fc("ngModelChange",(function(t){return e.searchPhrase=t}))("focus",(function(){return e.inputFocus=!0}))("blur",(function(){return e.inputFocus=!1}))("mouseenter",(function(){return e.inputHover=!0}))("mouseleave",(function(){return e.inputHover=!1}))("keyup.enter",(function(){return e.search()}))("keyup",(function(){return e.parseSearchBar()}))("click",(function(){return e.searchBarClicked()})),r.Xb(),r.Yb(4,"button",4),r.fc("click",(function(){return e.search()})),r.Gc(5,Dt,1,0,"nb-icon",5),r.Gc(6,Et,1,1,"ng-template",null,6,r.Hc),r.Xb(),r.Xb(),r.Xb(),r.Xb(),r.Gc(8,Ht,4,3,"div",7)),2&t){const t=r.vc(7);r.Fb(3),r.qc("placeholder","What are you looking for?"),r.pc("ngModel",e.searchPhrase),r.Fb(2),r.pc("ngIf",!e.buttonTitle)("ngIfElse",t),r.Fb(3),r.pc("ngIf",e.syncStatus)}},directives:[y.b,y.j,y.m,c.E,a.m,c.o,a.l,tt,l.a],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.verifyButton[_ngcontent-%COMP%]{margin-right:70px!important}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;position:relative;left:30px;top:-30px;z-index:1}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;padding-top:60px;z-index:0;padding-bottom:50px;margin-top:-60px;margin-bottom:42px;color:#6d95ce;z-index:11;background:#151b2e;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471))}.editButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:20px;margin-top:-15px}.discardButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:23px}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:absolute;font-size:19px;right:22px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{left:99px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;cursor:pointer;margin-top:-53px;margin-bottom:23px;margin-left:78px}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{max-height:20px;text-overflow:ellipsis;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}.editButton[_ngcontent-%COMP%]{margin-top:-9px}}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.search[_ngcontent-%COMP%]{z-index:2;right:0;left:0;padding:20px;height:95px;bottom:28px;position:absolute;top:0}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-family:Ubuntu;position:absolute;letter-spacing:1px;color:rgba(241,237,205,.8196078431372549);padding:10px 10px 10px 26px;font-size:16px;left:5%;width:90%;font-weight:500!important}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid red}.search[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:1.75rem}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:rgba(41,104,245,.8313725490196079)}.pp[_ngcontent-%COMP%]{z-index:12}.fundUs[_ngcontent-%COMP%]{z-index:2;width:100%;margin-bottom:120px;text-align:center;margin-top:38px}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;height:40px;width:40px;border:0;color:#7b9cc3;padding-right:8px;width:50px;position:absolute;top:19px;right:5%}.search[_ngcontent-%COMP%] .searchButton[_ngcontent-%COMP%]:focus, .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%]:focus{outline:none!important;border:0!important;box-shadow:none!important}.results[_ngcontent-%COMP%]{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.59));font-family:Ubuntu;overflow:hidden;overflow-y:auto;position:absolute;left:0;right:0;bottom:27px;top:0}.resultCardWrapper[_ngcontent-%COMP%]{padding:20px 4% 20px 5%}.resultCardWrapper[_ngcontent-%COMP%]:first-child{padding-top:60px;padding-bottom:20px}.resultCardWrapper[_ngcontent-%COMP%]:last-child{padding-bottom:120px}.searchResultAlias[_ngcontent-%COMP%]{font-size:18px}.searchResultPp[_ngcontent-%COMP%], .searchResultPpImg[_ngcontent-%COMP%]{height:100px}.searchResultColumn[_ngcontent-%COMP%]{color:#4f84e2;padding:10px 10px 10px 20px}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:none;color:#4f84e2;margin-top:7px}.searchResultAboutWrapper[_ngcontent-%COMP%]{width:100%}.resultCard[_ngcontent-%COMP%]{border-radius:5px;flex-direction:row;box-sizing:border-box;display:flex;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.5882352941176471));overflow:hidden;cursor:pointer;border:1px solid transparent}.resultCard[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));overflow:hidden;border:1px solid red}.searchResultFullName[_ngcontent-%COMP%]{color:rgba(79,132,226,.5411764705882353)}@media only screen and (max-width:816px){.searchResultColumn[_ngcontent-%COMP%]{padding-left:10px}.searchResultConnection.searchResultColumn[_ngcontent-%COMP%]{display:none}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:block}.resultCard[_ngcontent-%COMP%]{flex-flow:row wrap}}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;position:relative;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{float:right;color:#452781}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent} nb-popover{background:transparent!important}@media only screen and (max-width:616px){.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{margin-left:0;margin-right:0!important;margin-top:0;border:0!important;margin-bottom:15px;border-radius:0;border-top:1px solid #40389e!important;border-bottom:1px solid #423193!important;width:100vw}.postContainer[_ngcontent-%COMP%]:last-child{margin-bottom:40px}}.emojiPicker[_ngcontent-%COMP%]{right:60px}@media only screen and (min-width:420px) and (max-width:480px){.emojiPicker[_ngcontent-%COMP%]{right:-40px}}@media only screen and (min-width:480px) and (max-width:900px){.emojiPicker[_ngcontent-%COMP%]{right:0}}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;margin-right:5vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473);display:block}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628);border-radius:0;margin-top:-56px}.postContainer.level-0[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:0}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-top:-56px}.postContainer.reply[_ngcontent-%COMP%]{border-left:8px solid;border-right:8px solid;border-top:1px solid;position:relative;margin:-17px 6vw 0;top:22px}.postContainer.singleLevel[_ngcontent-%COMP%]{margin-top:40px!important;margin-bottom:20px;border-radius:10px!important}.postContainer.singleLevel.replyPost[_ngcontent-%COMP%]{margin-top:0!important;border-radius:10px!important}.replyLoop[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.replyLoop[_ngcontent-%COMP%]:first-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:30px}.replyLoop[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.combinedTimeline[_ngcontent-%COMP%]:nth-child(2){margin-top:120px}.postViewer[_ngcontent-%COMP%]{position:absolute;left:0;top:20px;right:0;bottom:77px;overflow:hidden;overflow-y:auto;padding-top:20px}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:rgba(78,132,229,.5607843137254902)}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}"]}),t})()},{path:"timeline/post/:qHash",component:(()=>{class t{constructor(t,e,n,o,i){this.route=t,this._sanitizer=e,this.dialog=n,this.cd=o,this.q=i,this.pubKey="NoProfileSelected",this.postList=[],this.DEVMODE=O.dev,this.buttonTitle="",this.qHash="",this.status="",this.inputFocus=!1,this.inputHover=!1,this.searchPhrase="",this.searchResults=[],this.searchResultsActive=!1,this.noProfileSelected="NoProfileSelected",this.replies=[],this.groupedTimeline=[],this.syncStatus=!1,this.syncingStatus=!1,this.popupRef=[]}parseSearchBar(){}search(){return Object(i.a)(this,void 0,void 0,(function*(){}))}updateListen(){this.syncingStatus=!1,console.log("QD Social Timeline Post: Subscribing To Sync..",this.qHash),void 0!==this.syncSub&&this.syncSub.unsubscribe(),this.syncSub=this.q.os.social.timeline.agent.onSync("all").subscribe(t=>Object(i.a)(this,void 0,void 0,(function*(){try{console.log(t.timeline),this.groupedTimeline=[],this.replies=[];let e=[],n=t.timeline;for(let t of n)t.replyTo!=this.qHash||this.q.os.utilities.inArray(e,t.qHash)||(this.replies.push(t),e.push(t.qHash)),t.qHash==this.qHash&&(this.groupedTimeline=[[t]]);this.syncingStatus=!0,this.q.os.ui.showSnack("Replies Synced!","Yeah",{duration:2e3}),console.log("QD Social Timeline Post View: Replies Synced!"),this.cd.detectChanges(),setTimeout(()=>{this.cd.detectChanges()},2e3),setTimeout(()=>{this.cd.detectChanges()},6e3),setTimeout(()=>{this.cd.detectChanges()},1e4),setTimeout(()=>{this.cd.detectChanges()},15e3)}catch(e){console.log(e)}})))}ngOnInit(){return Object(i.a)(this,void 0,void 0,(function*(){this.updateListen(),this.paramSub=this.route.params.subscribe(t=>Object(i.a)(this,void 0,void 0,(function*(){console.log(t),this.qHash=t.qHash,this.ngOnChanges()})))}))}ngOnChanges(){return Object(i.a)(this,void 0,void 0,(function*(){this.q.os.ui.showSnack("Syncing Replies...","Please Wait"),yield this.q.os.social.timeline.agent.sync("all",{limit:0})}))}ngOnDestroy(){this.paramSub.unsubscribe(),void 0!==this.syncSub&&this.syncSub.unsubscribe()}searchBarClicked(){}open(t){this.popupRef.push(this.dialog.open(t,{context:"this is some additional data passed to dialog"}))}closePopup(){console.log("close toggled"),this.popupRef[this.popupRef.length-1].close(),this.popupRef.pop()}}return t.\u0275fac=function(e){return new(e||t)(r.Sb(o.a),r.Sb(M.b),r.Sb(c.l),r.Sb(r.h),r.Sb(s.a))},t.\u0275cmp=r.Mb({type:t,selectors:[["social-timeline-post"]],viewQuery:function(t,e){var n;1&t&&(r.Mc(Wt,!0),r.Mc(Zt,!0)),2&t&&(r.uc(n=r.gc())&&(e.qrPop=n.first),r.uc(n=r.gc())&&(e.createPop=n.first))},inputs:{buttonTitle:"buttonTitle",qHash:"qHash"},features:[r.Db],decls:12,vars:7,consts:[[1,"search"],[1,"message-row"],[2,"width","100%"],["fullWidth","","nbInput","","type","text",1,"mat-elevation-z16",3,"ngModel","placeholder","ngModelChange","focus","blur","mouseenter","mouseleave","keyup.enter","keyup","click"],["nbSuffix","","nbButton","","ghost","",1,"searchButtonWrapper",3,"click"],["class","searchButton","icon","search-outline",4,"ngIf","ngIfElse"],["title",""],[1,"postViewer"],[3,"combinedTimeline",4,"ngFor","ngForOf"],["class","repliesHeader",4,"ngIf"],["class","postOuterWrapper replyOuterWrapper",4,"ngFor","ngForOf"],["icon","search-outline",1,"searchButton"],[3,"combinedTimeline"],[1,"repliesHeader"],["icon","message-square-outline",1,"repliesIcon"],[1,"postOuterWrapper","replyOuterWrapper"],["class","postWrapper",4,"ngIf"],[1,"postWrapper"],[1,"postContainer","mat-elevation-z8","post","singleLevel",3,"postObj","isMyProfile"]],template:function(t,e){if(1&t&&(r.Yb(0,"div",0),r.Yb(1,"div",1),r.Yb(2,"div",2),r.Yb(3,"input",3),r.fc("ngModelChange",(function(t){return e.searchPhrase=t}))("focus",(function(){return e.inputFocus=!0}))("blur",(function(){return e.inputFocus=!1}))("mouseenter",(function(){return e.inputHover=!0}))("mouseleave",(function(){return e.inputHover=!1}))("keyup.enter",(function(){return e.search()}))("keyup",(function(){return e.parseSearchBar()}))("click",(function(){return e.searchBarClicked()})),r.Xb(),r.Yb(4,"button",4),r.fc("click",(function(){return e.search()})),r.Gc(5,Ut,1,0,"nb-icon",5),r.Gc(6,$t,1,1,"ng-template",null,6,r.Hc),r.Xb(),r.Xb(),r.Xb(),r.Xb(),r.Yb(8,"div",7),r.Gc(9,Qt,1,1,"social-timeline-post-combined-timeline",8),r.Gc(10,Jt,2,0,"div",9),r.Gc(11,ee,2,1,"div",10),r.Xb()),2&t){const t=r.vc(7);r.Fb(3),r.qc("placeholder","What are you looking for?"),r.pc("ngModel",e.searchPhrase),r.Fb(2),r.pc("ngIf",!e.buttonTitle)("ngIfElse",t),r.Fb(4),r.pc("ngForOf",e.groupedTimeline),r.Fb(1),r.pc("ngIf",null!=e.replies&&e.replies.length>0),r.Fb(1),r.pc("ngForOf",e.replies)}},directives:[y.b,y.j,y.m,c.E,a.m,a.l,c.o,tt,H],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.verifyButton[_ngcontent-%COMP%]{margin-right:70px!important}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;position:relative;left:30px;top:-30px;z-index:1}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;padding-top:60px;z-index:0;padding-bottom:50px;margin-top:-60px;margin-bottom:42px;color:#6d95ce;z-index:11;background:#151b2e;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471))}.editButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:20px;margin-top:-15px}.discardButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:23px}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:absolute;font-size:19px;right:22px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{left:99px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;cursor:pointer;margin-top:-53px;margin-bottom:23px;margin-left:78px}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{max-height:20px;text-overflow:ellipsis;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}.editButton[_ngcontent-%COMP%]{margin-top:-9px}}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.search[_ngcontent-%COMP%]{z-index:2;right:0;left:0;padding:20px;height:95px;bottom:28px;position:absolute;top:0}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-family:Ubuntu;position:absolute;letter-spacing:1px;color:rgba(241,237,205,.8196078431372549);padding:10px 10px 10px 26px;font-size:16px;left:5%;width:90%;font-weight:500!important}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid red}.search[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:1.75rem}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:rgba(41,104,245,.8313725490196079)}.pp[_ngcontent-%COMP%]{z-index:12}.fundUs[_ngcontent-%COMP%]{z-index:2;width:100%;margin-bottom:120px;text-align:center;margin-top:38px}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;height:40px;width:40px;border:0;color:#7b9cc3;padding-right:8px;width:50px;position:absolute;top:19px;right:5%}.search[_ngcontent-%COMP%] .searchButton[_ngcontent-%COMP%]:focus, .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%]:focus{outline:none!important;border:0!important;box-shadow:none!important}.results[_ngcontent-%COMP%]{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.59));font-family:Ubuntu;overflow:hidden;overflow-y:auto;position:absolute;left:0;right:0;bottom:27px;top:0}.resultCardWrapper[_ngcontent-%COMP%]{padding:20px 4% 20px 5%}.resultCardWrapper[_ngcontent-%COMP%]:first-child{padding-top:60px;padding-bottom:20px}.resultCardWrapper[_ngcontent-%COMP%]:last-child{padding-bottom:120px}.searchResultAlias[_ngcontent-%COMP%]{font-size:18px}.searchResultPp[_ngcontent-%COMP%], .searchResultPpImg[_ngcontent-%COMP%]{height:100px}.searchResultColumn[_ngcontent-%COMP%]{color:#4f84e2;padding:10px 10px 10px 20px}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:none;color:#4f84e2;margin-top:7px}.searchResultAboutWrapper[_ngcontent-%COMP%]{width:100%}.resultCard[_ngcontent-%COMP%]{border-radius:5px;flex-direction:row;box-sizing:border-box;display:flex;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.5882352941176471));overflow:hidden;cursor:pointer;border:1px solid transparent}.resultCard[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));overflow:hidden;border:1px solid red}.searchResultFullName[_ngcontent-%COMP%]{color:rgba(79,132,226,.5411764705882353)}@media only screen and (max-width:816px){.searchResultColumn[_ngcontent-%COMP%]{padding-left:10px}.searchResultConnection.searchResultColumn[_ngcontent-%COMP%]{display:none}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:block}.resultCard[_ngcontent-%COMP%]{flex-flow:row wrap}}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;position:relative;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{float:right;color:#452781}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent} nb-popover{background:transparent!important}@media only screen and (max-width:616px){.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{margin-left:0;margin-right:0!important;margin-top:0;border:0!important;margin-bottom:15px;border-radius:0;border-top:1px solid #40389e!important;border-bottom:1px solid #423193!important;width:100vw}.postContainer[_ngcontent-%COMP%]:last-child{margin-bottom:40px}}.emojiPicker[_ngcontent-%COMP%]{right:60px}@media only screen and (min-width:420px) and (max-width:480px){.emojiPicker[_ngcontent-%COMP%]{right:-40px}}@media only screen and (min-width:480px) and (max-width:900px){.emojiPicker[_ngcontent-%COMP%]{right:0}}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;margin-right:5vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473);display:block}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628);border-radius:0;margin-top:-56px}.postContainer.level-0[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:0}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-top:-56px}.postContainer.reply[_ngcontent-%COMP%]{border-left:8px solid;border-right:8px solid;border-top:1px solid;position:relative;margin:-17px 6vw 0;top:22px}.postContainer.singleLevel[_ngcontent-%COMP%]{margin-top:40px!important;margin-bottom:20px;border-radius:10px!important}.postContainer.singleLevel.replyPost[_ngcontent-%COMP%]{margin-top:0!important;border-radius:10px!important}.replyLoop[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.replyLoop[_ngcontent-%COMP%]:first-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:30px}.replyLoop[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.combinedTimeline[_ngcontent-%COMP%]:nth-child(2){margin-top:120px}.repliesHeader[_ngcontent-%COMP%]{margin:20px;text-align:center}.repliesIcon[_ngcontent-%COMP%]{color:#7d9dc3;font-size:26px;margin:40px 20px 20px}.syncingButton.false[_ngcontent-%COMP%]{margin-top:0}.replyOuterWrapper[_ngcontent-%COMP%]:last-child{margin-bottom:120px}.postViewer[_ngcontent-%COMP%]{position:absolute;left:0;top:20px;right:0;bottom:77px;overflow:hidden;padding-top:22px;overflow-y:auto}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:rgba(78,132,229,.5607843137254902)}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}"],changeDetection:0}),t})()}]}];let oe=(()=>{class t{}return t.\u0275mod=r.Qb({type:t}),t.\u0275inj=r.Pb({factory:function(e){return new(e||t)},imports:[[o.g.forChild(ne)],o.g]}),t})();var ie=n("UXJo"),re=n("kmnG"),ce=n("5RNC"),se=n("Wp6s"),ae=n("d3UM"),le=n("bSwM"),pe=n("STbY"),de=n("8yBR"),ge=n("YUcS"),ue=n("6NWb"),he=n("5+WD"),be=n("f6nW"),fe=n("FvrZ"),me=n("tk/3"),Ce=n("NFeN"),xe=n("tR1z");let Pe=(()=>{class t{}return t.\u0275mod=r.Qb({type:t,bootstrap:[x]}),t.\u0275inj=r.Pb({factory:function(e){return new(e||t)},providers:[c.l],imports:[[c.C,be.p,fe.d,c.x,ie.b,me.b,se.a,ae.b,l.b,le.a,pe.c,a.c,oe,ue.a,c.J,c.v,c.h,c.I,xe.a,c.q,c.n,y.f,c.j,c.k.forRoot(),c.g,de.d,he.c,l.b,le.a,k.b,re.d,_.b,ce.a,ge.a,Ce.b,S.a,w.b,F.b,c.A],be.p,re.d,ae.b,de.d,pe.c]}),t})()},ZREu:function(t){t.exports=JSON.parse('{"dev":false}')},zVjI:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return Q}));var o=n("n2fA"),i=n("FQBZ"),r=n("ZREu"),c=n("2Vo4"),s=n("0EQZ"),a=n("FvrZ"),l=n("8yBR"),p=n("STbY"),d=n("fXoL"),g=n("tyNb"),u=n("Witw"),h=n("aceb"),b=n("gvxT"),f=n("kmnG"),m=n("qFsG"),C=n("ofXK"),x=n("d3UM"),P=n("3Pt+"),v=n("bTqV"),O=n("FKr1"),M=n("IyRd"),y=n("znSr"),_=n("NFeN");const k=["emptyItem"],w=["qrPop"],F=["createPop"],S=["newFavoriteFolder"];function j(t,e){if(1&t&&(d.Yb(0,"mat-option",24),d.Ic(1),d.Xb()),2&t){const t=e.$implicit;d.pc("value",t.id),d.Fb(1),d.Kc(" ",t.data.name," ")}}function B(t,e){if(1&t){const t=d.Zb();d.Yb(0,"nb-card"),d.Yb(1,"nb-card-header"),d.Ic(2,"Create Channel"),d.Xb(),d.Yb(3,"nb-card-body",16),d.Yb(4,"div",17),d.Ic(5," Folder: "),d.Yb(6,"mat-select",18),d.fc("valueChange",(function(e){return d.xc(t),d.jc().newChannelFolder=e}))("selectionChange",(function(e){return d.xc(t),d.jc().newChannelFolderChanged(e.value)})),d.Gc(7,j,2,2,"mat-option",19),d.Xb(),d.Xb(),d.Yb(8,"div",20),d.Yb(9,"input",21),d.fc("ngModelChange",(function(e){return d.xc(t),d.jc().newChannelName=e})),d.Xb(),d.Xb(),d.Xb(),d.Yb(10,"nb-card-footer"),d.Yb(11,"button",22),d.fc("click",(function(){d.xc(t);const e=d.jc();return e.createNewChannel(e.newChannelName)})),d.Ic(12,"Create"),d.Xb(),d.Yb(13,"button",23),d.fc("click",(function(){return d.xc(t),d.jc().closePopup()})),d.Ic(14,"Cancel"),d.Xb(),d.Xb(),d.Xb()}if(2&t){const t=d.jc();d.Fb(6),d.pc("value",t.newChannelFolder),d.Fb(1),d.pc("ngForOf",t.channelFolderListArray),d.Fb(2),d.pc("ngModel",t.newChannelName)}}function I(t,e){if(1&t){const t=d.Zb();d.Yb(0,"nb-card"),d.Yb(1,"nb-card-header"),d.Ic(2,"Scan QR"),d.Xb(),d.Yb(3,"nb-card-body",16),d.Yb(4,"div",25),d.Yb(5,"zxing-scanner",26),d.fc("deviceChange",(function(e){return d.xc(t),d.jc().currentDevice=e}))("scanSuccess",(function(e){return d.xc(t),d.jc().qrSuccessHandler(e)}))("permissionResponse",(function(e){return d.xc(t),d.jc().onHasPermission(e)}))("camerasFound",(function(e){return d.xc(t),d.jc().onCamerasFound(e)}))("torchCompatible",(function(e){return d.xc(t),d.jc().onTorchCompatible(e)})),d.Xb(),d.Xb(),d.Xb(),d.Yb(6,"nb-card-footer"),d.Yb(7,"button",23),d.fc("click",(function(){return d.xc(t),d.jc().closeQR()})),d.Ic(8,"Cancel"),d.Xb(),d.Xb(),d.Xb()}if(2&t){const t=d.jc();d.Fb(5),d.pc("torch",t.torchEnabled)("device",t.currentDevice)("formats",t.formatsEnabled)("tryHarder",t.tryHarder)}}function z(t,e){if(1&t&&(d.Yb(0,"mat-option",24),d.Ic(1),d.Xb()),2&t){const t=e.$implicit;d.pc("value",t.id),d.Fb(1),d.Kc(" ",t.data.name," ")}}function T(t,e){if(1&t){const t=d.Zb();d.Yb(0,"nb-card"),d.Yb(1,"nb-card-header"),d.Ic(2,"Join Channel"),d.Xb(),d.Yb(3,"nb-card-body",16),d.Yb(4,"div",17),d.Ic(5," Import Folder Structure: "),d.Yb(6,"mat-form-field",27),d.Yb(7,"mat-select",28),d.fc("valueChange",(function(e){return d.xc(t),d.jc().importFolderStructure=e}))("selectionChange",(function(e){return d.xc(t),d.jc().newInviteImportFoldersChanged(e.value)})),d.Yb(8,"mat-option",24),d.Ic(9," On "),d.Xb(),d.Yb(10,"mat-option",24),d.Ic(11," Off "),d.Xb(),d.Xb(),d.Xb(),d.Xb(),d.Yb(12,"div",17),d.Ic(13," Place Into Folder: "),d.Yb(14,"mat-select",18),d.fc("valueChange",(function(e){return d.xc(t),d.jc().newChannelFolder=e}))("selectionChange",(function(e){return d.xc(t),d.jc().newChannelFolderChanged(e.value)})),d.Gc(15,z,2,2,"mat-option",19),d.Xb(),d.Xb(),d.Yb(16,"div",20),d.Yb(17,"input",29),d.fc("ngModelChange",(function(e){return d.xc(t),d.jc().inviteCodeHex=e})),d.Xb(),d.Yb(18,"nb-icon",30),d.fc("click",(function(){return d.xc(t),d.jc().scanQR()})),d.Xb(),d.Xb(),d.Xb(),d.Yb(19,"nb-card-footer"),d.Yb(20,"button",22),d.fc("click",(function(){d.xc(t);const e=d.jc();return e.importNewChannel(e.inviteCode)})),d.Ic(21,"Join"),d.Xb(),d.Yb(22,"button",23),d.fc("click",(function(){return d.xc(t),d.jc().closePopup()})),d.Ic(23,"Cancel"),d.Xb(),d.Xb(),d.Xb()}if(2&t){const t=d.jc();d.Fb(7),d.pc("value",t.importFolderStructure),d.Fb(1),d.pc("value",1),d.Fb(2),d.pc("value",0),d.Fb(4),d.pc("value",t.newChannelFolder),d.Fb(1),d.pc("ngForOf",t.channelFolderListArray),d.Fb(2),d.pc("ngModel",t.inviteCodeHex)}}function q(t,e){if(1&t&&(d.Yb(0,"mat-option",24),d.Ic(1),d.Xb()),2&t){const t=e.$implicit;d.pc("value",t.id),d.Fb(1),d.Kc(" ",t.data.name," ")}}function N(t,e){if(1&t){const t=d.Zb();d.Yb(0,"nb-card"),d.Yb(1,"nb-card-header"),d.Ic(2,"New Favorite Folder"),d.Xb(),d.Yb(3,"nb-card-body",16),d.Yb(4,"div",17),d.Ic(5," Folder: "),d.Yb(6,"mat-select",18),d.fc("valueChange",(function(e){return d.xc(t),d.jc().newFavoriteFolderId=e}))("selectionChange",(function(e){return d.xc(t),d.jc().newFavoriteFolderChanged(e.value)})),d.Gc(7,q,2,2,"mat-option",19),d.Xb(),d.Xb(),d.Yb(8,"div",20),d.Yb(9,"input",31),d.fc("ngModelChange",(function(e){return d.xc(t),d.jc().newFavoriteFolderName=e})),d.Xb(),d.Xb(),d.Xb(),d.Yb(10,"nb-card-footer"),d.Yb(11,"button",22),d.fc("click",(function(){d.xc(t);const e=d.jc();return e.createNewFavoriteFolder(e.newFavoriteFolderName)})),d.Ic(12,"Create"),d.Xb(),d.Yb(13,"button",23),d.fc("click",(function(){return d.xc(t),d.jc().closePopup()})),d.Ic(14,"Cancel"),d.Xb(),d.Xb(),d.Xb()}if(2&t){const t=d.jc();d.Fb(6),d.pc("value",t.newFavoriteFolderId),d.Fb(1),d.pc("ngForOf",t.favoriteFolderListArray),d.Fb(2),d.pc("ngModel",t.newFavoriteFolderName)}}function R(t,e){if(1&t){const t=d.Zb();d.Yb(0,"div",36),d.fc("click",(function(){d.xc(t);const e=d.jc().$implicit;return d.jc().goToProfile(e.pubKey)})),d.Ic(1),d.Xb()}if(2&t){const t=d.jc().$implicit,e=d.jc();d.Fb(1),d.Kc(" ",e.getAliasFromDirectChannel(t.channel),"")}}function Y(t,e){if(1&t){const t=d.Zb();d.Yb(0,"div",36),d.fc("click",(function(){d.xc(t);const e=d.jc().$implicit;return d.jc().goToProfile(e.pubKey)})),d.Ic(1," Unknown"),d.Xb()}}function X(t,e){if(1&t){const t=d.Zb();d.Yb(0,"div",32),d.Gc(1,R,2,1,"div",33),d.Gc(2,Y,2,0,"div",33),d.Yb(3,"nb-icon",34),d.fc("click",(function(){d.xc(t);const n=e.$implicit;return d.jc().rejectRequest(n.pubKey)})),d.Xb(),d.Yb(4,"nb-icon",35),d.fc("click",(function(){d.xc(t);const n=e.$implicit;return d.jc().importNewChannel(n.invite)})),d.Xb(),d.Xb()}if(2&t){const t=e.$implicit,n=d.jc();d.Fb(1),d.pc("ngIf",n.getAliasFromDirectChannel(t.channel).indexOf("qprivatedch")<0),d.Fb(1),d.pc("ngIf",n.getAliasFromDirectChannel(t.channel).indexOf("qprivatedch")>-1)}}const A=function(t){return[t]},L=function(){return["active-channel"]},D=function(t){return{"drag-start":t}};function E(t,e){if(1&t){const t=d.Zb();d.Yb(0,"div",40),d.fc("click",(function(){d.xc(t);const e=d.jc().$implicit;return d.jc().goToProfileByChannel(e.item)})),d.Tb(1,"nb-icon",41),d.Yb(2,"span",42),d.fc("dragstart",(function(e){d.xc(t);const n=d.jc().$implicit;return d.jc().handleDragStart(e,n)})),d.Yb(3,"span",43),d.Ic(4),d.Xb(),d.Xb(),d.Xb()}if(2&t){const t=d.jc().$implicit,e=d.jc();d.Ib("treeNodeContainerSingle ",t.item,""),d.pc("routerLink",d.sc(7,A,"/social/profile/"+e.pk[t.item]))("routerLinkActive",d.rc(9,L)),d.Fb(3),d.pc("ngClass",d.sc(10,D,e.dragNode===t)),d.Fb(1),d.Kc(" ",e.getAliasFromDirectChannel2(t.item)," ")}}function K(t,e){if(1&t){const t=d.Zb();d.Yb(0,"div",44),d.fc("click",(function(){d.xc(t);const e=d.jc().$implicit;return d.jc().goToChannel(e.item)})),d.Tb(1,"nb-icon",45),d.Yb(2,"span",42),d.fc("dragstart",(function(e){d.xc(t);const n=d.jc().$implicit;return d.jc().handleDragStart(e,n)})),d.Yb(3,"span",46),d.Ic(4," Unknown "),d.Xb(),d.Xb(),d.Xb()}if(2&t){const t=d.jc().$implicit,e=d.jc();d.Ib("treeNodeContainerSingle ",t.item,""),d.Fb(3),d.pc("ngClass",d.sc(4,D,e.dragNode===t))}}function V(t,e){if(1&t){const t=d.Zb();d.Yb(0,"mat-tree-node",37),d.fc("dragover",(function(n){d.xc(t);const o=e.$implicit;return d.jc().handleDragOver(n,o)}))("dragend",(function(e){return d.xc(t),d.jc().handleDragEnd(e)}))("drop",(function(n){d.xc(t);const o=e.$implicit;return d.jc().handleDrop(n,o)})),d.Gc(1,E,5,12,"div",38),d.Gc(2,K,5,6,"div",39),d.Xb()}if(2&t){const t=e.$implicit,n=d.jc();d.pc("ngClass",n.getStyle(t)),d.Fb(1),d.pc("ngIf",n.getAliasFromDirectChannel2(t.item).indexOf("qprivatedch")<0),d.Fb(1),d.pc("ngIf",n.getAliasFromDirectChannel2(t.item).indexOf("qprivatedch")>-1)}}function G(t,e){if(1&t){const t=d.Zb();d.Yb(0,"mat-tree-node",47),d.fc("dragover",(function(n){d.xc(t);const o=e.$implicit;return d.jc().handleDragOver(n,o)}))("dragend",(function(n){d.xc(t);const o=e.$implicit;return d.jc().handleDragEnd(n,o)}))("drop",(function(n){d.xc(t);const o=e.$implicit;return d.jc().handleDrop(n,o)})),d.Yb(1,"div",48),d.fc("contextmenu",(function(n){d.xc(t);const o=e.$implicit;return d.jc().onContextMenu(n,o.item)})),d.Yb(2,"button",49),d.Yb(3,"mat-icon",50),d.Ic(4),d.Xb(),d.Xb(),d.Tb(5,"nb-icon",51),d.Yb(6,"span",42),d.fc("dragstart",(function(n){d.xc(t);const o=e.$implicit;return d.jc().handleDragStart(n,o)})),d.Yb(7,"span",52),d.Ic(8),d.Xb(),d.Xb(),d.Xb(),d.Xb()}if(2&t){const t=e.$implicit,n=d.jc();d.pc("ngClass",n.getStyle(t)),d.Fb(2),d.Gb("aria-label","toggle "+t.item),d.Fb(2),d.Kc(" ",n.treeControl.isExpanded(t)?"expand_more":"chevron_right"," "),d.Fb(3),d.pc("ngClass",d.sc(5,D,n.dragNode===t)),d.Fb(1),d.Kc(" ",n.getFavoriteFolderNameFromId(t.item)," ")}}function H(t,e){if(1&t){const t=d.Zb();d.Yb(0,"button",53),d.fc("click",(function(){d.xc(t);const n=e.item;return d.jc().deleteFolder(n)})),d.Ic(1,"Delete"),d.Xb(),d.Yb(2,"button",53),d.fc("click",(function(){d.xc(t);const n=e.item;return d.jc().onContextMenuAction2(n)})),d.Ic(3,"Rename"),d.Xb()}}class W{}class Z{}var U={};let $=(()=>{class t{constructor(){this.dataChange=new c.a([]),this.initialize()}get data(){return this.dataChange.value}initialize(){this.buildFileTree(U,0)}buildFileTree(t,e){return Object.keys(t).reduce((n,o)=>{const i=t[o],r=new W;return r.item=o,null!=i&&("object"==typeof i?r.children=this.buildFileTree(i,e+1):r.item=i),n.concat(r)},[])}insertItem(t,e){t.children||(t.children=[]);const n={item:e};return t.children.push(n),this.dataChange.next(this.data),n}getParentFromNodes(t){for(let e=0;e0)for(let n=0;n0){const t=this.getParent(o,e);if(null!=t)return t}}return null}updateItem(t,e){t.item=e,this.dataChange.next(this.data)}deleteItem(t){this.deleteNode(this.data,t),this.dataChange.next(this.data)}copyPasteItem(t,e){const n=this.insertItem(e,t.item);return t.children&&t.children.forEach(t=>{this.copyPasteItem(t,n)}),n}deleteNode(t,e){const n=t.indexOf(e,0);n>-1?t.splice(n,1):t.forEach(t=>{t.children&&t.children.length>0&&this.deleteNode(t.children,e)})}filter(t){let e;e=t&&t.length>0?{Filter:{emptyFolder:{}},Function:{emptyFolder:{}},Missing:{emptyFolder:{}}}:U;const n=this.buildFileTree(e,0);this.dataChange.next(n)}setQOS(t){this.q=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=d.Ob({token:t,factory:t.\u0275fac}),t})(),Q=(()=>{class e{constructor(t,e,n,o,p,d,g,u){this.router=t,this.ngZone=e,this.cd=n,this.database=o,this.ui=p,this.dialog=d,this.nbMenuService=g,this.q=u,this.contextMenuPosition={x:"0px",y:"0px"},this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.selectedParent=null,this.newItemName="",this.checklistSelection=new s.c(!0),this.dragNodeExpandOverWaitTimeMs=300,this.getLevel=t=>t.level,this.isExpandable=t=>t.expandable,this.getChildren=t=>t.children,this.hasChild=(t,e)=>e.expandable,this.hasNoContent=(t,e)=>""===e.item,this.transformer=(t,e)=>{const n=this.nestedNodeMap.get(t),o=n&&n.item===t.item?n:new Z;return o.item=t.item,o.level=e,o.expandable=t.children&&t.children.length>0,this.flatNodeMap.set(o,t),this.nestedNodeMap.set(t,o),o},this.dragNodeExpandOverAreaReal=0,this.channelNameList=[],this.incomingFavoriteRequestList=[],this.restoreFlag=0,this.sENwriteBlock=0,this.channelIsSelected="active-channel",this.DEVMODE=r.dev,this.customColumn="name",this.items=[{title:"New Favorite Folder"},{title:"Add Favorite"}],this.currentDevice=null,this.formatsEnabled=[i.BarcodeFormat.QR_CODE],this.torchEnabled=!1,this.torchAvailable$=new c.a(!1),this.tryHarder=!1,this.favoriteFolderListArray=[],this.popupRef=[],this.flatChannelNameList={},this.flatChannelNameList2={},this.flatChannelNeeded=[],this.flatChannelNeeded2=[],this.pubKeyStore={},this.pk={},this.itemClickSub=this.nbMenuService.onItemClick().subscribe(t=>{"New Favorite Folder"==String(t.item.title)&&(this.getFavoriteFolderList(),this.open(this.newFavoriteFolderPop))}),this.database.setQOS(this.q),this.treeFlattener=new l.c(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new a.j(this.getLevel,this.isExpandable),this.dataSource=new l.b(this.treeControl,this.treeFlattener)}onContextMenu(t,e){t.preventDefault(),this.contextMenuPosition.x=t.clientX+"px",this.contextMenuPosition.y=t.clientY-40+"px",this.contextMenu.menuData={item:e},this.contextMenu.openMenu()}onContextMenuAction1(t){}onContextMenuAction2(t){}descendantsAllSelected(t){return this.treeControl.getDescendants(t).every(t=>this.checklistSelection.isSelected(t))}descendantsPartiallySelected(t){return this.treeControl.getDescendants(t).some(t=>this.checklistSelection.isSelected(t))&&!this.descendantsAllSelected(t)}todoItemSelectionToggle(t){this.checklistSelection.toggle(t);const e=this.treeControl.getDescendants(t);this.checklistSelection.isSelected(t)?this.checklistSelection.select(...e):this.checklistSelection.deselect(...e)}saveNode(t,e){const n=this.flatNodeMap.get(t);this.database.updateItem(n,e)}handleDragStart(t,e){this.dragNode=e,this.treeControl.collapse(e)}handleDragOver(t,e){if(t.preventDefault(),-1===e.item.indexOf("-----")){this.dragNodeExpandOverNode&&e===this.dragNodeExpandOverNode?Date.now()-this.dragNodeExpandOverTime>this.dragNodeExpandOverWaitTimeMs&&(this.treeControl.isExpanded(e)||this.treeControl.expand(e)):(this.dragNodeExpandOverNode=e,this.dragNodeExpandOverTime=(new Date).getTime());const n=t.offsetY/t.target.clientHeight;0<=n&&n<=.25?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=1):1>=n&&n>=.75?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=-1):(this.dragNodeExpandOverAreaReal=0,this.dragNodeExpandOverArea=0)}}handleDrop(t,e){if(e!==this.dragNode&&e.item.indexOf("-----")<0){let t;1===this.dragNodeExpandOverAreaReal||-1===this.dragNodeExpandOverAreaReal||(t=this.flatNodeMap.get(this.dragNode),this.database.deleteItem(t),t=this.database.copyPasteItem(t,this.flatNodeMap.get(e)),this.saveExpandedNodes(),this.buildFavoriteFolderListFromTreeNodeData())}this.handleDragEnd(t)}handleDragEnd(t){this.dragNode=null,this.dragNodeExpandOverNode=null,this.dragNodeExpandOverTime=0,this.dragNodeExpandOverArea=NaN,t.preventDefault()}getStyle(t){if("emptyFolder"==t.item)return"display-none";if(this.dragNode===t)return"drag-start";if(this.dragNodeExpandOverNode===t)switch(this.dragNodeExpandOverArea){case 1:return"drop-above";case-1:return"drop-below";default:return"drop-center"}}closeQR(){setTimeout(()=>{this.closePopup()},500)}scanQR(){this.open(this.qrPop)}deleteItem(t){this.database.deleteItem(this.flatNodeMap.get(t))}filterChanged(t){this.database.filter(t),t?this.treeControl.expandAll():this.treeControl.collapseAll()}getFavoriteFolderNameFromId(t){return"emptyFolder"==t?t:this.q.os.bee.config.getFavoriteFolderNameFromId(t)}isFolder(t){return!(t.indexOf("-----")>-1)}buildFavoritelFolderListFromTreeNodeData(){console.log("!!!!!"),console.log(this.database.data);let t=this.database.data;t=t.filter(t=>"emptyFolder"!=t.item);let e=[];for(let n=0;n-1&&(o="channel"),console.log(o);let i=[];void 0!==t[n].children&&t[n].children.length>0&&(i=this.getFavoriteFolderListTreeChildrenRec(t[n].children)),e.push({id:t[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(t[n].item),kind:o,items:0},children:i})}return this.q.os.bee.config.setFavoriteFolderList(e),!0}ngOnDestroy(){console.log("ChannelList: ngOnDestroy..."),clearInterval(this.updateNamesInterval),this.itemClickSub.unsubscribe(),this.dataChangeSub.unsubscribe(),this.favoriteFolderListSub.unsubscribe()}ngOnInit(){this.updateNamesInterval=setInterval(()=>{this.saveExpandedNodes(),this.loadChannels(this.favoriteFolderList)},1e4),this.favoriteFolderList=this.q.os.bee.config.getFavoriteFolderList(),this.dataChangeSub=this.database.dataChange.subscribe(t=>{this.dataSource.data=[],this.dataSource.data=t}),this.favoriteFolderListSub=this.q.os.bee.config.favoriteFolderListSub.subscribe(t=>{this.loadChannels(t)}),this.loadChannels(this.favoriteFolderList)}loadChannels(t){this.incomingFavoriteRequestList=this.q.os.ocean.dolphin.getIncomingFavoriteRequests().filter(t=>!this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),t.channel)),U=this.q.os.bee.config.getFavoriteFolderIDList(),this.database.filter(""),t.length>0&&this.q.os.bee.config.getExpandedFavoriteFolderItems().length>0&&(console.log("got a saved state!"),this.expandedNodes=this.q.os.bee.config.getExpandedFavoriteFolderItems(),this.restoreExpandedNodes()),this.updateNames()}saveExpandedNodes(){this.sENwriteBlock=1,this.expandedNodes=[];for(let t=0;t"emptyFolder"!=t.item);let e=[];for(let n=0;n-1&&(o="channel"),console.log(o);let i=[];void 0!==t[n].children&&t[n].children.length>0&&(i=this.getFavoriteFolderListTreeChildrenRec(t[n].children)),e.push({id:t[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(t[n].item),kind:o,items:0},children:i})}return this.q.os.bee.config.setFavoriteFolderList(e),!0}selectChannel(t){console.log("ChannelList: Trying to select: >>"+t.trim()),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),t.trim())&&(console.log("ChannelList: Selecting: ",t.trim()),this.q.os.channel.select(t.trim()),this.q.os.ui.getSideBarFixed().left&&this.q.os.ui.hideSideBar("left"),this.cd.detectChanges())}getSelected(){return JSON.stringify(this.selectedChannel)}getFavoriteFolderListTreeChildrenRec(t){let e=[];for(let n=0;n-1&&(o="channel");let i=[];void 0!==t[n].children&&t[n].children.length>0&&(i=this.getFavoriteFolderListTreeChildrenRec(t[n].children)),e.push({id:t[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(t[n].item),kind:o,items:0},children:i})}return e}restoreExpandedNodes(){this.sENwriteBlock=1;for(let t=0;tt.item===e.item))}this.sENwriteBlock=0}onCamerasFound(t){this.availableDevices=t,this.hasDevices=Boolean(t&&t.length)}onDeviceSelectChange(t){const e=this.availableDevices.find(e=>e.deviceId===t);this.currentDevice=e||null}onHasPermission(t){this.hasPermission=t}onTorchCompatible(t){this.torchAvailable$.next(t||!1)}toggleTorch(){this.torchEnabled=!this.torchEnabled}toggleTryHarder(){this.tryHarder=!this.tryHarder}qrSuccessHandler(t){console.log(t),this.inviteCodeHex=t,this.closePopup()}getFavoriteFolderList(){return this.favoriteFolderList=this.q.os.bee.config.getFavoriteFolderList(),this.favoriteFolderListArray=[],this.parseStructure(this.favoriteFolderList),this.favoriteFolderListArray.length>0&&(this.newFavoriteFolder=this.favoriteFolderListArray[0]),this.favoriteFolderList}parseStructure(t){for(let e=0;e0?(n=r[r.length-1].split(":")[0],o=r[r.length-1].split(":")[1],r.pop()):(n=i.split(":")[0],o=i.split(":")[1]);let c=this.newFavoriteFolder;"object"!=typeof c&&void 0!==c&&null!=typeof c||(c=""),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),n)?this.ui.showSnack("Channel Exists!","Oops",{duration:1e3}):(this.q.os.ocean.dolphin.removeIncomingFavoriteRequest(n.split("-----")[0].split("-")[1]),this.q.os.social.profile.addFavorite(n.split("-----")[0].split("-")[1]),console.log("ChannelFavorites: Adding Favorite: ",n.split("-----")[0].split("-")[1]),yield this.q.os.channel.import(n,r,"",o,0),this.createCompleteAndClose())}))}rejectRequest(t){this.q.os.ocean.dolphin.removeIncomingFavoriteRequest(t),this.saveExpandedNodes(),this.loadChannels(this.favoriteFolderList),this.q.os.commitNow()}newInviteImportFoldersChanged(){}goToProfile(t){this.ngZone.run(()=>this.router.navigate(["/social/profile/"+t]))}updateNames(){return Object(o.a)(this,void 0,void 0,(function*(){let t=[];for(let e of this.flatChannelNeeded)if(t.indexOf(e)<0){let n=yield this.q.os.social.getAliasFromDirectChannel(e);console.log(n),t.push(e),this.flatChannelNameList[e]=n,this.pk[e]=yield this.q.os.social.getPubKeyFromDirectChannel(e)}for(let e of this.flatChannelNeeded2)if(t.indexOf(e)<0){let n=yield this.q.os.social.getAliasFromDirectChannel2(e);console.log(n),t.push(e),this.flatChannelNameList2[e]=n,this.pk[e]=yield this.q.os.social.getPubKeyFromDirectChannel(e)}this.cd.detectChanges()}))}getAliasFromDirectChannel(t){return this.flatChannelNeeded.push(t),void 0!==this.flatChannelNameList[t]?this.flatChannelNameList[t]:t}getAliasFromDirectChannel2(t){return this.flatChannelNeeded2.push(t),void 0!==this.flatChannelNameList2[t]?this.flatChannelNameList2[t]:t}getPubKeyFromDirectChannel(t){return setTimeout(()=>Object(o.a)(this,void 0,void 0,(function*(){this.pubKeyStore[t]=yield this.q.os.social.getPubKeyFromDirectChannel(t)})),2e3),null!=this.pubKeyStore[t]?this.pubKeyStore[t]:"/"}selectProfile(t){this.ngZone.run(()=>this.router.navigate(["/social/profile/"+t]))}goToChannel(t){this.q.os.channel.select(t),this.ngZone.run(()=>this.router.navigate(["/messages"]))}goToProfileByChannel(t){return Object(o.a)(this,void 0,void 0,(function*(){let e=yield this.q.os.social.getPubKeyFromDirectChannel(t);this.pk[t]=e,this.ngZone.run(()=>this.router.navigate(["/social/profile/"+e]))}))}}return e.\u0275fac=function(t){return new(t||e)(d.Sb(g.c),d.Sb(d.C),d.Sb(d.h),d.Sb($),d.Sb(u.a),d.Sb(h.l),d.Sb(h.y),d.Sb(b.a))},e.\u0275cmp=d.Mb({type:e,selectors:[["social-profile-favorites"]],viewQuery:function(t,e){var n;1&t&&(d.Mc(p.d,!0),d.Mc(k,!0),d.Mc(w,!0),d.Mc(F,!0),d.Mc(S,!0)),2&t&&(d.uc(n=d.gc())&&(e.contextMenu=n.first),d.uc(n=d.gc())&&(e.emptyItem=n.first),d.uc(n=d.gc())&&(e.qrPop=n.first),d.uc(n=d.gc())&&(e.createPop=n.first),d.uc(n=d.gc())&&(e.newFavoriteFolderPop=n.first))},features:[d.Eb([$])],decls:22,vars:10,consts:[["createPop",""],["qrPop",""],["import",""],["newFavoriteFolder",""],[2,"width","169px","color","#598adb"],["matInput","","placeholder","Search",3,"input"],["outline","","size","small",1,"addChannelButton",3,"nbContextMenu"],["icon","plus-outline",2,"font-size","18px","width","auto"],["class","favoriteRequest",4,"ngFor","ngForOf"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop",4,"matTreeNodeDef"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop",4,"matTreeNodeDef","matTreeNodeDefWhen"],[2,"visibility","hidden","position","fixed",3,"matMenuTriggerFor"],["contextMenu","matMenu"],["matMenuContent",""],["emptyItem",""],[2,"color","goldenrod"],[2,"padding","20px"],[2,"width","80%","margin-left","10px",3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[2,"padding","20px","padding-bottom","34px","padding-top","0px","color","white !important"],["matInput","","placeholder","Channel Name","value","","name","newChannelName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",2,"margin-right","20px","border","1px solid #ffffff24",3,"click"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[3,"value"],[1,"qrScanWrapper"],[3,"torch","device","formats","tryHarder","deviceChange","scanSuccess","permissionResponse","camerasFound","torchCompatible"],[2,"width","19%"],[3,"value","valueChange","selectionChange"],["matInput","","placeholder","Invite Code","value","","name","inviteCodeHex",2,"color","black","background-color","goldenrod","padding","7px","margin-right","5%","width","80%",3,"ngModel","ngModelChange"],["icon","camera-outline",1,"deleteCode","scanQRCode",3,"click"],["matInput","","placeholder","Folder Name","value","","name","newFavoriteFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],[1,"favoriteRequest"],["class","favoriteRequestText",3,"click",4,"ngIf"],["icon","close-square-outline",2,"color","#ff0000bd","float","right","cursor","pointer",3,"click"],["icon","checkmark-square-2-outline",2,"color","#16eb16","float","right","cursor","pointer",3,"click"],[1,"favoriteRequestText",3,"click"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop"],[3,"class","routerLink","routerLinkActive","click",4,"ngIf"],[3,"class","click",4,"ngIf"],[3,"routerLink","routerLinkActive","click"],["icon","shake-outline"],["draggable","true",1,"checklist-leaf-node",3,"dragstart"],[1,"nodeContent","station",2,"width","100%",3,"ngClass"],[3,"click"],["icon","question-mark-outline"],[1,"nodeContent","unknown",2,"width","100%",3,"ngClass"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop"],[1,"treeNodeContainerFolder",3,"contextmenu"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["icon","folder-outline"],[1,"nodeContent",3,"ngClass"],["mat-menu-item","",3,"click"]],template:function(t,e){if(1&t&&(d.Gc(0,B,15,3,"ng-template",null,0,d.Hc),d.Gc(2,I,9,4,"ng-template",null,1,d.Hc),d.Gc(4,T,24,6,"ng-template",null,2,d.Hc),d.Gc(6,N,15,3,"ng-template",null,3,d.Hc),d.Yb(8,"mat-form-field",4),d.Yb(9,"input",5),d.fc("input",(function(t){return e.filterChanged(t.target.value)})),d.Xb(),d.Xb(),d.Yb(10,"button",6),d.Tb(11,"nb-icon",7),d.Xb(),d.Gc(12,X,5,2,"div",8),d.Yb(13,"mat-tree",9),d.Gc(14,V,3,3,"mat-tree-node",10),d.Gc(15,G,9,7,"mat-tree-node",11),d.Xb(),d.Tb(16,"div",12),d.Yb(17,"mat-menu",null,13),d.Gc(19,H,4,0,"ng-template",14),d.Xb(),d.Tb(20,"span",null,15)),2&t){const t=d.vc(18);d.Fb(10),d.pc("nbContextMenu",e.items),d.Fb(2),d.pc("ngForOf",e.incomingFavoriteRequestList),d.Fb(1),d.pc("dataSource",e.dataSource)("treeControl",e.treeControl),d.Fb(2),d.pc("matTreeNodeDefWhen",e.hasChild),d.Fb(1),d.Dc("left",e.contextMenuPosition.x)("top",e.contextMenuPosition.y),d.pc("matMenuTriggerFor",t)}},directives:[f.b,m.a,h.i,h.o,C.l,l.a,l.f,p.d,p.e,p.a,h.d,h.f,h.c,x.a,P.b,P.j,P.m,h.e,v.a,O.g,M.a,C.m,l.e,l.h,l.g,C.k,y.a,g.d,g.e,_.a,p.b],styles:["button[nbTreeGridRowToggle][_ngcontent-%COMP%]{background:transparent;border:none;padding:0}.search-label[_ngcontent-%COMP%]{display:block}.search-input[_ngcontent-%COMP%]{background:transparent;color:#fff;padding:5px;font-size:12px;width:100%;margin-top:1rem;margin-bottom:1rem;width:78%;margin-left:1%}.addChannelButton[_ngcontent-%COMP%]{color:rgba(134,116,183,.7490196078431373);margin-left:5%;position:relative;top:1px;background-color:#45267d;border:1px solid;border-radius:5px;padding:4px;opacity:.7}.nb-column-name[_ngcontent-%COMP%]{width:80%}.nb-column-items[_ngcontent-%COMP%]{width:20%}.favoriteRequest[_ngcontent-%COMP%]{width:100%;overflow:hidden;white-space:nowrap;padding:10px;border-radius:5px;background:rgba(120,14,62,.6392156862745098);font-family:Ubuntu;font-size:14px;margin-bottom:5px}.favoriteRequestText[_ngcontent-%COMP%]{width:80%;cursor:pointer;overflow:hidden;width:66%;float:left;text-overflow:ellipsis;color:hsla(0,0%,100%,.8313725490196079)!important}.scanQRCode[_ngcontent-%COMP%]{font-size:37px;color:#315cdf;cursor:pointer}.scanQRCode[_ngcontent-%COMP%]:hover{color:#4a81e6}[_nghost-%COMP%] nb-layout-header[_ngcontent-%COMP%] nav{justify-content:flex-end}.mat-tree[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{background:transparent}.mat-tree-node[_ngcontent-%COMP%]{overflow:visible;cursor:move}.drop-above[_ngcontent-%COMP%]{border-top:10px solid #2196f3;margin-top:-10px}.drop-below[_ngcontent-%COMP%]{border-bottom:10px solid #2196f3;margin-bottom:-10px}.drop-center[_ngcontent-%COMP%]{background-color:#a9a9a9}.drag-start[_ngcontent-%COMP%]{background-color:#1565c0;color:#f0fff0}.treeNodeContainerFolder[_ngcontent-%COMP%]{background-color:rgba(131,119,230,.058823529411764705);border-radius:5px;padding:0 16px 0 0;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.treeNodeContainerSingle[_ngcontent-%COMP%]{background-color:rgba(69,39,128,.3686274509803922)}.mat-tree[_ngcontent-%COMP%]{width:227px;left:14px;top:190px;bottom:40px;position:fixed;overflow:scroll}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:none!important}.emptyFolder[_ngcontent-%COMP%]{display:none}.mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{line-height:20px}.qrScanWrapper[_ngcontent-%COMP%]{min-width:20px;max-height:80vh;max-width:37vw}.mat-tree[_ngcontent-%COMP%]{z-index:999;max-width:227px;left:-1px;padding-right:10px;position:relative;top:0;margin-bottom:40px;overflow:hidden!important;overflow-y:auto!important}.mat-tree-node[_ngcontent-%COMP%]{font-family:Ubuntu;color:#4982e8;letter-spacing:.02rem}.treeNodeContainerSingle[_ngcontent-%COMP%]{border-radius:5px;padding:6px 10px 6px 15px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:rgba(71,129,233,.9882352941176471)!important;font-size:16px;font-family:Ubuntu;cursor:pointer;background:#262246}.treeNodeContainerSingle[_ngcontent-%COMP%]:focus{outline:0;border:0}.nodeContent.station[_ngcontent-%COMP%], .nodeContent.unknown[_ngcontent-%COMP%]{position:relative;top:-1px}"]}),e})()}).call(this,n("tjlA").Buffer)}}]); \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/7-es5.6d485030e5b58e2b38d2.js b/dist_archive/ipfs/0.9.4/7-es5.6d485030e5b58e2b38d2.js new file mode 100644 index 0000000..156cf01 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/7-es5.6d485030e5b58e2b38d2.js @@ -0,0 +1 @@ +!function(){function t(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||n(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){var o;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(o=n(t))||e&&t&&"number"==typeof t.length){o&&(t=o);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,c=!0,s=!1;return{s:function(){o=t[Symbol.iterator]()},n:function(){var t=o.next();return c=t.done,t},e:function(t){s=!0,a=t},f:function(){try{c||null==o.return||o.return()}finally{if(s)throw a}}}}function n(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n0&&1!=o.postRows.length||1!=o.postRows[0].length||o.postRows.length>1||!o.postRows[0][0].isEmoji),l.Fb(1),l.pc("ngIf",1==o.postRows.length&&1==o.postRows[0].length&&o.postRows[0][0].isEmoji),l.Fb(3),l.pc("ngIf",o.replyCount>0),l.Fb(1),l.pc("ngIf",o.selectedNode==o.postObj.qHash)}}function $(t,e){1&t&&(l.Yb(0,"div",38),l.Ic(1,"\n[Post Deleted]\n"),l.Xb())}var Q,J=((Q=function(){function t(e,n,o,r,a,c){i(this,t),this.ngZone=e,this.router=n,this._sanitizer=o,this.dialog=r,this.cd=a,this.q=c,this.postObj={id:"123",timestamp:0,content:"Demo",dTimestamp:""},this.isMyProfile=!1,this.profile={},this.dev=!1,this.selectedNode="",this.replyCount=0,this.imeline=[]}return a(t,[{key:"reply",value:function(t){this.selectedNode=t,this.cd.detectChanges()}},{key:"cancel",value:function(){this.selectedNode=""}},{key:"selectPost",value:function(t){var e=this;this.ngZone.run((function(){return e.router.navigate(["/social/timeline/post/"+t])}))}},{key:"selectProfile",value:function(t){var e=this;this.ngZone.run((function(){return e.router.navigate(["/social/profile/"+t])}))}},{key:"addEmoji",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";void 0===this.reply[e]?this.reply[e]=t.emoji.colons+" ":this.reply[e]+=" "+t.emoji.colons+" ",this.cd.detectChanges()}},{key:"post",value:function(t){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var n,o,i=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.q.os.ui.showSnack("Syncing Timeline...","Please Wait"),e.next=3,this.q.os.social.profile.getMyProfile();case 3:if(void 0!==(n=e.sent).alias){e.next=6;break}throw alert("Please set your Alias first!"),"no name set";case 6:return o={content:this.reply[t],socialPubKey:n.key.pubKey,replyTo:t},e.next=9,this.q.os.social.timeline.post.new(o);case 9:this.selectedNode="",this.reply[t]="",this.cd.detectChanges(),setTimeout((function(){i.q.os.social.timeline.agent.reload(),i.cd.detectChanges()}),2e3);case 13:case"end":return e.stop()}}),e,this)})))}},{key:"ngOnInit",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===this.postObj.content){t.next=14;break}return this.postRows=this.getArray(this.postObj.content),this.postObj.dTimestamp=new Date(this.postObj.timestamp).toString(),this.replyCount=this.q.os.social.timeline.agent.getReplyCount(this.postObj.qHash),t.prev=2,t.next=5,this.q.os.social.profile.get(this.postObj.socialPubKey);case 5:this.profile=t.sent,void 0===this.profile.alias&&(this.profile.alias="Anonymous"),void 0===this.profile.timestamp&&(this.profile.timestamp=0),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(2),this.profile={alias:"Anonymous",timestamp:0};case 13:this.cd.detectChanges();case 14:case"end":return t.stop()}}),t,this,[[2,10]])})))}},{key:"ngOnChanges",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=void 0!==this.postObj.content,!t.t0){t.next=8;break}return this.postRows=this.getArray(this.postObj.content),this.postObj.dTimestamp=new Date(this.postObj.timestamp).toString(),t.next=6,this.q.os.social.profile.get(this.postObj.socialPubKey);case 6:this.profile=t.sent,this.cd.detectChanges();case 8:case"end":return t.stop()}}),t,this)})))}},{key:"postDelete",value:function(t){console.log("qD Social/Profile: Deleting...",t),this.q.os.social.timeline.post.delete(t.qHash,t.socialPubKey),this.postObj.timestamp=0,this.postObj.dTimestamp=""}},{key:"getArray",value:function(t){var n=[],o=[],i=String(t).trim();try{for(var r=0,a=["\n:","\n :","\n :"];r0),l.Fb(1),l.pc("ngIf",e.postObj.timestamp>0),l.Fb(1),l.pc("ngIf",null!=e.profile.alias&&e.profile.alias.length>0&&e.postObj.timestamp>0),l.Fb(1),l.pc("ngIf",null!=e.postObj.dTimestamp&&e.postObj.dTimestamp.length>0),l.Fb(1),l.pc("ngIf",null!=e.postObj.dTimestamp&&e.postObj.dTimestamp.length<0),l.Fb(1),l.pc("ngIf",e.postObj.timestamp>0),l.Fb(1),l.pc("ngIf",0==e.postObj.timestamp))},directives:[u.m,p.o,u.l,I.a,B.a,S.b,S.j,S.m,p.z,g.a,R.a],pipes:[z.b],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.verifyButton[_ngcontent-%COMP%]{margin-right:70px!important}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;z-index:1;float:left;margin-right:10px}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;position:relative;top:-60px;padding-top:60px;z-index:0;padding-bottom:50px}.editButton[_ngcontent-%COMP%]{right:23px}.editButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{position:absolute;font-size:20px;z-index:1;top:48px}.saveButton[_ngcontent-%COMP%]{right:143px}.discardButton[_ngcontent-%COMP%]{position:absolute;right:23px;font-size:20px;z-index:1;top:48px}.fundUs[_ngcontent-%COMP%]{text-align:center}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:absolute;top:70px;font-size:19px;right:22px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}.editButton[_ngcontent-%COMP%]{top:52px}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{position:absolute;left:99px;top:30vh;margin-top:55px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;cursor:pointer}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{margin-top:0;position:fixed;left:10px;top:17.5vh;right:10px;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}}.senderIcon[_ngcontent-%COMP%]{top:-2px;position:relative;color:#d2d24b}.socialLink[_ngcontent-%COMP%]{cursor:pointer}.messageDisplayName[_ngcontent-%COMP%]{color:#d6d8dc!important;padding-bottom:5px!important}.messageSenderStarIcon[_ngcontent-%COMP%]{color:#256dff!important}.emojiChunk[_ngcontent-%COMP%]{max-height:22px;overflow:hidden;margin:0;position:relative;top:5px;padding:0 2px}.chunkContainer[_ngcontent-%COMP%], .emojiChunk[_ngcontent-%COMP%], .messagesInnerWrapper[_ngcontent-%COMP%], .textChunk[_ngcontent-%COMP%]{display:inline-block}.textChunk[_ngcontent-%COMP%]{white-space:nowrap;padding-left:2px;padding-right:2px;max-height:22px}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.pp[_ngcontent-%COMP%]{z-index:12}.details[_ngcontent-%COMP%]{z-index:11}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;width:90vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473)}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628)}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{color:rgba(199,40,249,.3803921568627451);font-size:14px;margin-bottom:10px;width:320px}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.details[_ngcontent-%COMP%]{color:#6d95ce}.postAlias[_ngcontent-%COMP%]{cursor:pointer;display:inline-block;font-weight:900!important;color:rgba(166,6,6,.7803921568627451);letter-spacing:-.1rem;font-family:Helvetica}.postContent[_ngcontent-%COMP%]{width:100%;margin-top:40px}.replyButton[_ngcontent-%COMP%]{position:relative;top:22px;left:-10px;padding:10px;background:transparent;border:0;color:red}.newPostContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;text-align:right;width:auto;margin:-4px 0 0 9px;border:1px solid rgba(255,0,0,.25882352941176473)}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent}.replyCancelButton[_ngcontent-%COMP%]{color:red!important;float:left;color:red;border:2px solid red;opacity:.5}.replyCancelButton[_ngcontent-%COMP%]:hover{opacity:1}.replyCount[_ngcontent-%COMP%]{background-color:rgba(113,125,211,.2);border:0;top:17px;font-size:16px;color:#4982e8;border-radius:30px;padding:6px;line-height:16px}.lockClosed[_ngcontent-%COMP%], .replyCount[_ngcontent-%COMP%]{position:relative}.lockClosed[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{position:absolute;right:-5px;top:-11px;color:rgba(45,100,237,.10980392156862745);font-size:28px}"],changeDetection:0}),Q);function tt(t,e){if(1&t&&(l.Yb(0,"div",4),l.Tb(1,"app-social-profile-post",5),l.Xb()),2&t){var n=l.jc().$implicit,o=l.jc();l.Fb(1),l.pc("postObj",n)("isMyProfile",o.isMyProfile)}}function et(t,e){if(1&t&&(l.Yb(0,"div",2),l.Gc(1,tt,2,2,"div",3),l.Xb()),2&t){var n=e.$implicit;l.Fb(1),l.pc("ngIf",null!=n.content)}}function nt(t,e){if(1&t&&(l.Yb(0,"div",8),l.Tb(1,"app-social-profile-post",9),l.Xb()),2&t){var n=l.jc(),o=n.index,i=n.$implicit,r=l.jc();l.Fb(1),l.Ib("postContainer mat-elevation-z8 post level-",o,""),l.pc("postObj",i)("isMyProfile",r.isMyProfile)}}function ot(t,e){if(1&t&&(l.Yb(0,"div",8),l.Tb(1,"app-social-profile-post",10),l.Xb()),2&t){var n=l.jc().$implicit,o=l.jc();l.Fb(1),l.pc("postObj",n)("isMyProfile",o.isMyProfile)}}function it(t,e){if(1&t&&(l.Yb(0,"div",8),l.Tb(1,"app-social-profile-post",11),l.Xb()),2&t){var n=l.jc().$implicit,o=l.jc();l.Fb(1),l.pc("postObj",n)("isMyProfile",o.isMyProfile)}}function rt(t,e){if(1&t&&(l.Yb(0,"div",6),l.Gc(1,nt,2,5,"div",7),l.Gc(2,ot,2,2,"div",7),l.Gc(3,it,2,2,"div",7),l.Xb()),2&t){var n=e.$implicit,o=l.jc();l.Fb(1),l.pc("ngIf",o.combinedTimeline.length>1),l.Fb(1),l.pc("ngIf",1==o.combinedTimeline.length&&null==n.replyTo),l.Fb(1),l.pc("ngIf",1==o.combinedTimeline.length&&null!=n.replyTo)}}var at,ct=((at=function(){function t(e,n,o,r){i(this,t),this._sanitizer=e,this.dialog=n,this.cd=o,this.q=r,this.pubKey="NoProfileSelected",this.postList=[],this.combinedTimeline=[],this.DEVMODE=w.dev,this.replyTree=[],this.isMyProfile=!1}return a(t,[{key:"ngOnInit",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.t0=void 0!==this.combinedTimeline[0].replyTo,!t.t0){t.next=6;break}return t.next=4,this.q.os.social.timeline.agent.resolveReplyTreeRec(this.combinedTimeline[0]);case 4:this.replyTree=t.sent,console.log(this.replyTree);case 6:case"end":return t.stop()}}),t,this)})))}},{key:"ngOnChanges",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))}}]),t}()).\u0275fac=function(t){return new(t||at)(l.Sb(F.b),l.Sb(p.l),l.Sb(l.h),l.Sb(d.a))},at.\u0275cmp=l.Mb({type:at,selectors:[["social-timeline-post-combined-timeline"]],inputs:{combinedTimeline:"combinedTimeline",isMyProfile:"isMyProfile"},features:[l.Db],decls:2,vars:2,consts:[["class","replyLoop",4,"ngFor","ngForOf"],["class","postOuterWrapper",4,"ngFor","ngForOf"],[1,"replyLoop"],["class","replyWrapper",4,"ngIf"],[1,"replyWrapper"],[1,"postContainer","mat-elevation-z8","reply",3,"postObj","isMyProfile"],[1,"postOuterWrapper"],["class","postWrapper",4,"ngIf"],[1,"postWrapper"],[3,"postObj","isMyProfile"],[1,"postContainer","mat-elevation-z8","post","singleLevel",3,"postObj","isMyProfile"],[1,"postContainer","mat-elevation-z8","post","singleLevel","replyPost",3,"postObj","isMyProfile"]],template:function(t,e){1&t&&(l.Gc(0,et,2,1,"div",0),l.Gc(1,rt,4,3,"div",1)),2&t&&(l.pc("ngForOf",e.replyTree),l.Fb(1),l.pc("ngForOf",e.combinedTimeline))},directives:[u.l,u.m,J],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.verifyButton[_ngcontent-%COMP%]{margin-right:70px!important}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;position:relative;left:30px;top:-30px;z-index:1}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;padding-top:60px;z-index:0;padding-bottom:50px;margin-top:-60px;margin-bottom:42px;color:#6d95ce;z-index:11;background:#151b2e;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471))}.editButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:20px;margin-top:-15px}.discardButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:23px}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:absolute;font-size:19px;right:22px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{left:99px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;cursor:pointer;margin-top:-53px;margin-bottom:23px;margin-left:78px}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{max-height:20px;text-overflow:ellipsis;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}.editButton[_ngcontent-%COMP%]{margin-top:-9px}}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.search[_ngcontent-%COMP%]{z-index:2;right:0;left:0;padding:20px;height:95px;bottom:28px;position:absolute;top:0}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-family:Ubuntu;position:absolute;letter-spacing:1px;color:rgba(241,237,205,.8196078431372549);padding:10px 10px 10px 26px;font-size:16px;left:5%;width:90%;font-weight:500!important}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid red}.search[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:1.75rem}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:rgba(41,104,245,.8313725490196079)}.pp[_ngcontent-%COMP%]{z-index:12}.fundUs[_ngcontent-%COMP%]{z-index:2;width:100%;margin-bottom:120px;text-align:center;margin-top:38px}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;height:40px;width:40px;border:0;color:#7b9cc3;padding-right:8px;width:50px;position:absolute;top:19px;right:5%}.search[_ngcontent-%COMP%] .searchButton[_ngcontent-%COMP%]:focus, .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%]:focus{outline:none!important;border:0!important;box-shadow:none!important}.results[_ngcontent-%COMP%]{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.59));font-family:Ubuntu;overflow:hidden;overflow-y:auto;position:absolute;left:0;right:0;bottom:27px;top:0}.resultCardWrapper[_ngcontent-%COMP%]{padding:20px 4% 20px 5%}.resultCardWrapper[_ngcontent-%COMP%]:first-child{padding-top:60px;padding-bottom:20px}.resultCardWrapper[_ngcontent-%COMP%]:last-child{padding-bottom:120px}.searchResultAlias[_ngcontent-%COMP%]{font-size:18px}.searchResultPp[_ngcontent-%COMP%], .searchResultPpImg[_ngcontent-%COMP%]{height:100px}.searchResultColumn[_ngcontent-%COMP%]{color:#4f84e2;padding:10px 10px 10px 20px}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:none;color:#4f84e2;margin-top:7px}.searchResultAboutWrapper[_ngcontent-%COMP%]{width:100%}.resultCard[_ngcontent-%COMP%]{border-radius:5px;flex-direction:row;box-sizing:border-box;display:flex;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.5882352941176471));overflow:hidden;cursor:pointer;border:1px solid transparent}.resultCard[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));overflow:hidden;border:1px solid red}.searchResultFullName[_ngcontent-%COMP%]{color:rgba(79,132,226,.5411764705882353)}@media only screen and (max-width:816px){.searchResultColumn[_ngcontent-%COMP%]{padding-left:10px}.searchResultConnection.searchResultColumn[_ngcontent-%COMP%]{display:none}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:block}.resultCard[_ngcontent-%COMP%]{flex-flow:row wrap}}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;position:relative;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{float:right;color:#452781}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent} nb-popover{background:transparent!important}@media only screen and (max-width:616px){.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{margin-left:0;margin-right:0!important;margin-top:0;border:0!important;margin-bottom:15px;border-radius:0;border-top:1px solid #40389e!important;border-bottom:1px solid #423193!important;width:100vw}.postContainer[_ngcontent-%COMP%]:last-child{margin-bottom:40px}}.emojiPicker[_ngcontent-%COMP%]{right:60px}@media only screen and (min-width:420px) and (max-width:480px){.emojiPicker[_ngcontent-%COMP%]{right:-40px}}@media only screen and (min-width:480px) and (max-width:900px){.emojiPicker[_ngcontent-%COMP%]{right:0}}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;margin-right:5vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473);display:block}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628);border-radius:0;margin-top:-46px}.postContainer.level-0[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:0}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-top:-56px}.postContainer.reply[_ngcontent-%COMP%]{border-left:8px solid;border-right:8px solid;border-top:1px solid;position:relative;margin:-17px 6vw 0;top:22px}.postContainer.singleLevel[_ngcontent-%COMP%]{margin-top:40px!important;margin-bottom:20px;border-radius:10px!important}.postContainer.singleLevel.replyPost[_ngcontent-%COMP%]{margin-top:0!important;border-radius:10px!important}.replyLoop[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.replyLoop[_ngcontent-%COMP%]:first-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:30px}.replyLoop[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.combinedTimeline[_ngcontent-%COMP%]:nth-child(2){margin-top:120px}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{margin-top:-44px}.replyLoop[_ngcontent-%COMP%] .reply[_ngcontent-%COMP%] .lockClosed[_ngcontent-%COMP%]{display:none}.replyLoop[_ngcontent-%COMP%]:first-child .reply[_ngcontent-%COMP%] .lockClosed[_ngcontent-%COMP%]{display:block}"]}),at),st=o("XiUz"),lt=["qrPop"],pt=["createPop"],dt=["qrCode"];function ut(t,e){if(1&t){var n=l.Zb();l.Yb(0,"nb-card"),l.Yb(1,"nb-card-header"),l.Ic(2,"Verify Peer"),l.Xb(),l.Yb(3,"nb-card-body",16),l.Yb(4,"div",17),l.Yb(5,"zxing-scanner",18),l.fc("deviceChange",(function(t){return l.xc(n),l.jc().currentDevice=t}))("scanSuccess",(function(t){return l.xc(n),l.jc().qrSuccessHandler(t)}))("permissionResponse",(function(t){return l.xc(n),l.jc().onHasPermission(t)}))("camerasFound",(function(t){return l.xc(n),l.jc().onCamerasFound(t)}))("torchCompatible",(function(t){return l.xc(n),l.jc().onTorchCompatible(t)})),l.Xb(),l.Xb(),l.Xb(),l.Yb(6,"nb-card-footer"),l.Yb(7,"button",19),l.fc("click",(function(){return l.xc(n),l.jc().closeQR()})),l.Ic(8,"Cancel"),l.Xb(),l.Xb(),l.Xb()}if(2&t){var o=l.jc();l.Fb(5),l.pc("torch",o.torchEnabled)("device",o.currentDevice)("formats",o.formatsEnabled)("tryHarder",o.tryHarder)}}function gt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"nb-card"),l.Yb(1,"nb-card-header"),l.Ic(2,"Verify Peer"),l.Xb(),l.Yb(3,"nb-card-body",20),l.Yb(4,"div"),l.Yb(5,"div",21),l.Tb(6,"img",22),l.Xb(),l.Xb(),l.Xb(),l.Yb(7,"nb-card-footer"),l.Yb(8,"button",19),l.fc("click",(function(){return l.xc(n),l.jc().closePopup()})),l.Ic(9,"Close"),l.Xb(),l.Xb(),l.Xb()}if(2&t){var o=l.jc();l.Fb(6),l.pc("src",o.qrCodeURLSafe,l.zc)}}function ht(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",26),l.fc("click",(function(){return l.xc(n),l.jc(2).togglePrivacy()})),l.Tb(1,"nb-icon",27),l.Ic(2," Private"),l.Xb()}}function bt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",28),l.fc("click",(function(){return l.xc(n),l.jc(2).togglePrivacy()})),l.Tb(1,"nb-icon",29),l.Ic(2," Public"),l.Xb()}}function ft(t,e){if(1&t&&(l.Yb(0,"div",23),l.Gc(1,ht,3,0,"div",24),l.Gc(2,bt,3,0,"div",25),l.Xb()),2&t){var n=l.jc();l.Fb(1),l.pc("ngIf",n.private),l.Fb(1),l.pc("ngIf",!n.private)}}function mt(t,e){1&t&&(l.Yb(0,"div",30),l.Tb(1,"img",31),l.Xb())}function vt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",45),l.fc("click",(function(){return l.xc(n),l.jc(2).showVerificationQR()})),l.Ic(1),l.Xb()}if(2&t){var o=l.jc(2);l.Ib("pubKeyDisplay ",o.isMyProfile,""),l.Fb(1),l.Jc(o.pubKey)}}function xt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"button",46),l.fc("click",(function(){return l.xc(n),l.jc(2).edit()})),l.Ic(1,"Edit"),l.Xb()}}function Ct(t,e){if(1&t){var n=l.Zb();l.Yb(0,"button",47),l.fc("click",(function(){return l.xc(n),l.jc(2).verify()})),l.Tb(1,"nb-icon",48),l.Xb()}}function Pt(t,e){1&t&&(l.Yb(0,"button",49),l.Tb(1,"nb-icon",48),l.Xb())}function Ot(t,e){if(1&t){var n=l.Zb();l.Yb(0,"button",50),l.fc("click",(function(){return l.xc(n),l.jc(2).setConnection(!0)})),l.Tb(1,"nb-icon",51),l.Xb()}}function Mt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"button",52),l.fc("click",(function(){l.xc(n);var t=l.jc(2);return t.openMessages(t.pubKey)})),l.Tb(1,"nb-icon",53),l.Xb()}}function yt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"button",54),l.fc("click",(function(){return l.xc(n),l.jc(2).setConnection(!1)})),l.Tb(1,"nb-icon",51),l.Xb()}}function kt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",55),l.fc("click",(function(){return l.xc(n),l.jc(2).showVerificationQR()})),l.ic(),l.Yb(1,"svg",56),l.Yb(2,"g"),l.Tb(3,"rect",57),l.Xb(),l.Tb(4,"path",58),l.Xb(),l.Xb()}}function _t(t,e){if(1&t&&(l.Yb(0,"div",32),l.Gc(1,vt,2,4,"div",33),l.Gc(2,xt,2,0,"button",34),l.Gc(3,Ct,2,0,"button",35),l.Gc(4,Pt,2,0,"button",36),l.Gc(5,Ot,2,0,"button",37),l.Gc(6,Mt,2,0,"button",38),l.Gc(7,yt,2,0,"button",39),l.Yb(8,"div",40),l.Yb(9,"div",41),l.Ic(10),l.Xb(),l.Yb(11,"div",42),l.Ic(12),l.Xb(),l.Xb(),l.Yb(13,"div",43),l.Ic(14),l.Xb(),l.Gc(15,kt,5,0,"div",44),l.Xb()),2&t){var n=l.jc();l.Fb(1),l.pc("ngIf",!n.searchResultsActive),l.Fb(1),l.pc("ngIf",n.isMyProfile),l.Fb(1),l.pc("ngIf",!n.isMyProfile&&!n.isVerified),l.Fb(1),l.pc("ngIf",!n.isMyProfile&&n.isVerified),l.Fb(1),l.pc("ngIf",!n.isMyProfile&&!n.isConnection&&!n.isRequestedConnection),l.Fb(1),l.pc("ngIf",!n.isMyProfile&&n.isConnection),l.Fb(1),l.pc("ngIf",!n.isMyProfile&&n.isRequestedConnection),l.Fb(3),l.Kc(" ",n.alias," "),l.Fb(2),l.Kc(" ",n.fullName," "),l.Fb(2),l.Kc("\n",n.about,"\n"),l.Fb(1),l.pc("ngIf",!n.searchResultsActive&&n.isMyProfile)}}function wt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",66),l.fc("click",(function(){return l.xc(n),l.jc(2).showVerificationQR()})),l.Ic(1),l.Xb()}if(2&t){var o=l.jc(2);l.Fb(1),l.Jc(o.pubKey)}}function Ft(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",32),l.Gc(1,wt,2,1,"div",59),l.Yb(2,"div",40),l.Yb(3,"div",41),l.Yb(4,"input",60),l.fc("ngModelChange",(function(t){return l.xc(n),l.jc().newAlias=t})),l.Xb(),l.Xb(),l.Yb(5,"div",42),l.Yb(6,"input",61),l.fc("ngModelChange",(function(t){return l.xc(n),l.jc().newFullName=t})),l.Xb(),l.Xb(),l.Xb(),l.Yb(7,"div",62),l.Yb(8,"textarea",63),l.fc("ngModelChange",(function(t){return l.xc(n),l.jc().newAbout=t})),l.Xb(),l.Xb(),l.Yb(9,"button",64),l.fc("click",(function(){return l.xc(n),l.jc().save()})),l.Ic(10,"Save"),l.Xb(),l.Yb(11,"button",65),l.fc("click",(function(){return l.xc(n),l.jc().edit(!1)})),l.Ic(12,"Discard"),l.Xb(),l.Xb()}if(2&t){var o=l.jc();l.Fb(1),l.pc("ngIf",!o.searchResultsActive),l.Fb(3),l.pc("ngModel",o.newAlias),l.Fb(2),l.pc("ngModel",o.newFullName),l.Fb(2),l.pc("ngModel",o.newAbout)}}function St(t,e){if(1&t){var n=l.Zb();l.Yb(0,"emoji-mart",72),l.fc("emojiClick",(function(t){return l.xc(n),l.jc(2).addEmoji(t)})),l.Xb()}}function jt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",67),l.Yb(1,"textarea",68),l.fc("ngModelChange",(function(t){return l.xc(n),l.jc().newPost=t})),l.Xb(),l.Tb(2,"ngx-emoji",69),l.Gc(3,St,1,0,"ng-template",null,70,l.Hc),l.Yb(5,"button",71),l.fc("click",(function(){return l.xc(n),l.jc().post()})),l.Ic(6,"Post"),l.Xb(),l.Xb()}if(2&t){var o=l.vc(4),i=l.jc();l.Fb(1),l.pc("ngModel",i.newPost),l.Fb(1),l.pc("nbPopover",o)}}function Bt(t,e){if(1&t&&l.Tb(0,"social-timeline-post-combined-timeline",73),2&t){var n=e.$implicit,o=l.jc();l.pc("combinedTimeline",n)("isMyProfile",o.isMyProfile)}}function It(t,e){1&t&&(l.Yb(0,"button",76),l.Ic(1," Sync More "),l.Xb())}function Rt(t,e){1&t&&(l.Yb(0,"button",76),l.Ic(1," Sync "),l.Xb())}function zt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",74),l.fc("click",(function(){l.xc(n);var t=l.jc();return t.syncMore(t.pubKey)})),l.Gc(1,It,2,0,"button",75),l.Gc(2,Rt,2,0,"button",75),l.Xb()}if(2&t){var o=l.jc();l.Fb(1),l.pc("ngIf",o.groupedTimeline.length>0),l.Fb(1),l.pc("ngIf",0===o.groupedTimeline.length)}}function Tt(t,e){1&t&&l.Tb(0,"nb-icon",93)}function qt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"nb-icon",94),l.fc("click",(function(){l.xc(n);var t=l.jc().$implicit;return l.jc(2).openMessages(t.key.pubKey)})),l.Xb()}}function Nt(t,e){1&t&&l.Tb(0,"nb-icon",51)}function Yt(t,e){1&t&&l.Tb(0,"nb-icon",93)}function Xt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"nb-icon",94),l.fc("click",(function(){l.xc(n);var t=l.jc().$implicit;return l.jc(2).openMessages(t.key.pubKey)})),l.Xb()}}function At(t,e){1&t&&l.Tb(0,"nb-icon",51)}var Lt=function(t){return[t]};function Dt(t,e){if(1&t&&(l.Yb(0,"div",79),l.Yb(1,"div",80),l.Yb(2,"div",81),l.Tb(3,"img",82),l.Xb(),l.Yb(4,"div",83),l.Yb(5,"span",84),l.Ic(6),l.Xb(),l.Tb(7,"br"),l.Yb(8,"span",85),l.Ic(9),l.Xb(),l.Xb(),l.Yb(10,"div",86),l.Gc(11,Tt,1,0,"nb-icon",87),l.Gc(12,qt,1,0,"nb-icon",88),l.Gc(13,Nt,1,0,"nb-icon",89),l.Xb(),l.Yb(14,"div",90),l.Yb(15,"div",91),l.Ic(16),l.Xb(),l.Xb(),l.Yb(17,"div",92),l.Gc(18,Yt,1,0,"nb-icon",87),l.Gc(19,Xt,1,0,"nb-icon",88),l.Gc(20,At,1,0,"nb-icon",89),l.Xb(),l.Xb(),l.Xb()),2&t){var n=e.$implicit;l.Fb(1),l.pc("routerLink",l.sc(10,Lt,"/social/profile/"+n.key.pubKey)),l.Fb(5),l.Kc("",n.alias," "),l.Fb(3),l.Kc("",n.fullName," "),l.Fb(2),l.pc("ngIf",!n.isFavorite&&!n.isRequestedFavorite),l.Fb(1),l.pc("ngIf",n.isFavorite),l.Fb(1),l.pc("ngIf",n.isRequestedFavorite),l.Fb(3),l.Kc(" ",n.about," "),l.Fb(2),l.pc("ngIf",!n.isFavorite&&!n.isRequestedFavorite),l.Fb(1),l.pc("ngIf",n.isFavorite),l.Fb(1),l.pc("ngIf",n.isRequestedFavorite)}}function Et(t,e){if(1&t&&(l.Yb(0,"div",77),l.Gc(1,Dt,21,12,"div",78),l.Xb()),2&t){var n=l.jc();l.Fb(1),l.pc("ngForOf",n.searchResults)}}function Kt(t,e){1&t&&l.Tb(0,"nb-icon",95)}function Vt(t,e){if(1&t&&l.Ic(0),2&t){var n=l.jc();l.Jc(n.buttonTitle)}}var Gt,Ht=((Gt=function(){function t(e,n,o,r,a,c,s){i(this,t),this.route=e,this.router=n,this.ngZone=o,this._sanitizer=r,this.dialog=a,this.cd=c,this.q=s,this.pubKey="NoProfileSelected",this.newPost="",this.timeline=[],this.DEVMODE=w.dev,this.buttonTitle="",this.status="",this.inputFocus=!1,this.inputHover=!1,this.searchPhrase="",this.searchResults=[],this.searchResultsActive=!1,this.noProfileSelected="NoProfileSelected",this.syncSub={},this.synced=[],this.replyTree={},this.groupedTimeline=[],this.syncStatus=!1,this.alias="Anonymous",this.fullName="Anonymous",this.about="The Universe is under no obligation to make sense to you. I'd rather not say anything. do@not-find-me.com",this.editDetails=!1,this.isMyProfile=!1,this.private=!0,this.isConnection=!1,this.isRequestedConnection=!1,this.requestLock=!1,this.currentDevice=null,this.formatsEnabled=[_.BarcodeFormat.QR_CODE],this.torchEnabled=!1,this.torchAvailable$=new k.a(!1),this.tryHarder=!1,this.isVerified=!1,this.verifyQrCode="",this.popupRef=[],this.isOwner=!1}return a(t,[{key:"post",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var e,n,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!=typeof this.pubKey&&"NoProfileSelected"!=this.pubKey){t.next=2;break}throw"no key set";case 2:return t.next=4,this.q.os.social.profile.get(this.pubKey);case 4:if(e=t.sent,console.log(e),void 0!==e.alias){t.next=7;break}throw alert("Please set your Alias first!"),"no name set";case 7:return n={content:this.newPost,socialPubKey:this.pubKey},t.next=10,this.q.os.social.timeline.post.new(n);case 10:this.newPost="",setTimeout((function(){o.syncTimeline()}),2e3);case 12:case"end":return t.stop()}}),t,this)})))}},{key:"addEmoji",value:function(t){this.newPost+=" "+t.emoji.colons+" "}},{key:"showStream",value:function(){var t=this;this.ngZone.run((function(){return t.router.navigate(["/social/stream/network"])}))}},{key:"parseSearchBar",value:function(){this.searchPhrase.length>0?this.search():(this.searchResultsActive=!1,this.cd.detectChanges())}},{key:"search",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.q.os.social.profile.search(this.searchPhrase);case 2:this.searchResults=t.sent,this.searchResultsActive=this.searchResults.length>0,this.cd.detectChanges();case 5:case"end":return t.stop()}}),t,this)})))}},{key:"setStatus",value:function(t){this.status!==t&&(this.status=t)}},{key:"getInputStatus",value:function(){return""}},{key:"loadProfile",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return console.log("Profile: Initializing..."),this.isConnection=this.q.os.social.profile.isFavorite(this.pubKey),this.isRequestedConnection=this.q.os.social.profile.isRequestedFavorite(this.pubKey),this.isVerified=this.q.os.social.profile.isVerified(this.pubKey),console.log("Profile: Bootstrapping Profile..."),t.prev=1,t.next=4,this.q.os.social.profile.get(this.pubKey);case 4:e=t.sent,this.isMyProfile=this.q.os.social.profile.isMyProfileId(this.pubKey),console.log("Social: Is my profile:",this.isMyProfile),void 0!==e.alias&&(this.alias=e.alias),void 0!==e.fullName&&(this.fullName=e.fullName),void 0!==e.about&&(this.about=e.about),void 0!==e.private&&(this.private=e.private),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1),console.log(t.t0);case 11:case"end":return t.stop()}}),t,this,[[1,8]])})))}},{key:"syncMore",value:function(t){var e=this.q.os.social.timeline.agent.getLimit(t);e+=5,this.q.os.social.timeline.agent.sync(t,{limit:e})}},{key:"updateListen",value:function(){var t=this;void 0===this.syncSub[this.pubKey]&&(this.syncSub[this.pubKey]=this.q.os.social.timeline.agent.onSync(this.pubKey).subscribe((function(e){return Object(s.a)(t,void 0,void 0,regeneratorRuntime.mark((function t(){var n=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.syncStatus=!1,void 0!==e&&void 0!==e.groupedTimeline?(this.groupedTimeline=[],this.groupedTimeline=e.groupedTimeline,this.q.os.ui.showSnack("Timeline Synced!","Yeah",{duration:500}),this.syncStatus=!0,this.cd.detectChanges(),setTimeout((function(){n.cd.detectChanges()}),2e3),setTimeout((function(){n.cd.detectChanges()}),5e3),setTimeout((function(){n.syncStatus=!0,n.cd.detectChanges()}),1e4)):(this.q.os.ui.showSnack("Sync Failed!","Oh No",{duration:1e3}),this.syncStatus=!0);case 1:case"end":return t.stop()}}),t,this)})))})))}},{key:"ngOnInit",value:function(){this.ngOnChanges()}},{key:"ngOnChanges",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var e,n=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(void 0!==this.pubKey&&"NoProfileSelected"!=this.pubKey&&this.pubKey.length>0)){t.next=11;break}return t.prev=1,t.next=4,this.loadProfile();case 4:this.cd.detectChanges(),t.next=9;break;case 7:t.prev=7,t.t0=t.catch(1);case 9:t.next=18;break;case 11:return t.next=13,this.q.os.social.profile.getMyProfile();case 13:return e=t.sent,this.pubKey=JSON.parse(JSON.stringify(e.key.pubKey)),t.next=17,this.loadProfile();case 17:this.cd.detectChanges();case 18:void 0===this.paramSub&&(this.paramSub=this.route.params.subscribe((function(t){return Object(s.a)(n,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log(t),void 0!==t.pubKey&&(this.pubKey=t.pubKey),this.q.os.ui.showSnack("Syncing Timeline...","Please Wait"),this.ngOnChanges();case 1:case"end":return e.stop()}}),e,this)})))}))),setTimeout((function(){n.syncTimeline()}),3e3);case 19:case"end":return t.stop()}}),t,this,[[1,7]])})))}},{key:"syncTimeline",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.unsubscribeAll(),this.updateListen(),t.prev=1,t.next=4,this.q.os.social.timeline.agent.sync(this.pubKey);case 4:t.next=8;break;case 6:t.prev=6,t.t0=t.catch(1);case 8:case"end":return t.stop()}}),t,this,[[1,6]])})))}},{key:"unsubscribeAll",value:function(){for(var t=0,e=Object.keys(this.syncSub);t0&&void 0!==arguments[0])||arguments[0];t&&(this.newAlias=this.alias,this.newFullName=this.fullName,this.newAbout=this.about),this.editDetails=t}},{key:"save",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var e,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=[],t.prev=1,t.next=4,this.q.os.social.timeline.getReferenceTree(this.pubKey);case 4:e=t.sent,t.next=9;break;case 7:t.prev=7,t.t0=t.catch(1);case 9:n={private:this.private,alias:this.newAlias,fullName:this.newFullName,about:this.newAbout},e.length>0&&(n.timeline=e),this.q.os.social.profile.set(this.pubKey,n),this.q.os.social.profile.select(this.pubKey),this.edit(!1),this.ngOnChanges();case 11:case"end":return t.stop()}}),t,this,[[1,7]])})))}},{key:"setConnection",value:function(t){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var n,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.requestLock){e.next=2;break}return e.abrupt("return",!1);case 2:if(this.requestLock=!0,!t){e.next=13;break}return e.next=5,this.q.os.social.profile.getMyProfileId();case 5:if(n=e.sent,console.log("qSocial: trying to add New Favorite Request...",this.pubKey),this.q.os.social.profile.isRequestedFavorite(this.pubKey)){e.next=11;break}return e.next=9,this.q.os.channel.create("qprivatedch-"+n+"-"+this.pubKey,"",!0);case 9:o=e.sent,this.q.os.social.profile.addFavoriteRequest(this.pubKey,o),this.isRequestedConnection=t,this.requestLock=!1;case 11:e.next=15;break;case 13:i=this.q.os.channel.find(this.pubKey),this.q.os.channel.remove(i),this.q.os.social.profile.removeFavorite(this.pubKey),this.q.os.social.profile.removeFavoriteRequest(this.pubKey),this.isRequestedConnection=t,this.isConnection=t,this.requestLock=!1;case 15:case"end":return e.stop()}}),e,this)})))}},{key:"togglePrivacy",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.isMyProfile){t.next=2;break}return t.abrupt("return",!1);case 2:return t.next=4,this.q.os.social.profile.togglePrivacy(this.pubKey);case 4:this.private=!this.private;case 5:case"end":return t.stop()}}),t,this)})))}},{key:"openProfile",value:function(t){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.pubKey=t,this.q.os.social.profile.select(this.pubKey),this.searchResultsActive=!1;case 1:case"end":return e.stop()}}),e,this)})))}},{key:"openMessages",value:function(t){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var n,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=this.q.os.channel.find(t),this.q.os.channel.select(n),this.ngZone.run((function(){return o.router.navigate(["/messages"])}));case 2:case"end":return e.stop()}}),e,this)})))}},{key:"searchBarClicked",value:function(){this.searchResults.length>0&&(this.searchResultsActive=!0)}},{key:"verify",value:function(){this.scanQR()}},{key:"onCamerasFound",value:function(t){this.availableDevices=t,this.hasDevices=Boolean(t&&t.length)}},{key:"onDeviceSelectChange",value:function(t){var e=this.availableDevices.find((function(e){return e.deviceId===t}));this.currentDevice=e||null}},{key:"onHasPermission",value:function(t){this.hasPermission=t}},{key:"onTorchCompatible",value:function(t){this.torchAvailable$.next(t||!1)}},{key:"toggleTorch",value:function(){this.torchEnabled=!this.torchEnabled}},{key:"toggleTryHarder",value:function(){this.tryHarder=!this.tryHarder}},{key:"qrSuccessHandler",value:function(t){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log(t),alert("success!"),e.next=4,this.q.os.social.verify(this.pubKey,JSON.parse(t));case 4:if(!e.sent){e.next=8;break}this.isVerified=!0,e.next=9;break;case 8:this.q.os.ui.showSnack("Verification Failed",{duration:2e3}),this.isVerified=!1;case 9:this.closePopup();case 10:case"end":return e.stop()}}),e,this)})))}},{key:"closeQR",value:function(){var t=this;setTimeout((function(){t.closePopup()}),500)}},{key:"scanQR",value:function(){this.open(this.qrPop)}},{key:"showVerificationQR",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.isMyProfile){t.next=5;break}return t.next=3,this.q.os.social.profile.getVerificationQR();case 3:e=t.sent,console.log(e),this.generateQR(e),this.open(this.qrCode),this.q.os.social.profile.startVerificationWorker();case 5:case"end":return t.stop()}}),t,this)})))}},{key:"open",value:function(t){this.popupRef.push(this.dialog.open(t,{context:"this is some additional data passed to dialog"}))}},{key:"closePopup",value:function(){console.log("close toggled"),this.popupRef[this.popupRef.length-1].close(),this.popupRef.pop()}},{key:"generateQR",value:function(t){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return console.log(t),e.t0=this._sanitizer,e.next=4,this.q.os.utilities.qr.generate(t);case 4:e.t1=e.sent,this.qrCodeURLSafe=e.t0.bypassSecurityTrustUrl.call(e.t0,e.t1);case 6:case"end":return e.stop()}}),e,this)})))}},{key:"generateInviteCode",value:function(){}}]),t}()).\u0275fac=function(t){return new(t||Gt)(l.Sb(c.a),l.Sb(c.c),l.Sb(l.C),l.Sb(F.b),l.Sb(p.l),l.Sb(l.h),l.Sb(d.a))},Gt.\u0275cmp=l.Mb({type:Gt,selectors:[["app-social-profile"]],viewQuery:function(t,e){var n;1&t&&(l.Mc(lt,!0),l.Mc(pt,!0),l.Mc(dt,!0)),2&t&&(l.uc(n=l.gc())&&(e.qrPop=n.first),l.uc(n=l.gc())&&(e.createPop=n.first),l.uc(n=l.gc())&&(e.qrCode=n.first))},hostAttrs:[1,"profileLayoutColumn"],inputs:{pubKey:"pubKey",buttonTitle:"buttonTitle",replyTree:"replyTree",groupedTimeline:"groupedTimeline"},features:[l.Db],decls:20,vars:12,consts:[["qrPop",""],["qrCode",""],["class","poster",4,"ngIf"],["class","pp",4,"ngIf"],["class","details mat-elevation-z6",4,"ngIf"],["class","newPostContainer mat-elevation-z8",4,"ngIf"],[3,"combinedTimeline","isMyProfile",4,"ngFor","ngForOf"],["class","fundUs",3,"click",4,"ngIf"],["class","results social-search-results",4,"ngIf"],[1,"search","profileSearch"],[1,"message-row"],[2,"width","100%"],["fullWidth","","nbInput","","type","text",1,"mat-elevation-z16",3,"ngModel","placeholder","ngModelChange","focus","blur","mouseenter","mouseleave","keyup.enter","keyup","click"],["nbSuffix","","nbButton","","ghost","",1,"searchButtonWrapper",3,"click"],["class","searchButton","icon","search-outline",4,"ngIf","ngIfElse"],["title",""],[2,"color","goldenrod"],[1,"qrScanWrapper"],[3,"torch","device","formats","tryHarder","deviceChange","scanSuccess","permissionResponse","camerasFound","torchCompatible"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[2,"margin","10px","color","goldenrod"],[1,"qrCodeWrapper"],["alt","",1,"qrCodeShowGenerate",3,"src"],[1,"poster"],["class","profilePrivacy private mat-elevatation-z6",3,"click",4,"ngIf"],["class","profilePrivacy mat-elevatation-z14",3,"click",4,"ngIf"],[1,"profilePrivacy","private","mat-elevatation-z6",3,"click"],["icon","lock-outline"],[1,"profilePrivacy","mat-elevatation-z14",3,"click"],["icon","globe-outline"],[1,"pp"],["src","./assets/defaultAvatar.png",1,"mat-elevation-z14"],[1,"details","mat-elevation-z6"],[3,"class","click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton verifyButton",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton active verifyButton",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton active",3,"click",4,"ngIf"],["mat-stroked-button","","color","primary","class","defaultSettingsButton thickOutlineButton editButton starButton pending",3,"click",4,"ngIf"],[1,"name"],[1,"alias"],[1,"fullname"],[1,"about"],["class","pubKeyDisplay Icon",3,"click",4,"ngIf"],[3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton",3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton","verifyButton",3,"click"],["icon","checkmark-circle-2-outline"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton","active","verifyButton"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton",3,"click"],["icon","star-outline"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton","active",3,"click"],["icon","message-circle-outline"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","editButton","starButton","pending",3,"click"],[1,"pubKeyDisplay","Icon",3,"click"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","viewBox","0 0 24 24","fill","black","width","18px","height","18px",1,"pubKeyIcon"],["fill","none","height","24","width","24"],["d","M15,21h-2v-2h2V21z M13,14h-2v5h2V14z M21,12h-2v4h2V12z M19,10h-2v2h2V10z M7,12H5v2h2V12z M5,10H3v2h2V10z M12,5h2V3h-2V5 z M4.5,4.5v3h3v-3H4.5z M9,9H3V3h6V9z M4.5,16.5v3h3v-3H4.5z M9,21H3v-6h6V21z M16.5,4.5v3h3v-3H16.5z M21,9h-6V3h6V9z M19,19v-3 l-4,0v2h2v3h4v-2H19z M17,12l-4,0v2h4V12z M13,10H7v2h2v2h2v-2h2V10z M14,9V7h-2V5h-2v4L14,9z M6.75,5.25h-1.5v1.5h1.5V5.25z M6.75,17.25h-1.5v1.5h1.5V17.25z M18.75,5.25h-1.5v1.5h1.5V5.25z"],["class","pubKeyDisplay",3,"click",4,"ngIf"],["matInput","","placeholder","Alias","name","newAlias",3,"ngModel","ngModelChange"],["matInput","","placeholder","Full Name","name","newFullName",3,"ngModel","ngModelChange"],[1,"about",2,"padding-bottom","20px"],["matInput","","name","about",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","saveButton",3,"click"],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","thickOutlineButton","discardButton",3,"click"],[1,"pubKeyDisplay",3,"click"],[1,"newPostContainer","mat-elevation-z8"],["matInput","","name","newPost","placeholder","What's going on?",3,"ngModel","ngModelChange"],["emoji","grinning","set","apple","size","24",1,"emojiPickerTrigger",3,"nbPopover"],["emojiPickerRef",""],["mat-stroked-button","","color","primary",1,"defaultSettingsButton","postButton",3,"click"],["title","Pick your emoji\u2026","emoji","blush","darkMode","true",1,"emojiPicker",3,"emojiClick"],[3,"combinedTimeline","isMyProfile"],[1,"fundUs",3,"click"],["mat-stroked-button","","color","secondary","class","mat-elevation-z18 defaultSettingsButton noOutlineButton fundButton",4,"ngIf"],["mat-stroked-button","","color","secondary",1,"mat-elevation-z18","defaultSettingsButton","noOutlineButton","fundButton"],[1,"results","social-search-results"],["class","resultCardWrapper",4,"ngFor","ngForOf"],[1,"resultCardWrapper"],["fxLayout","row",1,"resultCard","mat-elevation-z6",3,"routerLink"],[1,"searchResultPp"],["src","./assets/defaultAvatar.png",1,"searchResultPpImg"],[1,"searchResultColumn"],[1,"searchResultAlias"],[1,"searchResultFullName"],[1,"searchResultConnection","topCorner"],["icon","star-outline","style","opacity: 0.2;",4,"ngIf"],["icon","message-circle-outline",3,"click",4,"ngIf"],["icon","star-outline",4,"ngIf"],[1,"searchResultAbout","searchResultColumn",2,"flex","auto"],[1,"searchResultAboutWrapper"],[1,"searchResultConnection","searchResultColumn",2,"margin-top","27px","margin-right","10px"],["icon","star-outline",2,"opacity","0.2"],["icon","message-circle-outline",3,"click"],["icon","search-outline",1,"searchButton"]],template:function(t,e){if(1&t&&(l.Gc(0,ut,9,4,"ng-template",null,0,l.Hc),l.Gc(2,gt,10,1,"ng-template",null,1,l.Hc),l.Gc(4,ft,3,2,"div",2),l.Gc(5,mt,2,0,"div",3),l.Gc(6,_t,16,11,"div",4),l.Gc(7,Ft,13,4,"div",4),l.Gc(8,jt,7,2,"div",5),l.Gc(9,Bt,1,2,"social-timeline-post-combined-timeline",6),l.Gc(10,zt,3,2,"div",7),l.Gc(11,Et,2,1,"div",8),l.Yb(12,"div",9),l.Yb(13,"div",10),l.Yb(14,"div",11),l.Yb(15,"input",12),l.fc("ngModelChange",(function(t){return e.searchPhrase=t}))("focus",(function(){return e.inputFocus=!0}))("blur",(function(){return e.inputFocus=!1}))("mouseenter",(function(){return e.inputHover=!0}))("mouseleave",(function(){return e.inputHover=!1}))("keyup.enter",(function(){return e.search()}))("keyup",(function(){return e.parseSearchBar()}))("click",(function(){return e.searchBarClicked()})),l.Xb(),l.Yb(16,"button",13),l.fc("click",(function(){return e.search()})),l.Gc(17,Kt,1,0,"nb-icon",14),l.Gc(18,Vt,1,1,"ng-template",null,15,l.Hc),l.Xb(),l.Xb(),l.Xb(),l.Xb()),2&t){var n=l.vc(19);l.Fb(4),l.pc("ngIf",!e.searchResultsActive),l.Fb(1),l.pc("ngIf",!e.searchResultsActive),l.Fb(1),l.pc("ngIf",!e.editDetails&&!e.searchResultsActive),l.Fb(1),l.pc("ngIf",e.editDetails&&!e.searchResultsActive),l.Fb(1),l.pc("ngIf",e.isMyProfile),l.Fb(1),l.pc("ngForOf",e.groupedTimeline),l.Fb(1),l.pc("ngIf",!e.searchResultsActive),l.Fb(1),l.pc("ngIf",e.searchResultsActive),l.Fb(4),l.qc("placeholder","Who are you looking for?"),l.pc("ngModel",e.searchPhrase),l.Fb(2),l.pc("ngIf",!e.buttonTitle)("ngIfElse",n)}},directives:[u.m,u.l,S.b,S.j,S.m,p.E,p.d,p.f,p.c,j.a,p.e,g.a,p.o,B.a,I.a,p.z,R.a,ct,st.b,c.d],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.qrCodeShowGenerate[_ngcontent-%COMP%]{max-width:85vw}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;position:relative;left:30px;top:-30px;z-index:1}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;padding-top:60px;z-index:0;padding-bottom:50px;margin-top:-60px;margin-bottom:42px;color:#6d95ce;z-index:11;background:#151b2e;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471))}.editButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:20px;margin-top:-15px}.discardButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:23px}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:relative;float:right;font-size:19px;right:18px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:18px;z-indeX:1}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{left:99px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;margin-top:-53px;margin-bottom:23px;margin-left:78px}.pubKeyDisplay.true[_ngcontent-%COMP%]{cursor:pointer}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.search[_ngcontent-%COMP%]{z-index:23;position:fixed;right:0;left:0;padding:20px;height:95px;bottom:28px}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-family:Ubuntu;position:absolute;letter-spacing:1px;color:rgba(241,237,205,.8196078431372549);padding:10px 10px 10px 26px;font-size:16px;left:5%;width:90%;font-weight:500!important}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid red}.search[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:1.75rem}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:rgba(41,104,245,.8313725490196079)}.pp[_ngcontent-%COMP%]{z-index:12}.fundUs[_ngcontent-%COMP%]{z-index:2;width:100%;padding-bottom:192px;text-align:center;margin-top:38px}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;height:40px;width:40px;border:0;color:#7b9cc3;padding-right:8px;width:50px;position:absolute;top:19px;right:5%}.search[_ngcontent-%COMP%] .searchButton[_ngcontent-%COMP%]:focus, .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%]:focus{outline:none!important;border:0!important;box-shadow:none!important}.results[_ngcontent-%COMP%]{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.59));font-family:Ubuntu;overflow:hidden;overflow-y:auto;position:fixed;left:0;right:0;bottom:27px;top:49px;z-index:22}.resultCardWrapper[_ngcontent-%COMP%]{padding:20px 4% 20px 5%}.resultCardWrapper[_ngcontent-%COMP%]:first-child{padding-top:60px;padding-bottom:20px}.resultCardWrapper[_ngcontent-%COMP%]:last-child{padding-bottom:120px}.searchResultAlias[_ngcontent-%COMP%]{font-size:18px}.searchResultPp[_ngcontent-%COMP%], .searchResultPpImg[_ngcontent-%COMP%]{height:100px}.searchResultColumn[_ngcontent-%COMP%]{color:#4f84e2;padding:10px 10px 10px 20px}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:none;color:#4f84e2;margin-top:7px}.searchResultAboutWrapper[_ngcontent-%COMP%]{width:100%}.resultCard[_ngcontent-%COMP%]{border-radius:5px;flex-direction:row;box-sizing:border-box;display:flex;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.8313725490196079));overflow:hidden;cursor:pointer;border:1px solid transparent}.resultCard[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.8313725490196079));overflow:hidden;border:1px solid red}.searchResultFullName[_ngcontent-%COMP%]{color:rgba(79,132,226,.5411764705882353)}@media only screen and (max-width:816px){.searchResultColumn[_ngcontent-%COMP%]{padding-left:10px}.searchResultConnection.searchResultColumn[_ngcontent-%COMP%]{display:none}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:block}.resultCard[_ngcontent-%COMP%]{flex-flow:row wrap}}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;margin-right:5vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473);display:block}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628);border-radius:0;margin-top:-56px}.postContainer.level-0[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:0}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-top:-56px}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;position:relative;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{float:right;color:#452781}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent} nb-popover{background:transparent!important}@media only screen and (max-width:616px){.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{margin-right:0!important;border-radius:0;border-top:1px solid #40389e!important;border-bottom:1px solid #423193!important;margin:0 5vw 15px 0}.postContainer[_ngcontent-%COMP%]:last-child{margin-bottom:40px}}.emojiPicker[_ngcontent-%COMP%]{right:60px;font-size:19px;right:22px;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}@media only screen and (min-width:420px) and (max-width:480px){.emojiPicker[_ngcontent-%COMP%]{right:-40px}}@media only screen and (min-width:480px) and (max-width:900px){.emojiPicker[_ngcontent-%COMP%]{right:0}}.profilePrivacy.private[_ngcontent-%COMP%]{background:rgba(231,213,100,.6784313725490196);font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}.postContainer.reply[_ngcontent-%COMP%]{border-left:8px solid;border-right:8px solid;border-top:1px solid;position:relative;margin:-17px 6vw 0;top:22px}.postContainer.singleLevel[_ngcontent-%COMP%]{margin-top:40px!important;margin-bottom:20px;border-radius:10px!important}.postContainer.singleLevel.replyPost[_ngcontent-%COMP%]{margin-top:0!important;border-radius:10px!important}.replyLoop[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.replyLoop[_ngcontent-%COMP%]:first-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:30px}.replyLoop[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.pubKeyIcon[_ngcontent-%COMP%]{width:35px;height:35px;fill:rgba(63,62,167,.7686274509803922);position:static;right:30px;cursor:pointer}.pubKeyDisplay.Icon[_ngcontent-%COMP%]{float:right;margin:0 30px 0 0;padding:0;height:0;overflow:visible}.pubKeyDisplay.Icon[_ngcontent-%COMP%]:hover .pubKeyIcon[_ngcontent-%COMP%]{fill:#5851bb}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{max-height:20px;text-overflow:ellipsis;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}.editButton[_ngcontent-%COMP%]{margin-top:-9px}}"],changeDetection:0}),Gt),Wt=["qrPop"],Zt=["createPop"];function Ut(t,e){1&t&&l.Tb(0,"nb-icon",8)}function $t(t,e){if(1&t&&l.Ic(0),2&t){var n=l.jc();l.Jc(n.buttonTitle)}}function Qt(t,e){if(1&t&&l.Tb(0,"social-timeline-post-combined-timeline",13),2&t){var n=e.$implicit,o=l.jc(2);l.pc("combinedTimeline",n)("isMyProfile",o.isMyProfile)}}function Jt(t,e){if(1&t){var n=l.Zb();l.Yb(0,"div",14),l.fc("click",(function(){return l.xc(n),l.jc(2).syncMore()})),l.Yb(1,"button",15),l.Ic(2," Sync More "),l.Xb(),l.Xb()}}function te(t,e){1&t&&(l.Yb(0,"div",16),l.Yb(1,"a",17),l.Yb(2,"button",18),l.Ic(3," Syncing... "),l.Xb(),l.Xb(),l.Xb())}function ee(t,e){if(1&t&&(l.Yb(0,"div",9),l.Gc(1,Qt,1,2,"social-timeline-post-combined-timeline",10),l.Gc(2,Jt,3,0,"div",11),l.Gc(3,te,4,0,"div",12),l.Xb()),2&t){var n=l.jc();l.Fb(1),l.pc("ngForOf",n.groupedTimeline),l.Fb(1),l.pc("ngIf",!n.searchResultsActive&&n.groupedTimeline.length>0),l.Fb(1),l.pc("ngIf",!(n.searchResultsActive||0!=n.groupedTimeline.length&&n.syncStatus))}}var ne=["qrPop"],oe=["createPop"];function ie(t,e){1&t&&l.Tb(0,"nb-icon",11)}function re(t,e){if(1&t&&l.Ic(0),2&t){var n=l.jc();l.Jc(n.buttonTitle)}}function ae(t,e){1&t&&l.Tb(0,"social-timeline-post-combined-timeline",12),2&t&&l.pc("combinedTimeline",e.$implicit)}function ce(t,e){1&t&&(l.Yb(0,"div",13),l.Tb(1,"nb-icon",14),l.Xb())}function se(t,e){if(1&t&&(l.Yb(0,"div",17),l.Tb(1,"app-social-profile-post",18),l.Xb()),2&t){var n=l.jc().$implicit,o=l.jc();l.Fb(1),l.pc("postObj",n)("isMyProfile",o.isMyProfile)}}function le(t,e){if(1&t&&(l.Yb(0,"div",15),l.Gc(1,se,2,2,"div",16),l.Xb()),2&t){var n=e.$implicit;l.Fb(1),l.pc("ngIf",null!=n.content&&n.content.length>0)}}var pe,de,ue,ge,he=[{path:"",redirectTo:"profile",pathMatch:"full"},{path:"",component:y,children:[{path:"profile/:pubKey",component:Ht},{path:"profile",component:Ht},{path:"stream/:algoName",component:(de=function(){function t(e,n,o,r){i(this,t),this._sanitizer=e,this.dialog=n,this.cd=o,this.q=r,this.pubKey="NoProfileSelected",this.postList=[],this.initRnd=0,this.DEVMODE=w.dev,this.buttonTitle="",this.status="",this.inputFocus=!1,this.inputHover=!1,this.searchPhrase="",this.searchResults=[],this.searchResultsActive=!1,this.noProfileSelected="NoProfileSelected",this.syncSub={},this.groupedTimeline=[],this.replyTree={},this.syncStatus=!0,this.popupRef=[]}return a(t,[{key:"parseSearchBar",value:function(){this.searchPhrase.length>0?this.search():this.cd.detectChanges()}},{key:"search",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.q.os.social.timeline.search(this.searchPhrase);case 2:this.searchResults=t.sent,this.timeline=this.searchResults.length>0?this.searchResults:this.q.os.social.timeline.get(),this.cd.detectChanges();case 5:case"end":return t.stop()}}),t,this)})))}},{key:"updateListen",value:function(){var t=this;this.groupedTimeline=[],this.replyTree={},void 0===this.syncSub.all&&(this.syncSub.all=this.q.os.social.timeline.agent.onSync("all").subscribe((function(e){return Object(s.a)(t,void 0,void 0,regeneratorRuntime.mark((function t(){var n=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:void 0!==e&&void 0!==e.groupedTimeline?(this.groupedTimeline=e.groupedTimeline,this.syncStatus=!0,this.q.os.ui.showSnack("Stream Synced!","Yeah",{duration:1e3}),this.cd.detectChanges(),setTimeout((function(){n.cd.detectChanges()}),5e3),setTimeout((function(){n.cd.detectChanges()}),12e3)):this.syncStatus=!0;case 1:case"end":return t.stop()}}),t,this)})))})))}},{key:"ngOnDestroy",value:function(){try{this.onAlgoChange.unsubscribe()}catch(o){}for(var t=0,e=Object.keys(this.syncSub);t0&&void 0!==arguments[0]&&arguments[0];return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var n,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.q.os.ui.showSnack("Syncing Stream...","Please Wait"),this.syncStatus=!1,this.updateListen(),e.next=3,this.q.os.social.timeline.agent.sync("all");case 3:n=e.sent,this.groupedTimeline=n.groupedTimeline,this.syncStatus=!0,t||(this.onAlgoChange=this.q.os.social.algo.onSelect().subscribe((function(t){return Object(s.a)(o,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.ngOnInit(!0);case 1:case"end":return t.stop()}}),t,this)})))})));case 5:case"end":return e.stop()}}),e,this)})))}},{key:"unsubscribeAll",value:function(){for(var t=0,e=Object.keys(this.syncSub);t div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.verifyButton[_ngcontent-%COMP%]{margin-right:70px!important}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;position:relative;left:30px;top:-30px;z-index:1}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;padding-top:60px;z-index:0;padding-bottom:50px;margin-top:-60px;margin-bottom:42px;color:#6d95ce;z-index:11;background:#151b2e;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471))}.editButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:20px;margin-top:-15px}.discardButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:23px}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:absolute;font-size:19px;right:22px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{left:99px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;cursor:pointer;margin-top:-53px;margin-bottom:23px;margin-left:78px}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{max-height:20px;text-overflow:ellipsis;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}.editButton[_ngcontent-%COMP%]{margin-top:-9px}}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.search[_ngcontent-%COMP%]{z-index:2;right:0;left:0;padding:20px;height:95px;bottom:28px;position:absolute;top:0}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-family:Ubuntu;position:absolute;letter-spacing:1px;color:rgba(241,237,205,.8196078431372549);padding:10px 10px 10px 26px;font-size:16px;left:5%;width:90%;font-weight:500!important}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid red}.search[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:1.75rem}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:rgba(41,104,245,.8313725490196079)}.pp[_ngcontent-%COMP%]{z-index:12}.fundUs[_ngcontent-%COMP%]{z-index:2;width:100%;margin-bottom:120px;text-align:center;margin-top:38px}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;height:40px;width:40px;border:0;color:#7b9cc3;padding-right:8px;width:50px;position:absolute;top:19px;right:5%}.search[_ngcontent-%COMP%] .searchButton[_ngcontent-%COMP%]:focus, .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%]:focus{outline:none!important;border:0!important;box-shadow:none!important}.results[_ngcontent-%COMP%]{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.59));font-family:Ubuntu;overflow:hidden;overflow-y:auto;position:absolute;left:0;right:0;bottom:27px;top:0}.resultCardWrapper[_ngcontent-%COMP%]{padding:20px 4% 20px 5%}.resultCardWrapper[_ngcontent-%COMP%]:first-child{padding-top:60px;padding-bottom:20px}.resultCardWrapper[_ngcontent-%COMP%]:last-child{padding-bottom:120px}.searchResultAlias[_ngcontent-%COMP%]{font-size:18px}.searchResultPp[_ngcontent-%COMP%], .searchResultPpImg[_ngcontent-%COMP%]{height:100px}.searchResultColumn[_ngcontent-%COMP%]{color:#4f84e2;padding:10px 10px 10px 20px}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:none;color:#4f84e2;margin-top:7px}.searchResultAboutWrapper[_ngcontent-%COMP%]{width:100%}.resultCard[_ngcontent-%COMP%]{border-radius:5px;flex-direction:row;box-sizing:border-box;display:flex;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.5882352941176471));overflow:hidden;cursor:pointer;border:1px solid transparent}.resultCard[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));overflow:hidden;border:1px solid red}.searchResultFullName[_ngcontent-%COMP%]{color:rgba(79,132,226,.5411764705882353)}@media only screen and (max-width:816px){.searchResultColumn[_ngcontent-%COMP%]{padding-left:10px}.searchResultConnection.searchResultColumn[_ngcontent-%COMP%]{display:none}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:block}.resultCard[_ngcontent-%COMP%]{flex-flow:row wrap}}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;position:relative;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{float:right;color:#452781}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent} nb-popover{background:transparent!important}@media only screen and (max-width:616px){.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{margin-left:0;margin-right:0!important;margin-top:0;border:0!important;margin-bottom:15px;border-radius:0;border-top:1px solid #40389e!important;border-bottom:1px solid #423193!important;width:100vw}.postContainer[_ngcontent-%COMP%]:last-child{margin-bottom:40px}}.emojiPicker[_ngcontent-%COMP%]{right:60px}@media only screen and (min-width:420px) and (max-width:480px){.emojiPicker[_ngcontent-%COMP%]{right:-40px}}@media only screen and (min-width:480px) and (max-width:900px){.emojiPicker[_ngcontent-%COMP%]{right:0}}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;margin-right:5vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473);display:block}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628);border-radius:0;margin-top:-56px}.postContainer.level-0[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:0}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-top:-56px}.postContainer.reply[_ngcontent-%COMP%]{border-left:8px solid;border-right:8px solid;border-top:1px solid;position:relative;margin:-17px 6vw 0;top:22px}.postContainer.singleLevel[_ngcontent-%COMP%]{margin-top:40px!important;margin-bottom:20px;border-radius:10px!important}.postContainer.singleLevel.replyPost[_ngcontent-%COMP%]{margin-top:0!important;border-radius:10px!important}.replyLoop[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.replyLoop[_ngcontent-%COMP%]:first-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:30px}.replyLoop[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.combinedTimeline[_ngcontent-%COMP%]:nth-child(2){margin-top:120px}.postViewer[_ngcontent-%COMP%]{position:absolute;left:0;top:20px;right:0;bottom:77px;overflow:hidden;overflow-y:auto;padding-top:20px}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:rgba(78,132,229,.5607843137254902)}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}"]}),de)},{path:"timeline/post/:qHash",component:(pe=function(){function t(e,n,o,r,a){i(this,t),this.route=e,this._sanitizer=n,this.dialog=o,this.cd=r,this.q=a,this.pubKey="NoProfileSelected",this.postList=[],this.DEVMODE=w.dev,this.buttonTitle="",this.qHash="",this.status="",this.inputFocus=!1,this.inputHover=!1,this.searchPhrase="",this.searchResults=[],this.searchResultsActive=!1,this.noProfileSelected="NoProfileSelected",this.replies=[],this.groupedTimeline=[],this.syncStatus=!1,this.syncingStatus=!1,this.popupRef=[]}return a(t,[{key:"parseSearchBar",value:function(){}},{key:"search",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))}},{key:"updateListen",value:function(){var t=this;this.syncingStatus=!1,console.log("QD Social Timeline Post: Subscribing To Sync..",this.qHash),void 0!==this.syncSub&&this.syncSub.unsubscribe(),this.syncSub=this.q.os.social.timeline.agent.onSync("all").subscribe((function(n){return Object(s.a)(t,void 0,void 0,regeneratorRuntime.mark((function t(){var o,i,r,a,c,s=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:try{console.log(n.timeline),this.groupedTimeline=[],this.replies=[],o=[],i=n.timeline,r=e(i);try{for(r.s();!(a=r.n()).done;)(c=a.value).replyTo!=this.qHash||this.q.os.utilities.inArray(o,c.qHash)||(this.replies.push(c),o.push(c.qHash)),c.qHash==this.qHash&&(this.groupedTimeline=[[c]])}catch(l){r.e(l)}finally{r.f()}this.syncingStatus=!0,this.q.os.ui.showSnack("Replies Synced!","Yeah",{duration:2e3}),console.log("QD Social Timeline Post View: Replies Synced!"),this.cd.detectChanges(),setTimeout((function(){s.cd.detectChanges()}),2e3),setTimeout((function(){s.cd.detectChanges()}),6e3),setTimeout((function(){s.cd.detectChanges()}),1e4),setTimeout((function(){s.cd.detectChanges()}),15e3)}catch(p){console.log(p)}case 1:case"end":return t.stop()}}),t,this)})))}))}},{key:"ngOnInit",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.updateListen(),this.paramSub=this.route.params.subscribe((function(t){return Object(s.a)(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log(t),this.qHash=t.qHash,this.ngOnChanges();case 1:case"end":return e.stop()}}),e,this)})))}));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"ngOnChanges",value:function(){return Object(s.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.q.os.ui.showSnack("Syncing Replies...","Please Wait"),t.next=3,this.q.os.social.timeline.agent.sync("all",{limit:0});case 3:case"end":return t.stop()}}),t,this)})))}},{key:"ngOnDestroy",value:function(){this.paramSub.unsubscribe(),void 0!==this.syncSub&&this.syncSub.unsubscribe()}},{key:"searchBarClicked",value:function(){}},{key:"open",value:function(t){this.popupRef.push(this.dialog.open(t,{context:"this is some additional data passed to dialog"}))}},{key:"closePopup",value:function(){console.log("close toggled"),this.popupRef[this.popupRef.length-1].close(),this.popupRef.pop()}}]),t}(),pe.\u0275fac=function(t){return new(t||pe)(l.Sb(c.a),l.Sb(F.b),l.Sb(p.l),l.Sb(l.h),l.Sb(d.a))},pe.\u0275cmp=l.Mb({type:pe,selectors:[["social-timeline-post"]],viewQuery:function(t,e){var n;1&t&&(l.Mc(ne,!0),l.Mc(oe,!0)),2&t&&(l.uc(n=l.gc())&&(e.qrPop=n.first),l.uc(n=l.gc())&&(e.createPop=n.first))},inputs:{buttonTitle:"buttonTitle",qHash:"qHash"},features:[l.Db],decls:12,vars:7,consts:[[1,"search"],[1,"message-row"],[2,"width","100%"],["fullWidth","","nbInput","","type","text",1,"mat-elevation-z16",3,"ngModel","placeholder","ngModelChange","focus","blur","mouseenter","mouseleave","keyup.enter","keyup","click"],["nbSuffix","","nbButton","","ghost","",1,"searchButtonWrapper",3,"click"],["class","searchButton","icon","search-outline",4,"ngIf","ngIfElse"],["title",""],[1,"postViewer"],[3,"combinedTimeline",4,"ngFor","ngForOf"],["class","repliesHeader",4,"ngIf"],["class","postOuterWrapper replyOuterWrapper",4,"ngFor","ngForOf"],["icon","search-outline",1,"searchButton"],[3,"combinedTimeline"],[1,"repliesHeader"],["icon","message-square-outline",1,"repliesIcon"],[1,"postOuterWrapper","replyOuterWrapper"],["class","postWrapper",4,"ngIf"],[1,"postWrapper"],[1,"postContainer","mat-elevation-z8","post","singleLevel",3,"postObj","isMyProfile"]],template:function(t,e){if(1&t&&(l.Yb(0,"div",0),l.Yb(1,"div",1),l.Yb(2,"div",2),l.Yb(3,"input",3),l.fc("ngModelChange",(function(t){return e.searchPhrase=t}))("focus",(function(){return e.inputFocus=!0}))("blur",(function(){return e.inputFocus=!1}))("mouseenter",(function(){return e.inputHover=!0}))("mouseleave",(function(){return e.inputHover=!1}))("keyup.enter",(function(){return e.search()}))("keyup",(function(){return e.parseSearchBar()}))("click",(function(){return e.searchBarClicked()})),l.Xb(),l.Yb(4,"button",4),l.fc("click",(function(){return e.search()})),l.Gc(5,ie,1,0,"nb-icon",5),l.Gc(6,re,1,1,"ng-template",null,6,l.Hc),l.Xb(),l.Xb(),l.Xb(),l.Xb(),l.Yb(8,"div",7),l.Gc(9,ae,1,1,"social-timeline-post-combined-timeline",8),l.Gc(10,ce,2,0,"div",9),l.Gc(11,le,2,1,"div",10),l.Xb()),2&t){var n=l.vc(7);l.Fb(3),l.qc("placeholder","What are you looking for?"),l.pc("ngModel",e.searchPhrase),l.Fb(2),l.pc("ngIf",!e.buttonTitle)("ngIfElse",n),l.Fb(4),l.pc("ngForOf",e.groupedTimeline),l.Fb(1),l.pc("ngIf",null!=e.replies&&e.replies.length>0),l.Fb(1),l.pc("ngForOf",e.replies)}},directives:[S.b,S.j,S.m,p.E,u.m,u.l,p.o,ct,J],styles:[".browse-files-button[_ngcontent-%COMP%]{border-radius:3px;padding:5px;color:purple}.importButton[_ngcontent-%COMP%]{color:purple!important}.captchaScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%]{background-color:#222b45;padding:20px;text-align:center}.captchaScreen[_ngcontent-%COMP%], .captchaScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .chatScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%], .inviteScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%], .joinScreen[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{height:100%}.poster[_ngcontent-%COMP%]{height:30vh;background-color:#111161}.verifyButton[_ngcontent-%COMP%]{margin-right:70px!important}.pp[_ngcontent-%COMP%]{border-radius:5px;overflow:hidden;position:relative;left:30px;top:-30px;z-index:1}.pp[_ngcontent-%COMP%], .pp[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:60px;height:60px}.name[_ngcontent-%COMP%]{white-space:nowrap}.alias[_ngcontent-%COMP%]{font-size:24px}.alias[_ngcontent-%COMP%], .fullname[_ngcontent-%COMP%]{white-space:nowrap;float:left}.fullname[_ngcontent-%COMP%]{margin-left:20px;opacity:.5}.about[_ngcontent-%COMP%]{clear:both;padding-top:30px;padding-right:20px}.details[_ngcontent-%COMP%]{overflow:hidden;background:#2d2b2b;color:#fff;padding-left:20px;font-size:20px;padding-top:60px;z-index:0;padding-bottom:50px;margin-top:-60px;margin-bottom:42px;color:#6d95ce;z-index:11;background:#151b2e;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471))}.editButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:20px;margin-top:-15px}.discardButton[_ngcontent-%COMP%], .saveButton[_ngcontent-%COMP%]{font-size:20px;z-index:1;float:right;margin-right:23px}.fundButton[_ngcontent-%COMP%]{background:#bfbf13!important;font-size:16px!important}.profilePrivacy[_ngcontent-%COMP%]{position:absolute;font-size:19px;right:22px;background:#eed864;font-weight:700;border-radius:4px;color:rgba(39,105,247,.7803921568627451);font-family:Ubuntu;line-height:30px;padding:3px 10px;cursor:pointer;top:20px}.profilePrivacy[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:24px;opacity:.7;position:relative;top:2px}@media only screen and (max-width:600px){.fullname[_ngcontent-%COMP%]{clear:both;margin-left:0}}input[_ngcontent-%COMP%]{caret-color:#fff}.pubKeyDisplay[_ngcontent-%COMP%]{left:99px;right:8px;line-height:7px;font-size:7px;font-family:MONOSPACE;word-break:break-all;overflow:hidden;color:rgba(211,166,65,.25098039215686274)!important;z-index:9999;top:-45px;cursor:pointer;margin-top:-53px;margin-bottom:23px;margin-left:78px}@media only screen and (max-width:807px){.pubKeyDisplay[_ngcontent-%COMP%]{max-height:20px;text-overflow:ellipsis;line-height:10px;font-size:10px;font-family:MONOSPACE;word-break:break-all;overflow:hidden}.editButton[_ngcontent-%COMP%]{margin-top:-9px}}.starButton[_ngcontent-%COMP%]{color:rgba(42,68,120,.5098039215686274);border:0 solid transparent!important}.starButton[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2.5rem}.starButton[_ngcontent-%COMP%]:hover{color:rgba(37,109,255,.5607843137254902)}.starButton.active[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.starButton.active[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:2rem}.starButton.pending[_ngcontent-%COMP%]{color:#256dff;border:0 solid transparent!important;font-size:2.5rem}.search[_ngcontent-%COMP%]{z-index:2;right:0;left:0;padding:20px;height:95px;bottom:28px;position:absolute;top:0}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-family:Ubuntu;position:absolute;letter-spacing:1px;color:rgba(241,237,205,.8196078431372549);padding:10px 10px 10px 26px;font-size:16px;left:5%;width:90%;font-weight:500!important}.search[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid red}.search[_ngcontent-%COMP%] nb-icon[_ngcontent-%COMP%]{font-size:1.75rem}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{color:rgba(41,104,245,.8313725490196079)}.pp[_ngcontent-%COMP%]{z-index:12}.fundUs[_ngcontent-%COMP%]{z-index:2;width:100%;margin-bottom:120px;text-align:center;margin-top:38px}.search[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:transparent;height:40px;width:40px;border:0;color:#7b9cc3;padding-right:8px;width:50px;position:absolute;top:19px;right:5%}.search[_ngcontent-%COMP%] .searchButton[_ngcontent-%COMP%]:focus, .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%], .search[_ngcontent-%COMP%] .searchButtonWrapper[_ngcontent-%COMP%]:focus{outline:none!important;border:0!important;box-shadow:none!important}.results[_ngcontent-%COMP%]{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.59));font-family:Ubuntu;overflow:hidden;overflow-y:auto;position:absolute;left:0;right:0;bottom:27px;top:0}.resultCardWrapper[_ngcontent-%COMP%]{padding:20px 4% 20px 5%}.resultCardWrapper[_ngcontent-%COMP%]:first-child{padding-top:60px;padding-bottom:20px}.resultCardWrapper[_ngcontent-%COMP%]:last-child{padding-bottom:120px}.searchResultAlias[_ngcontent-%COMP%]{font-size:18px}.searchResultPp[_ngcontent-%COMP%], .searchResultPpImg[_ngcontent-%COMP%]{height:100px}.searchResultColumn[_ngcontent-%COMP%]{color:#4f84e2;padding:10px 10px 10px 20px}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:none;color:#4f84e2;margin-top:7px}.searchResultAboutWrapper[_ngcontent-%COMP%]{width:100%}.resultCard[_ngcontent-%COMP%]{border-radius:5px;flex-direction:row;box-sizing:border-box;display:flex;background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));background:linear-gradient(90deg,#192752,rgba(16,22,41,.5882352941176471));overflow:hidden;cursor:pointer;border:1px solid transparent}.resultCard[_ngcontent-%COMP%]:hover{background:linear-gradient(90deg,#151b2e,rgba(16,22,41,.5882352941176471));overflow:hidden;border:1px solid red}.searchResultFullName[_ngcontent-%COMP%]{color:rgba(79,132,226,.5411764705882353)}@media only screen and (max-width:816px){.searchResultColumn[_ngcontent-%COMP%]{padding-left:10px}.searchResultConnection.searchResultColumn[_ngcontent-%COMP%]{display:none}.searchResultConnection.topCorner[_ngcontent-%COMP%]{display:block}.resultCard[_ngcontent-%COMP%]{flex-flow:row wrap}}.postButton[_ngcontent-%COMP%]{color:rgba(198,196,137,.7803921568627451);font-family:Ubuntu;font-size:16px;margin-top:4vh;border:2px solid rgba(157,175,170,.7490196078431373)}.postDelete[_ngcontent-%COMP%]{float:right;color:rgba(255,0,0,.8117647058823529);margin-left:10px;font-size:20px;position:relative;top:-1px;cursor:pointer}.postTime[_ngcontent-%COMP%]{float:right;color:#452781}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::-moz-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]:-ms-input-placeholder{color:#ff0045}.newPostContainer[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]::placeholder{color:#ff0045}.mat-input-element[_ngcontent-%COMP%]{caret-color:#546184;text-align:left;border:1px solid transparent;border-radius:5px;padding:10px}.mat-input-element[_ngcontent-%COMP%]:focus{border:1px solid red}.mat-input-element[_ngcontent-%COMP%]::-moz-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]:-ms-input-placeholder:focus{display:none}.mat-input-element[_ngcontent-%COMP%]::placeholder:focus{display:none}.emojiPickerTrigger[_ngcontent-%COMP%]{opacity:1;z-index:9;padding:8px;margin-right:10px;cursor:pointer;right:0;position:relative;top:3px}.emojiPicker[_ngcontent-%COMP%]{z-index:222222!important;position:relative;right:70px;background:transparent} nb-popover{background:transparent!important}@media only screen and (max-width:616px){.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{margin-left:0;margin-right:0!important;margin-top:0;border:0!important;margin-bottom:15px;border-radius:0;border-top:1px solid #40389e!important;border-bottom:1px solid #423193!important;width:100vw}.postContainer[_ngcontent-%COMP%]:last-child{margin-bottom:40px}}.emojiPicker[_ngcontent-%COMP%]{right:60px}@media only screen and (min-width:420px) and (max-width:480px){.emojiPicker[_ngcontent-%COMP%]{right:-40px}}@media only screen and (min-width:480px) and (max-width:900px){.emojiPicker[_ngcontent-%COMP%]{right:0}}.newPostContainer[_ngcontent-%COMP%], .postContainer[_ngcontent-%COMP%]{background:rgba(30,36,55,.788235294117647);margin-left:5vw;border-radius:10px;padding:40px;opacity:.9;font-family:Ubuntu;font-size:22px;color:#4680e9;margin-right:5vw;text-align:right;margin-bottom:5vh;border:1px solid rgba(255,0,0,.25882352941176473);display:block}.postContainer[_ngcontent-%COMP%]{text-align:left;border:1px solid rgba(45,99,236,.6509803921568628);border-radius:0;margin-top:-56px}.postContainer.level-0[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:0}.postOuterWrapper[_ngcontent-%COMP%]:last-child .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px;margin-top:-56px}.postContainer.reply[_ngcontent-%COMP%]{border-left:8px solid;border-right:8px solid;border-top:1px solid;position:relative;margin:-17px 6vw 0;top:22px}.postContainer.singleLevel[_ngcontent-%COMP%]{margin-top:40px!important;margin-bottom:20px;border-radius:10px!important}.postContainer.singleLevel.replyPost[_ngcontent-%COMP%]{margin-top:0!important;border-radius:10px!important}.replyLoop[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-radius:0;border-bottom-left-radius:10px;border-bottom-right-radius:10px}.replyLoop[_ngcontent-%COMP%]:first-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-top-left-radius:10px;border-top-right-radius:10px;margin-top:30px}.replyLoop[_ngcontent-%COMP%]:last-child > div[_ngcontent-%COMP%] > .postContainer[_ngcontent-%COMP%]{border-bottom-left-radius:10px;border-bottom-right-radius:10px}.combinedTimeline[_ngcontent-%COMP%]:nth-child(2){margin-top:120px}.repliesHeader[_ngcontent-%COMP%]{margin:20px;text-align:center}.repliesIcon[_ngcontent-%COMP%]{color:#7d9dc3;font-size:26px;margin:40px 20px 20px}.syncingButton.false[_ngcontent-%COMP%]{margin-top:0}.replyOuterWrapper[_ngcontent-%COMP%]:last-child{margin-bottom:120px}.postViewer[_ngcontent-%COMP%]{position:absolute;left:0;top:20px;right:0;bottom:77px;overflow:hidden;padding-top:22px;overflow-y:auto}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:rgba(78,132,229,.5607843137254902)}.postViewer[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}"],changeDetection:0}),pe)}]}],be=((ue=function t(){i(this,t)}).\u0275mod=l.Qb({type:ue}),ue.\u0275inj=l.Pb({factory:function(t){return new(t||ue)},imports:[[c.g.forChild(he)],c.g]}),ue),fe=o("UXJo"),me=o("kmnG"),ve=o("5RNC"),xe=o("Wp6s"),Ce=o("d3UM"),Pe=o("bSwM"),Oe=o("STbY"),Me=o("8yBR"),ye=o("YUcS"),ke=o("6NWb"),_e=o("5+WD"),we=o("f6nW"),Fe=o("FvrZ"),Se=o("tk/3"),je=o("NFeN"),Be=o("tR1z"),Ie=((ge=function t(){i(this,t)}).\u0275mod=l.Qb({type:ge,bootstrap:[y]}),ge.\u0275inj=l.Pb({factory:function(t){return new(t||ge)},providers:[p.l],imports:[[p.C,we.p,Fe.d,p.x,fe.b,Se.b,xe.a,Ce.b,g.b,Pe.a,Oe.c,u.c,be,ke.a,p.J,p.v,p.h,p.I,Be.a,p.q,p.n,S.f,p.j,p.k.forRoot(),p.g,Me.d,_e.c,g.b,Pe.a,B.b,me.d,j.b,ve.a,ye.a,je.b,z.a,I.b,R.b,p.A],we.p,me.d,Ce.b,Me.d,Oe.c]}),ge)},ZREu:function(t){t.exports=JSON.parse('{"dev":false}')},zVjI:function(n,o,r){"use strict";(function(n){r.d(o,"a",(function(){return nt}));var c=r("n2fA"),s=r("FQBZ"),l=r("ZREu"),p=r("2Vo4"),d=r("0EQZ"),u=r("FvrZ"),g=r("8yBR"),h=r("STbY"),b=r("fXoL"),f=r("tyNb"),m=r("Witw"),v=r("aceb"),x=r("gvxT"),C=r("kmnG"),P=r("qFsG"),O=r("ofXK"),M=r("d3UM"),y=r("3Pt+"),k=r("bTqV"),_=r("FKr1"),w=r("IyRd"),F=r("znSr"),S=r("NFeN"),j=["emptyItem"],B=["qrPop"],I=["createPop"],R=["newFavoriteFolder"];function z(t,e){if(1&t&&(b.Yb(0,"mat-option",24),b.Ic(1),b.Xb()),2&t){var n=e.$implicit;b.pc("value",n.id),b.Fb(1),b.Kc(" ",n.data.name," ")}}function T(t,e){if(1&t){var n=b.Zb();b.Yb(0,"nb-card"),b.Yb(1,"nb-card-header"),b.Ic(2,"Create Channel"),b.Xb(),b.Yb(3,"nb-card-body",16),b.Yb(4,"div",17),b.Ic(5," Folder: "),b.Yb(6,"mat-select",18),b.fc("valueChange",(function(t){return b.xc(n),b.jc().newChannelFolder=t}))("selectionChange",(function(t){return b.xc(n),b.jc().newChannelFolderChanged(t.value)})),b.Gc(7,z,2,2,"mat-option",19),b.Xb(),b.Xb(),b.Yb(8,"div",20),b.Yb(9,"input",21),b.fc("ngModelChange",(function(t){return b.xc(n),b.jc().newChannelName=t})),b.Xb(),b.Xb(),b.Xb(),b.Yb(10,"nb-card-footer"),b.Yb(11,"button",22),b.fc("click",(function(){b.xc(n);var t=b.jc();return t.createNewChannel(t.newChannelName)})),b.Ic(12,"Create"),b.Xb(),b.Yb(13,"button",23),b.fc("click",(function(){return b.xc(n),b.jc().closePopup()})),b.Ic(14,"Cancel"),b.Xb(),b.Xb(),b.Xb()}if(2&t){var o=b.jc();b.Fb(6),b.pc("value",o.newChannelFolder),b.Fb(1),b.pc("ngForOf",o.channelFolderListArray),b.Fb(2),b.pc("ngModel",o.newChannelName)}}function q(t,e){if(1&t){var n=b.Zb();b.Yb(0,"nb-card"),b.Yb(1,"nb-card-header"),b.Ic(2,"Scan QR"),b.Xb(),b.Yb(3,"nb-card-body",16),b.Yb(4,"div",25),b.Yb(5,"zxing-scanner",26),b.fc("deviceChange",(function(t){return b.xc(n),b.jc().currentDevice=t}))("scanSuccess",(function(t){return b.xc(n),b.jc().qrSuccessHandler(t)}))("permissionResponse",(function(t){return b.xc(n),b.jc().onHasPermission(t)}))("camerasFound",(function(t){return b.xc(n),b.jc().onCamerasFound(t)}))("torchCompatible",(function(t){return b.xc(n),b.jc().onTorchCompatible(t)})),b.Xb(),b.Xb(),b.Xb(),b.Yb(6,"nb-card-footer"),b.Yb(7,"button",23),b.fc("click",(function(){return b.xc(n),b.jc().closeQR()})),b.Ic(8,"Cancel"),b.Xb(),b.Xb(),b.Xb()}if(2&t){var o=b.jc();b.Fb(5),b.pc("torch",o.torchEnabled)("device",o.currentDevice)("formats",o.formatsEnabled)("tryHarder",o.tryHarder)}}function N(t,e){if(1&t&&(b.Yb(0,"mat-option",24),b.Ic(1),b.Xb()),2&t){var n=e.$implicit;b.pc("value",n.id),b.Fb(1),b.Kc(" ",n.data.name," ")}}function Y(t,e){if(1&t){var n=b.Zb();b.Yb(0,"nb-card"),b.Yb(1,"nb-card-header"),b.Ic(2,"Join Channel"),b.Xb(),b.Yb(3,"nb-card-body",16),b.Yb(4,"div",17),b.Ic(5," Import Folder Structure: "),b.Yb(6,"mat-form-field",27),b.Yb(7,"mat-select",28),b.fc("valueChange",(function(t){return b.xc(n),b.jc().importFolderStructure=t}))("selectionChange",(function(t){return b.xc(n),b.jc().newInviteImportFoldersChanged(t.value)})),b.Yb(8,"mat-option",24),b.Ic(9," On "),b.Xb(),b.Yb(10,"mat-option",24),b.Ic(11," Off "),b.Xb(),b.Xb(),b.Xb(),b.Xb(),b.Yb(12,"div",17),b.Ic(13," Place Into Folder: "),b.Yb(14,"mat-select",18),b.fc("valueChange",(function(t){return b.xc(n),b.jc().newChannelFolder=t}))("selectionChange",(function(t){return b.xc(n),b.jc().newChannelFolderChanged(t.value)})),b.Gc(15,N,2,2,"mat-option",19),b.Xb(),b.Xb(),b.Yb(16,"div",20),b.Yb(17,"input",29),b.fc("ngModelChange",(function(t){return b.xc(n),b.jc().inviteCodeHex=t})),b.Xb(),b.Yb(18,"nb-icon",30),b.fc("click",(function(){return b.xc(n),b.jc().scanQR()})),b.Xb(),b.Xb(),b.Xb(),b.Yb(19,"nb-card-footer"),b.Yb(20,"button",22),b.fc("click",(function(){b.xc(n);var t=b.jc();return t.importNewChannel(t.inviteCode)})),b.Ic(21,"Join"),b.Xb(),b.Yb(22,"button",23),b.fc("click",(function(){return b.xc(n),b.jc().closePopup()})),b.Ic(23,"Cancel"),b.Xb(),b.Xb(),b.Xb()}if(2&t){var o=b.jc();b.Fb(7),b.pc("value",o.importFolderStructure),b.Fb(1),b.pc("value",1),b.Fb(2),b.pc("value",0),b.Fb(4),b.pc("value",o.newChannelFolder),b.Fb(1),b.pc("ngForOf",o.channelFolderListArray),b.Fb(2),b.pc("ngModel",o.inviteCodeHex)}}function X(t,e){if(1&t&&(b.Yb(0,"mat-option",24),b.Ic(1),b.Xb()),2&t){var n=e.$implicit;b.pc("value",n.id),b.Fb(1),b.Kc(" ",n.data.name," ")}}function A(t,e){if(1&t){var n=b.Zb();b.Yb(0,"nb-card"),b.Yb(1,"nb-card-header"),b.Ic(2,"New Favorite Folder"),b.Xb(),b.Yb(3,"nb-card-body",16),b.Yb(4,"div",17),b.Ic(5," Folder: "),b.Yb(6,"mat-select",18),b.fc("valueChange",(function(t){return b.xc(n),b.jc().newFavoriteFolderId=t}))("selectionChange",(function(t){return b.xc(n),b.jc().newFavoriteFolderChanged(t.value)})),b.Gc(7,X,2,2,"mat-option",19),b.Xb(),b.Xb(),b.Yb(8,"div",20),b.Yb(9,"input",31),b.fc("ngModelChange",(function(t){return b.xc(n),b.jc().newFavoriteFolderName=t})),b.Xb(),b.Xb(),b.Xb(),b.Yb(10,"nb-card-footer"),b.Yb(11,"button",22),b.fc("click",(function(){b.xc(n);var t=b.jc();return t.createNewFavoriteFolder(t.newFavoriteFolderName)})),b.Ic(12,"Create"),b.Xb(),b.Yb(13,"button",23),b.fc("click",(function(){return b.xc(n),b.jc().closePopup()})),b.Ic(14,"Cancel"),b.Xb(),b.Xb(),b.Xb()}if(2&t){var o=b.jc();b.Fb(6),b.pc("value",o.newFavoriteFolderId),b.Fb(1),b.pc("ngForOf",o.favoriteFolderListArray),b.Fb(2),b.pc("ngModel",o.newFavoriteFolderName)}}function L(t,e){if(1&t){var n=b.Zb();b.Yb(0,"div",36),b.fc("click",(function(){b.xc(n);var t=b.jc().$implicit;return b.jc().goToProfile(t.pubKey)})),b.Ic(1),b.Xb()}if(2&t){var o=b.jc().$implicit,i=b.jc();b.Fb(1),b.Kc(" ",i.getAliasFromDirectChannel(o.channel),"")}}function D(t,e){if(1&t){var n=b.Zb();b.Yb(0,"div",36),b.fc("click",(function(){b.xc(n);var t=b.jc().$implicit;return b.jc().goToProfile(t.pubKey)})),b.Ic(1," Unknown"),b.Xb()}}function E(t,e){if(1&t){var n=b.Zb();b.Yb(0,"div",32),b.Gc(1,L,2,1,"div",33),b.Gc(2,D,2,0,"div",33),b.Yb(3,"nb-icon",34),b.fc("click",(function(){b.xc(n);var t=e.$implicit;return b.jc().rejectRequest(t.pubKey)})),b.Xb(),b.Yb(4,"nb-icon",35),b.fc("click",(function(){b.xc(n);var t=e.$implicit;return b.jc().importNewChannel(t.invite)})),b.Xb(),b.Xb()}if(2&t){var o=e.$implicit,i=b.jc();b.Fb(1),b.pc("ngIf",i.getAliasFromDirectChannel(o.channel).indexOf("qprivatedch")<0),b.Fb(1),b.pc("ngIf",i.getAliasFromDirectChannel(o.channel).indexOf("qprivatedch")>-1)}}var K=function(t){return[t]},V=function(){return["active-channel"]},G=function(t){return{"drag-start":t}};function H(t,e){if(1&t){var n=b.Zb();b.Yb(0,"div",40),b.fc("click",(function(){b.xc(n);var t=b.jc().$implicit;return b.jc().goToProfileByChannel(t.item)})),b.Tb(1,"nb-icon",41),b.Yb(2,"span",42),b.fc("dragstart",(function(t){b.xc(n);var e=b.jc().$implicit;return b.jc().handleDragStart(t,e)})),b.Yb(3,"span",43),b.Ic(4),b.Xb(),b.Xb(),b.Xb()}if(2&t){var o=b.jc().$implicit,i=b.jc();b.Ib("treeNodeContainerSingle ",o.item,""),b.pc("routerLink",b.sc(7,K,"/social/profile/"+i.pk[o.item]))("routerLinkActive",b.rc(9,V)),b.Fb(3),b.pc("ngClass",b.sc(10,G,i.dragNode===o)),b.Fb(1),b.Kc(" ",i.getAliasFromDirectChannel2(o.item)," ")}}function W(t,e){if(1&t){var n=b.Zb();b.Yb(0,"div",44),b.fc("click",(function(){b.xc(n);var t=b.jc().$implicit;return b.jc().goToChannel(t.item)})),b.Tb(1,"nb-icon",45),b.Yb(2,"span",42),b.fc("dragstart",(function(t){b.xc(n);var e=b.jc().$implicit;return b.jc().handleDragStart(t,e)})),b.Yb(3,"span",46),b.Ic(4," Unknown "),b.Xb(),b.Xb(),b.Xb()}if(2&t){var o=b.jc().$implicit,i=b.jc();b.Ib("treeNodeContainerSingle ",o.item,""),b.Fb(3),b.pc("ngClass",b.sc(4,G,i.dragNode===o))}}function Z(t,e){if(1&t){var n=b.Zb();b.Yb(0,"mat-tree-node",37),b.fc("dragover",(function(t){b.xc(n);var o=e.$implicit;return b.jc().handleDragOver(t,o)}))("dragend",(function(t){return b.xc(n),b.jc().handleDragEnd(t)}))("drop",(function(t){b.xc(n);var o=e.$implicit;return b.jc().handleDrop(t,o)})),b.Gc(1,H,5,12,"div",38),b.Gc(2,W,5,6,"div",39),b.Xb()}if(2&t){var o=e.$implicit,i=b.jc();b.pc("ngClass",i.getStyle(o)),b.Fb(1),b.pc("ngIf",i.getAliasFromDirectChannel2(o.item).indexOf("qprivatedch")<0),b.Fb(1),b.pc("ngIf",i.getAliasFromDirectChannel2(o.item).indexOf("qprivatedch")>-1)}}function U(t,e){if(1&t){var n=b.Zb();b.Yb(0,"mat-tree-node",47),b.fc("dragover",(function(t){b.xc(n);var o=e.$implicit;return b.jc().handleDragOver(t,o)}))("dragend",(function(t){b.xc(n);var o=e.$implicit;return b.jc().handleDragEnd(t,o)}))("drop",(function(t){b.xc(n);var o=e.$implicit;return b.jc().handleDrop(t,o)})),b.Yb(1,"div",48),b.fc("contextmenu",(function(t){b.xc(n);var o=e.$implicit;return b.jc().onContextMenu(t,o.item)})),b.Yb(2,"button",49),b.Yb(3,"mat-icon",50),b.Ic(4),b.Xb(),b.Xb(),b.Tb(5,"nb-icon",51),b.Yb(6,"span",42),b.fc("dragstart",(function(t){b.xc(n);var o=e.$implicit;return b.jc().handleDragStart(t,o)})),b.Yb(7,"span",52),b.Ic(8),b.Xb(),b.Xb(),b.Xb(),b.Xb()}if(2&t){var o=e.$implicit,i=b.jc();b.pc("ngClass",i.getStyle(o)),b.Fb(2),b.Gb("aria-label","toggle "+o.item),b.Fb(2),b.Kc(" ",i.treeControl.isExpanded(o)?"expand_more":"chevron_right"," "),b.Fb(3),b.pc("ngClass",b.sc(5,G,i.dragNode===o)),b.Fb(1),b.Kc(" ",i.getFavoriteFolderNameFromId(o.item)," ")}}function $(t,e){if(1&t){var n=b.Zb();b.Yb(0,"button",53),b.fc("click",(function(){b.xc(n);var t=e.item;return b.jc().deleteFolder(t)})),b.Ic(1,"Delete"),b.Xb(),b.Yb(2,"button",53),b.fc("click",(function(){b.xc(n);var t=e.item;return b.jc().onContextMenuAction2(t)})),b.Ic(3,"Rename"),b.Xb()}}var Q=function t(){i(this,t)},J=function t(){i(this,t)},tt={},et=function(){var t=function(){function t(){i(this,t),this.dataChange=new p.a([]),this.initialize()}return a(t,[{key:"initialize",value:function(){this.buildFileTree(tt,0)}},{key:"buildFileTree",value:function(t,e){var n=this;return Object.keys(t).reduce((function(o,i){var r=t[i],a=new Q;return a.item=i,null!=r&&("object"==typeof r?a.children=n.buildFileTree(r,e+1):a.item=r),o.concat(a)}),[])}},{key:"insertItem",value:function(t,e){t.children||(t.children=[]);var n={item:e};return t.children.push(n),this.dataChange.next(this.data),n}},{key:"getParentFromNodes",value:function(t){for(var e=0;e0)for(var n=0;n0){var i=this.getParent(o,e);if(null!=i)return i}}return null}},{key:"updateItem",value:function(t,e){t.item=e,this.dataChange.next(this.data)}},{key:"deleteItem",value:function(t){this.deleteNode(this.data,t),this.dataChange.next(this.data)}},{key:"copyPasteItem",value:function(t,e){var n=this,o=this.insertItem(e,t.item);return t.children&&t.children.forEach((function(t){n.copyPasteItem(t,o)})),o}},{key:"deleteNode",value:function(t,e){var n=this,o=t.indexOf(e,0);o>-1?t.splice(o,1):t.forEach((function(t){t.children&&t.children.length>0&&n.deleteNode(t.children,e)}))}},{key:"filter",value:function(t){var e;e=t&&t.length>0?{Filter:{emptyFolder:{}},Function:{emptyFolder:{}},Missing:{emptyFolder:{}}}:tt;var n=this.buildFileTree(e,0);this.dataChange.next(n)}},{key:"setQOS",value:function(t){this.q=t}},{key:"data",get:function(){return this.dataChange.value}}]),t}();return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=b.Ob({token:t,factory:t.\u0275fac}),t}(),nt=function(){var o=function(){function o(t,e,n,r,a,c,h,b){var f=this;i(this,o),this.router=t,this.ngZone=e,this.cd=n,this.database=r,this.ui=a,this.dialog=c,this.nbMenuService=h,this.q=b,this.contextMenuPosition={x:"0px",y:"0px"},this.flatNodeMap=new Map,this.nestedNodeMap=new Map,this.selectedParent=null,this.newItemName="",this.checklistSelection=new d.c(!0),this.dragNodeExpandOverWaitTimeMs=300,this.getLevel=function(t){return t.level},this.isExpandable=function(t){return t.expandable},this.getChildren=function(t){return t.children},this.hasChild=function(t,e){return e.expandable},this.hasNoContent=function(t,e){return""===e.item},this.transformer=function(t,e){var n=f.nestedNodeMap.get(t),o=n&&n.item===t.item?n:new J;return o.item=t.item,o.level=e,o.expandable=t.children&&t.children.length>0,f.flatNodeMap.set(o,t),f.nestedNodeMap.set(t,o),o},this.dragNodeExpandOverAreaReal=0,this.channelNameList=[],this.incomingFavoriteRequestList=[],this.restoreFlag=0,this.sENwriteBlock=0,this.channelIsSelected="active-channel",this.DEVMODE=l.dev,this.customColumn="name",this.items=[{title:"New Favorite Folder"},{title:"Add Favorite"}],this.currentDevice=null,this.formatsEnabled=[s.BarcodeFormat.QR_CODE],this.torchEnabled=!1,this.torchAvailable$=new p.a(!1),this.tryHarder=!1,this.favoriteFolderListArray=[],this.popupRef=[],this.flatChannelNameList={},this.flatChannelNameList2={},this.flatChannelNeeded=[],this.flatChannelNeeded2=[],this.pubKeyStore={},this.pk={},this.itemClickSub=this.nbMenuService.onItemClick().subscribe((function(t){"New Favorite Folder"==String(t.item.title)&&(f.getFavoriteFolderList(),f.open(f.newFavoriteFolderPop))})),this.database.setQOS(this.q),this.treeFlattener=new g.c(this.transformer,this.getLevel,this.isExpandable,this.getChildren),this.treeControl=new u.j(this.getLevel,this.isExpandable),this.dataSource=new g.b(this.treeControl,this.treeFlattener)}return a(o,[{key:"onContextMenu",value:function(t,e){t.preventDefault(),this.contextMenuPosition.x=t.clientX+"px",this.contextMenuPosition.y=t.clientY-40+"px",this.contextMenu.menuData={item:e},this.contextMenu.openMenu()}},{key:"onContextMenuAction1",value:function(t){}},{key:"onContextMenuAction2",value:function(t){}},{key:"descendantsAllSelected",value:function(t){var e=this;return this.treeControl.getDescendants(t).every((function(t){return e.checklistSelection.isSelected(t)}))}},{key:"descendantsPartiallySelected",value:function(t){var e=this;return this.treeControl.getDescendants(t).some((function(t){return e.checklistSelection.isSelected(t)}))&&!this.descendantsAllSelected(t)}},{key:"todoItemSelectionToggle",value:function(e){var n,o;this.checklistSelection.toggle(e);var i=this.treeControl.getDescendants(e);this.checklistSelection.isSelected(e)?(n=this.checklistSelection).select.apply(n,t(i)):(o=this.checklistSelection).deselect.apply(o,t(i))}},{key:"saveNode",value:function(t,e){var n=this.flatNodeMap.get(t);this.database.updateItem(n,e)}},{key:"handleDragStart",value:function(t,e){this.dragNode=e,this.treeControl.collapse(e)}},{key:"handleDragOver",value:function(t,e){if(t.preventDefault(),-1===e.item.indexOf("-----")){this.dragNodeExpandOverNode&&e===this.dragNodeExpandOverNode?Date.now()-this.dragNodeExpandOverTime>this.dragNodeExpandOverWaitTimeMs&&(this.treeControl.isExpanded(e)||this.treeControl.expand(e)):(this.dragNodeExpandOverNode=e,this.dragNodeExpandOverTime=(new Date).getTime());var n=t.offsetY/t.target.clientHeight;0<=n&&n<=.25?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=1):1>=n&&n>=.75?(this.dragNodeExpandOverArea=0,this.dragNodeExpandOverAreaReal=-1):(this.dragNodeExpandOverAreaReal=0,this.dragNodeExpandOverArea=0)}}},{key:"handleDrop",value:function(t,e){var n;e!==this.dragNode&&e.item.indexOf("-----")<0&&(1===this.dragNodeExpandOverAreaReal||-1===this.dragNodeExpandOverAreaReal||(n=this.flatNodeMap.get(this.dragNode),this.database.deleteItem(n),n=this.database.copyPasteItem(n,this.flatNodeMap.get(e)),this.saveExpandedNodes(),this.buildFavoriteFolderListFromTreeNodeData()));this.handleDragEnd(t)}},{key:"handleDragEnd",value:function(t){this.dragNode=null,this.dragNodeExpandOverNode=null,this.dragNodeExpandOverTime=0,this.dragNodeExpandOverArea=NaN,t.preventDefault()}},{key:"getStyle",value:function(t){if("emptyFolder"==t.item)return"display-none";if(this.dragNode===t)return"drag-start";if(this.dragNodeExpandOverNode===t)switch(this.dragNodeExpandOverArea){case 1:return"drop-above";case-1:return"drop-below";default:return"drop-center"}}},{key:"closeQR",value:function(){var t=this;setTimeout((function(){t.closePopup()}),500)}},{key:"scanQR",value:function(){this.open(this.qrPop)}},{key:"deleteItem",value:function(t){this.database.deleteItem(this.flatNodeMap.get(t))}},{key:"filterChanged",value:function(t){this.database.filter(t),t?this.treeControl.expandAll():this.treeControl.collapseAll()}},{key:"getFavoriteFolderNameFromId",value:function(t){return"emptyFolder"==t?t:this.q.os.bee.config.getFavoriteFolderNameFromId(t)}},{key:"isFolder",value:function(t){return!(t.indexOf("-----")>-1)}},{key:"buildFavoritelFolderListFromTreeNodeData",value:function(){console.log("!!!!!"),console.log(this.database.data);var t=this.database.data;t=t.filter((function(t){return"emptyFolder"!=t.item}));for(var e=[],n=0;n-1&&(o="channel"),console.log(o);var i=[];void 0!==t[n].children&&t[n].children.length>0&&(i=this.getFavoriteFolderListTreeChildrenRec(t[n].children)),e.push({id:t[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(t[n].item),kind:o,items:0},children:i})}return this.q.os.bee.config.setFavoriteFolderList(e),!0}},{key:"ngOnDestroy",value:function(){console.log("ChannelList: ngOnDestroy..."),clearInterval(this.updateNamesInterval),this.itemClickSub.unsubscribe(),this.dataChangeSub.unsubscribe(),this.favoriteFolderListSub.unsubscribe()}},{key:"ngOnInit",value:function(){var t=this;this.updateNamesInterval=setInterval((function(){t.saveExpandedNodes(),t.loadChannels(t.favoriteFolderList)}),1e4),this.favoriteFolderList=this.q.os.bee.config.getFavoriteFolderList(),this.dataChangeSub=this.database.dataChange.subscribe((function(e){t.dataSource.data=[],t.dataSource.data=e})),this.favoriteFolderListSub=this.q.os.bee.config.favoriteFolderListSub.subscribe((function(e){t.loadChannels(e)})),this.loadChannels(this.favoriteFolderList)}},{key:"loadChannels",value:function(t){var e=this;this.incomingFavoriteRequestList=this.q.os.ocean.dolphin.getIncomingFavoriteRequests().filter((function(t){return!e.q.os.utilities.inArray(e.q.os.ocean.dolphin.getChannelNameList(),t.channel)})),tt=this.q.os.bee.config.getFavoriteFolderIDList(),this.database.filter(""),t.length>0&&this.q.os.bee.config.getExpandedFavoriteFolderItems().length>0&&(console.log("got a saved state!"),this.expandedNodes=this.q.os.bee.config.getExpandedFavoriteFolderItems(),this.restoreExpandedNodes()),this.updateNames()}},{key:"saveExpandedNodes",value:function(){this.sENwriteBlock=1,this.expandedNodes=[];for(var t=0;t-1&&(o="channel"),console.log(o);var i=[];void 0!==t[n].children&&t[n].children.length>0&&(i=this.getFavoriteFolderListTreeChildrenRec(t[n].children)),e.push({id:t[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(t[n].item),kind:o,items:0},children:i})}return this.q.os.bee.config.setFavoriteFolderList(e),!0}},{key:"selectChannel",value:function(t){console.log("ChannelList: Trying to select: >>"+t.trim()),this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),t.trim())&&(console.log("ChannelList: Selecting: ",t.trim()),this.q.os.channel.select(t.trim()),this.q.os.ui.getSideBarFixed().left&&this.q.os.ui.hideSideBar("left"),this.cd.detectChanges())}},{key:"getSelected",value:function(){return JSON.stringify(this.selectedChannel)}},{key:"getFavoriteFolderListTreeChildrenRec",value:function(t){for(var e=[],n=0;n-1&&(o="channel");var i=[];void 0!==t[n].children&&t[n].children.length>0&&(i=this.getFavoriteFolderListTreeChildrenRec(t[n].children)),e.push({id:t[n].item,data:{name:this.q.os.bee.config.getFavoriteFolderNameFromId(t[n].item),kind:o,items:0},children:i})}return e}},{key:"restoreExpandedNodes",value:function(){var t=this;this.sENwriteBlock=1;for(var e=function(e){var n=t.expandedNodes[e];console.log(n),console.log(t.treeControl.dataNodes),t.treeControl.expand(t.treeControl.dataNodes.find((function(t){return t.item===n.item})))},n=0;n0&&(this.newFavoriteFolder=this.favoriteFolderListArray[0]),this.favoriteFolderList}},{key:"parseStructure",value:function(t){for(var e=0;e0&&void 0!==arguments[0]?arguments[0]:"NoInviteSelected";return Object(c.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var o,i,r,a,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.saveExpandedNodes(),this.ui.showSnack("Importing Channel...","Please Wait"),"NoInviteSelected"==t&&(t=this.inviteCodeHex),r=n.from(t,"hex").toString("utf8"),(a=r.split("/////")).length>0?(o=a[a.length-1].split(":")[0],i=a[a.length-1].split(":")[1],a.pop()):(o=r.split(":")[0],i=r.split(":")[1]),"object"!=typeof(c=this.newFavoriteFolder)&&void 0!==c&&null!=typeof c||(c=""),!this.q.os.utilities.inArray(this.q.os.ocean.dolphin.getChannelNameList(),o)){e.next=9;break}this.ui.showSnack("Channel Exists!","Oops",{duration:1e3}),e.next=15;break;case 9:return this.q.os.ocean.dolphin.removeIncomingFavoriteRequest(o.split("-----")[0].split("-")[1]),this.q.os.social.profile.addFavorite(o.split("-----")[0].split("-")[1]),console.log("ChannelFavorites: Adding Favorite: ",o.split("-----")[0].split("-")[1]),e.next=14,this.q.os.channel.import(o,a,"",i,0);case 14:this.createCompleteAndClose();case 15:case"end":return e.stop()}}),e,this)})))}},{key:"rejectRequest",value:function(t){this.q.os.ocean.dolphin.removeIncomingFavoriteRequest(t),this.saveExpandedNodes(),this.loadChannels(this.favoriteFolderList),this.q.os.commitNow()}},{key:"newInviteImportFoldersChanged",value:function(){}},{key:"goToProfile",value:function(t){var e=this;this.ngZone.run((function(){return e.router.navigate(["/social/profile/"+t])}))}},{key:"updateNames",value:function(){return Object(c.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,o,i,r,a,c,s,l,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=[],o=e(this.flatChannelNeeded),t.prev=2,o.s();case 4:if((i=o.n()).done){t.next=18;break}if(r=i.value,!(n.indexOf(r)<0)){t.next=16;break}return t.next=9,this.q.os.social.getAliasFromDirectChannel(r);case 9:return a=t.sent,console.log(a),n.push(r),this.flatChannelNameList[r]=a,t.next=15,this.q.os.social.getPubKeyFromDirectChannel(r);case 15:this.pk[r]=t.sent;case 16:t.next=4;break;case 18:t.next=23;break;case 20:t.prev=20,t.t0=t.catch(2),o.e(t.t0);case 23:return t.prev=23,o.f(),t.finish(23);case 26:c=e(this.flatChannelNeeded2),t.prev=27,c.s();case 29:if((s=c.n()).done){t.next=43;break}if(l=s.value,!(n.indexOf(l)<0)){t.next=41;break}return t.next=34,this.q.os.social.getAliasFromDirectChannel2(l);case 34:return p=t.sent,console.log(p),n.push(l),this.flatChannelNameList2[l]=p,t.next=40,this.q.os.social.getPubKeyFromDirectChannel(l);case 40:this.pk[l]=t.sent;case 41:t.next=29;break;case 43:t.next=48;break;case 45:t.prev=45,t.t1=t.catch(27),c.e(t.t1);case 48:return t.prev=48,c.f(),t.finish(48);case 51:this.cd.detectChanges();case 52:case"end":return t.stop()}}),t,this,[[2,20,23,26],[27,45,48,51]])})))}},{key:"getAliasFromDirectChannel",value:function(t){return this.flatChannelNeeded.push(t),void 0!==this.flatChannelNameList[t]?this.flatChannelNameList[t]:t}},{key:"getAliasFromDirectChannel2",value:function(t){return this.flatChannelNeeded2.push(t),void 0!==this.flatChannelNameList2[t]?this.flatChannelNameList2[t]:t}},{key:"getPubKeyFromDirectChannel",value:function(t){var e=this;return setTimeout((function(){return Object(c.a)(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.q.os.social.getPubKeyFromDirectChannel(t);case 2:this.pubKeyStore[t]=e.sent;case 3:case"end":return e.stop()}}),e,this)})))}),2e3),null!=this.pubKeyStore[t]?this.pubKeyStore[t]:"/"}},{key:"selectProfile",value:function(t){var e=this;this.ngZone.run((function(){return e.router.navigate(["/social/profile/"+t])}))}},{key:"goToChannel",value:function(t){var e=this;this.q.os.channel.select(t),this.ngZone.run((function(){return e.router.navigate(["/messages"])}))}},{key:"goToProfileByChannel",value:function(t){return Object(c.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var n,o=this;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.q.os.social.getPubKeyFromDirectChannel(t);case 2:n=e.sent,this.pk[t]=n,this.ngZone.run((function(){return o.router.navigate(["/social/profile/"+n])}));case 4:case"end":return e.stop()}}),e,this)})))}}]),o}();return o.\u0275fac=function(t){return new(t||o)(b.Sb(f.c),b.Sb(b.C),b.Sb(b.h),b.Sb(et),b.Sb(m.a),b.Sb(v.l),b.Sb(v.y),b.Sb(x.a))},o.\u0275cmp=b.Mb({type:o,selectors:[["social-profile-favorites"]],viewQuery:function(t,e){var n;1&t&&(b.Mc(h.d,!0),b.Mc(j,!0),b.Mc(B,!0),b.Mc(I,!0),b.Mc(R,!0)),2&t&&(b.uc(n=b.gc())&&(e.contextMenu=n.first),b.uc(n=b.gc())&&(e.emptyItem=n.first),b.uc(n=b.gc())&&(e.qrPop=n.first),b.uc(n=b.gc())&&(e.createPop=n.first),b.uc(n=b.gc())&&(e.newFavoriteFolderPop=n.first))},features:[b.Eb([et])],decls:22,vars:10,consts:[["createPop",""],["qrPop",""],["import",""],["newFavoriteFolder",""],[2,"width","169px","color","#598adb"],["matInput","","placeholder","Search",3,"input"],["outline","","size","small",1,"addChannelButton",3,"nbContextMenu"],["icon","plus-outline",2,"font-size","18px","width","auto"],["class","favoriteRequest",4,"ngFor","ngForOf"],[3,"dataSource","treeControl"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop",4,"matTreeNodeDef"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop",4,"matTreeNodeDef","matTreeNodeDefWhen"],[2,"visibility","hidden","position","fixed",3,"matMenuTriggerFor"],["contextMenu","matMenu"],["matMenuContent",""],["emptyItem",""],[2,"color","goldenrod"],[2,"padding","20px"],[2,"width","80%","margin-left","10px",3,"value","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[2,"padding","20px","padding-bottom","34px","padding-top","0px","color","white !important"],["matInput","","placeholder","Channel Name","value","","name","newChannelName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],["mat-stroked-button","","color","primary",2,"margin-right","20px","border","1px solid #ffffff24",3,"click"],["mat-stroked-button","","color","primary",2,"border","1px solid #ffffff24",3,"click"],[3,"value"],[1,"qrScanWrapper"],[3,"torch","device","formats","tryHarder","deviceChange","scanSuccess","permissionResponse","camerasFound","torchCompatible"],[2,"width","19%"],[3,"value","valueChange","selectionChange"],["matInput","","placeholder","Invite Code","value","","name","inviteCodeHex",2,"color","black","background-color","goldenrod","padding","7px","margin-right","5%","width","80%",3,"ngModel","ngModelChange"],["icon","camera-outline",1,"deleteCode","scanQRCode",3,"click"],["matInput","","placeholder","Folder Name","value","","name","newFavoriteFolderName",2,"color","black","background-color","goldenrod","padding","7px",3,"ngModel","ngModelChange"],[1,"favoriteRequest"],["class","favoriteRequestText",3,"click",4,"ngIf"],["icon","close-square-outline",2,"color","#ff0000bd","float","right","cursor","pointer",3,"click"],["icon","checkmark-square-2-outline",2,"color","#16eb16","float","right","cursor","pointer",3,"click"],[1,"favoriteRequestText",3,"click"],["matTreeNodeToggle","","matTreeNodePadding","",3,"ngClass","dragover","dragend","drop"],[3,"class","routerLink","routerLinkActive","click",4,"ngIf"],[3,"class","click",4,"ngIf"],[3,"routerLink","routerLinkActive","click"],["icon","shake-outline"],["draggable","true",1,"checklist-leaf-node",3,"dragstart"],[1,"nodeContent","station",2,"width","100%",3,"ngClass"],[3,"click"],["icon","question-mark-outline"],[1,"nodeContent","unknown",2,"width","100%",3,"ngClass"],["matTreeNodePadding","",3,"ngClass","dragover","dragend","drop"],[1,"treeNodeContainerFolder",3,"contextmenu"],["mat-icon-button","","matTreeNodeToggle",""],[1,"mat-icon-rtl-mirror"],["icon","folder-outline"],[1,"nodeContent",3,"ngClass"],["mat-menu-item","",3,"click"]],template:function(t,e){if(1&t&&(b.Gc(0,T,15,3,"ng-template",null,0,b.Hc),b.Gc(2,q,9,4,"ng-template",null,1,b.Hc),b.Gc(4,Y,24,6,"ng-template",null,2,b.Hc),b.Gc(6,A,15,3,"ng-template",null,3,b.Hc),b.Yb(8,"mat-form-field",4),b.Yb(9,"input",5),b.fc("input",(function(t){return e.filterChanged(t.target.value)})),b.Xb(),b.Xb(),b.Yb(10,"button",6),b.Tb(11,"nb-icon",7),b.Xb(),b.Gc(12,E,5,2,"div",8),b.Yb(13,"mat-tree",9),b.Gc(14,Z,3,3,"mat-tree-node",10),b.Gc(15,U,9,7,"mat-tree-node",11),b.Xb(),b.Tb(16,"div",12),b.Yb(17,"mat-menu",null,13),b.Gc(19,$,4,0,"ng-template",14),b.Xb(),b.Tb(20,"span",null,15)),2&t){var n=b.vc(18);b.Fb(10),b.pc("nbContextMenu",e.items),b.Fb(2),b.pc("ngForOf",e.incomingFavoriteRequestList),b.Fb(1),b.pc("dataSource",e.dataSource)("treeControl",e.treeControl),b.Fb(2),b.pc("matTreeNodeDefWhen",e.hasChild),b.Fb(1),b.Dc("left",e.contextMenuPosition.x)("top",e.contextMenuPosition.y),b.pc("matMenuTriggerFor",n)}},directives:[C.b,P.a,v.i,v.o,O.l,g.a,g.f,h.d,h.e,h.a,v.d,v.f,v.c,M.a,y.b,y.j,y.m,v.e,k.a,_.g,w.a,O.m,g.e,g.h,g.g,O.k,F.a,f.d,f.e,S.a,h.b],styles:["button[nbTreeGridRowToggle][_ngcontent-%COMP%]{background:transparent;border:none;padding:0}.search-label[_ngcontent-%COMP%]{display:block}.search-input[_ngcontent-%COMP%]{background:transparent;color:#fff;padding:5px;font-size:12px;width:100%;margin-top:1rem;margin-bottom:1rem;width:78%;margin-left:1%}.addChannelButton[_ngcontent-%COMP%]{color:rgba(134,116,183,.7490196078431373);margin-left:5%;position:relative;top:1px;background-color:#45267d;border:1px solid;border-radius:5px;padding:4px;opacity:.7}.nb-column-name[_ngcontent-%COMP%]{width:80%}.nb-column-items[_ngcontent-%COMP%]{width:20%}.favoriteRequest[_ngcontent-%COMP%]{width:100%;overflow:hidden;white-space:nowrap;padding:10px;border-radius:5px;background:rgba(120,14,62,.6392156862745098);font-family:Ubuntu;font-size:14px;margin-bottom:5px}.favoriteRequestText[_ngcontent-%COMP%]{width:80%;cursor:pointer;overflow:hidden;width:66%;float:left;text-overflow:ellipsis;color:hsla(0,0%,100%,.8313725490196079)!important}.scanQRCode[_ngcontent-%COMP%]{font-size:37px;color:#315cdf;cursor:pointer}.scanQRCode[_ngcontent-%COMP%]:hover{color:#4a81e6}[_nghost-%COMP%] nb-layout-header[_ngcontent-%COMP%] nav{justify-content:flex-end}.mat-tree[_ngcontent-%COMP%], .mat-tree-node[_ngcontent-%COMP%]{background:transparent}.mat-tree-node[_ngcontent-%COMP%]{overflow:visible;cursor:move}.drop-above[_ngcontent-%COMP%]{border-top:10px solid #2196f3;margin-top:-10px}.drop-below[_ngcontent-%COMP%]{border-bottom:10px solid #2196f3;margin-bottom:-10px}.drop-center[_ngcontent-%COMP%]{background-color:#a9a9a9}.drag-start[_ngcontent-%COMP%]{background-color:#1565c0;color:#f0fff0}.treeNodeContainerFolder[_ngcontent-%COMP%]{background-color:rgba(131,119,230,.058823529411764705);border-radius:5px;padding:0 16px 0 0;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.treeNodeContainerSingle[_ngcontent-%COMP%]{background-color:rgba(69,39,128,.3686274509803922)}.mat-tree[_ngcontent-%COMP%]{width:227px;left:14px;top:190px;bottom:40px;position:fixed;overflow:scroll}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:rgba(78,132,229,.5607843137254902);outline:0}.mat-tree[_ngcontent-%COMP%]::-webkit-scrollbar-track{box-shadow:none!important}.emptyFolder[_ngcontent-%COMP%]{display:none}.mat-icon-button[_ngcontent-%COMP%] .mat-icon[_ngcontent-%COMP%], .mat-icon-button[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{line-height:20px}.qrScanWrapper[_ngcontent-%COMP%]{min-width:20px;max-height:80vh;max-width:37vw}.mat-tree[_ngcontent-%COMP%]{z-index:999;max-width:227px;left:-1px;padding-right:10px;position:relative;top:0;margin-bottom:40px;overflow:hidden!important;overflow-y:auto!important}.mat-tree-node[_ngcontent-%COMP%]{font-family:Ubuntu;color:#4982e8;letter-spacing:.02rem}.treeNodeContainerSingle[_ngcontent-%COMP%]{border-radius:5px;padding:6px 10px 6px 15px;margin:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:rgba(71,129,233,.9882352941176471)!important;font-size:16px;font-family:Ubuntu;cursor:pointer;background:#262246}.treeNodeContainerSingle[_ngcontent-%COMP%]:focus{outline:0;border:0}.nodeContent.station[_ngcontent-%COMP%], .nodeContent.unknown[_ngcontent-%COMP%]{position:relative;top:-1px}"]}),o}()}).call(this,r("tjlA").Buffer)}}])}(); \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/MaterialIcons-Regular.120b4c7bbd155bd0a04d.ttf b/dist_archive/ipfs/0.9.4/MaterialIcons-Regular.120b4c7bbd155bd0a04d.ttf new file mode 100644 index 0000000..e50801b Binary files /dev/null and b/dist_archive/ipfs/0.9.4/MaterialIcons-Regular.120b4c7bbd155bd0a04d.ttf differ diff --git a/dist_archive/ipfs/0.9.4/Roboto-Bold.4f39c5796e60c9d8e732.ttf b/dist_archive/ipfs/0.9.4/Roboto-Bold.4f39c5796e60c9d8e732.ttf new file mode 100644 index 0000000..d998cf5 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/Roboto-Bold.4f39c5796e60c9d8e732.ttf differ diff --git a/dist_archive/ipfs/0.9.4/Roboto-Regular.03523cf578d69fa92322.ttf b/dist_archive/ipfs/0.9.4/Roboto-Regular.03523cf578d69fa92322.ttf new file mode 100644 index 0000000..2b6392f Binary files /dev/null and b/dist_archive/ipfs/0.9.4/Roboto-Regular.03523cf578d69fa92322.ttf differ diff --git a/dist_archive/ipfs/0.9.4/RobotoMono-Regular.418a8f9f65ccad0918af.ttf b/dist_archive/ipfs/0.9.4/RobotoMono-Regular.418a8f9f65ccad0918af.ttf new file mode 100644 index 0000000..7c4ce36 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/RobotoMono-Regular.418a8f9f65ccad0918af.ttf differ diff --git a/dist_archive/ipfs/0.9.4/Ubuntu-Bold.50114233a7432c29c43d.ttf b/dist_archive/ipfs/0.9.4/Ubuntu-Bold.50114233a7432c29c43d.ttf new file mode 100644 index 0000000..4af149a Binary files /dev/null and b/dist_archive/ipfs/0.9.4/Ubuntu-Bold.50114233a7432c29c43d.ttf differ diff --git a/dist_archive/ipfs/0.9.4/Ubuntu-Medium.90c045b7547db9275807.ttf b/dist_archive/ipfs/0.9.4/Ubuntu-Medium.90c045b7547db9275807.ttf new file mode 100644 index 0000000..5296045 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/Ubuntu-Medium.90c045b7547db9275807.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/1280px-Git-logo.svg.png b/dist_archive/ipfs/0.9.4/assets/1280px-Git-logo.svg.png new file mode 100644 index 0000000..333c355 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/1280px-Git-logo.svg.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/defaultAvatar.png b/dist_archive/ipfs/0.9.4/assets/defaultAvatar.png new file mode 100644 index 0000000..481e103 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/defaultAvatar.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/defaultAvatar.png~ b/dist_archive/ipfs/0.9.4/assets/defaultAvatar.png~ new file mode 100644 index 0000000..e599254 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/defaultAvatar.png~ differ diff --git a/dist_archive/ipfs/0.9.4/assets/defaultAvatar2.png b/dist_archive/ipfs/0.9.4/assets/defaultAvatar2.png new file mode 100644 index 0000000..e599254 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/defaultAvatar2.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIcons-Regular.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIcons-Regular.ttf new file mode 100644 index 0000000..e50801b Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIcons-Regular.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsOutlined-Regular.otf b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsOutlined-Regular.otf new file mode 100644 index 0000000..d51fff9 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsOutlined-Regular.otf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsRound-Regular.otf b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsRound-Regular.otf new file mode 100644 index 0000000..b07e7e1 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsRound-Regular.otf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsSharp-Regular.otf b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsSharp-Regular.otf new file mode 100644 index 0000000..cf10ce0 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsSharp-Regular.otf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsTwoTone-Regular.otf b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsTwoTone-Regular.otf new file mode 100644 index 0000000..86078ed Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/material-icons/MaterialIconsTwoTone-Regular.otf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/Apache License.txt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/Apache License.txt new file mode 100644 index 0000000..989e2c5 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/Apache License.txt @@ -0,0 +1,201 @@ +Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-10-black/open-sans-10-black.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-10-black/open-sans-10-black.fnt new file mode 100644 index 0000000..1e4c5db --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-10-black/open-sans-10-black.fnt @@ -0,0 +1,160 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-10-black/open-sans-10-black.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-10-black/open-sans-10-black.png new file mode 100644 index 0000000..a459298 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-10-black/open-sans-10-black.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-12-black/open-sans-12-black.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-12-black/open-sans-12-black.fnt new file mode 100644 index 0000000..5372da2 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-12-black/open-sans-12-black.fnt @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-12-black/open-sans-12-black.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-12-black/open-sans-12-black.png new file mode 100644 index 0000000..b84a9d7 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-12-black/open-sans-12-black.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-black/open-sans-128-black.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-black/open-sans-128-black.fnt new file mode 100644 index 0000000..6175b9c --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-black/open-sans-128-black.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-black/open-sans-128-black.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-black/open-sans-128-black.png new file mode 100644 index 0000000..77cd5ed Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-black/open-sans-128-black.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-white/open-sans-128-white.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-white/open-sans-128-white.fnt new file mode 100644 index 0000000..9c89b44 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-white/open-sans-128-white.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-white/open-sans-128-white.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-white/open-sans-128-white.png new file mode 100644 index 0000000..461af9a Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-128-white/open-sans-128-white.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-14-black/open-sans-14-black.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-14-black/open-sans-14-black.fnt new file mode 100644 index 0000000..8df67a9 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-14-black/open-sans-14-black.fnt @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-14-black/open-sans-14-black.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-14-black/open-sans-14-black.png new file mode 100644 index 0000000..e66461f Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-14-black/open-sans-14-black.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-black/open-sans-16-black.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-black/open-sans-16-black.fnt new file mode 100644 index 0000000..602a3a4 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-black/open-sans-16-black.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-black/open-sans-16-black.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-black/open-sans-16-black.png new file mode 100644 index 0000000..4f7e287 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-black/open-sans-16-black.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-white/open-sans-16-white.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-white/open-sans-16-white.fnt new file mode 100644 index 0000000..c78ccdc --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-white/open-sans-16-white.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-white/open-sans-16-white.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-white/open-sans-16-white.png new file mode 100644 index 0000000..039206c Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-16-white/open-sans-16-white.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt new file mode 100644 index 0000000..3733597 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-black/open-sans-32-black.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-black/open-sans-32-black.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-black/open-sans-32-black.png new file mode 100644 index 0000000..a064a11 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-black/open-sans-32-black.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-white/open-sans-32-white.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-white/open-sans-32-white.fnt new file mode 100644 index 0000000..6b51c7c --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-white/open-sans-32-white.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-white/open-sans-32-white.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-white/open-sans-32-white.png new file mode 100644 index 0000000..4ecce3e Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-32-white/open-sans-32-white.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-black/open-sans-64-black.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-black/open-sans-64-black.fnt new file mode 100644 index 0000000..500c923 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-black/open-sans-64-black.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-black/open-sans-64-black.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-black/open-sans-64-black.png new file mode 100644 index 0000000..25fe95f Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-black/open-sans-64-black.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-white/open-sans-64-white.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-white/open-sans-64-white.fnt new file mode 100644 index 0000000..19a7245 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-white/open-sans-64-white.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-white/open-sans-64-white.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-white/open-sans-64-white.png new file mode 100644 index 0000000..1baf1f5 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-64-white/open-sans-64-white.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-black/open-sans-8-black.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-black/open-sans-8-black.fnt new file mode 100644 index 0000000..15b6be3 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-black/open-sans-8-black.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-black/open-sans-8-black.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-black/open-sans-8-black.png new file mode 100644 index 0000000..71a5551 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-black/open-sans-8-black.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-white/open-sans-8-white.fnt b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-white/open-sans-8-white.fnt new file mode 100644 index 0000000..3264cc4 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-white/open-sans-8-white.fnt @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-white/open-sans-8-white.png b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-white/open-sans-8-white.png new file mode 100644 index 0000000..ed1eb48 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/open-sans/open-sans-8-white/open-sans-8-white.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Bold.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Bold.ttf new file mode 100644 index 0000000..900fce6 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Bold.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-BoldItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-BoldItalic.ttf new file mode 100644 index 0000000..4bfe29a Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-BoldItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ExtraLight.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ExtraLight.ttf new file mode 100644 index 0000000..d535884 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ExtraLight.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ExtraLightItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ExtraLightItalic.ttf new file mode 100644 index 0000000..b28960a Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ExtraLightItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Italic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Italic.ttf new file mode 100644 index 0000000..4ee4dc4 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Italic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Light.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Light.ttf new file mode 100644 index 0000000..276af4c Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Light.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-LightItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-LightItalic.ttf new file mode 100644 index 0000000..a2801c2 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-LightItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Medium.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Medium.ttf new file mode 100644 index 0000000..8461be7 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Medium.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-MediumItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-MediumItalic.ttf new file mode 100644 index 0000000..a3bfaa1 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-MediumItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Regular.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Regular.ttf new file mode 100644 index 0000000..7c4ce36 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Regular.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-SemiBold.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-SemiBold.ttf new file mode 100644 index 0000000..15ee6c6 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-SemiBold.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-SemiBoldItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-SemiBoldItalic.ttf new file mode 100644 index 0000000..8e21497 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-SemiBoldItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Thin.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Thin.ttf new file mode 100644 index 0000000..ee8a3fd Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-Thin.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ThinItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ThinItalic.ttf new file mode 100644 index 0000000..40b01e4 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto-mono/RobotoMono-ThinItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Black.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Black.ttf new file mode 100644 index 0000000..2d45238 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Black.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-BlackItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-BlackItalic.ttf new file mode 100644 index 0000000..29a4359 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-BlackItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Bold.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Bold.ttf new file mode 100644 index 0000000..d998cf5 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Bold.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-BoldItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-BoldItalic.ttf new file mode 100644 index 0000000..b4e2210 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-BoldItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Italic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Italic.ttf new file mode 100644 index 0000000..5b390ff Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Italic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Light.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Light.ttf new file mode 100644 index 0000000..3526798 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Light.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-LightItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-LightItalic.ttf new file mode 100644 index 0000000..46e9bf7 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-LightItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Medium.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Medium.ttf new file mode 100644 index 0000000..f714a51 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Medium.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-MediumItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-MediumItalic.ttf new file mode 100644 index 0000000..5dc6a2d Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-MediumItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Regular.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Regular.ttf new file mode 100644 index 0000000..2b6392f Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Regular.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Thin.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Thin.ttf new file mode 100644 index 0000000..4e797cf Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-Thin.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-ThinItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-ThinItalic.ttf new file mode 100644 index 0000000..eea836f Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/roboto/Roboto-ThinItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Bold.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Bold.ttf new file mode 100644 index 0000000..4af149a Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Bold.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-BoldItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-BoldItalic.ttf new file mode 100644 index 0000000..a68afb6 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-BoldItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Italic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Italic.ttf new file mode 100644 index 0000000..b022726 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Italic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Light.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Light.ttf new file mode 100644 index 0000000..0e9f90d Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Light.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-LightItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-LightItalic.ttf new file mode 100644 index 0000000..2e007de Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-LightItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Medium.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Medium.ttf new file mode 100644 index 0000000..5296045 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Medium.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-MediumItalic.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-MediumItalic.ttf new file mode 100644 index 0000000..5dc193d Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-MediumItalic.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Regular.ttf b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Regular.ttf new file mode 100644 index 0000000..dbb834a Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/fonts/ubuntu/Ubuntu-Regular.ttf differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon.png b/dist_archive/ipfs/0.9.4/assets/icon.png new file mode 100644 index 0000000..bff7a2c Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/android-icon-144x144.png b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-144x144.png new file mode 100644 index 0000000..99447eb Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-144x144.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/android-icon-192x192.png b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-192x192.png new file mode 100644 index 0000000..47226dc Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-192x192.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/android-icon-36x36.png b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-36x36.png new file mode 100644 index 0000000..fef1802 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-36x36.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/android-icon-48x48.png b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-48x48.png new file mode 100644 index 0000000..355d666 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-48x48.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/android-icon-72x72.png b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-72x72.png new file mode 100644 index 0000000..3575b33 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-72x72.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/android-icon-96x96.png b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-96x96.png new file mode 100644 index 0000000..31df3ee Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/android-icon-96x96.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-114x114.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-114x114.png new file mode 100644 index 0000000..591fe35 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-114x114.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-120x120.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-120x120.png new file mode 100644 index 0000000..f8b6ed2 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-120x120.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-144x144.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-144x144.png new file mode 100644 index 0000000..99447eb Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-144x144.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-152x152.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-152x152.png new file mode 100644 index 0000000..9c30ee5 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-152x152.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-180x180.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-180x180.png new file mode 100644 index 0000000..f1ee1c1 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-180x180.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-57x57.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-57x57.png new file mode 100644 index 0000000..607be3f Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-57x57.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-60x60.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-60x60.png new file mode 100644 index 0000000..dac4abf Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-60x60.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-72x72.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-72x72.png new file mode 100644 index 0000000..3575b33 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-72x72.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-76x76.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-76x76.png new file mode 100644 index 0000000..ef15515 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-76x76.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-precomposed.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-precomposed.png new file mode 100644 index 0000000..30ec007 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon-precomposed.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/apple-icon.png b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon.png new file mode 100644 index 0000000..30ec007 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/apple-icon.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/browserconfig.xml b/dist_archive/ipfs/0.9.4/assets/icon/browserconfig.xml new file mode 100644 index 0000000..c554148 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/icon/browserconfig.xml @@ -0,0 +1,2 @@ + +#ffffff \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/icon/favicon-16x16.png b/dist_archive/ipfs/0.9.4/assets/icon/favicon-16x16.png new file mode 100644 index 0000000..6de9494 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/favicon-16x16.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/favicon-32x32.png b/dist_archive/ipfs/0.9.4/assets/icon/favicon-32x32.png new file mode 100644 index 0000000..57a1f7b Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/favicon-32x32.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/favicon-96x96.png b/dist_archive/ipfs/0.9.4/assets/icon/favicon-96x96.png new file mode 100644 index 0000000..31df3ee Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/favicon-96x96.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/favicon.ico b/dist_archive/ipfs/0.9.4/assets/icon/favicon.ico new file mode 100644 index 0000000..f6ae54c Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/favicon.ico differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/manifest.json b/dist_archive/ipfs/0.9.4/assets/icon/manifest.json new file mode 100644 index 0000000..013d4a6 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/icon/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "App", + "icons": [ + { + "src": "\/android-icon-36x36.png", + "sizes": "36x36", + "type": "image\/png", + "density": "0.75" + }, + { + "src": "\/android-icon-48x48.png", + "sizes": "48x48", + "type": "image\/png", + "density": "1.0" + }, + { + "src": "\/android-icon-72x72.png", + "sizes": "72x72", + "type": "image\/png", + "density": "1.5" + }, + { + "src": "\/android-icon-96x96.png", + "sizes": "96x96", + "type": "image\/png", + "density": "2.0" + }, + { + "src": "\/android-icon-144x144.png", + "sizes": "144x144", + "type": "image\/png", + "density": "3.0" + }, + { + "src": "\/android-icon-192x192.png", + "sizes": "192x192", + "type": "image\/png", + "density": "4.0" + } + ] +} \ No newline at end of file diff --git a/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-144x144.png b/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-144x144.png new file mode 100644 index 0000000..99447eb Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-144x144.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-150x150.png b/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-150x150.png new file mode 100644 index 0000000..4a34e21 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-150x150.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-310x310.png b/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-310x310.png new file mode 100644 index 0000000..a6f57b7 Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-310x310.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-70x70.png b/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-70x70.png new file mode 100644 index 0000000..1d117ef Binary files /dev/null and b/dist_archive/ipfs/0.9.4/assets/icon/ms-icon-70x70.png differ diff --git a/dist_archive/ipfs/0.9.4/assets/js/qr-scanner.min.js b/dist_archive/ipfs/0.9.4/assets/js/qr-scanner.min.js new file mode 100644 index 0000000..d53f6b2 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/assets/js/qr-scanner.min.js @@ -0,0 +1,16 @@ +class e{static hasCamera(){return navigator.mediaDevices?navigator.mediaDevices.enumerateDevices().then(a=>a.some(a=>"videoinput"===a.kind)).catch(()=>!1):Promise.resolve(!1)}constructor(a,b,c=this._onDecodeError.bind(this),d=e.DEFAULT_CANVAS_SIZE,f="environment"){this.$video=a;this.$canvas=document.createElement("canvas");this._onDecode=b;this._preferredFacingMode=f;this._flashOn=this._paused=this._active=!1;"number"===typeof c?(d=c,console.warn("You're using a deprecated version of the QrScanner constructor which will be removed in the future")): +this._onDecodeError=c;this.$canvas.width=d;this.$canvas.height=d;this._sourceRect={x:0,y:0,width:d,height:d};this._updateSourceRect=this._updateSourceRect.bind(this);this._onPlay=this._onPlay.bind(this);this._onVisibilityChange=this._onVisibilityChange.bind(this);this.$video.playsInline=!0;this.$video.muted=!0;this.$video.disablePictureInPicture=!0;this.$video.addEventListener("loadedmetadata",this._updateSourceRect);this.$video.addEventListener("play",this._onPlay);document.addEventListener("visibilitychange", +this._onVisibilityChange);this._qrEnginePromise=e.createQrEngine()}hasFlash(){if(!("ImageCapture"in window))return Promise.resolve(!1);let a=this.$video.srcObject?this.$video.srcObject.getVideoTracks()[0]:null;return a?(new ImageCapture(a)).getPhotoCapabilities().then(a=>a.fillLightMode.includes("flash")).catch(a=>{console.warn(a);return!1}):Promise.reject("Camera not started or not available")}isFlashOn(){return this._flashOn}toggleFlash(){return this._setFlash(!this._flashOn)}turnFlashOff(){return this._setFlash(!1)}turnFlashOn(){return this._setFlash(!0)}destroy(){this.$video.removeEventListener("loadedmetadata", +this._updateSourceRect);this.$video.removeEventListener("play",this._onPlay);document.removeEventListener("visibilitychange",this._onVisibilityChange);this.stop();e._postWorkerMessage(this._qrEnginePromise,"close")}start(){if(this._active&&!this._paused)return Promise.resolve();this._active=!0;this._paused=!1;if(document.hidden)return Promise.resolve();clearTimeout(this._offTimeout); +this._offTimeout=null;if(this.$video.srcObject)return this.$video.play(),Promise.resolve();let a=this._preferredFacingMode;return this._getCameraStream(a,!0).catch(()=>{a="environment"===a?"user":"environment";return this._getCameraStream()}).then(b=>{a=this._getFacingMode(b)||a;this.$video.srcObject=b;this.$video.play();this._setVideoMirror(a)}).catch(a=>{this._active=!1;throw a;})}stop(){this.pause();this._active=!1}pause(){this._paused=!0;this._active&&(this.$video.pause(),this._offTimeout||(this._offTimeout= +setTimeout(()=>{let a=this.$video.srcObject?this.$video.srcObject.getTracks():[];for(let b of a)b.stop();this._offTimeout=this.$video.srcObject=null},300)))}static scanImage(a,b=null,c=null,d=null,f=!1,k=!1){let g=c instanceof Worker,h=Promise.all([c||e.createQrEngine(),e._loadImage(a)]).then(([a,h])=>{c=a;let k;[d,k]=this._drawToCanvas(h,b,d,f);return c instanceof Worker?(g||c.postMessage({type:"inversionMode",data:"both"}),new Promise((a,b)=>{let f,l,g;l=d=>{"qrResult"===d.data.type&&(c.removeEventListener("message", +l),c.removeEventListener("error",g),clearTimeout(f),null!==d.data.data?a(d.data.data):b(e.NO_QR_CODE_FOUND))};g=a=>{c.removeEventListener("message",l);c.removeEventListener("error",g);clearTimeout(f);b("Scanner error: "+(a?a.message||a:"Unknown Error"))};c.addEventListener("message",l);c.addEventListener("error",g);f=setTimeout(()=>g("timeout"),1E4);let h=k.getImageData(0,0,d.width,d.height);c.postMessage({type:"decode",data:h},[h.data.buffer])})):new Promise((a,b)=>{let f=setTimeout(()=>b("Scanner error: timeout"), +1E4);c.detect(d).then(c=>{c.length?a(c[0].rawValue):b(e.NO_QR_CODE_FOUND)}).catch(a=>b("Scanner error: "+(a.message||a))).finally(()=>clearTimeout(f))})});b&&k&&(h=h.catch(()=>e.scanImage(a,null,c,d,f)));return h=h.finally(()=>{g||e._postWorkerMessage(c,"close")})}setGrayscaleWeights(a,b,c,d=!0){e._postWorkerMessage(this._qrEnginePromise,"grayscaleWeights",{red:a,green:b,blue:c,useIntegerApproximation:d})}setInversionMode(a){e._postWorkerMessage(this._qrEnginePromise,"inversionMode",a)}static createQrEngine(a= +e.WORKER_PATH){return("BarcodeDetector"in window?BarcodeDetector.getSupportedFormats():Promise.resolve([])).then(b=>-1!==b.indexOf("qr_code")?new BarcodeDetector({formats:["qr_code"]}):new Worker(a))}_onPlay(){this._updateSourceRect();this._scanFrame()}_onVisibilityChange(){document.hidden?this.pause():this._active&&this.start()}_updateSourceRect(){let a=Math.round(2/3*Math.min(this.$video.videoWidth,this.$video.videoHeight));this._sourceRect.width=this._sourceRect.height=a;this._sourceRect.x=(this.$video.videoWidth- +a)/2;this._sourceRect.y=(this.$video.videoHeight-a)/2}_scanFrame(){if(!this._active||this.$video.paused||this.$video.ended)return!1;requestAnimationFrame(()=>{1>=this.$video.readyState?this._scanFrame():this._qrEnginePromise.then(a=>e.scanImage(this.$video,this._sourceRect,a,this.$canvas,!0)).then(this._onDecode,a=>{this._active&&(-1!==(a.message||a).indexOf("service unavailable")&&(this._qrEnginePromise=e.createQrEngine()),this._onDecodeError(a))}).then(()=>this._scanFrame())})}_onDecodeError(a){a!== +e.NO_QR_CODE_FOUND&&console.log(a)}_getCameraStream(a,b=!1){let c=[{width:{min:1024}},{width:{min:768}},{}];a&&(b&&(a={exact:a}),c.forEach(b=>b.facingMode=a));return this._getMatchingCameraStream(c)}_getMatchingCameraStream(a){return navigator.mediaDevices&&0!==a.length?navigator.mediaDevices.getUserMedia({video:a.shift()}).catch(()=>this._getMatchingCameraStream(a)):Promise.reject("Camera not found.")}_setFlash(a){return this.hasFlash().then(b=>b?this.$video.srcObject.getVideoTracks()[0].applyConstraints({advanced:[{torch:a}]}): +Promise.reject("No flash available")).then(()=>this._flashOn=a)}_setVideoMirror(a){this.$video.style.transform="scaleX("+("user"===a?-1:1)+")"}_getFacingMode(a){return(a=a.getVideoTracks()[0])?/rear|back|environment/i.test(a.label)?"environment":/front|user|face/i.test(a.label)?"user":null:null}static _drawToCanvas(a,b=null,c=null,d=!1){c=c||document.createElement("canvas");let f=b&&b.x?b.x:0,k=b&&b.y?b.y:0,g=b&&b.width?b.width:a.width||a.videoWidth;b=b&&b.height?b.height:a.height||a.videoHeight; +d||c.width===g&&c.height===b||(c.width=g,c.height=b);d=c.getContext("2d",{alpha:!1});d.imageSmoothingEnabled=!1;d.drawImage(a,f,k,g,b,0,0,c.width,c.height);return[c,d]}static _loadImage(a){if(a instanceof HTMLCanvasElement||a instanceof HTMLVideoElement||window.ImageBitmap&&a instanceof window.ImageBitmap||window.OffscreenCanvas&&a instanceof window.OffscreenCanvas)return Promise.resolve(a);if(a instanceof Image)return e._awaitImageLoad(a).then(()=>a);if(a instanceof File||a instanceof Blob||a instanceof +URL||"string"===typeof a){let b=new Image;b.src=a instanceof File||a instanceof Blob?URL.createObjectURL(a):a;return e._awaitImageLoad(b).then(()=>{(a instanceof File||a instanceof Blob)&&URL.revokeObjectURL(b.src);return b})}return Promise.reject("Unsupported image type.")}static _awaitImageLoad(a){return new Promise((b,c)=>{if(a.complete&&0!==a.naturalWidth)b();else{let d,f;d=()=>{a.removeEventListener("load",d);a.removeEventListener("error",f);b()};f=()=>{a.removeEventListener("load",d);a.removeEventListener("error", +f);c("Image load error")};a.addEventListener("load",d);a.addEventListener("error",f)}})}static _postWorkerMessage(a,b,c){return Promise.resolve(a).then(a=>{a instanceof Worker&&a.postMessage({type:b,data:c})})}}e.DEFAULT_CANVAS_SIZE=400;e.NO_QR_CODE_FOUND="No QR code found";e.WORKER_PATH="qr-scanner-worker.min.js";export default e +//# sourceMappingURL=qr-scanner.min.js.map diff --git a/dist_archive/ipfs/0.9.4/favicon.ico b/dist_archive/ipfs/0.9.4/favicon.ico new file mode 100644 index 0000000..f6ae54c Binary files /dev/null and b/dist_archive/ipfs/0.9.4/favicon.ico differ diff --git a/dist_archive/ipfs/0.9.4/index.html b/dist_archive/ipfs/0.9.4/index.html new file mode 100644 index 0000000..5487b5d --- /dev/null +++ b/dist_archive/ipfs/0.9.4/index.html @@ -0,0 +1,39 @@ + + + + + qDesk.org + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + diff --git a/dist_archive/ipfs/0.9.4/main-es2015.6a9ec8436553ea164588.js b/dist_archive/ipfs/0.9.4/main-es2015.6a9ec8436553ea164588.js new file mode 100644 index 0000000..97dbfd2 --- /dev/null +++ b/dist_archive/ipfs/0.9.4/main-es2015.6a9ec8436553ea164588.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{"++bG":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("EGpM"),i=r("tS6h"),s=r("61Jx"),o=function(){function t(e,r,n,i){this.image=e,this.height=e.getHeight(),this.width=e.getWidth(),null==r&&(r=t.INIT_SIZE),null==n&&(n=e.getWidth()/2|0),null==i&&(i=e.getHeight()/2|0);var o=r/2|0;if(this.leftInit=n-o,this.rightInit=n+o,this.upInit=i-o,this.downInit=i+o,this.upInit<0||this.leftInit<0||this.downInit>=this.height||this.rightInit>=this.width)throw new s.default}return t.prototype.detect=function(){for(var t=this.leftInit,e=this.rightInit,r=this.upInit,n=this.downInit,i=!1,o=!0,a=!1,c=!1,l=!1,u=!1,h=!1,d=this.width,f=this.height;o;){o=!1;for(var p=!0;(p||!c)&&e=d){i=!0;break}for(var g=!0;(g||!l)&&n=f){i=!0;break}for(var m=!0;(m||!u)&&t>=0;)(m=this.containsBlackPoint(r,n,t,!1))?(t--,o=!0,u=!0):u||t--;if(t<0){i=!0;break}for(var b=!0;(b||!h)&&r>=0;)(b=this.containsBlackPoint(t,e,r,!0))?(r--,o=!0,h=!0):h||r--;if(r<0){i=!0;break}o&&(a=!0)}if(!i&&a){for(var y=e-t,v=null,w=1;null===v&&w{let e=0;for await(const r of t)e++;return e}},"+8UZ":function(t,e,r){"use strict";const n=r("1XrX");t.exports=t=>{const e=n.logger(t.peerId,"rpc:ping");return function(t,r){return e("from %s",t.toB58String()),r}}},"+8fZ":function(t,e,r){"use strict";const n=r("apSh"),i=r("q6el");t.exports=function(t){if(isNaN(t)||t<=0)throw i(new Error("random bytes length must be a Number bigger than 0"),"ERR_INVALID_LENGTH");return n(t)}},"+9NJ":function(t,e,r){"use strict";const n=r("5ugK"),i=r("69Qu"),s=r("C5yo");t.exports=i(class{constructor(t,e,r){if(!r)throw new Error("A link requires a cid to point to");Object.defineProperties(this,{Name:{value:t||"",writable:!1,enumerable:!0},Tsize:{value:e,writable:!1,enumerable:!0},Hash:{value:new n(r),writable:!1,enumerable:!0},_nameBuf:{value:null,writable:!0,enumerable:!1}})}toString(){return`DAGLink <${this.Hash.toBaseEncodedString()} - name: "${this.Name}", size: ${this.Tsize}>`}toJSON(){return this._json||(this._json=Object.freeze({name:this.Name,size:this.Tsize,cid:this.Hash.toBaseEncodedString()})),Object.assign({},this._json)}get nameAsBuffer(){return null!==this._nameBuf||(this._nameBuf=s(this.Name)),this._nameBuf}},{className:"DAGLink",symbolName:"@ipld/js-ipld-dag-pb/daglink"})},"+A5o":function(t,e,r){"use strict";const{Adapter:n,Key:i,Errors:s,utils:{filter:o,take:a,sortAll:c,replaceStartWith:l}}=r("BoQq"),u=r("5ijG");t.exports=class extends n{constructor(t){super(),this.mounts=t.slice()}open(){return Promise.all(this.mounts.map(t=>t.datastore.open()))}_lookup(t){for(const e of this.mounts)if(e.prefix.toString()===t.toString()||e.prefix.isAncestorOf(t)){const r=l(t.toString(),e.prefix.toString());return{datastore:e.datastore,mountpoint:e.prefix,rest:new i(r)}}}put(t,e,r){const n=this._lookup(t);if(null==n)throw s.dbWriteFailedError(new Error("No datastore mounted for this key"));return n.datastore.put(n.rest,e,r)}get(t,e){const r=this._lookup(t);if(null==r)throw s.notFoundError(new Error("No datastore mounted for this key"));return r.datastore.get(r.rest,e)}has(t,e){const r=this._lookup(t);return null!=r&&r.datastore.has(r.rest,e)}delete(t,e){const r=this._lookup(t);if(null==r)throw s.dbDeleteFailedError(new Error("No datastore mounted for this key"));return r.datastore.delete(r.rest,e)}close(){return Promise.all(this.mounts.map(t=>t.datastore.close()))}batch(){const t={},e=e=>{const r=this._lookup(e);if(null==r)throw new Error("No datastore mounted for this key");const n=r.mountpoint.toString();return null==t[n]&&(t[n]=r.datastore.batch()),{batch:t[n],rest:r.rest}};return{put:(t,r)=>{const n=e(t);n.batch.put(n.rest,r)},delete:t=>{const r=e(t);r.batch.delete(r.rest)},commit:e=>Promise.all(Object.keys(t).map(r=>t[r].commit(e)))}}query(t,e){const r=this.mounts.map(r=>{const n=new u(r.datastore,{convert:t=>{throw new Error("should never be called")},invert:t=>r.prefix.child(t)});let i;return null!=t.prefix&&(i=l(t.prefix,r.prefix.toString())),n.query({prefix:i,filters:t.filters,keysOnly:t.keysOnly},e)});let n=(i=r,async function*(){for(let t=0;t{n=o(n,t)}),t.orders&&t.orders.forEach(t=>{n=c(n,t)}),null!=t.offset){let e=0;n=o(n,()=>e++>=t.offset)}return null!=t.limit&&(n=a(n,t.limit)),n}}},"+BTq":function(t,e,r){var n=r("nJoi").getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),i=145===r?26:2*Math.ceil((r-13)/(2*e-2)),s=[r-7],o=1;o!1,merge(){}};class s{constructor(t,e){this.peerId=t,this._taskMerger=e,this._activeTotalSize=0,this._pending=new o,this._active=new Set}pushTasks(t){for(const e of t)this._pushTask(e)}_pushTask(t){if(!this._taskHasMoreInfoThanActiveTasks(t))return;const e=this._pending.get(t.topic);if(e)return t.priority>e.priority&&this._pending.updatePriority(t.topic,t.priority),void this._taskMerger.merge(t,e);this._pending.add(t)}_taskHasMoreInfoThanActiveTasks(t){const e=[];for(const r of this._active)r.topic===t.topic&&e.push(r);return 0===e.length||this._taskMerger.hasNewInfo(t,e)}popTasks(t){let e=0;const r=[],n=this._pending.tasks();for(let i=0;it+e.task.size,0)}get(t){return(this._tasks.get(t)||{}).task}add(t){this._tasks.set(t.topic,{created:Date.now(),task:t})}delete(t){this._tasks.delete(t)}tasks(){return[...this._tasks.values()].map(t=>t.task)}updatePriority(t,e){const r=this._tasks.get(t);if(!r)return;const n=this._tasks.indexOf(t);r.task.priority=e,this._tasks.update(n)}_compare(t,e){return t[1].task.priority===e[1].task.priority?t[1].created-e[1].created:e[1].task.priority-t[1].task.priority}}t.exports=class{constructor(t){this._taskMerger=t||i,this._byPeer=new n([],s.compare,!0)}pushTasks(t,e){let r=this._byPeer.get(t.toB58String());r||(r=new s(t,this._taskMerger)),r.pushTasks(e),this._byPeer.set(t.toB58String(),r)}popTasks(t){if(0===this._byPeer.size)return{tasks:[],pendingSize:0};const e=this._head(),{tasks:r,pendingSize:n}=e.popTasks(t);if(0===r.length)return{tasks:r,pendingSize:n};const i=e.peerId;return e.isIdle()?this._byPeer.delete(i.toB58String()):this._byPeer.update(0),{peerId:i,tasks:r,pendingSize:n}}_head(){for(const[,t]of this._byPeer)return t}remove(t,e){const r=this._byPeer.get(e.toB58String());r&&r.remove(t)}tasksDone(t,e){const r=this._byPeer.get(t.toB58String());if(!r)return;const n=this._byPeer.indexOf(t.toB58String());for(const i of e)r.taskDone(i);this._byPeer.update(n)}}},"+PSI":function(t,e,r){"use strict";var n=r("z1fW"),i=r("GIAE");t.exports=n.bind(null,i)},"+VQR":function(t,e,r){var n=r("FWTo"),i=r("kHAT"),s=r("aTq8").Buffer;function o(t){this.genPoly=void 0,this.degree=t,this.degree&&this.initialize(this.degree)}o.prototype.initialize=function(t){this.degree=t,this.genPoly=i.generateECPolynomial(this.degree)},o.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");var e=n.alloc(this.degree),r=s.concat([t,e],t.length+this.degree),o=i.mod(r,this.genPoly),a=this.degree-o.length;if(a>0){var c=n.alloc(this.degree);return o.copy(c,a),c}return o},t.exports=o},"+Vhs":function(t,e,r){"use strict";t.exports={lock:"memory",storageBackends:{root:r("VITO"),blocks:r("VITO"),keys:r("VITO"),datastore:r("VITO"),pins:r("VITO")},storageBackendOptions:{root:{extension:"",prefix:"",version:2},blocks:{sharding:!1,prefix:"",version:2},keys:{sharding:!1,prefix:"",version:2},datastore:{sharding:!1,prefix:"",version:2},pins:{sharding:!1,prefix:"",version:2}}}},"+W4A":function(t,e,r){"use strict";const n=r("H7zR"),i=r("s3Ps"),s=r("tzmQ"),o=r("BoQq"),a=r("Fu5I"),c=r("q6el"),{Number:l}=r("5ulN"),u=r("+Wg8"),h=r("C5yo");r("1HRB");const d={dek:{keyLength:64,iterationCount:1e4,salt:"you should override this value with a crypto secure random number",hash:"sha2-512"}};function f(t){return!!t&&"string"==typeof t&&t===n(t.trim())}async function p(t){const e=800*Math.random()+200;throw await new Promise(t=>setTimeout(t,e)),t}function g(t){return new o.Key("/pkcs8/"+t)}function m(t){return new o.Key("/info/"+t)}t.exports=class{constructor(t,e){if(!t)throw new Error("store is required");if(this.store=t,this.opts=i(d,e),this.opts.passPhrase&&this.opts.passPhrase.length<20)throw new Error("passPhrase must be least 20 characters");if(this.opts.dek.keyLength<14)throw new Error("dek.keyLength must be least 14 bytes");if(this.opts.dek.salt.length<16)throw new Error("dek.saltLength must be least 16 bytes");if(this.opts.dek.iterationCount<1e3)throw new Error("dek.iterationCount must be least 1000");const r=this.opts.passPhrase?s.pbkdf2(this.opts.passPhrase,this.opts.dek.salt,this.opts.dek.iterationCount,this.opts.dek.keyLength,this.opts.dek.hash):"";Object.defineProperty(this,"_",{value:()=>r})}get cms(){return new a(this)}static generateOptions(){const t=Object.assign({},d),e=3*Math.ceil(16/3);return t.dek.salt=u(s.randomBytes(e),"base64"),t}static get options(){return d}async createKey(t,e,r){const n=this;if(!f(t)||"self"===t)return p(c(new Error(`Invalid key name '${t}'`),"ERR_INVALID_KEY_NAME"));if("string"!=typeof e)return p(c(new Error(`Invalid key type '${e}'`),"ERR_INVALID_KEY_TYPE"));const i=g(t);if(await n.store.has(i))return p(c(new Error(`Key '${t}' already exists`),"ERR_KEY_ALREADY_EXISTS"));switch(e.toLowerCase()){case"rsa":if(!l.isSafeInteger(r)||r<2048)return p(c(new Error("Invalid RSA key size "+r),"ERR_INVALID_KEY_SIZE"))}let o;try{const a=await s.keys.generateKeyPair(e,r),c=await a.id(),l=await a.export(this._());o={name:t,id:c};const u=n.store.batch();u.put(i,h(l)),u.put(m(t),h(JSON.stringify(o))),await u.commit()}catch(a){return p(a)}return o}async listKeys(){const t=this,e={prefix:"/info/"},r=[];for await(const n of t.store.query(e))r.push(JSON.parse(u(n.value)));return r}async findKeyById(t){try{return(await this.listKeys()).find(e=>e.id===t)}catch(e){return p(e)}}async findKeyByName(t){if(!f(t))return p(c(new Error(`Invalid key name '${t}'`),"ERR_INVALID_KEY_NAME"));const e=m(t);try{const t=await this.store.get(e);return JSON.parse(u(t))}catch(r){return p(c(new Error(`Key '${t}' does not exist. ${r.message}`),"ERR_KEY_NOT_FOUND"))}}async removeKey(t){if(!f(t)||"self"===t)return p(c(new Error(`Invalid key name '${t}'`),"ERR_INVALID_KEY_NAME"));const e=g(t),r=await this.findKeyByName(t),n=this.store.batch();return n.delete(e),n.delete(m(t)),await n.commit(),r}async renameKey(t,e){const r=this;if(!f(t)||"self"===t)return p(c(new Error(`Invalid old key name '${t}'`),"ERR_OLD_KEY_NAME_INVALID"));if(!f(e)||"self"===e)return p(c(new Error(`Invalid new key name '${e}'`),"ERR_NEW_KEY_NAME_INVALID"));const n=g(t),i=g(e),s=m(t),o=m(e);if(await r.store.has(i))return p(c(new Error(`Key '${e}' already exists`),"ERR_KEY_ALREADY_EXISTS"));try{const t=await r.store.get(n),a=await r.store.get(s),c=JSON.parse(u(a));c.name=e;const l=r.store.batch();return l.put(i,t),l.put(o,h(JSON.stringify(c))),l.delete(n),l.delete(s),await l.commit(),c}catch(a){return p(a)}}async exportKey(t,e){if(!f(t))return p(c(new Error(`Invalid key name '${t}'`),"ERR_INVALID_KEY_NAME"));if(!e)return p(c(new Error("Password is required"),"ERR_PASSWORD_REQUIRED"));const r=g(t);try{const t=await this.store.get(r),n=u(t);return(await s.keys.import(n,this._())).export(e)}catch(n){return p(n)}}async importKey(t,e,r){if(!f(t)||"self"===t)return p(c(new Error(`Invalid key name '${t}'`),"ERR_INVALID_KEY_NAME"));if(!e)return p(c(new Error("PEM encoded key is required"),"ERR_PEM_REQUIRED"));const n=g(t);if(await this.store.has(n))return p(c(new Error(`Key '${t}' already exists`),"ERR_KEY_ALREADY_EXISTS"));let i,o;try{i=await s.keys.import(e,r)}catch(u){return p(c(new Error("Cannot read the key, most likely the password is wrong"),"ERR_CANNOT_READ_KEY"))}try{o=await i.id(),e=await i.export(this._())}catch(u){return p(u)}const a={name:t,id:o},l=this.store.batch();return l.put(n,h(e)),l.put(m(t),h(JSON.stringify(a))),await l.commit(),a}async importPeer(t,e){const r=this;if(!f(t))return p(c(new Error(`Invalid key name '${t}'`),"ERR_INVALID_KEY_NAME"));if(!e||!e.privKey)return p(c(new Error("Peer.privKey is required"),"ERR_MISSING_PRIVATE_KEY"));const n=e.privKey,i=g(t);if(await r.store.has(i))return p(c(new Error(`Key '${t}' already exists`),"ERR_KEY_ALREADY_EXISTS"));try{const e=await n.id(),s=await n.export(this._()),o={name:t,id:e},a=r.store.batch();return a.put(i,h(s)),a.put(m(t),h(JSON.stringify(o))),await a.commit(),o}catch(s){return p(s)}}async _getPrivateKey(t){if(!f(t))return p(c(new Error(`Invalid key name '${t}'`),"ERR_INVALID_KEY_NAME"));try{const e=g(t),r=await this.store.get(e);return u(r)}catch(e){return p(c(new Error(`Key '${t}' does not exist. ${e.message}`),"ERR_KEY_NOT_FOUND"))}}}},"+Wg8":function(t,e,r){"use strict";const{names:n}=r("vWvE"),{TextDecoder:i}=r("mUDK"),s=new i("utf8");t.exports=function(t,e="utf8"){if("utf8"===e||"utf-8"===e)return s.decode(t);if("ascii"===e)return function(t){let e="";for(let r=0;r{let e;o.progress(a.length);const c={...o};return o.rawLeaves?(c.codec="raw",c.cidVersion=1):(e=new n({type:o.leafType,data:a,mtime:t.mtime,mode:t.mode}),a=new s(e.marshal()).serialize()),{cid:await i(a,r,c),unixfs:e,size:a.length}}}},"+XTu":function(t,e,r){"use strict";class n{constructor(t,e,r){this._refCounter=1,this.cid=t,this.priority=e||1,this.wantType=r}inc(){this._refCounter+=1}dec(){this._refCounter=Math.max(0,this._refCounter-1)}hasRefs(){return this._refCounter>0}get[Symbol.toStringTag](){return`WantlistEntry `}equals(t){return this._refCounter===t._refCounter&&this.cid.equals(t.cid)&&this.priority===t.priority&&this.wantType===t.wantType}}t.exports=n},"+ZLU":function(module,exports,__webpack_require__){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},"+ek2":function(t,e,r){t.exports=function(t,e,r,n,i){for(e=e.split?e.split("."):e,n=0;n0&&o.length>i&&!o.warned){o.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+o.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=t,a.type=e,a.count=o.length,console&&console.warn&&console.warn(a)}return t}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=d.bind(n);return i.listener=r,n.wrapFn=i,i}function p(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r0&&(o=e[0]),o instanceof Error)throw o;var a=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw a.context=o,a}var c=i[t];if(void 0===c)return!1;if("function"==typeof c)s(c,this,e);else{var l=c.length,u=m(c,l);for(r=0;r=0;s--)if(r[s]===e||r[s].listener===e){o=r[s].listener,i=s;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1=0;n--)this.removeListener(t,e[n]);return this},a.prototype.listeners=function(t){return p(this,t,!0)},a.prototype.rawListeners=function(t){return p(this,t,!1)},a.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):g.call(t,e)},a.prototype.listenerCount=g,a.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},"+rOU":function(t,e,r){"use strict";r.d(e,"a",(function(){return u})),r.d(e,"b",(function(){return d})),r.d(e,"c",(function(){return f})),r.d(e,"d",(function(){return a})),r.d(e,"e",(function(){return h})),r.d(e,"f",(function(){return p})),r.d(e,"g",(function(){return b})),r.d(e,"h",(function(){return m})),r.d(e,"i",(function(){return c}));var n=r("fXoL"),i=r("ofXK");function s(){throw Error("Host already has a portal attached")}class o{attach(t){return null==t&&function(){throw Error("Attempting to attach a portal to a null PortalOutlet")}(),t.hasAttached()&&s(),this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;null==t?function(){throw Error("Attempting to detach a portal that is not attached to a host")}():(this._attachedHost=null,t.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(t){this._attachedHost=t}}class a extends o{constructor(t,e,r,n){super(),this.component=t,this.viewContainerRef=e,this.injector=r,this.componentFactoryResolver=n}}class c extends o{constructor(t,e,r){super(),this.templateRef=t,this.viewContainerRef=e,this.context=r}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}}class l extends o{constructor(t){super(),this.element=t instanceof n.m?t.nativeElement:t}}class u{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(t){return t||function(){throw Error("Must provide a portal to attach")}(),this.hasAttached()&&s(),this._isDisposed&&function(){throw Error("This PortalOutlet has already been disposed")}(),t instanceof a?(this._attachedPortal=t,this.attachComponentPortal(t)):t instanceof c?(this._attachedPortal=t,this.attachTemplatePortal(t)):this.attachDomPortal&&t instanceof l?(this._attachedPortal=t,this.attachDomPortal(t)):void function(){throw Error("Attempting to attach an unknown Portal type. BasePortalOutlet accepts either a ComponentPortal or a TemplatePortal.")}()}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class h extends u{constructor(t,e,r,n,i){super(),this.outletElement=t,this._componentFactoryResolver=e,this._appRef=r,this._defaultInjector=n,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const r=this._document.createComment("dom-portal");e.parentNode.insertBefore(r,e),this.outletElement.appendChild(e),super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(e,r)})},this._document=i}attachComponentPortal(t){const e=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component);let r;return t.viewContainerRef?(r=t.viewContainerRef.createComponent(e,t.viewContainerRef.length,t.injector||t.viewContainerRef.injector),this.setDisposeFn(()=>r.destroy())):(r=e.create(t.injector||this._defaultInjector),this._appRef.attachView(r.hostView),this.setDisposeFn(()=>{this._appRef.detachView(r.hostView),r.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(r)),r}attachTemplatePortal(t){let e=t.viewContainerRef,r=e.createEmbeddedView(t.templateRef,t.context);return r.detectChanges(),r.rootNodes.forEach(t=>this.outletElement.appendChild(t)),this.setDisposeFn(()=>{let t=e.indexOf(r);-1!==t&&e.remove(t)}),r}dispose(){super.dispose(),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}_getComponentRootNode(t){return t.hostView.rootNodes[0]}}let d=(()=>{class t extends c{constructor(t,e){super(t,e)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.Q),n.Sb(n.V))},t.\u0275dir=n.Nb({type:t,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[n.Cb]}),t})(),f=(()=>{class t extends u{constructor(t,e,r){super(),this._componentFactoryResolver=t,this._viewContainerRef=e,this._isInitialized=!1,this.attached=new n.p,this.attachDomPortal=t=>{if(!this._document)throw Error("Cannot attach DOM portal without _document constructor parameter");const e=t.element;if(!e.parentNode)throw Error("DOM portal content must be attached to a parent node.");const r=this._document.createComment("dom-portal");t.setAttachedHost(this),e.parentNode.insertBefore(r,e),this._getRootNode().appendChild(e),super.setDisposeFn(()=>{r.parentNode&&r.parentNode.replaceChild(e,r)})},this._document=r}get portal(){return this._attachedPortal}set portal(t){(!this.hasAttached()||t||this._isInitialized)&&(this.hasAttached()&&super.detach(),t&&super.attach(t),this._attachedPortal=t)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(t){t.setAttachedHost(this);const e=null!=t.viewContainerRef?t.viewContainerRef:this._viewContainerRef,r=(t.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(t.component),n=e.createComponent(r,e.length,t.injector||e.injector);return e!==this._viewContainerRef&&this._getRootNode().appendChild(n.hostView.rootNodes[0]),super.setDisposeFn(()=>n.destroy()),this._attachedPortal=t,this._attachedRef=n,this.attached.emit(n),n}attachTemplatePortal(t){t.setAttachedHost(this);const e=this._viewContainerRef.createEmbeddedView(t.templateRef,t.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=t,this._attachedRef=e,this.attached.emit(e),e}_getRootNode(){const t=this._viewContainerRef.element.nativeElement;return t.nodeType===t.ELEMENT_NODE?t:t.parentNode}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.j),n.Sb(n.V),n.Sb(i.d))},t.\u0275dir=n.Nb({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[n.Cb]}),t})(),p=(()=>{class t extends f{}return t.\u0275fac=function(e){return g(e||t)},t.\u0275dir=n.Nb({type:t,selectors:[["","cdkPortalHost",""],["","portalHost",""]],inputs:{portal:["cdkPortalHost","portal"]},exportAs:["cdkPortalHost"],features:[n.Eb([{provide:f,useExisting:t}]),n.Cb]}),t})();const g=n.ac(p);let m=(()=>{class t{}return t.\u0275mod=n.Qb({type:t}),t.\u0275inj=n.Pb({factory:function(e){return new(e||t)}}),t})();class b{constructor(t,e){this._parentInjector=t,this._customTokens=e}get(t,e){const r=this._customTokens.get(t);return void 0!==r?r:this._parentInjector.get(t,e)}}},"+sxX":function(t,e,r){"use strict";const n=r("UcbK"),{codes:i}=r("KBud"),s=r("q6el"),o=r("Hmxq"),a=o("libp2p:transports");a.error=o("libp2p:transports:error");class c{constructor({libp2p:t,upgrader:e,faultTolerance:r=l.FATAL_ALL}){this.libp2p=t,this.upgrader=e,this._transports=new Map,this._listeners=new Map,this.faultTolerance=r}add(t,e,r={}){if(a("adding %s",t),!t)throw s(new Error(`Transport must have a valid key, was given '${t}'`),i.ERR_INVALID_KEY);if(this._transports.has(t))throw s(new Error("There is already a transport with this key"),i.ERR_DUPLICATE_TRANSPORT);const n=new e({...r,libp2p:this.libp2p,upgrader:this.upgrader});this._transports.set(t,n),this._listeners.has(t)||this._listeners.set(t,[])}async close(){const t=[];for(const[e,r]of this._listeners)for(a("closing listeners for %s",e);r.length;){const e=r.pop();t.push(e.close())}await Promise.all(t),a("all listeners closed");for(const e of this._listeners.keys())this._listeners.set(e,[])}async dial(t,e){const r=this.transportForMultiaddr(t);if(!r)throw s(new Error("No transport available for address "+String(t)),i.ERR_TRANSPORT_UNAVAILABLE);try{return await r.dial(t,e)}catch(n){throw n.code||(n.code=i.ERR_TRANSPORT_DIAL_FAILED),n}}getAddrs(){let t=[];for(const e of this._listeners.values())for(const r of e)t=[...t,...r.getAddrs()];return t}getTransports(){return this._transports.values()}transportForMultiaddr(t){for(const e of this._transports.values())if(e.filter([t]).length)return e;return null}async listen(){const t=this.libp2p.addressManager.getListenAddrs();if(0===t.length)return void a("no addresses were provided for listening, this node is dial only");const e=[];for(const[r,o]of this._transports.entries()){const c=o.filter(t),l=[];for(const t of c){a("creating listener for %s on %s",r,t);const e=o.createListener({},this.onConnection);this._listeners.get(r).push(e),l.push(e.listen(t))}if(0!==l.length){if(!(await n(l)).find(t=>!0===t.isFulfilled))throw s(new Error(`Transport (${r}) could not listen on any available address`),i.ERR_NO_VALID_ADDRESSES)}else e.push(r)}if(e.length===this._transports.size){const t=`no valid addresses were provided for transports [${e}]`;if(this.faultTolerance===l.FATAL_ALL)throw s(new Error(t),i.ERR_NO_VALID_ADDRESSES);a("libp2p in dial mode only: "+t)}}async remove(t){if(a("removing %s",t),this._listeners.has(t))for(const e of this._listeners.get(t))await e.close();this._transports.delete(t),this._listeners.delete(t)}async removeAll(){const t=[];for(const e of this._transports.keys())t.push(this.remove(e));await Promise.all(t)}}const l={FATAL_ALL:0,NO_FATAL:1};c.FaultTolerance=l,t.exports=c},"+ufD":function(t,e){t.exports=function t(e,r){var n,i=0,s=0,o=r=r||0,a=e.length;do{if(o>=a)throw t.bytes=0,new RangeError("Could not decode varint");n=e[o++],i+=s<28?(127&n)<=128);return t.bytes=o-r,i}},"/0Yc":function(t,e,r){var n=r("OqFC"),i=r("T01k"),s=Object.prototype.toString,o="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===s.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===s.call(File);e.deconstructPacket=function(t){var e=[],r=t;return r.data=function t(e,r){if(!e)return e;if(i(e)){var s={_placeholder:!0,num:r.length};return r.push(e),s}if(n(e)){for(var o=new Array(e.length),a=0;at),this.streams=t.streams||(t.stream?[t.stream]:[]),this.trickle=void 0===t.trickle||t.trickle,this.allowHalfTrickle=void 0!==t.allowHalfTrickle&&t.allowHalfTrickle,this.iceCompleteTimeout=t.iceCompleteTimeout||5e3,this._connected=!1,this.remoteAddress=void 0,this.remoteFamily=void 0,this.remotePort=void 0,this.localAddress=void 0,this.localFamily=void 0,this.localPort=void 0,this._wrtc=t.wrtc&&"object"==typeof t.wrtc?t.wrtc:i(),!this._wrtc)throw"undefined"==typeof window?c(new Error("No WebRTC support: Specify `opts.wrtc` option in this environment"),"ERR_WEBRTC_SUPPORT"):c(new Error("No WebRTC support: Not a supported browser"),"ERR_WEBRTC_SUPPORT");this._pcReady=!1,this._channelReady=!1,this._iceComplete=!1,this._iceCompleteTimer=null,this._channel=null,this._pendingCandidates=[],this._isNegotiating=!this.negotiated&&!this.initiator,this._batchedNegotiation=!1,this._queuedNegotiation=!1,this._sendersAwaitingStable=[],this._senderMap=new Map,this._firstStable=!0,this._closingInterval=null,this._remoteTracks=[],this._remoteStreams=[],this._chunk=null,this._cb=null,this._interval=null;try{this._pc=new this._wrtc.RTCPeerConnection(this.config)}catch(e){return void a(()=>this.destroy(c(e,"ERR_PC_CONSTRUCTOR")))}this._isReactNativeWebrtc="number"==typeof this._pc._peerConnectionId,this._pc.oniceconnectionstatechange=()=>{this._onIceStateChange()},this._pc.onicegatheringstatechange=()=>{this._onIceStateChange()},this._pc.onconnectionstatechange=()=>{this._onConnectionStateChange()},this._pc.onsignalingstatechange=()=>{this._onSignalingStateChange()},this._pc.onicecandidate=t=>{this._onIceCandidate(t)},this.initiator||this.negotiated?this._setupData({channel:this._pc.createDataChannel(this.channelName,this.channelConfig)}):this._pc.ondatachannel=t=>{this._setupData(t)},this.streams&&this.streams.forEach(t=>{this.addStream(t)}),this._pc.ontrack=t=>{this._onTrack(t)},this.initiator&&this._needsNegotiation(),this._onFinishBound=()=>{this._onFinish()},this.once("finish",this._onFinishBound)}get bufferSize(){return this._channel&&this._channel.bufferedAmount||0}get connected(){return this._connected&&"open"===this._channel.readyState}address(){return{port:this.localPort,family:this.localFamily,address:this.localAddress}}signal(t){if(this.destroyed)throw c(new Error("cannot signal after peer is destroyed"),"ERR_SIGNALING");if("string"==typeof t)try{t=JSON.parse(t)}catch(e){t={}}this._debug("signal()"),t.renegotiate&&this.initiator&&(this._debug("got request to renegotiate"),this._needsNegotiation()),t.transceiverRequest&&this.initiator&&(this._debug("got request for transceiver"),this.addTransceiver(t.transceiverRequest.kind,t.transceiverRequest.init)),t.candidate&&(this._pc.remoteDescription&&this._pc.remoteDescription.type?this._addIceCandidate(t.candidate):this._pendingCandidates.push(t.candidate)),t.sdp&&this._pc.setRemoteDescription(new this._wrtc.RTCSessionDescription(t)).then(()=>{this.destroyed||(this._pendingCandidates.forEach(t=>{this._addIceCandidate(t)}),this._pendingCandidates=[],"offer"===this._pc.remoteDescription.type&&this._createAnswer())}).catch(t=>{this.destroy(c(t,"ERR_SET_REMOTE_DESCRIPTION"))}),t.sdp||t.candidate||t.renegotiate||t.transceiverRequest||this.destroy(c(new Error("signal() called with invalid signal data"),"ERR_SIGNALING"))}_addIceCandidate(t){var e=new this._wrtc.RTCIceCandidate(t);this._pc.addIceCandidate(e).catch(t=>{!e.address||e.address.endsWith(".local")?console.warn("Ignoring unsupported ICE candidate."):this.destroy(c(t,"ERR_ADD_ICE_CANDIDATE"))})}send(t){this._channel.send(t)}addTransceiver(t,e){if(this._debug("addTransceiver()"),this.initiator)try{this._pc.addTransceiver(t,e),this._needsNegotiation()}catch(r){this.destroy(c(r,"ERR_ADD_TRANSCEIVER"))}else this.emit("signal",{transceiverRequest:{kind:t,init:e}})}addStream(t){this._debug("addStream()"),t.getTracks().forEach(e=>{this.addTrack(e,t)})}addTrack(t,e){this._debug("addTrack()");var r=this._senderMap.get(t)||new Map,n=r.get(e);if(n)throw n.removed?c(new Error("Track has been removed. You should enable/disable tracks that you want to re-add."),"ERR_SENDER_REMOVED"):c(new Error("Track has already been added to that stream."),"ERR_SENDER_ALREADY_ADDED");n=this._pc.addTrack(t,e),r.set(e,n),this._senderMap.set(t,r),this._needsNegotiation()}replaceTrack(t,e,r){this._debug("replaceTrack()");var n=this._senderMap.get(t),i=n?n.get(r):null;if(!i)throw c(new Error("Cannot replace track that was never added."),"ERR_TRACK_NOT_ADDED");e&&this._senderMap.set(e,n),null!=i.replaceTrack?i.replaceTrack(e):this.destroy(c(new Error("replaceTrack is not supported in this browser"),"ERR_UNSUPPORTED_REPLACETRACK"))}removeTrack(t,e){this._debug("removeSender()");var r=this._senderMap.get(t),n=r?r.get(e):null;if(!n)throw c(new Error("Cannot remove track that was never added."),"ERR_TRACK_NOT_ADDED");try{n.removed=!0,this._pc.removeTrack(n)}catch(i){"NS_ERROR_UNEXPECTED"===i.name?this._sendersAwaitingStable.push(n):this.destroy(c(i,"ERR_REMOVE_TRACK"))}this._needsNegotiation()}removeStream(t){this._debug("removeSenders()"),t.getTracks().forEach(e=>{this.removeTrack(e,t)})}_needsNegotiation(){this._debug("_needsNegotiation"),this._batchedNegotiation||(this._batchedNegotiation=!0,a(()=>{this._batchedNegotiation=!1,this._debug("starting batched negotiation"),this.negotiate()}))}negotiate(){this.initiator?this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("start negotiation"),setTimeout(()=>{this._createOffer()},0)):this._isNegotiating?(this._queuedNegotiation=!0,this._debug("already negotiating, queueing")):(this._debug("requesting negotiation from initiator"),this.emit("signal",{renegotiate:!0})),this._isNegotiating=!0}_destroy(t,e){if(this._debug("destroy (error: %s)",t&&(t.message||t)),this.readable=this.writable=!1,this._readableState.ended||this.push(null),this._writableState.finished||this.end(),this._connected=!1,this._pcReady=!1,this._channelReady=!1,this._remoteTracks=null,this._remoteStreams=null,this._senderMap=null,clearInterval(this._closingInterval),this._closingInterval=null,clearInterval(this._interval),this._interval=null,this._chunk=null,this._cb=null,this._onFinishBound&&this.removeListener("finish",this._onFinishBound),this._onFinishBound=null,this._channel){try{this._channel.close()}catch(t){}this._channel.onmessage=null,this._channel.onopen=null,this._channel.onclose=null,this._channel.onerror=null}if(this._pc){try{this._pc.close()}catch(t){}this._pc.oniceconnectionstatechange=null,this._pc.onicegatheringstatechange=null,this._pc.onsignalingstatechange=null,this._pc.onicecandidate=null,this._pc.ontrack=null,this._pc.ondatachannel=null}this._pc=null,this._channel=null,e(t)}_setupData(t){if(!t.channel)return this.destroy(c(new Error("Data channel event is missing `channel` property"),"ERR_DATA_CHANNEL"));this._channel=t.channel,this._channel.binaryType="arraybuffer","number"==typeof this._channel.bufferedAmountLowThreshold&&(this._channel.bufferedAmountLowThreshold=65536),this.channelName=this._channel.label,this._channel.onmessage=t=>{this._onChannelMessage(t)},this._channel.onbufferedamountlow=()=>{this._onChannelBufferedAmountLow()},this._channel.onopen=()=>{this._onChannelOpen()},this._channel.onclose=()=>{this._onChannelClose()},this._channel.onerror=t=>{this.destroy(c(t,"ERR_DATA_CHANNEL"))};var e=!1;this._closingInterval=setInterval(()=>{this._channel&&"closing"===this._channel.readyState?(e&&this._onChannelClose(),e=!0):e=!1},5e3)}_read(){}_write(t,e,r){if(this.destroyed)return r(c(new Error("cannot write after peer is destroyed"),"ERR_DATA_CHANNEL"));if(this._connected){try{this.send(t)}catch(n){return this.destroy(c(n,"ERR_DATA_CHANNEL"))}this._channel.bufferedAmount>65536?(this._debug("start backpressure: bufferedAmount %d",this._channel.bufferedAmount),this._cb=r):r(null)}else this._debug("write before connect"),this._chunk=t,this._cb=r}_onFinish(){if(this.destroyed)return;const t=()=>{setTimeout(()=>this.destroy(),1e3)};this._connected?t():this.once("connect",t)}_startIceCompleteTimeout(){this.destroyed||this._iceCompleteTimer||(this._debug("started iceComplete timeout"),this._iceCompleteTimer=setTimeout(()=>{this._iceComplete||(this._iceComplete=!0,this._debug("iceComplete timeout completed"),this.emit("iceTimeout"),this.emit("_iceComplete"))},this.iceCompleteTimeout))}_createOffer(){this.destroyed||this._pc.createOffer(this.offerOptions).then(t=>{if(this.destroyed)return;this.trickle||this.allowHalfTrickle||(t.sdp=l(t.sdp)),t.sdp=this.sdpTransform(t.sdp);const e=()=>{if(!this.destroyed){var e=this._pc.localDescription||t;this._debug("signal"),this.emit("signal",{type:e.type,sdp:e.sdp})}};this._pc.setLocalDescription(t).then(()=>{this._debug("createOffer success"),this.destroyed||(this.trickle||this._iceComplete?e():this.once("_iceComplete",e))}).catch(t=>{this.destroy(c(t,"ERR_SET_LOCAL_DESCRIPTION"))})}).catch(t=>{this.destroy(c(t,"ERR_CREATE_OFFER"))})}_requestMissingTransceivers(){this._pc.getTransceivers&&this._pc.getTransceivers().forEach(t=>{t.mid||!t.sender.track||t.requested||(t.requested=!0,this.addTransceiver(t.sender.track.kind))})}_createAnswer(){this.destroyed||this._pc.createAnswer(this.answerOptions).then(t=>{if(this.destroyed)return;this.trickle||this.allowHalfTrickle||(t.sdp=l(t.sdp)),t.sdp=this.sdpTransform(t.sdp);const e=()=>{if(!this.destroyed){var e=this._pc.localDescription||t;this._debug("signal"),this.emit("signal",{type:e.type,sdp:e.sdp}),this.initiator||this._requestMissingTransceivers()}};this._pc.setLocalDescription(t).then(()=>{this.destroyed||(this.trickle||this._iceComplete?e():this.once("_iceComplete",e))}).catch(t=>{this.destroy(c(t,"ERR_SET_LOCAL_DESCRIPTION"))})}).catch(t=>{this.destroy(c(t,"ERR_CREATE_ANSWER"))})}_onConnectionStateChange(){this.destroyed||"failed"===this._pc.connectionState&&this.destroy(c(new Error("Connection failed."),"ERR_CONNECTION_FAILURE"))}_onIceStateChange(){if(!this.destroyed){var t=this._pc.iceConnectionState,e=this._pc.iceGatheringState;this._debug("iceStateChange (connection: %s) (gathering: %s)",t,e),this.emit("iceStateChange",t,e),"connected"!==t&&"completed"!==t||(this._pcReady=!0,this._maybeReady()),"failed"===t&&this.destroy(c(new Error("Ice connection failed."),"ERR_ICE_CONNECTION_FAILURE")),"closed"===t&&this.destroy(c(new Error("Ice connection closed."),"ERR_ICE_CONNECTION_CLOSED"))}}getStats(t){const e=t=>("[object Array]"===Object.prototype.toString.call(t.values)&&t.values.forEach(e=>{Object.assign(t,e)}),t);0===this._pc.getStats.length||this._isReactNativeWebrtc?this._pc.getStats().then(r=>{var n=[];r.forEach(t=>{n.push(e(t))}),t(null,n)},e=>t(e)):this._pc.getStats.length>0?this._pc.getStats(r=>{if(!this.destroyed){var n=[];r.result().forEach(t=>{var r={};t.names().forEach(e=>{r[e]=t.stat(e)}),r.id=t.id,r.type=t.type,r.timestamp=t.timestamp,n.push(e(r))}),t(null,n)}},e=>t(e)):t(null,[])}_maybeReady(){if(this._debug("maybeReady pc %s channel %s",this._pcReady,this._channelReady),this._connected||this._connecting||!this._pcReady||!this._channelReady)return;this._connecting=!0;const t=()=>{this.destroyed||this.getStats((e,r)=>{if(this.destroyed)return;e&&(r=[]);var n={},i={},s={},o=!1;r.forEach(t=>{"remotecandidate"!==t.type&&"remote-candidate"!==t.type||(n[t.id]=t),"localcandidate"!==t.type&&"local-candidate"!==t.type||(i[t.id]=t),"candidatepair"!==t.type&&"candidate-pair"!==t.type||(s[t.id]=t)});const a=t=>{o=!0;var e=i[t.localCandidateId];e&&(e.ip||e.address)?(this.localAddress=e.ip||e.address,this.localPort=Number(e.port)):e&&e.ipAddress?(this.localAddress=e.ipAddress,this.localPort=Number(e.portNumber)):"string"==typeof t.googLocalAddress&&(e=t.googLocalAddress.split(":"),this.localAddress=e[0],this.localPort=Number(e[1])),this.localAddress&&(this.localFamily=this.localAddress.includes(":")?"IPv6":"IPv4");var r=n[t.remoteCandidateId];r&&(r.ip||r.address)?(this.remoteAddress=r.ip||r.address,this.remotePort=Number(r.port)):r&&r.ipAddress?(this.remoteAddress=r.ipAddress,this.remotePort=Number(r.portNumber)):"string"==typeof t.googRemoteAddress&&(r=t.googRemoteAddress.split(":"),this.remoteAddress=r[0],this.remotePort=Number(r[1])),this.remoteAddress&&(this.remoteFamily=this.remoteAddress.includes(":")?"IPv6":"IPv4"),this._debug("connect local: %s:%s remote: %s:%s",this.localAddress,this.localPort,this.remoteAddress,this.remotePort)};if(r.forEach(t=>{"transport"===t.type&&t.selectedCandidatePairId&&a(s[t.selectedCandidatePairId]),("googCandidatePair"===t.type&&"true"===t.googActiveConnection||("candidatepair"===t.type||"candidate-pair"===t.type)&&t.selected)&&a(t)}),o||Object.keys(s).length&&!Object.keys(i).length){if(this._connecting=!1,this._connected=!0,this._chunk){try{this.send(this._chunk)}catch(e){return this.destroy(c(e,"ERR_DATA_CHANNEL"))}this._chunk=null,this._debug('sent chunk from "write before connect"');var l=this._cb;this._cb=null,l(null)}"number"!=typeof this._channel.bufferedAmountLowThreshold&&(this._interval=setInterval(()=>this._onInterval(),150),this._interval.unref&&this._interval.unref()),this._debug("connect"),this.emit("connect")}else setTimeout(t,100)})};t()}_onInterval(){!this._cb||!this._channel||this._channel.bufferedAmount>65536||this._onChannelBufferedAmountLow()}_onSignalingStateChange(){this.destroyed||("stable"!==this._pc.signalingState||this._firstStable||(this._isNegotiating=!1,this._debug("flushing sender queue",this._sendersAwaitingStable),this._sendersAwaitingStable.forEach(t=>{this._pc.removeTrack(t),this._queuedNegotiation=!0}),this._sendersAwaitingStable=[],this._queuedNegotiation&&(this._debug("flushing negotiation queue"),this._queuedNegotiation=!1,this._needsNegotiation()),this._debug("negotiate"),this.emit("negotiate")),this._firstStable=!1,this._debug("signalingStateChange %s",this._pc.signalingState),this.emit("signalingStateChange",this._pc.signalingState))}_onIceCandidate(t){this.destroyed||(t.candidate&&this.trickle?this.emit("signal",{candidate:{candidate:t.candidate.candidate,sdpMLineIndex:t.candidate.sdpMLineIndex,sdpMid:t.candidate.sdpMid}}):t.candidate||this._iceComplete||(this._iceComplete=!0,this.emit("_iceComplete")),t.candidate&&this._startIceCompleteTimeout())}_onChannelMessage(t){if(!this.destroyed){var e=t.data;e instanceof ArrayBuffer&&(e=new Uint8Array(e)),this.push(e)}}_onChannelBufferedAmountLow(){if(!this.destroyed&&this._cb){this._debug("ending backpressure: bufferedAmount %d",this._channel.bufferedAmount);var t=this._cb;this._cb=null,t(null)}}_onChannelOpen(){this._connected||this.destroyed||(this._debug("on channel open"),this._channelReady=!0,this._maybeReady())}_onChannelClose(){this.destroyed||(this._debug("on channel close"),this.destroy())}_onTrack(t){this.destroyed||t.streams.forEach(e=>{this._debug("on track"),this.emit("track",t.track,e),this._remoteTracks.push({track:t.track,stream:e}),this._remoteStreams.some(t=>t.id===e.id)||(this._remoteStreams.push(e),a(()=>{this.emit("stream",e)}))})}_debug(){var t=[].slice.call(arguments);t[0]="["+this._id+"] "+t[0],n.apply(null,t)}}u.WEBRTC_SUPPORT=!!i(),u.config={iceServers:[{urls:["stun:stun.l.google.com:19302","stun:global.stun.twilio.com:3478"]}],sdpSemantics:"unified-plan"},u.channelConfig={},t.exports=u},"/44x":function(t,e,r){"use strict";const n=r("q6el"),i={"dag-pb":r("UpB4"),raw:r("riOC"),"dag-cbor":r("lPRJ"),identity:r("d97/")},s=(t,e,r,o,a,c,l)=>{const u=i[t.codec];if(!u)throw n(new Error("No resolver for codec "+t.codec),"ERR_NO_RESOLVER");return u(t,e,r,o,s,a,c,l)};t.exports=s},"/72j":function(t,e,r){var n;t.exports=(n=r("koXT"),r("tiP4"),n.pad.ZeroPadding={pad:function(t,e){var r=4*e;t.clamp(),t.sigBytes+=r-(t.sigBytes%r||r)},unpad:function(t){var e=t.words,r=t.sigBytes-1;for(r=t.sigBytes-1;r>=0;r--)if(e[r>>>2]>>>24-r%4*8&255){t.sigBytes=r+1;break}}},n.pad.ZeroPadding)},"/85P":function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var s=r("b2Gn"),o=r("yKtu");e.BrowserQRCodeReader=function(t){function e(e){return void 0===e&&(e=500),t.call(this,new o.default,e)||this}return i(e,t),e}(s.BrowserCodeReader)},"/I0w":function(t,e,r){"use strict";const n=r("M78E"),{MissingRepoOptionsError:i,NotInitializedRepoError:s}=r("mmA5"),{VERSION_KEY:o,createStore:a}=r("/PNu"),c=r("C5yo");e.getVersion=async function(t,e){if(!(await n.isRepoInitialized(t,e)))throw new s(`Repo in path ${t} is not initialized!`);if(!e)throw new i("Please pass repo options when trying to open a repo");const r=await a(t,"root",e);await r.open();const c=parseInt(await r.get(o));return await r.close(),c},e.setVersion=async function(t,e,r){if(!r)throw new i("Please pass repo options when trying to open a repo");const n=await a(t,"root",r);await n.open(),await n.put(o,c(String(e))),await n.close()}},"/Lte":function(t,e,r){"use strict";t.exports=i;var n=r("HEv2");function i(t){if(!(this instanceof i))return new i(t);n.call(this,t)}r("P7XM")(i,n),i.prototype._transform=function(t,e,r){r(null,t)}},"/PNu":function(t,e,r){"use strict";const n=r("BoQq").Key,i=r("YFdP"),s=i.ShardingDatastore;e.CONFIG_KEY=new n("/config"),e.VERSION_KEY=new n("/version"),e.createStore=async function(t,e,r){const{StorageBackend:n,storageOptions:o}=function(t,e){if(!e||!e.storageBackends)throw new Error("Please pass storage backend definitions");if(!e.storageBackends[t])throw new Error(`Storage backend '${t}' not defined in config`);let r={};return void 0!==e.storageBackendOptions&&void 0!==e.storageBackendOptions[t]&&(r=e.storageBackendOptions[t]),{StorageBackend:e.storageBackends[t],storageOptions:r}}(e,r);"root"!==e&&(t=`${t}/${e}`);let a=new n(t,o);if(o.sharding){const t=new i.shard.NextToLast(2);a=await s.createOrOpen(a,t)}return await a.close(),a},e.containsIrreversibleMigration=function(t,e,r){return r.filter(r=>r.version>t&&r.version<=e).some(t=>void 0===t.revert)}},"/TpD":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("6+ya"),i=r("3hS6"),s=r("qvwL"),o=r("VUZM"),a=r("LTWs"),c=r("E1XC"),l=r("xfso"),u=r("u3XB");e.default=function(){function t(){this.rsDecoder=new s.default(i.default.QR_CODE_FIELD_256)}return t.prototype.decodeBooleanArray=function(t,e){return this.decodeBitMatrix(n.default.parseFromBooleanArray(t),e)},t.prototype.decodeBitMatrix=function(t,e){var r=new o.default(t),n=null;try{return this.decodeBitMatrixParser(r,e)}catch(s){n=s}try{r.remask(),r.setMirror(!0),r.readVersion(),r.readFormatInformation(),r.mirror();var i=this.decodeBitMatrixParser(r,e);return i.setOther(new a.default(!0)),i}catch(s){if(null!==n)throw n;throw s}},t.prototype.decodeBitMatrixParser=function(t,e){for(var r=t.readVersion(),n=t.readFormatInformation().getErrorCorrectionLevel(),i=t.readCodewords(),s=c.default.getDataBlocks(i,r,n),o=0,a=0,u=s;at;t.exports=class{constructor({peerStore:t,eventName:e,eventProperty:r,eventTransformer:n=o}){this._ps=t,this.eventName=e,this.eventProperty=r,this.eventTransformer=n,this.data=new Map}set(t,e){throw n(new Error("set must be implemented by the subclass"),"ERR_NOT_IMPLEMENTED")}_setData(t,e,{emit:r=!0}={}){const n=t.toB58String();this.data.set(n,e),r&&this._emit(t,e)}_emit(t,e){this._ps.emit(this.eventName,{peerId:t,[this.eventProperty]:this.eventTransformer(e)})}get(t){if(!i.isPeerId(t))throw n(new Error("peerId must be an instance of peer-id"),s);const e=this.data.get(t.toB58String());return e?[...e]:void 0}delete(t){if(!i.isPeerId(t))throw n(new Error("peerId must be an instance of peer-id"),s);return!!this.data.delete(t.toB58String())&&(this._emit(t,[]),!0)}}},"/dJ/":function(t,e,r){"use strict";const n=r("DN/Y"),i=r("Zene"),s=r("8jSo");t.exports=t=>{const e=i(),r=n(t.source),o=s();let a;const c=t.sink(async function*(){yield*e;const t=await o.promise;yield*t}());return c.catch(t=>{a=t}),{reader:r,writer:e,stream:{sink:t=>a?Promise.reject(a):(o.resolve(t),c),source:r},rest:()=>e.end(),write:e.push,read:async()=>(await r.next()).value}}},"/mhx":function(t,e,r){"use strict";t.exports=function(t){if(!Array.isArray(t))throw new TypeError("Expected Array, got "+typeof t);for(var e,r,n=t.length,i=t.slice();n;)e=Math.floor(Math.random()*n--),r=i[n],i[n]=i[e],i[e]=r;return i}},"/nFJ":function(t,e,r){"use strict";function n(t){return!isNaN(parseFloat(t))&&isFinite(t)}function i(t){return null!==t&&"object"==typeof t&&t.constructor===Object}function s(t){return o(t)&&"number"==typeof t.length}function o(t){return"object"==typeof t&&null!==t}function a(t){return void 0!==t}function c(t){return!a(t)}function l(t){return null===t}function u(t){return a(t)&&!l(t)&&!Number.isNaN(t)}function h(t){return"function"==typeof t&&/^class /.test(Function.prototype.toString.call(t))}function d(t){if(null===t)return!0;switch(typeof t){case"string":case"number":case"symbol":case"undefined":case"boolean":return!0;default:return!1}}function f(t){if(t){const e=a(Promise)&&t instanceof Promise,r=t.then&&"function"==typeof t.then;return!(!e&&!r)}return!1}function p(t){return!(null===t||!a(t)||"function"!=typeof t[Symbol.iterator]&&"function"!=typeof t[Symbol.asyncIterator])}function g(t){return"string"==typeof t}function m(t){return"function"==typeof t}r.r(e),r.d(e,"isNumber",(function(){return n})),r.d(e,"isPlainObject",(function(){return i})),r.d(e,"isArrayLike",(function(){return s})),r.d(e,"isObject",(function(){return o})),r.d(e,"isDefined",(function(){return a})),r.d(e,"isUndefined",(function(){return c})),r.d(e,"isNull",(function(){return l})),r.d(e,"isDefinedValue",(function(){return u})),r.d(e,"isClass",(function(){return h})),r.d(e,"isPrimitive",(function(){return d})),r.d(e,"isPromise",(function(){return f})),r.d(e,"isIterable",(function(){return p})),r.d(e,"isString",(function(){return g})),r.d(e,"isFunction",(function(){return m})),e.default={isNumber:n,isPlainObject:i,isArrayLike:s,isObject:o,isDefined:a,isUndefined:c,isNull:l,isDefinedValue:u,isClass:h,isPrimitive:d,isPromise:f,isIterable:p,isString:g,isFunction:m}},"/u6j":function(t,e,r){e.AbstractLevelDOWN=r("Ocy8"),e.AbstractIterator=r("PS3J"),e.AbstractChainedBatch=r("wAKu")},"/uUt":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("7o/Q");function i(t,e){return r=>r.lift(new s(t,e))}class s{constructor(t,e){this.compare=t,this.keySelector=e}call(t,e){return e.subscribe(new o(t,this.compare,this.keySelector))}}class o extends n.a{constructor(t,e,r){super(t),this.keySelector=r,this.hasKey=!1,"function"==typeof e&&(this.compare=e)}compare(t,e){return t===e}_next(t){let e;try{const{keySelector:r}=this;e=r?r(t):t}catch(n){return this.destination.error(n)}let r=!1;if(this.hasKey)try{const{compare:t}=this;r=t(this.key,e)}catch(n){return this.destination.error(n)}else this.hasKey=!0;r||(this.key=e,this.destination.next(t))}}},"/wS2":function(t,e,r){"use strict";const n=r("DN/Y"),i=r("Hmxq")("it-multistream-select:ls"),s=r("0OEC"),o=r("/dJ/"),a=r("78EY"),c=r("r/ho");t.exports=async t=>{const{reader:e,writer:r,rest:l,stream:u}=o(t);i('write "ls"'),s.write(r,"ls"),l();const h=await s.read(e),d=n([h]),f=[];return await c(d,a.decode(),async t=>{for await(const e of t)f.push(e.shallowSlice(0,-1).toString())}),{stream:u,protocols:f}}},"/zKv":function(t,e,r){const n=r("OK34");function i(t){const e=new n;function r(){e.abort();for(const e of t)e&&e.removeEventListener&&e.removeEventListener("abort",r)}for(const n of t)if(n&&n.addEventListener){if(n.aborted){r();break}n.addEventListener("abort",r)}return e.signal}t.exports=i,t.exports.anySignal=i},0:function(t,e,r){t.exports=r("zUnb")},"05G6":function(t,e,r){var n=r("FWTo"),i=r("DkXX");function s(t){this.mode=i.BYTE,this.data=n.from(t)}s.getBitsLength=function(t){return 8*t},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(t){for(var e=0,r=this.data.length;e3&&239===e[0]&&187===e[1]&&191===e[2],w=0;w0?0==(128&_)?a=!1:c--:0!=(128&_)&&(0==(64&_)?a=!1:(c++,0==(32&_)?l++:(c++,0==(16&_)?u++:(c++,0==(8&_)?h++:a=!1))))),s&&(_>127&&_<160?s=!1:_>159&&(_<192||215===_||247===_)&&y++),o&&(d>0?_<64||127===_||_>252?o=!1:d--:128===_||160===_||_>239?o=!1:_>160&&_<224?(f++,g=0,++p>m&&(m=p)):_>127?(d++,p=0,++g>b&&(b=g)):(p=0,g=0))}return a&&c>0&&(a=!1),o&&d>0&&(o=!1),a&&(v||l+u+h>0)?t.UTF8:o&&(t.ASSUME_SHIFT_JIS||m>=3||b>=3)?t.SHIFT_JIS:s&&o?2===m&&2===f||10*y>=i?t.SHIFT_JIS:t.ISO88591:s?t.ISO88591:o?t.SHIFT_JIS:a?t.UTF8:t.PLATFORM_DEFAULT_ENCODING},t.SHIFT_JIS=i.default.SJIS.getName(),t.GB2312="GB2312",t.ISO88591=i.default.ISO8859_1.getName(),t.EUC_JP="EUC_JP",t.UTF8=i.default.UTF8.getName(),t.PLATFORM_DEFAULT_ENCODING=t.UTF8,t.ASSUME_SHIFT_JIS=!1,t}()},"0EQZ":function(t,e,r){"use strict";r.d(e,"a",(function(){return c})),r.d(e,"b",(function(){return o})),r.d(e,"c",(function(){return l})),r.d(e,"d",(function(){return a}));var n=r("7+OI"),i=r("LRne"),s=r("XNiG");r("fXoL");class o{}function a(t){return t&&"function"==typeof t.connect}class c extends o{constructor(t){super(),this._data=t}connect(){return Object(n.a)(this._data)?this._data:Object(i.a)(this._data)}disconnect(){}}class l{constructor(t=!1,e,r=!0){this._multiple=t,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new s.a,e&&e.length&&(t?e.forEach(t=>this._markSelected(t)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...t){this._verifyValueAssignment(t),t.forEach(t=>this._markSelected(t)),this._emitChangeEvent()}deselect(...t){this._verifyValueAssignment(t),t.forEach(t=>this._unmarkSelected(t)),this._emitChangeEvent()}toggle(t){this.isSelected(t)?this.deselect(t):this.select(t)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(t){return this._selection.has(t)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(t){this._multiple&&this.selected&&this._selected.sort(t)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(t){this.isSelected(t)||(this._multiple||this._unmarkAll(),this._selection.add(t),this._emitChanges&&this._selectedToEmit.push(t))}_unmarkSelected(t){this.isSelected(t)&&(this._selection.delete(t),this._emitChanges&&this._deselectedToEmit.push(t))}_unmarkAll(){this.isEmpty()||this._selection.forEach(t=>this._unmarkSelected(t))}_verifyValueAssignment(t){if(t.length>1&&!this._multiple)throw Error("Cannot pass multiple values into SelectionModel with single-value mode.")}}},"0EUg":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("bHdf");function i(){return Object(n.a)(1)}},"0Ft4":function(t,e){t.exports=function(t,e){for(var r=[],n=(e=e||0)||0;n{t=t||1048576;const e=e=>{if(e.data&&e.data.length>t)throw Object.assign(new Error("message size too large!"),{code:"ERR_MSG_TOO_BIG"})};return t=>async function*(){for await(const r of t)Array.isArray(r)?r.forEach(e):e(r),yield r}()},t.exports.MAX_MSG_SIZE=1048576},"0OEC":function(t,e,r){"use strict";const n=r("22DD"),i=r("78EY"),s=r("r/ho"),o=r("q6el"),a=r("C5yo")("\n");async function c(t){for await(const e of t)return e}e.encode=t=>i.encode.single(new n([t,a])),e.write=(t,r)=>t.push(e.encode(r)),e.writeAll=(t,r)=>{t.push(r.reduce((t,r)=>t.append(e.encode(r)),new n))},e.read=async t=>{let e=1;const r={[Symbol.asyncIterator](){return this},next:()=>t.next(e)},n=await s(r,i.decode({onLength:t=>{e=t}}),c);if(n.get(n.length-1)!==a[0])throw o(new Error("missing newline"),"ERR_INVALID_MULTISTREAM_SELECT_MESSAGE");return n.shallowSlice(0,-1)}},"0PSg":function(t,e,r){"use strict";const n=r("69Qu"),i=()=>{};t.exports=n(class{constructor({min:t=0,max:e=1/0,handlers:r={}}){this.min=t,this.max=e,this._onConnect=r.onConnect||i,this._onDisconnect=r.onDisconnect||i,this.peers=new Set}set registrar(t){this._registrar=t}disconnect(t){this._onDisconnect(t)}},{className:"Topology",symbolName:"@libp2p/js-interfaces/topology"})},"0RUh":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hasGossipProtocol=void 0;const n=r("sPJN");e.hasGossipProtocol=function(t){return t===n.GossipsubIDv10||t===n.GossipsubIDv11}},"0Uh+":function(t,e,r){var n=r("DkXX"),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function s(t){this.mode=n.ALPHANUMERIC,this.data=t}s.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},s.prototype.getLength=function(){return this.data.length},s.prototype.getBitsLength=function(){return s.getBitsLength(this.data.length)},s.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*i.indexOf(this.data[e]);r+=i.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(i.indexOf(this.data[e]),6)},t.exports=s},"0W34":function(t,e,r){"use strict";const n=r("Hmxq"),i=n("libp2p:connection-manager");i.error=n("libp2p:connection-manager:error");const s=r("q6el"),o=r("s3Ps"),a=r("uCMN"),c=r("FqEz"),{EventEmitter:l}=r("+qE3"),u=r("J8CR"),{ERR_INVALID_PARAMETERS:h}=r("KBud"),d={maxConnections:1/0,minConnections:0,maxData:1/0,maxSentData:1/0,maxReceivedData:1/0,maxEventLoopDelay:1/0,pollInterval:2e3,autoDialInterval:1e4,movingAverageInterval:6e4,defaultPeerValue:1};function f(t,e){return t[1]-e[1]}t.exports=class extends l{constructor(t,e){if(super(),this._libp2p=t,this._peerId=t.peerId.toB58String(),this._options=o.call({ignoreUndefined:!0},d,e),this._options.maxConnectionst+e.length,0)}start(){this._libp2p.metrics&&(this._timer=this._timer||c(this._checkMetrics,this._options.pollInterval)),this._latencyMonitor=new a({latencyCheckIntervalMs:this._options.pollInterval,dataEmitIntervalMs:this._options.pollInterval}),this._onLatencyMeasure=this._onLatencyMeasure.bind(this),this._latencyMonitor.on("data",this._onLatencyMeasure),this._started=!0,i("started"),this._options.autoDial&&this._autoDial()}async stop(){this._autoDialTimeout&&this._autoDialTimeout.clear(),this._timer&&this._timer.clear(),this._latencyMonitor&&this._latencyMonitor.removeListener("data",this._onLatencyMeasure),this._started=!1,await this._close(),i("stopped")}async _close(){const t=[];for(const e of this.connections.values())for(const r of e)t.push(r.close());await t,this.connections.clear()}setPeerValue(t,e){if(e<0||e>1)throw new Error("value should be a number between 0 and 1");t.toB58String&&(t=t.toB58String()),this._peerValues.set(t,e)}_checkMetrics(){const t=this._libp2p.metrics.global.movingAverages,e=t.dataReceived[this._options.movingAverageInterval].movingAverage();this._checkMaxLimit("maxReceivedData",e);const r=t.dataSent[this._options.movingAverageInterval].movingAverage();this._checkMaxLimit("maxSentData",r);const n=e+r;this._checkMaxLimit("maxData",n),i("metrics update",n),this._timer=c(this._checkMetrics,this._options.pollInterval)}onConnect(t){const e=t.remotePeer,r=e.toB58String(),n=this.connections.get(r);this.emit("peer:connect",t),n?n.push(t):this.connections.set(r,[t]),this._libp2p.peerStore.keyBook.set(e,e.pubKey),this._peerValues.has(r)||this._peerValues.set(r,this._options.defaultPeerValue),this._checkMaxLimit("maxConnections",this.size)}onDisconnect(t){const e=t.remotePeer.toB58String();let r=this.connections.get(e);r&&r.length>1?(r=r.filter(e=>e.id!==t.id),this.connections.set(e,r)):r&&(this.connections.delete(e),this._peerValues.delete(t.remotePeer.toB58String()),this.emit("peer:disconnect",t))}get(t){const e=this.getAll(t);return e.length?e[0]:null}getAll(t){if(!u.isPeerId(t))throw s(new Error("peerId must be an instance of peer-id"),h);const e=t.toB58String(),r=this.connections.get(e);return r?r.filter(t=>"open"===t.stat.status):[]}_onLatencyMeasure(t){this._checkMaxLimit("maxEventLoopDelay",t.avgMs)}_checkMaxLimit(t,e){const r=this._options[t];i("checking limit of %s. current value: %d of %d",t,e,r),e>r&&(i("%s: limit exceeded: %s, %d",this._peerId,t,e),this._maybeDisconnectOne())}async _autoDial(){const t=this._options.minConnections;if(this.size>=t)return void(this._autoDialTimeout=c(this._autoDial,this._options.autoDialInterval));const e=Array.from(this._libp2p.peerStore.peers.values()).sort((t,e)=>!e.protocols||!e.protocols.length||t.protocols&&t.protocols.length?e.id.pubKey&&!t.id.pubKey?1:-1:1);for(let n=0;n255)return!1;return!0}function o(t,e){return(65535&t)*e+(((t>>>16)*e&65535)<<16)}function a(t,e){return t<>>32-e}function c(t){return t=o(t^=t>>>16,2246822507),(t=o(t^=t>>>13,3266489909))^t>>>16}function l(t,e){var r=[0,0,0,0];return r[3]+=(t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]])[3]+(e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]])[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=t[2]+e[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=t[1]+e[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=t[0]+e[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function u(t,e){var r=[0,0,0,0];return r[3]+=(t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]])[3]*(e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]])[3],r[2]+=r[3]>>>16,r[3]&=65535,r[2]+=t[2]*e[3],r[1]+=r[2]>>>16,r[2]&=65535,r[2]+=t[3]*e[2],r[1]+=r[2]>>>16,r[2]&=65535,r[1]+=t[1]*e[3],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=t[2]*e[2],r[0]+=r[1]>>>16,r[1]&=65535,r[1]+=t[3]*e[1],r[0]+=r[1]>>>16,r[1]&=65535,r[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],r[0]&=65535,[r[0]<<16|r[1],r[2]<<16|r[3]]}function h(t,e){return 32==(e%=64)?[t[1],t[0]]:e<32?[t[0]<>>32-e,t[1]<>>32-e]:[t[1]<<(e-=32)|t[0]>>>32-e,t[0]<>>32-e]}function d(t,e){return 0==(e%=64)?t:e<32?[t[0]<>>32-e,t[1]<>>1]),t=f(t=u(t,[4283543511,3981806797]),[0,t[0]>>>1]),f(t=u(t,[3301882366,444984403]),[0,t[0]>>>1])}i.x86.hash32=function(t,e){if(!i.inputValidation||s(t)){for(var r=t.length%4,n=t.length-r,l=e=e||0,u=0,h=3432918353,d=461845907,f=0;f>>0}},i.x86.hash128=function(t,e){if(!i.inputValidation||s(t)){for(var r=t.length%16,n=t.length-r,l=e=e||0,u=e,h=e,d=e,f=0,p=0,g=0,m=0,b=597399067,y=2869860233,v=951274213,w=2716044179,_=0;_>>0).toString(16)).slice(-8)+("00000000"+(u>>>0).toString(16)).slice(-8)+("00000000"+(h>>>0).toString(16)).slice(-8)+("00000000"+(d>>>0).toString(16)).slice(-8)}},i.x64.hash128=function(t,e){if(!i.inputValidation||s(t)){for(var r=t.length%16,n=t.length-r,o=[0,e=e||0],a=[0,e],c=[0,0],g=[0,0],m=[2277735313,289559509],b=[1291169091,658871167],y=0;y>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)}},t.exports&&(e=t.exports=i),e.murmurHash3=i}()},"0XuU":function(t,e,r){t.exports=r("43KI").Transform},"0dCl":function(t,e,r){var n=r("m4EQ");function i(t,e,r){var n=t[e]+t[r],i=t[e+1]+t[r+1];n>=4294967296&&i++,t[e]=n,t[e+1]=i}function s(t,e,r,n){var i=t[e]+r;r<0&&(i+=4294967296);var s=t[e+1]+n;i>=4294967296&&s++,t[e]=i,t[e+1]=s}function o(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function a(t,e,r,n,o,a){var c=h[o],l=h[o+1],d=h[a],f=h[a+1];i(u,t,e),s(u,t,c,l);var p=u[n]^u[t],g=u[n+1]^u[t+1];u[n]=g,u[n+1]=p,i(u,r,n),u[e]=(p=u[e]^u[r])>>>24^(g=u[e+1]^u[r+1])<<8,u[e+1]=g>>>24^p<<8,i(u,t,e),s(u,t,d,f),u[n]=(p=u[n]^u[t])>>>16^(g=u[n+1]^u[t+1])<<16,u[n+1]=g>>>16^p<<16,i(u,r,n),u[e]=(g=u[e+1]^u[r+1])>>>31^(p=u[e]^u[r])<<1,u[e+1]=p>>>31^g<<1}var c=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),l=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3].map((function(t){return 2*t}))),u=new Uint32Array(32),h=new Uint32Array(32);function d(t,e){var r=0;for(r=0;r<16;r++)u[r]=t.h[r],u[r+16]=c[r];for(u[24]=u[24]^t.t,u[25]=u[25]^t.t/4294967296,e&&(u[28]=~u[28],u[29]=~u[29]),r=0;r<32;r++)h[r]=o(t.b,4*r);for(r=0;r<12;r++)a(0,8,16,24,l[16*r+0],l[16*r+1]),a(2,10,18,26,l[16*r+2],l[16*r+3]),a(4,12,20,28,l[16*r+4],l[16*r+5]),a(6,14,22,30,l[16*r+6],l[16*r+7]),a(0,10,20,30,l[16*r+8],l[16*r+9]),a(2,12,22,24,l[16*r+10],l[16*r+11]),a(4,14,16,26,l[16*r+12],l[16*r+13]),a(6,8,18,28,l[16*r+14],l[16*r+15]);for(r=0;r<16;r++)t.h[r]=t.h[r]^u[r]^u[r+16]}function f(t,e){if(0===t||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(e&&e.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");for(var r={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t},n=0;n<16;n++)r.h[n]=c[n];return r.h[0]^=16842752^(e?e.length:0)<<8^t,e&&(p(r,e),r.c=128),r}function p(t,e){for(var r=0;r>2]>>8*(3&r);return e}function m(t,e,r){r=r||64,t=n.normalizeInput(t);var i=f(r,e);return p(i,t),g(i)}t.exports={blake2b:m,blake2bHex:function(t,e,r){var i=m(t,e,r);return n.toHex(i)},blake2bInit:f,blake2bUpdate:p,blake2bFinal:g}},"0kVi":function(t,e,r){var n=r("lcRY");r("1/v1"),r("hMbF"),r("IjnL"),function(){if(n.prime)t.exports=n.prime;else{var e=t.exports=n.prime=n.prime||{},r=n.jsbn.BigInteger,i=[6,4,2,4,2,4,6,2],s=new r(null);s.fromInt(30);var o=function(t,e){return t|e};e.generateProbablePrime=function(t,e,i){"function"==typeof e&&(i=e,e={});var s=(e=e||{}).algorithm||"PRIMEINC";"string"==typeof s&&(s={name:s}),s.options=s.options||{};var o=e.prng||n.random;if("PRIMEINC"===s.name)return function(t,e,i,s){return"workers"in i?function(t,e,i,s){if("undefined"==typeof Worker)return a(t,e,i,s);var o=c(t,e),l=i.workers,u=i.workLoad||100,h=30*u/8,d=i.workerScript||"forge/prime.worker.js";if(-1===l)return n.util.estimateCores((function(t,e){t&&(e=2),l=e-1,f()}));function f(){l=Math.max(1,l);for(var n=[],i=0;it&&(o=c(t,e));var f=o.toString(16);i.target.postMessage({hex:f,workLoad:u}),o.dAddOffset(h,0)}}}f()}(t,e,i,s):a(t,e,i,s)}(t,{nextBytes:function(t){for(var e=o.getBytesSync(t.length),r=0;rr&&(e=c(r,s)),e.isProbablePrime(a))return u(null,e);e.dAddOffset(i[o++%8],0)}while(l<0||+new Date-hf((async function(...e){let{sources:r,destination:a,options:c}=await h(t,e,p);if(!r.length)throw o(new Error("Please supply at least one source"),"ERR_INVALID_PARAMS");c.parents=c.p||c.parents;const l=r.find(t=>!t.exists);if(l)throw o(new Error(l.path+" does not exist"),"ERR_INVALID_PARAMS");const f=g(a);if(a.exists){if(s("Destination exists"),1===r.length&&!f)throw o(new Error("directory already has entry by that name"),"ERR_ALREADY_EXISTS")}else if(s("Destination does not exist"),r.length>1){if(!c.parents)throw o(new Error("destination did not exist, pass -p to create intermediate directories"),"ERR_INVALID_PARAMS");await n(t)(a.path,c),a=await u(t,a.path,c)}else if(a.parts.length>1){const e="/"+a.parts.slice(0,-1).join("/");try{await i(t)(e,c)}catch(w){if("ERR_NOT_FOUND"!==w.code)throw w;if(!c.parents)throw o(new Error("destination did not exist, pass -p to create intermediate directories"),"ERR_INVALID_PARAMS");await n(t)(e,c),a=await u(t,a.path,c)}}const y=g(a)?a.mfsPath:a.mfsDirectory,v=await d(t,y,c);if(1===r.length){const e=r.pop(),n=f?e.name:a.name;return s(`Only one source, copying to destination ${f?"directory":"file"} ${n}`),m(t,e,n,v,c)}return s("Multiple sources, wrapping in a directory"),b(t,r,a,v,c)}));const g=t=>t.unixfs&&t.unixfs.type&&t.unixfs.type.includes("directory"),m=async(t,e,r,n,i)=>{let s=n.pop();s=await y(t,e,r,s,i),n.push(s);const o=await a(t,n,i);await c(t,o,i)},b=async(t,e,r,n,i)=>{for(let o=0;o{const s=await t.repo.blocks.get(e.cid),{node:o,cid:a}=await l(t,{parentCid:n.cid,size:s.data.length,cid:e.cid,name:r,hashAlg:i.hashAlg,cidVersion:i.cidVersion,flush:i.flush});return n.node=o,n.cid=a,n.size=o.size,n}},"0l7K":function(t,e,r){"use strict";const n=r("Hmxq"),i=r("cvYY").default,s=r("tzmQ"),o=r("q6el"),a=n("ipfs:name:publish");a.error=n("ipfs:name:publish:error");const{OFFLINE_ERROR:c,normalizePath:l,withTimeoutOption:u}=r("hwsr"),{resolvePath:h}=r("5lVX");t.exports=({ipns:t,dag:e,peerId:r,isOnline:n,keychain:d})=>{const f=async t=>{if("self"===t)return r.privKey;try{const e=await d.exportKey(t,"temp");return await s.keys.import(e,"temp")}catch(e){throw a.error(e),o(e,"ERR_CANNOT_GET_KEY")}};return u((async function(r,s){const u=!(!1===(s=s||{}).resolve),d=s.lifetime||"24h",p=s.key||"self";if(!n())throw o(new Error(c),"OFFLINE_ERROR");try{r=l(r)}catch(b){throw a.error(b),b}let g;try{g=i(d),g=g.toFixed(6)}catch(b){throw a.error(b),b}const m=await Promise.all([f(p),u?h({ipns:t,dag:e},r):Promise.resolve()]);return t.publish(m[0],r,g)}))}},"0zlZ":function(t,e,r){"use strict";(function(e){var n=r("zYxp");t.exports=function(t){return t instanceof Uint8Array?n(t):t instanceof ArrayBuffer?e.from(t):e.from(String(t))}}).call(this,r("tjlA").Buffer)},1:function(t,e){},"1/v1":function(t,e,r){(function(e,n,i,s){var o=r("lcRY"),a=r("mi1A"),c=t.exports=o.util=o.util||{};function l(t){if(8!==t&&16!==t&&24!==t&&32!==t)throw new Error("Only 8, 16, 24, or 32 bits supported: "+t)}function u(t){if(this.data="",this.read=0,"string"==typeof t)this.data=t;else if(c.isArrayBuffer(t)||c.isArrayBufferView(t))if(void 0!==s&&t instanceof s)this.data=t.toString("binary");else{var e=new Uint8Array(t);try{this.data=String.fromCharCode.apply(null,e)}catch(n){for(var r=0;r15?(i=Date.now(),a(t)):(r.push(t),1===r.length&&o.setAttribute("a",s=!s))}}c.nextTick=c.setImmediate}(),c.isNodejs=void 0!==e&&e.versions&&e.versions.node,c.globalScope=c.isNodejs?i:"undefined"==typeof self?window:self,c.isArray=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},c.isArrayBuffer=function(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer},c.isArrayBufferView=function(t){return t&&c.isArrayBuffer(t.buffer)&&void 0!==t.byteLength},c.ByteBuffer=u,c.ByteStringBuffer=u,c.ByteStringBuffer.prototype._optimizeConstructedString=function(t){this._constructedStringLength+=t,this._constructedStringLength>4096&&(this.data.substr(0,1),this._constructedStringLength=0)},c.ByteStringBuffer.prototype.length=function(){return this.data.length-this.read},c.ByteStringBuffer.prototype.isEmpty=function(){return this.length()<=0},c.ByteStringBuffer.prototype.putByte=function(t){return this.putBytes(String.fromCharCode(t))},c.ByteStringBuffer.prototype.fillWithByte=function(t,e){t=String.fromCharCode(t);for(var r=this.data;e>0;)1&e&&(r+=t),(e>>>=1)>0&&(t+=t);return this.data=r,this._optimizeConstructedString(e),this},c.ByteStringBuffer.prototype.putBytes=function(t){return this.data+=t,this._optimizeConstructedString(t.length),this},c.ByteStringBuffer.prototype.putString=function(t){return this.putBytes(c.encodeUtf8(t))},c.ByteStringBuffer.prototype.putInt16=function(t){return this.putBytes(String.fromCharCode(t>>8&255)+String.fromCharCode(255&t))},c.ByteStringBuffer.prototype.putInt24=function(t){return this.putBytes(String.fromCharCode(t>>16&255)+String.fromCharCode(t>>8&255)+String.fromCharCode(255&t))},c.ByteStringBuffer.prototype.putInt32=function(t){return this.putBytes(String.fromCharCode(t>>24&255)+String.fromCharCode(t>>16&255)+String.fromCharCode(t>>8&255)+String.fromCharCode(255&t))},c.ByteStringBuffer.prototype.putInt16Le=function(t){return this.putBytes(String.fromCharCode(255&t)+String.fromCharCode(t>>8&255))},c.ByteStringBuffer.prototype.putInt24Le=function(t){return this.putBytes(String.fromCharCode(255&t)+String.fromCharCode(t>>8&255)+String.fromCharCode(t>>16&255))},c.ByteStringBuffer.prototype.putInt32Le=function(t){return this.putBytes(String.fromCharCode(255&t)+String.fromCharCode(t>>8&255)+String.fromCharCode(t>>16&255)+String.fromCharCode(t>>24&255))},c.ByteStringBuffer.prototype.putInt=function(t,e){l(e);var r="";do{e-=8,r+=String.fromCharCode(t>>e&255)}while(e>0);return this.putBytes(r)},c.ByteStringBuffer.prototype.putSignedInt=function(t,e){return t<0&&(t+=2<0);return e},c.ByteStringBuffer.prototype.getSignedInt=function(t){var e=this.getInt(t),r=2<=r&&(e-=r<<1),e},c.ByteStringBuffer.prototype.getBytes=function(t){var e;return t?(t=Math.min(this.length(),t),e=this.data.slice(this.read,this.read+t),this.read+=t):0===t?e="":(e=0===this.read?this.data:this.data.slice(this.read),this.clear()),e},c.ByteStringBuffer.prototype.bytes=function(t){return void 0===t?this.data.slice(this.read):this.data.slice(this.read,this.read+t)},c.ByteStringBuffer.prototype.at=function(t){return this.data.charCodeAt(this.read+t)},c.ByteStringBuffer.prototype.setAt=function(t,e){return this.data=this.data.substr(0,this.read+t)+String.fromCharCode(e)+this.data.substr(this.read+t+1),this},c.ByteStringBuffer.prototype.last=function(){return this.data.charCodeAt(this.data.length-1)},c.ByteStringBuffer.prototype.copy=function(){var t=c.createBuffer(this.data);return t.read=this.read,t},c.ByteStringBuffer.prototype.compact=function(){return this.read>0&&(this.data=this.data.slice(this.read),this.read=0),this},c.ByteStringBuffer.prototype.clear=function(){return this.data="",this.read=0,this},c.ByteStringBuffer.prototype.truncate=function(t){var e=Math.max(0,this.length()-t);return this.data=this.data.substr(this.read,e),this.read=0,this},c.ByteStringBuffer.prototype.toHex=function(){for(var t="",e=this.read;e=t)return this;e=Math.max(e||this.growSize,t);var r=new Uint8Array(this.data.buffer,this.data.byteOffset,this.data.byteLength),n=new Uint8Array(this.length()+e);return n.set(r),this.data=new DataView(n.buffer),this},c.DataBuffer.prototype.putByte=function(t){return this.accommodate(1),this.data.setUint8(this.write++,t),this},c.DataBuffer.prototype.fillWithByte=function(t,e){this.accommodate(e);for(var r=0;r>8&65535),this.data.setInt8(this.write,t>>16&255),this.write+=3,this},c.DataBuffer.prototype.putInt32=function(t){return this.accommodate(4),this.data.setInt32(this.write,t),this.write+=4,this},c.DataBuffer.prototype.putInt16Le=function(t){return this.accommodate(2),this.data.setInt16(this.write,t,!0),this.write+=2,this},c.DataBuffer.prototype.putInt24Le=function(t){return this.accommodate(3),this.data.setInt8(this.write,t>>16&255),this.data.setInt16(this.write,t>>8&65535,!0),this.write+=3,this},c.DataBuffer.prototype.putInt32Le=function(t){return this.accommodate(4),this.data.setInt32(this.write,t,!0),this.write+=4,this},c.DataBuffer.prototype.putInt=function(t,e){l(e),this.accommodate(e/8);do{e-=8,this.data.setInt8(this.write++,t>>e&255)}while(e>0);return this},c.DataBuffer.prototype.putSignedInt=function(t,e){return l(e),this.accommodate(e/8),t<0&&(t+=2<0);return e},c.DataBuffer.prototype.getSignedInt=function(t){var e=this.getInt(t),r=2<=r&&(e-=r<<1),e},c.DataBuffer.prototype.getBytes=function(t){var e;return t?(t=Math.min(this.length(),t),e=this.data.slice(this.read,this.read+t),this.read+=t):0===t?e="":(e=0===this.read?this.data:this.data.slice(this.read),this.clear()),e},c.DataBuffer.prototype.bytes=function(t){return void 0===t?this.data.slice(this.read):this.data.slice(this.read,this.read+t)},c.DataBuffer.prototype.at=function(t){return this.data.getUint8(this.read+t)},c.DataBuffer.prototype.setAt=function(t,e){return this.data.setUint8(t,e),this},c.DataBuffer.prototype.last=function(){return this.data.getUint8(this.write-1)},c.DataBuffer.prototype.copy=function(){return new c.DataBuffer(this)},c.DataBuffer.prototype.compact=function(){if(this.read>0){var t=new Uint8Array(this.data.buffer,this.read),e=new Uint8Array(t.byteLength);e.set(t),this.data=new DataView(e),this.write-=this.read,this.read=0}return this},c.DataBuffer.prototype.clear=function(){return this.data=new DataView(new ArrayBuffer(0)),this.read=this.write=0,this},c.DataBuffer.prototype.truncate=function(t){return this.write=Math.max(0,this.length()-t),this.read=Math.min(this.read,this.write),this},c.DataBuffer.prototype.toHex=function(){for(var t="",e=this.read;e0;)1&e&&(r+=t),(e>>>=1)>0&&(t+=t);return r},c.xorBytes=function(t,e,r){for(var n="",i="",s="",o=0,a=0;r>0;--r,++o)i=t.charCodeAt(o)^e.charCodeAt(o),a>=10&&(n+=s,s="",a=0),s+=String.fromCharCode(i),++a;return n+s},c.hexToBytes=function(t){var e="",r=0;for(!0&t.length&&(r=1,e+=String.fromCharCode(parseInt(t[0],16)));r>24&255)+String.fromCharCode(t>>16&255)+String.fromCharCode(t>>8&255)+String.fromCharCode(255&t)};var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",d=[62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,64,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],f="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";c.encode64=function(t,e){for(var r,n,i,s="",o="",a=0;a>2),s+=h.charAt((3&r)<<4|n>>4),isNaN(n)?s+="==":(s+=h.charAt((15&n)<<2|i>>6),s+=isNaN(i)?"=":h.charAt(63&i)),e&&s.length>e&&(o+=s.substr(0,e)+"\r\n",s=s.substr(e));return o+s},c.decode64=function(t){t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var e,r,n,i,s="",o=0;o>4),64!==n&&(s+=String.fromCharCode((15&r)<<4|n>>2),64!==i&&(s+=String.fromCharCode((3&n)<<6|i)));return s},c.encodeUtf8=function(t){return unescape(encodeURIComponent(t))},c.decodeUtf8=function(t){return decodeURIComponent(escape(t))},c.binary={raw:{},hex:{},base64:{},base58:{},baseN:{encode:a.encode,decode:a.decode}},c.binary.raw.encode=function(t){return String.fromCharCode.apply(null,t)},c.binary.raw.decode=function(t,e,r){var n=e;n||(n=new Uint8Array(t.length));for(var i=r=r||0,s=0;s>2),s+=h.charAt((3&r)<<4|n>>4),isNaN(n)?s+="==":(s+=h.charAt((15&n)<<2|i>>6),s+=isNaN(i)?"=":h.charAt(63&i)),e&&s.length>e&&(o+=s.substr(0,e)+"\r\n",s=s.substr(e));return o+s},c.binary.base64.decode=function(t,e,r){var n,i,s,o,a=e;a||(a=new Uint8Array(3*Math.ceil(t.length/4))),t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var c=0,l=r=r||0;c>4,64!==s&&(a[l++]=(15&i)<<4|s>>2,64!==o&&(a[l++]=(3&s)<<6|o));return e?l-r:a.subarray(0,l)},c.binary.base58.encode=function(t,e){return c.binary.baseN.encode(t,f,e)},c.binary.base58.decode=function(t,e){return c.binary.baseN.decode(t,f,e)},c.text={utf8:{},utf16:{}},c.text.utf8.encode=function(t,e,r){t=c.encodeUtf8(t);var n=e;n||(n=new Uint8Array(t.length));for(var i=r=r||0,s=0;s0?(i=r[n].substring(0,o),s=r[n].substring(o+1)):(i=r[n],s=null),i in e||(e[i]=[]),i in Object.prototype||null===s||e[i].push(unescape(s))}return e};return void 0===t?(null===_&&(_="undefined"!=typeof window&&window.location&&window.location.search?r(window.location.search.substring(1)):{}),e=_):e=r(t),e},c.parseFragment=function(t){var e=t,r="",n=t.indexOf("?");n>0&&(e=t.substring(0,n),r=t.substring(n+1));var i=e.split("/");return i.length>0&&""===i[0]&&i.shift(),{pathString:e,queryString:r,path:i,query:""===r?{}:c.getQueryVariables(r)}},c.makeRequest=function(t){var e=c.parseFragment(t),r={path:e.pathString,query:e.queryString,getPath:function(t){return void 0===t?e.path:e.path[t]},getQuery:function(t,r){var n;return void 0===t?n=e.query:(n=e.query[t])&&void 0!==r&&(n=n[r]),n},getQueryLast:function(t,e){var n=r.getQuery(t);return n?n[n.length-1]:e}};return r},c.makeLink=function(t,e,r){t=jQuery.isArray(t)?t.join("/"):t;var n=jQuery.param(e||{});return t+(n.length>0?"?"+n:"")+((r=r||"").length>0?"#"+r:"")},c.setPath=function(t,e,r){if("object"==typeof t&&null!==t)for(var n=0,i=e.length;n0&&s.push(r),o=n.lastIndex;var a=e[0][1];switch(a){case"s":case"o":s.push(i");break;case"%":s.push("%");break;default:s.push("<%"+a+"?>")}}return s.push(t.substring(o)),s.join("")},c.formatNumber=function(t,e,r,n){var i=t,s=isNaN(e=Math.abs(e))?2:e,o=void 0===r?",":r,a=void 0===n?".":n,c=i<0?"-":"",l=parseInt(i=Math.abs(+i||0).toFixed(s),10)+"",u=l.length>3?l.length%3:0;return c+(u?l.substr(0,u)+a:"")+l.substr(u).replace(/(\d{3})(?=\d)/g,"$1"+a)+(s?o+Math.abs(i-l).toFixed(s).slice(2):"")},c.formatSize=function(t){return t>=1073741824?c.formatNumber(t/1073741824,2,".","")+" GiB":t>=1048576?c.formatNumber(t/1048576,2,".","")+" MiB":t>=1024?c.formatNumber(t/1024,0)+" KiB":c.formatNumber(t,0)+" bytes"},c.bytesFromIP=function(t){return-1!==t.indexOf(".")?c.bytesFromIPv4(t):-1!==t.indexOf(":")?c.bytesFromIPv6(t):null},c.bytesFromIPv4=function(t){if(4!==(t=t.split(".")).length)return null;for(var e=c.createBuffer(),r=0;rr[n].end-r[n].start&&(n=r.length-1)):r.push({start:a,end:a})}e.push(s)}if(r.length>0){var l=r[n];l.end-l.start>0&&(e.splice(l.start,l.end-l.start+1,""),0===l.start&&e.unshift(""),7===l.end&&e.push(""))}return e.join(":")},c.estimateCores=function(t,e){if("function"==typeof t&&(e=t,t={}),t=t||{},"cores"in c&&!t.update)return e(null,c.cores);if("undefined"!=typeof navigator&&"hardwareConcurrency"in navigator&&navigator.hardwareConcurrency>0)return c.cores=navigator.hardwareConcurrency,e(null,c.cores);if("undefined"==typeof Worker)return c.cores=1,e(null,c.cores);if("undefined"==typeof Blob)return c.cores=2,e(null,c.cores);var r=URL.createObjectURL(new Blob(["(",(function(){self.addEventListener("message",(function(t){for(var e=Date.now(),r=e+4;Date.now()a.st&&i.sti.st&&a.st{const i=r("dPh6")({ipld:t,preload:e});return n((async function(t,e){return(await i(t,e)).Data}))}},"1G5W":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("zx2A");function i(t){return e=>e.lift(new s(t))}class s{constructor(t){this.notifier=t}call(t,e){const r=new o(t),i=Object(n.c)(this.notifier,new n.a(r));return i&&!r.seenValue?(r.add(i),e.subscribe(r)):r}}class o extends n.b{constructor(t){super(t),this.seenValue=!1}notifyNext(){this.seenValue=!0,this.complete()}notifyComplete(){}}},"1HRB":function(t,e,r){var n=r("lcRY");r("apCE"),r("1/v1");var i=t.exports=n.sha512=n.sha512||{};n.md.sha512=n.md.algorithms.sha512=i;var s=n.sha384=n.sha512.sha384=n.sha512.sha384||{};s.create=function(){return i.create("SHA-384")},n.md.sha384=n.md.algorithms.sha384=s,n.sha512.sha256=n.sha512.sha256||{create:function(){return i.create("SHA-512/256")}},n.md["sha512/256"]=n.md.algorithms["sha512/256"]=n.sha512.sha256,n.sha512.sha224=n.sha512.sha224||{create:function(){return i.create("SHA-512/224")}},n.md["sha512/224"]=n.md.algorithms["sha512/224"]=n.sha512.sha224,i.create=function(t){if(a||(o=String.fromCharCode(128),o+=n.util.fillString(String.fromCharCode(0),128),c=[[1116352408,3609767458],[1899447441,602891725],[3049323471,3964484399],[3921009573,2173295548],[961987163,4081628472],[1508970993,3053834265],[2453635748,2937671579],[2870763221,3664609560],[3624381080,2734883394],[310598401,1164996542],[607225278,1323610764],[1426881987,3590304994],[1925078388,4068182383],[2162078206,991336113],[2614888103,633803317],[3248222580,3479774868],[3835390401,2666613458],[4022224774,944711139],[264347078,2341262773],[604807628,2007800933],[770255983,1495990901],[1249150122,1856431235],[1555081692,3175218132],[1996064986,2198950837],[2554220882,3999719339],[2821834349,766784016],[2952996808,2566594879],[3210313671,3203337956],[3336571891,1034457026],[3584528711,2466948901],[113926993,3758326383],[338241895,168717936],[666307205,1188179964],[773529912,1546045734],[1294757372,1522805485],[1396182291,2643833823],[1695183700,2343527390],[1986661051,1014477480],[2177026350,1206759142],[2456956037,344077627],[2730485921,1290863460],[2820302411,3158454273],[3259730800,3505952657],[3345764771,106217008],[3516065817,3606008344],[3600352804,1432725776],[4094571909,1467031594],[275423344,851169720],[430227734,3100823752],[506948616,1363258195],[659060556,3750685593],[883997877,3785050280],[958139571,3318307427],[1322822218,3812723403],[1537002063,2003034995],[1747873779,3602036899],[1955562222,1575990012],[2024104815,1125592928],[2227730452,2716904306],[2361852424,442776044],[2428436474,593698344],[2756734187,3733110249],[3204031479,2999351573],[3329325298,3815920427],[3391569614,3928383900],[3515267271,566280711],[3940187606,3454069534],[4118630271,4000239992],[116418474,1914138554],[174292421,2731055270],[289380356,3203993006],[460393269,320620315],[685471733,587496836],[852142971,1086792851],[1017036298,365543100],[1126000580,2618297676],[1288033470,3409855158],[1501505948,4234509866],[1607167915,987167468],[1816402316,1246189591]],(l={})["SHA-512"]=[[1779033703,4089235720],[3144134277,2227873595],[1013904242,4271175723],[2773480762,1595750129],[1359893119,2917565137],[2600822924,725511199],[528734635,4215389547],[1541459225,327033209]],l["SHA-384"]=[[3418070365,3238371032],[1654270250,914150663],[2438529370,812702999],[355462360,4144912697],[1731405415,4290775857],[2394180231,1750603025],[3675008525,1694076839],[1203062813,3204075428]],l["SHA-512/256"]=[[573645204,4230739756],[2673172387,3360449730],[596883563,1867755857],[2520282905,1497426621],[2519219938,2827943907],[3193839141,1401305490],[721525244,746961066],[246885852,2177182882]],l["SHA-512/224"]=[[2352822216,424955298],[1944164710,2312950998],[502970286,855612546],[1738396948,1479516111],[258812777,2077511080],[2011393907,79989058],[1067287976,1780299464],[286451373,2446758561]],a=!0),void 0===t&&(t="SHA-512"),!(t in l))throw new Error("Invalid SHA-512 algorithm: "+t);for(var e=l[t],r=null,i=n.util.createBuffer(),s=new Array(80),h=0;h<80;++h)s[h]=new Array(2);var d=64;switch(t){case"SHA-384":d=48;break;case"SHA-512/256":d=32;break;case"SHA-512/224":d=28}var f={algorithm:t.replace("-","").toLowerCase(),blockLength:128,digestLength:d,messageLength:0,fullMessageLength:null,messageLengthSize:16,start:function(){f.messageLength=0,f.fullMessageLength=f.messageLength128=[];for(var t=f.messageLengthSize/4,s=0;s>>0,o>>>0];for(var a=f.fullMessageLength.length-1;a>=0;--a)f.fullMessageLength[a]+=o[1],o[1]=o[0]+(f.fullMessageLength[a]/4294967296>>>0),f.fullMessageLength[a]=f.fullMessageLength[a]>>>0,o[0]=o[1]/4294967296>>>0;return i.putBytes(t),u(r,s,i),(i.read>2048||0===i.length())&&i.compact(),f},f.digest=function(){var e,a=n.util.createBuffer();a.putBytes(i.bytes()),a.putBytes(o.substr(0,f.blockLength-(f.fullMessageLength[f.fullMessageLength.length-1]+f.messageLengthSize&f.blockLength-1)));for(var c=8*f.fullMessageLength[0],l=0;l>>0)>>>0),c=e>>>0;a.putInt32(c);var h=new Array(r.length);for(l=0;l=128;){for(C=0;C<16;++C)e[C][0]=r.getInt32()>>>0,e[C][1]=r.getInt32()>>>0;for(;C<80;++C)i=(((A=(x=e[C-2])[0])<<13|(k=x[1])>>>19)^(k<<3|A>>>29)^(A<<26|k>>>6))>>>0,e[C][0]=(n=((A>>>19|k<<13)^(k>>>29|A<<3)^A>>>6)>>>0)+(I=e[C-7])[0]+(s=(((A=(O=e[C-15])[0])>>>1|(k=O[1])<<31)^(A>>>8|k<<24)^A>>>7)>>>0)+(T=e[C-16])[0]+((k=i+I[1]+(o=((A<<31|k>>>1)^(A<<24|k>>>8)^(A<<25|k>>>7))>>>0)+T[1])/4294967296>>>0)>>>0,e[C][1]=k>>>0;for(a=t[0][0],l=t[0][1],u=t[1][0],h=t[1][1],d=t[2][0],f=t[2][1],p=t[3][0],g=t[3][1],m=t[4][0],b=t[4][1],y=t[5][0],v=t[5][1],w=t[6][0],_=t[6][1],S=t[7][0],E=t[7][1],C=0;C<80;++C)n=S+(((m>>>14|b<<18)^(m>>>18|b<<14)^(b>>>9|m<<23))>>>0)+((w^m&(y^w))>>>0)+c[C][0]+e[C][0]+((k=E+(((m<<18|b>>>14)^(m<<14|b>>>18)^(b<<23|m>>>9))>>>0)+((_^b&(v^_))>>>0)+c[C][1]+e[C][1])/4294967296>>>0)>>>0,i=k>>>0,s=(((a>>>28|l<<4)^(l>>>2|a<<30)^(l>>>7|a<<25))>>>0)+((a&u|d&(a^u))>>>0)+((k=(((a<<4|l>>>28)^(l<<30|a>>>2)^(l<<25|a>>>7))>>>0)+((l&h|f&(l^h))>>>0))/4294967296>>>0)>>>0,o=k>>>0,S=w,E=_,w=y,_=v,y=m,v=b,m=p+n+((k=g+i)/4294967296>>>0)>>>0,b=k>>>0,p=d,g=f,d=u,f=h,u=a,h=l,a=n+s+((k=i+o)/4294967296>>>0)>>>0,l=k>>>0;t[0][0]=t[0][0]+a+((k=t[0][1]+l)/4294967296>>>0)>>>0,t[0][1]=k>>>0,t[1][0]=t[1][0]+u+((k=t[1][1]+h)/4294967296>>>0)>>>0,t[1][1]=k>>>0,t[2][0]=t[2][0]+d+((k=t[2][1]+f)/4294967296>>>0)>>>0,t[2][1]=k>>>0,t[3][0]=t[3][0]+p+((k=t[3][1]+g)/4294967296>>>0)>>>0,t[3][1]=k>>>0,t[4][0]=t[4][0]+m+((k=t[4][1]+b)/4294967296>>>0)>>>0,t[4][1]=k>>>0,t[5][0]=t[5][0]+y+((k=t[5][1]+v)/4294967296>>>0)>>>0,t[5][1]=k>>>0,t[6][0]=t[6][0]+w+((k=t[6][1]+_)/4294967296>>>0)>>>0,t[6][1]=k>>>0,t[7][0]=t[7][0]+S+((k=t[7][1]+E)/4294967296>>>0)>>>0,t[7][1]=k>>>0,M-=128}}},"1IWx":function(t,e,r){t.exports=i;var n=r("+qE3").EventEmitter;function i(){n.call(this)}r("P7XM")(i,n),i.Readable=r("43KI"),i.Writable=r("LGOv"),i.Duplex=r("CWBI"),i.Transform=r("0XuU"),i.PassThrough=r("wq4j"),i.Stream=i,i.prototype.pipe=function(t,e){var r=this;function i(e){t.writable&&!1===t.write(e)&&r.pause&&r.pause()}function s(){r.readable&&r.resume&&r.resume()}r.on("data",i),t.on("drain",s),t._isStdio||e&&!1===e.end||(r.on("end",a),r.on("close",c));var o=!1;function a(){o||(o=!0,t.end())}function c(){o||(o=!0,"function"==typeof t.destroy&&t.destroy())}function l(t){if(u(),0===n.listenerCount(this,"error"))throw t}function u(){r.removeListener("data",i),t.removeListener("drain",s),r.removeListener("end",a),r.removeListener("close",c),r.removeListener("error",l),t.removeListener("error",l),r.removeListener("end",u),r.removeListener("close",u),t.removeListener("close",u)}return r.on("error",l),t.on("error",l),r.on("end",u),r.on("close",u),t.on("close",u),t.emit("pipe",r),t}},"1MjV":function(t,e,r){"use strict";const n=r("cdFh"),i=r("E3lJ"),s=(t,e)=>i(t.nameAsBuffer,e.nameAsBuffer);t.exports=t=>{n.inplace(t,s)}},"1RgJ":function(t,e,r){"use strict";const n=r("Hmxq")("ipfs:mfs:utils:update-tree"),i=r("Z5jE"),s={shardSplitThreshold:1e3};t.exports=async(t,e,r)=>{r=Object.assign({},s,r),n("Trail",e),e=e.slice().reverse();let o,a=0;for await(const n of t.ipld.getMany(e.map(t=>t.cid))){const s=e[a].cid,c=e[a].name;if(a++,!o){o={cid:s,name:c,size:n.size};continue}const l=await i(t,{parent:n,name:o.name,cid:o.cid,size:o.size,flush:r.flush,shardSplitThreshold:r.shardSplitThreshold,hashAlg:r.hashAlg,cidVersion:r.cidVersion});o={cid:l.cid,name:c,size:l.size}}return n("Final CID "+o.cid),o.cid}},"1XJw":function(t,e,r){var n=r("lcRY");r("dtbK"),r("HK0S"),r("WMFv"),r("gEol"),r("aXNH"),r("Hua9"),r("IjnL"),r("1/v1"),r("4APm");var i=n.asn1,s=t.exports=n.pkcs7=n.pkcs7||{};function o(t){var e={},r=[];if(!i.validate(t,s.asn1.recipientInfoValidator,e,r)){var o=new Error("Cannot read PKCS#7 RecipientInfo. ASN.1 object is not an PKCS#7 RecipientInfo.");throw o.errors=r,o}return{version:e.version.charCodeAt(0),issuer:n.pki.RDNAttributesAsArray(e.issuer),serialNumber:n.util.createBuffer(e.serial).toHex(),encryptedContent:{algorithm:i.derToOid(e.encAlgorithm),parameter:e.encParameter.value,content:e.encKey}}}function a(t){for(var e,r=[],s=0;s0){for(var r=i.create(i.Class.CONTEXT_SPECIFIC,1,!0,[]),s=0;s=r&&o0&&o.value[0].value.push(i.create(i.Class.CONTEXT_SPECIFIC,0,!0,e)),s.length>0&&o.value[0].value.push(i.create(i.Class.CONTEXT_SPECIFIC,1,!0,s)),o.value[0].value.push(i.create(i.Class.UNIVERSAL,i.Type.SET,!0,t.signerInfos)),i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(t.type).getBytes()),o])},addSigner:function(e){var r=e.issuer,i=e.serialNumber;if(e.certificate){var s=e.certificate;"string"==typeof s&&(s=n.pki.certificateFromPem(s)),r=s.issuer.attributes,i=s.serialNumber}var o=e.key;if(!o)throw new Error("Could not add PKCS#7 signer; no private key specified.");"string"==typeof o&&(o=n.pki.privateKeyFromPem(o));var a=e.digestAlgorithm||n.pki.oids.sha1;switch(a){case n.pki.oids.sha1:case n.pki.oids.sha256:case n.pki.oids.sha384:case n.pki.oids.sha512:case n.pki.oids.md5:break;default:throw new Error("Could not add PKCS#7 signer; unknown message digest algorithm: "+a)}var c=e.authenticatedAttributes||[];if(c.length>0){for(var l=!1,u=!1,h=0;hi.digest(t,"sha2-256"),e.convertPeerId=t=>i.digest(t.id,"sha2-256"),e.bufferToKey=t=>new o("/"+e.encodeBase32(t),!1),e.keyForPublicKey=t=>f([p("/pk/"),t.id]),e.isPublicKeyKey=t=>"/pk/"===g(t.slice(0,4)),e.fromPublicKeyKey=t=>new h(t.slice(4)),e.now=()=>Date.now(),e.encodeBase32=t=>(new a.Encoder).write(t).finalize(),e.decodeBase32=t=>{const e=new a.Decoder;return Uint8Array.from(e.write(t).finalize())},e.sortClosestPeers=async(t,r)=>(await l(t,async t=>{const n=await e.convertPeerId(t);return{peer:t,distance:c(n,r)}})).sort(e.xorCompare).map(t=>t.peer),e.xorCompare=(t,e)=>c.compare(t.distance,e.distance),e.pathSize=(t,e)=>Math.ceil(t/e),e.createPutRecord=(t,e)=>{const r=new Date;return new u(t,e,r).serialize()},e.logger=(t,e)=>{const r=["libp2p","dht"];e&&r.push(e),t&&r.push(""+t.toB58String().slice(0,8)),n.formatters.b=t=>s.toB58String(t);const i=n(r.join(":"));return i.error=n(r.concat(["error"]).join(":")),i},e.TimeoutError=class extends Error{get code(){return"ETIMEDOUT"}},e.withTimeout=(t,e)=>async(...r)=>Promise.race([t(...r),new Promise((t,r)=>{setTimeout(()=>{r(d(new Error("Async function did not complete before timeout"),"ETIMEDOUT"))},e)})]),e.mapParallel=async function(t,e){const r=[];for await(const n of t)r.push(e(n));return Promise.all(r)}},"1hP2":function(t,e,r){var n;t.exports=(n=r("koXT"),function(t){var e=n,r=e.lib,i=r.WordArray,s=r.Hasher,o=e.algo,a=[],c=[];!function(){function e(e){for(var r=t.sqrt(e),n=2;n<=r;n++)if(!(e%n))return!1;return!0}function r(t){return 4294967296*(t-(0|t))|0}for(var n=2,i=0;i<64;)e(n)&&(i<8&&(a[i]=r(t.pow(n,.5))),c[i]=r(t.pow(n,1/3)),i++),n++}();var l=[],u=o.SHA256=s.extend({_doReset:function(){this._hash=new i.init(a.slice(0))},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],o=r[3],a=r[4],u=r[5],h=r[6],d=r[7],f=0;f<64;f++){if(f<16)l[f]=0|t[e+f];else{var p=l[f-15],g=l[f-2];l[f]=((p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3)+l[f-7]+((g<<15|g>>>17)^(g<<13|g>>>19)^g>>>10)+l[f-16]}var m=n&i^n&s^i&s,b=d+((a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25))+(a&u^~a&h)+c[f]+l[f];d=h,h=u,u=a,a=o+b|0,o=s,s=i,i=n,n=b+(((n<<30|n>>>2)^(n<<19|n>>>13)^(n<<10|n>>>22))+m)|0}r[0]=r[0]+n|0,r[1]=r[1]+i|0,r[2]=r[2]+s|0,r[3]=r[3]+o|0,r[4]=r[4]+a|0,r[5]=r[5]+u|0,r[6]=r[6]+h|0,r[7]=r[7]+d|0},_doFinalize:function(){var e=this._data,r=e.words,n=8*this._nDataBytes,i=8*e.sigBytes;return r[i>>>5]|=128<<24-i%32,r[14+(i+64>>>9<<4)]=t.floor(n/4294967296),r[15+(i+64>>>9<<4)]=n,e.sigBytes=4*r.length,this._process(),this._hash},clone:function(){var t=s.clone.call(this);return t._hash=this._hash.clone(),t}});e.SHA256=s._createHelper(u),e.HmacSHA256=s._createHmacHelper(u)}(Math),n.SHA256)},"1iKh":function(t,e,r){"use strict";const n=r("/3Tm"),i=n.MT,s=n.SIMPLE,o=n.SYMS;class a{constructor(t){if("number"!=typeof t)throw new Error("Invalid Simple type: "+typeof t);if(t<0||t>255||(0|t)!==t)throw new Error("value must be a small positive integer: "+t);this.value=t}toString(){return"simple("+this.value+")"}inspect(){return"simple("+this.value+")"}encodeCBOR(t){return t._pushInt(this.value,i.SIMPLE_FLOAT)}static isSimple(t){return t instanceof a}static decode(t,e){switch(null==e&&(e=!0),t){case s.FALSE:return!1;case s.TRUE:return!0;case s.NULL:return e?null:o.NULL;case s.UNDEFINED:return e?void 0:o.UNDEFINED;case-1:if(!e)throw new Error("Invalid BREAK");return o.BREAK;default:return new a(t)}}}t.exports=a},"1yKq":function(t,e,r){"use strict";const{Buffer:n}=r("aTq8"),i=r("LJqi"),s=t=>{const e=i.decode(n.isBuffer(t)?t:(r=t,new Proxy({},{get:(t,e)=>"l"===e[0]?r[e]:r.get(parseInt(e))})));var r;return s.bytes=i.decode.bytes,e};t.exports=s},"1zCW":function(t,e,r){"use strict";const n=r("jj8X"),i=r("Hmxq")("ipfs:repo:lock"),s={};e.lock=async t=>{const e=t+"/repo.lock";if(i("locking %s",e),!0===s[e])throw new n.LockExistsError("Lock already being held for file: "+e);return s[e]=!0,{async close(){s[e]&&delete s[e]}}},e.locked=async t=>{const e=t+"/repo.lock";return i("checking lock: "+e),Boolean(s[e])}},2:function(t,e){},"2/pW":function(t,e,r){"use strict";var n=Object.prototype.toString;t.exports=function(t){var e=n.call(t),r="[object Arguments]"===e;return r||(r="[object Array]"!==e&&null!==t&&"object"==typeof t&&"number"==typeof t.length&&t.length>=0&&"[object Function]"===n.call(t.callee)),r}},"22DD":function(t,e,r){"use strict";const{Buffer:n}=r("aTq8"),i=Symbol.for("BufferList");function s(t){if(!(this instanceof s))return new s(t);s._init.call(this,t)}s._init=function(t){Object.defineProperty(this,i,{value:!0}),this._bufs=[],this.length=0,t&&this.append(t)},s.prototype._new=function(t){return new s(t)},s.prototype._offset=function(t){if(0===t)return[0,0];let e=0;for(let r=0;rthis.length||t<0)return;const e=this._offset(t);return this._bufs[e[0]][e[1]]},s.prototype.slice=function(t,e){return"number"==typeof t&&t<0&&(t+=this.length),"number"==typeof e&&e<0&&(e+=this.length),this.copy(null,0,t,e)},s.prototype.copy=function(t,e,r,i){if(("number"!=typeof r||r<0)&&(r=0),("number"!=typeof i||i>this.length)&&(i=this.length),r>=this.length)return t||n.alloc(0);if(i<=0)return t||n.alloc(0);const s=!!t,o=this._offset(r),a=i-r;let c=a,l=s&&e||0,u=o[1];if(0===r&&i===this.length){if(!s)return 1===this._bufs.length?this._bufs[0]:n.concat(this._bufs,this.length);for(let e=0;ee)){this._bufs[n].copy(t,l,u,u+c),l+=e;break}this._bufs[n].copy(t,l,u),l+=e,c-=e,u&&(u=0)}return t.length>l?t.slice(0,l):t},s.prototype.shallowSlice=function(t,e){if((t=t||0)<0&&(t+=this.length),(e="number"!=typeof e?this.length:e)<0&&(e+=this.length),t===e)return this._new();const r=this._offset(t),n=this._offset(e),i=this._bufs.slice(r[0],n[0]+1);return 0===n[1]?i.pop():i[i.length-1]=i[i.length-1].slice(0,n[1]),0!==r[1]&&(i[0]=i[0].slice(r[1])),this._new(i)},s.prototype.toString=function(t,e,r){return this.slice(e,r).toString(t)},s.prototype.consume=function(t){if(t=Math.trunc(t),Number.isNaN(t)||t<=0)return this;for(;this._bufs.length;){if(!(t>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(t),this.length-=t;break}t-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},s.prototype.duplicate=function(){const t=this._new();for(let e=0;ethis.length?this.length:e;const i=this._offset(e);let s=i[0],o=i[1];for(;s=t.length){const r=e.indexOf(t,o);if(-1!==r)return this._reverseOffset([s,r]);o=e.length-t.length+1}else{const e=this._reverseOffset([s,o]);if(this._match(e,t))return e;o++}o=0}return-1},s.prototype._match=function(t,e){if(this.length-t8)throw new Error("Invalid hex color: "+t);3!==e.length&&4!==e.length||(e=Array.prototype.concat.apply([],e.map((function(t){return[t,t]})))),6===e.length&&e.push("F","F");var r=parseInt(e.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+e.slice(0,6).join("")}}e.getOptions=function(t){t||(t={}),t.color||(t.color={});var e=t.width&&t.width>=21?t.width:void 0;return{width:e,scale:e?4:t.scale||4,margin:null==t.margin||t.margin<0?4:t.margin,color:{dark:r(t.color.dark||"#000000ff"),light:r(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}},e.getScale=function(t,e){return e.width&&e.width>=t+2*e.margin?e.width/(t+2*e.margin):e.scale},e.getImageWidth=function(t,r){var n=e.getScale(t,r);return Math.floor((t+2*r.margin)*n)},e.qrToImageData=function(t,r,n){for(var i=r.modules.size,s=r.modules.data,o=e.getScale(i,n),a=Math.floor((i+2*n.margin)*o),c=n.margin*o,l=[n.color.light,n.color.dark],u=0;u=c&&h>=c&&u{for await(const e of t);}},"2CaL":function(t,e,r){"use strict";var n=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.isValidPublicKey=e.getHkdf=e.verifySignedPayload=e.getHandshakePayload=e.decodePayload=e.getPeerIdFromPayload=e.signPayload=e.createHandshakePayload=e.getPayload=e.generateKeypair=void 0;const i=n(r("FYPu")),s=n(r("W7ZU")),o=n(r("uzrV")),a=r("aTq8"),c=n(r("J8CR")),l=r("tzmQ"),u=r("kQlV"),h=n(r("6QQO")),d=u.pb.NoiseHandshakePayload;function f(t,e,r){const n=d.create({identityKey:a.Buffer.from(t),identitySig:e,data:r||null});return a.Buffer.from(d.encode(n).finish())}async function p(t,e){return a.Buffer.from(await t.privKey.sign(e))}function g(t){return a.Buffer.concat([a.Buffer.from("noise-libp2p-static-key:"),t])}e.generateKeypair=function(){const t=s.default.privateKeyGenerate();return{publicKey:s.default.publicKeyCreate(t),privateKey:t}},e.getPayload=async function(t,e,r){const n=await p(t,g(e)),i=r||a.Buffer.alloc(0);return await f(t.marshalPubKey(),n,i)},e.createHandshakePayload=f,e.signPayload=p,e.getPeerIdFromPayload=async function(t){return await c.default.createFromPubKey(a.Buffer.from(t.identityKey))},e.decodePayload=function(t){return d.toObject(d.decode(a.Buffer.from(t)))},e.getHandshakePayload=g,e.verifySignedPayload=async function(t,e,r){const n=a.Buffer.from(e.identityKey);if(!(await async function(t,e){const r=await c.default.createFromPubKey(e);return h.default(r.id,t)}(r.id,n)))throw new Error("Peer ID doesn't match libp2p public key.");const i=g(t),s=l.keys.unmarshalPublicKey(n);if(!e.identitySig||!s.verify(i,a.Buffer.from(e.identitySig)))throw new Error("Static key doesn't match to peer that signed payload!");return c.default.createFromPubKey(n)},e.getHkdf=function(t,e){const r=a.Buffer.alloc(0),n=i.default.extract(o.default,e,t),s=i.default.expand(o.default,n,r,96);return[s.slice(0,32),s.slice(32,64),s.slice(64,96)]},e.isValidPublicKey=function(t){return s.default.publicKeyVerify(t.slice(0,32))}},"2EWe":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("Nou5");e.default=function(){function t(t){this.bytes=t,this.byteOffset=0,this.bitOffset=0}return t.prototype.getBitOffset=function(){return this.bitOffset},t.prototype.getByteOffset=function(){return this.byteOffset},t.prototype.readBits=function(t){if(t<1||t>32||t>this.available())throw new n.default(""+t);var e=0,r=this.bitOffset,i=this.byteOffset,s=this.bytes;if(r>0){var o=8-r,a=t>8-a<<(c=o-a))>>c,t-=a,8===(r+=a)&&(r=0,i++)}if(t>0){for(;t>=8;)e=e<<8|255&s[i],i++,t-=8;var c;t>0&&(e=e<>(c=8-t)<>c,r+=t)}return this.bitOffset=r,this.byteOffset=i,e},t.prototype.available=function(){return 8*(this.bytes.length-this.byteOffset)-this.bitOffset},t}()},"2QA8":function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())()},"2RNZ":function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0}),r("3IJX");var s=r("FrZJ"),o=r("6TpI"),a=r("nBjL"),c=r("EGpM"),l=r("9T38"),u=r("lcG+"),h=r("61Jx"),d=r("julC"),f=r("u3XB");e.default=function(t){function e(){var r=t.call(this)||this;r.decodeRowStringBuffer="",r.decodeRowStringBuffer="",e.L_AND_G_PATTERNS=e.L_PATTERNS.map((function(t){return t.slice()}));for(var n=10;n<20;n++){for(var i=e.L_PATTERNS[n-10],s=new Array(i.length),o=0;o=0&&(r=t.isRange(o,s,!1))}return n},e.prototype.decodeRow=function(t,r,n){var i=e.findStartGuardPattern(r),l=null==n?null:n.get(s.default.NEED_RESULT_POINT_CALLBACK);if(null!=l){var p=new c.default((i[0]+i[1])/2,t);l.foundPossibleResultPoint(p)}var g=this.decodeMiddle(r,i,this.decodeRowStringBuffer),m=g.rowOffset,b=g.resultString;if(null!=l){var y=new c.default(m,t);l.foundPossibleResultPoint(y)}var v=e.decodeEnd(r,m);if(null!=l){var w=new c.default((v[0]+v[1])/2,t);l.foundPossibleResultPoint(w)}var _=v[1],S=_+(_-v[0]);if(S>=r.getSize()||!r.isRange(_,S,!1))throw new h.default;var E=b.toString();if(E.length<8)throw new d.default;if(!e.checkChecksum(E))throw new f.default;var C=(i[1]+i[0])/2,A=(v[1]+v[0])/2,k=this.getBarcodeFormat(),x=[new c.default(C,t),new c.default(A,t)],I=new o.default(E,null,0,x,k,(new Date).getTime()),O=0;try{var T=u.default.decodeRow(t,r,v[1]);I.putMetadata(a.default.UPC_EAN_EXTENSION,T.getText()),I.putAllMetadata(T.getResultMetadata()),I.addResultPoints(T.getResultPoints()),O=T.getText().length}catch(N){}var M=null==n?null:n.get(s.default.ALLOWED_EAN_EXTENSIONS);if(null!=M){var R=!1;for(var P in M)if(O.toString()===P){R=!0;break}if(!R)throw new h.default}return I},e.checkChecksum=function(t){return e.checkStandardUPCEANChecksum(t)},e.checkStandardUPCEANChecksum=function(t){var r=t.length;if(0===r)return!1;var n=parseInt(t.charAt(r-1),10);return e.getStandardUPCEANChecksum(t.substring(0,r-1))===n},e.getStandardUPCEANChecksum=function(t){for(var e=t.length,r=0,n=e-1;n>=0;n-=2){if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new d.default;r+=i}for(r*=3,n=e-2;n>=0;n-=2){var i;if((i=t.charAt(n).charCodeAt(0)-"0".charCodeAt(0))<0||i>9)throw new d.default;r+=i}return(1e3-r)%10},e.decodeEnd=function(t,r){return e.findGuardPattern(t,r,!1,e.START_END_PATTERN,new Array(e.START_END_PATTERN.length).fill(0))},e.findGuardPattern=function(t,r,n,i,s){for(var o=t.getSize(),a=0,c=r=n?t.getNextUnset(r):t.getNextSet(r),u=i.length,d=n,f=r;f=0)return o;throw new h.default},e.MAX_AVG_VARIANCE=.48,e.MAX_INDIVIDUAL_VARIANCE=.7,e.START_END_PATTERN=[1,1,1],e.MIDDLE_PATTERN=[1,1,1,1,1],e.END_PATTERN=[1,1,1,1,1,1],e.L_PATTERNS=[[3,2,1,1],[2,2,2,1],[2,1,2,2],[1,4,1,1],[1,1,3,2],[1,2,3,1],[1,1,1,4],[1,3,1,2],[1,2,1,3],[3,1,1,2]],e}(l.default)},"2Rgk":function(t,e,r){"use strict";const n=r("q6el"),i=r("Hmxq"),s=i("libp2p:peer-store:proto-book");s.error=i("libp2p:peer-store:proto-book:error");const o=r("J8CR"),a=r("/Yho"),{codes:{ERR_INVALID_PARAMETERS:c}}=r("KBud");t.exports=class extends a{constructor(t){super({peerStore:t,eventName:"change:protocols",eventProperty:"protocols",eventTransformer:t=>Array.from(t)}),this.data=new Map}set(t,e){if(!o.isPeerId(t))throw s.error("peerId must be an instance of peer-id to store data"),n(new Error("peerId must be an instance of peer-id"),c);if(!e)throw s.error("protocols must be provided to store data"),n(new Error("protocols must be provided"),c);const r=t.toB58String(),i=this.data.get(r),a=new Set(e);return i&&(l=i).size===(u=a).size&&[...l].every(t=>u.has(t))?(s("the protocols provided to store are equal to the already stored for "+r),this):(this._setData(t,a),s("stored provided protocols for "+r),this);var l,u}add(t,e){if(!o.isPeerId(t))throw s.error("peerId must be an instance of peer-id to store data"),n(new Error("peerId must be an instance of peer-id"),c);if(!e)throw s.error("protocols must be provided to store data"),n(new Error("protocols must be provided"),c);const r=t.toB58String(),i=this.data.get(r)||new Set,a=new Set([...i,...e]);return i.size===a.size?(s("the protocols provided to store are already stored for "+r),this):(e=[...a],this._setData(t,a),s("added provided protocols for "+r),this)}}},"2T9U":function(t,e,r){"use strict";const n=r("5ugK"),i=r("882I"),s=r("UbT7");t.exports={codec:s.RAW,defaultHashAlg:s.SHA2_256,resolver:{resolve:(t,e)=>{if("/"!==e)throw new Error("Only the root path / may be resolved");return{value:t,remainderPath:""}},tree:t=>({done:!0})},util:{deserialize:t=>t,serialize:t=>t,cid:async(e,r)=>{const o=Object.assign({cidVersion:1,hashAlg:t.exports.defaultHashAlg},r),a=await i(e,o.hashAlg);return new n(o.cidVersion,s.print[t.exports.codec],a)}}}},"2Vo4":function(t,e,r){"use strict";r.d(e,"a",(function(){return s}));var n=r("XNiG"),i=r("9ppp");class s extends n.a{constructor(t){super(),this._value=t}get value(){return this.getValue()}_subscribe(t){const e=super._subscribe(t);return e&&!e.closed&&t.next(this._value),e}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new i.a;return this._value}next(t){super.next(this._value=t)}}},"2WPB":function(t,e,r){var n;t.exports=(n=r("koXT"),r("lyug"),function(){var t=n,e=t.lib.Hasher,r=t.x64,i=r.Word,s=r.WordArray,o=t.algo;function a(){return i.create.apply(i,arguments)}var c=[a(1116352408,3609767458),a(1899447441,602891725),a(3049323471,3964484399),a(3921009573,2173295548),a(961987163,4081628472),a(1508970993,3053834265),a(2453635748,2937671579),a(2870763221,3664609560),a(3624381080,2734883394),a(310598401,1164996542),a(607225278,1323610764),a(1426881987,3590304994),a(1925078388,4068182383),a(2162078206,991336113),a(2614888103,633803317),a(3248222580,3479774868),a(3835390401,2666613458),a(4022224774,944711139),a(264347078,2341262773),a(604807628,2007800933),a(770255983,1495990901),a(1249150122,1856431235),a(1555081692,3175218132),a(1996064986,2198950837),a(2554220882,3999719339),a(2821834349,766784016),a(2952996808,2566594879),a(3210313671,3203337956),a(3336571891,1034457026),a(3584528711,2466948901),a(113926993,3758326383),a(338241895,168717936),a(666307205,1188179964),a(773529912,1546045734),a(1294757372,1522805485),a(1396182291,2643833823),a(1695183700,2343527390),a(1986661051,1014477480),a(2177026350,1206759142),a(2456956037,344077627),a(2730485921,1290863460),a(2820302411,3158454273),a(3259730800,3505952657),a(3345764771,106217008),a(3516065817,3606008344),a(3600352804,1432725776),a(4094571909,1467031594),a(275423344,851169720),a(430227734,3100823752),a(506948616,1363258195),a(659060556,3750685593),a(883997877,3785050280),a(958139571,3318307427),a(1322822218,3812723403),a(1537002063,2003034995),a(1747873779,3602036899),a(1955562222,1575990012),a(2024104815,1125592928),a(2227730452,2716904306),a(2361852424,442776044),a(2428436474,593698344),a(2756734187,3733110249),a(3204031479,2999351573),a(3329325298,3815920427),a(3391569614,3928383900),a(3515267271,566280711),a(3940187606,3454069534),a(4118630271,4000239992),a(116418474,1914138554),a(174292421,2731055270),a(289380356,3203993006),a(460393269,320620315),a(685471733,587496836),a(852142971,1086792851),a(1017036298,365543100),a(1126000580,2618297676),a(1288033470,3409855158),a(1501505948,4234509866),a(1607167915,987167468),a(1816402316,1246189591)],l=[];!function(){for(var t=0;t<80;t++)l[t]=a()}();var u=o.SHA512=e.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(t,e){for(var r=this._hash.words,n=r[0],i=r[1],s=r[2],o=r[3],a=r[4],u=r[5],h=r[6],d=r[7],f=n.high,p=n.low,g=i.high,m=i.low,b=s.high,y=s.low,v=o.high,w=o.low,_=a.high,S=a.low,E=u.high,C=u.low,A=h.high,k=h.low,x=d.high,I=d.low,O=f,T=p,M=g,R=m,P=b,N=y,B=v,L=w,D=_,j=S,z=E,F=C,U=A,V=k,H=x,q=I,K=0;K<80;K++){var G,W,Y=l[K];if(K<16)W=Y.high=0|t[e+2*K],G=Y.low=0|t[e+2*K+1];else{var X=l[K-15],$=X.high,J=X.low,Z=(J>>>1|$<<31)^(J>>>8|$<<24)^(J>>>7|$<<25),Q=l[K-2],tt=Q.high,et=Q.low,rt=(et>>>19|tt<<13)^(et<<3|tt>>>29)^(et>>>6|tt<<26),nt=l[K-7],it=l[K-16],st=it.low;Y.high=W=(W=(W=(($>>>1|J<<31)^($>>>8|J<<24)^$>>>7)+nt.high+((G=Z+nt.low)>>>0>>0?1:0))+((tt>>>19|et<<13)^(tt<<3|et>>>29)^tt>>>6)+((G+=rt)>>>0>>0?1:0))+it.high+((G+=st)>>>0>>0?1:0),Y.low=G}var ot,at=D&z^~D&U,ct=j&F^~j&V,lt=O&M^O&P^M&P,ut=(T>>>28|O<<4)^(T<<30|O>>>2)^(T<<25|O>>>7),ht=c[K],dt=ht.low,ft=H+((D>>>14|j<<18)^(D>>>18|j<<14)^(D<<23|j>>>9))+((ot=q+((j>>>14|D<<18)^(j>>>18|D<<14)^(j<<23|D>>>9)))>>>0>>0?1:0),pt=ut+(T&R^T&N^R&N);H=U,q=V,U=z,V=F,z=D,F=j,D=B+(ft=(ft=(ft=ft+at+((ot+=ct)>>>0>>0?1:0))+ht.high+((ot+=dt)>>>0
>>0?1:0))+W+((ot+=G)>>>0>>0?1:0))+((j=L+ot|0)>>>0>>0?1:0)|0,B=P,L=N,P=M,N=R,M=O,R=T,O=ft+(((O>>>28|T<<4)^(O<<30|T>>>2)^(O<<25|T>>>7))+lt+(pt>>>0>>0?1:0))+((T=ot+pt|0)>>>0>>0?1:0)|0}p=n.low=p+T,n.high=f+O+(p>>>0>>0?1:0),m=i.low=m+R,i.high=g+M+(m>>>0>>0?1:0),y=s.low=y+N,s.high=b+P+(y>>>0>>0?1:0),w=o.low=w+L,o.high=v+B+(w>>>0>>0?1:0),S=a.low=S+j,a.high=_+D+(S>>>0>>0?1:0),C=u.low=C+F,u.high=E+z+(C>>>0>>0?1:0),k=h.low=k+V,h.high=A+U+(k>>>0>>0?1:0),I=d.low=I+q,d.high=x+H+(I>>>0>>0?1:0)},_doFinalize:function(){var t=this._data,e=t.words,r=8*this._nDataBytes,n=8*t.sigBytes;return e[n>>>5]|=128<<24-n%32,e[30+(n+128>>>10<<5)]=Math.floor(r/4294967296),e[31+(n+128>>>10<<5)]=r,t.sigBytes=4*e.length,this._process(),this._hash.toX32()},clone:function(){var t=e.clone.call(this);return t._hash=this._hash.clone(),t},blockSize:32});t.SHA512=e._createHelper(u),t.HmacSHA512=e._createHmacHelper(u)}(),n.SHA512)},"2cOy":function(t,e,r){"use strict";const{filter:n,sortAll:i,take:s,map:o}=r("dAhT"),a=r("28rj");t.exports=class{async open(){}async close(){}async put(t,e,r={}){}async*putMany(t,e={}){for await(const{key:r,value:n}of t)await this.put(r,n,e),yield{key:r,value:n}}async get(t,e={}){}async*getMany(t,e={}){for await(const r of t)yield this.get(r,e)}async has(t){}async delete(t,e={}){}async*deleteMany(t,e={}){for await(const r of t)await this.delete(r,e),yield r}batch(){let t=[],e=[];return{put(e,r){t.push({key:e,value:r})},delete(t){e.push(t)},commit:async r=>{await a(this.putMany(t,r)),t=[],await a(this.deleteMany(e,r)),e=[]}}}async*_all(t,e){}async*query(t,e){let r=this._all(t,e);if(null!=t.prefix&&(r=n(r,e=>e.key.toString().startsWith(t.prefix))),Array.isArray(t.filters)&&(r=t.filters.reduce((t,e)=>n(t,e),r)),Array.isArray(t.orders)&&(r=t.orders.reduce((t,e)=>i(t,e),r)),null!=t.offset){let e=0;r=n(r,()=>e++>=t.offset)}null!=t.limit&&(r=s(r,t.limit)),!0===t.keysOnly&&(r=o(r,t=>({key:t.key}))),yield*r}}},"2fFW":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));let n=!1;const i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(t){if(t){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else n&&console.log("RxJS: Back to a better error behavior. Thank you. <3");n=t},get useDeprecatedSynchronousErrorHandling(){return n}}},"2jFL":function(t,e,r){var n=r("lcRY");r("apCE"),r("1/v1");var i=t.exports=n.sha1=n.sha1||{};n.md.sha1=n.md.algorithms.sha1=i,i.create=function(){o||(s=String.fromCharCode(128),s+=n.util.fillString(String.fromCharCode(0),64),o=!0);var t=null,e=n.util.createBuffer(),r=new Array(80),i={algorithm:"sha1",blockLength:64,digestLength:20,messageLength:0,fullMessageLength:null,messageLengthSize:8,start:function(){i.messageLength=0,i.fullMessageLength=i.messageLength64=[];for(var r=i.messageLengthSize/4,s=0;s>>0,c>>>0];for(var l=i.fullMessageLength.length-1;l>=0;--l)i.fullMessageLength[l]+=c[1],c[1]=c[0]+(i.fullMessageLength[l]/4294967296>>>0),i.fullMessageLength[l]=i.fullMessageLength[l]>>>0,c[0]=c[1]/4294967296>>>0;return e.putBytes(s),a(t,r,e),(e.read>2048||0===e.length())&&e.compact(),i},i.digest=function(){var o,c=n.util.createBuffer();c.putBytes(e.bytes()),c.putBytes(s.substr(0,i.blockLength-(i.fullMessageLength[i.fullMessageLength.length-1]+i.messageLengthSize&i.blockLength-1)));for(var l=8*i.fullMessageLength[0],u=0;u>>0)>>>0),l=o>>>0;c.putInt32(l);var h={h0:t.h0,h1:t.h1,h2:t.h2,h3:t.h3,h4:t.h4};a(h,r,c);var d=n.util.createBuffer();return d.putInt32(h.h0),d.putInt32(h.h1),d.putInt32(h.h2),d.putInt32(h.h3),d.putInt32(h.h4),d},i};var s=null,o=!1;function a(t,e,r){for(var n,i,s,o,a,c,l,u=r.length();u>=64;){for(i=t.h0,s=t.h1,o=t.h2,a=t.h3,c=t.h4,l=0;l<16;++l)n=r.getInt32(),e[l]=n,n=(i<<5|i>>>27)+(a^s&(o^a))+c+1518500249+n,c=a,a=o,o=(s<<30|s>>>2)>>>0,s=i,i=n;for(;l<20;++l)e[l]=n=(n=e[l-3]^e[l-8]^e[l-14]^e[l-16])<<1|n>>>31,n=(i<<5|i>>>27)+(a^s&(o^a))+c+1518500249+n,c=a,a=o,o=(s<<30|s>>>2)>>>0,s=i,i=n;for(;l<32;++l)e[l]=n=(n=e[l-3]^e[l-8]^e[l-14]^e[l-16])<<1|n>>>31,n=(i<<5|i>>>27)+(s^o^a)+c+1859775393+n,c=a,a=o,o=(s<<30|s>>>2)>>>0,s=i,i=n;for(;l<40;++l)e[l]=n=(n=e[l-6]^e[l-16]^e[l-28]^e[l-32])<<2|n>>>30,n=(i<<5|i>>>27)+(s^o^a)+c+1859775393+n,c=a,a=o,o=(s<<30|s>>>2)>>>0,s=i,i=n;for(;l<60;++l)e[l]=n=(n=e[l-6]^e[l-16]^e[l-28]^e[l-32])<<2|n>>>30,n=(i<<5|i>>>27)+(s&o|a&(s^o))+c+2400959708+n,c=a,a=o,o=(s<<30|s>>>2)>>>0,s=i,i=n;for(;l<80;++l)e[l]=n=(n=e[l-6]^e[l-16]^e[l-28]^e[l-32])<<2|n>>>30,n=(i<<5|i>>>27)+(s^o^a)+c+3395469782+n,c=a,a=o,o=(s<<30|s>>>2)>>>0,s=i,i=n;t.h0=t.h0+i|0,t.h1=t.h1+s|0,t.h2=t.h2+o|0,t.h3=t.h3+a|0,t.h4=t.h4+c|0,u-=64}}},"2xng":function(t,e,r){var n;t.exports=(n=r("koXT"),r("tiP4"),n.pad.AnsiX923={pad:function(t,e){var r=t.sigBytes,n=4*e,i=n-r%n,s=r+i-1;t.clamp(),t.words[s>>>2]|=i<<24-s%4*8,t.sigBytes+=i},unpad:function(t){t.sigBytes-=255&t.words[t.sigBytes-1>>>2]}},n.pad.Ansix923)},3:function(t,e){},"34I1":function(t,e,r){"use strict";(function(e){function r(t,e){i(t,e),n(t)}function n(t){t._writableState&&!t._writableState.emitClose||t._readableState&&!t._readableState.emitClose||t.emit("close")}function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,s){var o=this;return this._readableState&&this._readableState.destroyed||this._writableState&&this._writableState.destroyed?(s?s(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(i,this,t)):e.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!s&&t?o._writableState?o._writableState.errorEmitted?e.nextTick(n,o):(o._writableState.errorEmitted=!0,e.nextTick(r,o,t)):e.nextTick(r,o,t):s?(e.nextTick(n,o),s(t)):e.nextTick(n,o)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(t,e){var r=t._readableState,n=t._writableState;r&&r.autoDestroy||n&&n.autoDestroy?t.destroy(e):t.emit("error",e)}}}).call(this,r("8oxB"))},"36QH":function(t,e,r){"use strict";var n,i=r("WR1C").codes,s=i.ERR_MISSING_ARGS,o=i.ERR_STREAM_DESTROYED;function a(t){if(t)throw t}function c(t,e,i,s){s=function(t){var e=!1;return function(){e||(e=!0,t.apply(void 0,arguments))}}(s);var a=!1;t.on("close",(function(){a=!0})),void 0===n&&(n=r("4L5W")),n(t,{readable:e,writable:i},(function(t){if(t)return s(t);a=!0,s()}));var c=!1;return function(e){if(!a&&!c)return c=!0,function(t){return t.setHeader&&"function"==typeof t.abort}(t)?t.abort():"function"==typeof t.destroy?t.destroy():void s(e||new o("pipe"))}}function l(t){t()}function u(t,e){return t.pipe(e)}function h(t){return t.length?"function"!=typeof t[t.length-1]?a:t.pop():a}t.exports=function(){for(var t=arguments.length,e=new Array(t),r=0;r0,(function(t){n||(n=t),t&&o.forEach(l),s||(o.forEach(l),i(n))}))}));return e.reduce(u)}},"36a6":function(t,e,r){"use strict";(function(e){const{Buffer:n}=r("aTq8"),i=r("kVK+"),s=r("Lh89").BigNumber,o=r("HTip"),a=r("d+VO"),c=r("/3Tm"),l=r("1iKh"),u=r("Xez0"),{URL:h}=r("uavP");class d{constructor(t){(t=t||{}).size=!t.size||t.size<65536?65536:a.nextPowerOf2(t.size),this._heap=new ArrayBuffer(t.size),this._heap8=new Uint8Array(this._heap),this._buffer=n.from(this._heap),this._reset(),this._knownTags=Object.assign({0:t=>new Date(t),1:t=>new Date(1e3*t),2:t=>a.arrayBufferToBignumber(t),3:t=>c.NEG_ONE.minus(a.arrayBufferToBignumber(t)),4:t=>c.TEN.pow(t[0]).times(t[1]),5:t=>c.TWO.pow(t[0]).times(t[1]),32:t=>new h(t),35:t=>new RegExp(t)},t.tags),this.parser=o(e,{log:console.log.bind(console),pushInt:this.pushInt.bind(this),pushInt32:this.pushInt32.bind(this),pushInt32Neg:this.pushInt32Neg.bind(this),pushInt64:this.pushInt64.bind(this),pushInt64Neg:this.pushInt64Neg.bind(this),pushFloat:this.pushFloat.bind(this),pushFloatSingle:this.pushFloatSingle.bind(this),pushFloatDouble:this.pushFloatDouble.bind(this),pushTrue:this.pushTrue.bind(this),pushFalse:this.pushFalse.bind(this),pushUndefined:this.pushUndefined.bind(this),pushNull:this.pushNull.bind(this),pushInfinity:this.pushInfinity.bind(this),pushInfinityNeg:this.pushInfinityNeg.bind(this),pushNaN:this.pushNaN.bind(this),pushNaNNeg:this.pushNaNNeg.bind(this),pushArrayStart:this.pushArrayStart.bind(this),pushArrayStartFixed:this.pushArrayStartFixed.bind(this),pushArrayStartFixed32:this.pushArrayStartFixed32.bind(this),pushArrayStartFixed64:this.pushArrayStartFixed64.bind(this),pushObjectStart:this.pushObjectStart.bind(this),pushObjectStartFixed:this.pushObjectStartFixed.bind(this),pushObjectStartFixed32:this.pushObjectStartFixed32.bind(this),pushObjectStartFixed64:this.pushObjectStartFixed64.bind(this),pushByteString:this.pushByteString.bind(this),pushByteStringStart:this.pushByteStringStart.bind(this),pushUtf8String:this.pushUtf8String.bind(this),pushUtf8StringStart:this.pushUtf8StringStart.bind(this),pushSimpleUnassigned:this.pushSimpleUnassigned.bind(this),pushTagUnassigned:this.pushTagUnassigned.bind(this),pushTagStart:this.pushTagStart.bind(this),pushTagStart4:this.pushTagStart4.bind(this),pushTagStart8:this.pushTagStart8.bind(this),pushBreak:this.pushBreak.bind(this)},this._heap)}get _depth(){return this._parents.length}get _currentParent(){return this._parents[this._depth-1]}get _ref(){return this._currentParent.ref}_closeParent(){var t=this._parents.pop();if(t.length>0)throw new Error(`Missing ${t.length} elements`);switch(t.type){case c.PARENT.TAG:this._push(this.createTag(t.ref[0],t.ref[1]));break;case c.PARENT.BYTE_STRING:this._push(this.createByteString(t.ref,t.length));break;case c.PARENT.UTF8_STRING:this._push(this.createUtf8String(t.ref,t.length));break;case c.PARENT.MAP:if(t.values%2>0)throw new Error("Odd number of elements in the map");this._push(this.createMap(t.ref,t.length));break;case c.PARENT.OBJECT:if(t.values%2>0)throw new Error("Odd number of elements in the map");this._push(this.createObject(t.ref,t.length));break;case c.PARENT.ARRAY:this._push(this.createArray(t.ref,t.length))}this._currentParent&&this._currentParent.type===c.PARENT.TAG&&this._dec()}_dec(){const t=this._currentParent;t.length<0||(t.length--,0===t.length&&this._closeParent())}_push(t,e){const r=this._currentParent;switch(r.values++,r.type){case c.PARENT.ARRAY:case c.PARENT.BYTE_STRING:case c.PARENT.UTF8_STRING:r.length>-1?this._ref[this._ref.length-r.length]=t:this._ref.push(t),this._dec();break;case c.PARENT.OBJECT:null!=r.tmpKey?(this._ref[r.tmpKey]=t,r.tmpKey=null,this._dec()):(r.tmpKey=t,"string"!=typeof r.tmpKey&&(r.type=c.PARENT.MAP,r.ref=a.buildMap(r.ref)));break;case c.PARENT.MAP:null!=r.tmpKey?(this._ref.set(r.tmpKey,t),r.tmpKey=null,this._dec()):r.tmpKey=t;break;case c.PARENT.TAG:this._ref.push(t),e||this._dec();break;default:throw new Error("Unknown parent type")}}_createParent(t,e,r){this._parents[this._depth]={type:e,length:r,ref:t,values:0,tmpKey:null}}_reset(){this._res=[],this._parents=[{type:c.PARENT.ARRAY,length:-1,ref:this._res,values:0,tmpKey:null}]}createTag(t,e){const r=this._knownTags[t];return r?r(e):new u(t,e)}createMap(t,e){return t}createObject(t,e){return t}createArray(t,e){return t}createByteString(t,e){return n.concat(t)}createByteStringFromHeap(t,e){return t===e?n.alloc(0):n.from(this._heap.slice(t,e))}createInt(t){return t}createInt32(t,e){return a.buildInt32(t,e)}createInt64(t,e,r,n){return a.buildInt64(t,e,r,n)}createFloat(t){return t}createFloatSingle(t,e,r,n){return i.read([t,e,r,n],0,!1,23,4)}createFloatDouble(t,e,r,n,s,o,a,c){return i.read([t,e,r,n,s,o,a,c],0,!1,52,8)}createInt32Neg(t,e){return-1-a.buildInt32(t,e)}createInt64Neg(t,e,r,n){const i=a.buildInt32(t,e),o=a.buildInt32(r,n);return i>c.MAX_SAFE_HIGH?c.NEG_ONE.minus(new s(i).times(c.SHIFT32).plus(o)):-1-(i*c.SHIFT32+o)}createTrue(){return!0}createFalse(){return!1}createNull(){return null}createUndefined(){}createInfinity(){return 1/0}createInfinityNeg(){return-1/0}createNaN(){return NaN}createNaNNeg(){return NaN}createUtf8String(t,e){return t.join("")}createUtf8StringFromHeap(t,e){return t===e?"":this._buffer.toString("utf8",t,e)}createSimpleUnassigned(t){return new l(t)}pushInt(t){this._push(this.createInt(t))}pushInt32(t,e){this._push(this.createInt32(t,e))}pushInt64(t,e,r,n){this._push(this.createInt64(t,e,r,n))}pushFloat(t){this._push(this.createFloat(t))}pushFloatSingle(t,e,r,n){this._push(this.createFloatSingle(t,e,r,n))}pushFloatDouble(t,e,r,n,i,s,o,a){this._push(this.createFloatDouble(t,e,r,n,i,s,o,a))}pushInt32Neg(t,e){this._push(this.createInt32Neg(t,e))}pushInt64Neg(t,e,r,n){this._push(this.createInt64Neg(t,e,r,n))}pushTrue(){this._push(this.createTrue())}pushFalse(){this._push(this.createFalse())}pushNull(){this._push(this.createNull())}pushUndefined(){this._push(this.createUndefined())}pushInfinity(){this._push(this.createInfinity())}pushInfinityNeg(){this._push(this.createInfinityNeg())}pushNaN(){this._push(this.createNaN())}pushNaNNeg(){this._push(this.createNaNNeg())}pushArrayStart(){this._createParent([],c.PARENT.ARRAY,-1)}pushArrayStartFixed(t){this._createArrayStartFixed(t)}pushArrayStartFixed32(t,e){const r=a.buildInt32(t,e);this._createArrayStartFixed(r)}pushArrayStartFixed64(t,e,r,n){const i=a.buildInt64(t,e,r,n);this._createArrayStartFixed(i)}pushObjectStart(){this._createObjectStartFixed(-1)}pushObjectStartFixed(t){this._createObjectStartFixed(t)}pushObjectStartFixed32(t,e){const r=a.buildInt32(t,e);this._createObjectStartFixed(r)}pushObjectStartFixed64(t,e,r,n){const i=a.buildInt64(t,e,r,n);this._createObjectStartFixed(i)}pushByteStringStart(){this._parents[this._depth]={type:c.PARENT.BYTE_STRING,length:-1,ref:[],values:0,tmpKey:null}}pushByteString(t,e){this._push(this.createByteStringFromHeap(t,e))}pushUtf8StringStart(){this._parents[this._depth]={type:c.PARENT.UTF8_STRING,length:-1,ref:[],values:0,tmpKey:null}}pushUtf8String(t,e){this._push(this.createUtf8StringFromHeap(t,e))}pushSimpleUnassigned(t){this._push(this.createSimpleUnassigned(t))}pushTagStart(t){this._parents[this._depth]={type:c.PARENT.TAG,length:1,ref:[t]}}pushTagStart4(t,e){this.pushTagStart(a.buildInt32(t,e))}pushTagStart8(t,e,r,n){this.pushTagStart(a.buildInt64(t,e,r,n))}pushTagUnassigned(t){this._push(this.createTag(t))}pushBreak(){if(this._currentParent.length>-1)throw new Error("Unexpected break");this._closeParent()}_createObjectStartFixed(t){0!==t?this._createParent({},c.PARENT.OBJECT,t):this._push(this.createObject({}))}_createArrayStartFixed(t){0!==t?this._createParent(new Array(t),c.PARENT.ARRAY,t):this._push(this.createArray([]))}_decode(t){if(0===t.byteLength)throw new Error("Input too short");this._reset(),this._heap8.set(t);const e=this.parser.parse(t.byteLength);if(this._depth>1){for(;0===this._currentParent.length;)this._closeParent();if(this._depth>1)throw new Error("Undeterminated nesting")}if(e>0)throw new Error("Failed to parse");if(0===this._res.length)throw new Error("No valid result")}decodeFirst(t){return this._decode(t),this._res[0]}decodeAll(t){return this._decode(t),this._res}static decode(t,e){return"string"==typeof t&&(t=n.from(t,e||"hex")),new d({size:t.length}).decodeFirst(t)}static decodeAll(t,e){return"string"==typeof t&&(t=n.from(t,e||"hex")),new d({size:t.length}).decodeAll(t)}}d.decodeFirst=d.decode,t.exports=d}).call(this,r("yLpj"))},"38W9":function(t,e,r){"use strict";const n=r("Lh89").default,i=r("5ugK"),{withTimeoutOption:s}=r("hwsr");t.exports=({bitswap:t})=>s((async function(e){const r=t.stat().snapshot;return{provideBufLen:parseInt(r.providesBufferLength.toString()),blocksReceived:new n(r.blocksReceived),wantlist:Array.from(t.getWantlist()).map(t=>t[1].cid),peers:t.peers().map(t=>new i(t.toB58String())),dupBlksReceived:new n(r.dupBlksReceived),dupDataReceived:new n(r.dupDataReceived),dataReceived:new n(r.dataReceived),blocksSent:new n(r.blocksSent),dataSent:new n(r.dataSent)}}))},"3BRs":function(t,e,r){"use strict";(function(e,n,i){var s=r("lm0R");function o(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(void 0),n=n.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}(e,t)}}t.exports=y;var a,c=!e.browser&&["v0.10","v0.9."].indexOf(e.version.slice(0,5))>-1?n:s.nextTick;y.WritableState=b;var l=Object.create(r("Onz0"));l.inherits=r("P7XM");var u,h={deprecate:r("t9FE")},d=r("QpuX"),f=r("hwdV").Buffer,p=i.Uint8Array||function(){},g=r("RoFp");function m(){}function b(t,e){a=a||r("sZro");var n=e instanceof a;this.objectMode=!!(t=t||{}).objectMode,n&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var i=t.highWaterMark,l=t.writableHighWaterMark;this.highWaterMark=i||0===i?i:n&&(l||0===l)?l:this.objectMode?16:16384,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1,this.decodeStrings=!(!1===t.decodeStrings),this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,n=r.sync,i=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,n,i){--e.pendingcb,r?(s.nextTick(i,n),s.nextTick(C,t,e),t._writableState.errorEmitted=!0,t.emit("error",n)):(i(n),t._writableState.errorEmitted=!0,t.emit("error",n),C(t,e))}(t,r,n,e,i);else{var o=S(r);o||r.corked||r.bufferProcessing||!r.bufferedRequest||_(t,r),n?c(w,t,r,o,i):w(t,r,o,i)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function y(t){if(a=a||r("sZro"),!(u.call(y,this)||this instanceof a))return new y(t);this._writableState=new b(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),d.call(this)}function v(t,e,r,n,i,s,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,s,e.onwrite),e.sync=!1}function w(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),C(t,e)}function _(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=new Array(e.bufferedRequestCount),i=e.corkedRequestsFree;i.entry=r;for(var s=0,a=!0;r;)n[s]=r,r.isBuf||(a=!1),r=r.next,s+=1;n.allBuffers=a,v(t,e,!0,e.length,n,"",i.finish),e.pendingcb++,e.lastBufferedRequest=null,i.next?(e.corkedRequestsFree=i.next,i.next=null):e.corkedRequestsFree=new o(e),e.bufferedRequestCount=0}else{for(;r;){var c=r.chunk;if(v(t,e,!1,e.objectMode?1:c.length,c,r.encoding,r.callback),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function S(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function E(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),C(t,e)}))}function C(t,e){var r=S(e);return r&&(function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,s.nextTick(E,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}l.inherits(y,d),b.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(b.prototype,"buffer",{get:h.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(u=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(t){return!!u.call(this,t)||this===y&&t&&t._writableState instanceof b}})):u=function(t){return t instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(t,e,r){var n,i=this._writableState,o=!1,a=!i.objectMode&&(f.isBuffer(n=t)||n instanceof p);return a&&!f.isBuffer(t)&&(t=function(t){return f.from(t)}(t)),"function"==typeof e&&(r=e,e=null),a?e="buffer":e||(e=i.defaultEncoding),"function"!=typeof r&&(r=m),i.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),s.nextTick(e,r)}(this,r):(a||function(t,e,r,n){var i=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),s.nextTick(n,o),i=!1),i}(this,i,t,r))&&(i.pendingcb++,o=function(t,e,r,n,i,s){if(!r){var o=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=f.from(e,r)),e}(e,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=e.objectMode?1:n.length;e.length+=a;var c=e.length-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(t,e,r){var n=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),n.corked&&(n.corked=1,this.uncork()),n.ending||n.finished||function(t,e,r){e.ending=!0,C(t,e),r&&(e.finished?s.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),y.prototype.destroy=g.destroy,y.prototype._undestroy=g.undestroy,y.prototype._destroy=function(t,e){this.end(),e(t)}}).call(this,r("8oxB"),r("URgk").setImmediate,r("yLpj"))},"3E0/":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("D0XW"),i=r("7o/Q"),s=r("WMd4");function o(t,e=n.a){var r;const i=(r=t)instanceof Date&&!isNaN(+r)?+t-e.now():Math.abs(t);return t=>t.lift(new a(i,e))}class a{constructor(t,e){this.delay=t,this.scheduler=e}call(t,e){return e.subscribe(new c(t,this.delay,this.scheduler))}}class c extends i.a{constructor(t,e,r){super(t),this.delay=e,this.scheduler=r,this.queue=[],this.active=!1,this.errored=!1}static dispatch(t){const e=t.source,r=e.queue,n=t.scheduler,i=t.destination;for(;r.length>0&&r[0].time-n.now()<=0;)r.shift().notification.observe(i);if(r.length>0){const e=Math.max(0,r[0].time-n.now());this.schedule(t,e)}else this.unsubscribe(),e.active=!1}_schedule(t){this.active=!0,this.destination.add(t.schedule(c.dispatch,this.delay,{source:this,destination:this.destination,scheduler:t}))}scheduleNotification(t){if(!0===this.errored)return;const e=this.scheduler,r=new l(e.now()+this.delay,t);this.queue.push(r),!1===this.active&&this._schedule(e)}_next(t){this.scheduleNotification(s.a.createNext(t))}_error(t){this.errored=!0,this.queue=[],this.destination.error(t),this.unsubscribe()}_complete(){this.scheduleNotification(s.a.createComplete()),this.unsubscribe()}}class l{constructor(t,e){this.time=t,this.notification=e}}},"3G2H":function(t,e){var r=1e3,n=60*r,i=60*n,s=24*i;function o(t,e,r){if(!(t0)return function(t){if(!((t=String(t)).length>100)){var e=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(e){var o=parseFloat(e[1]);switch((e[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"days":case"day":case"d":return o*s;case"hours":case"hour":case"hrs":case"hr":case"h":return o*i;case"minutes":case"minute":case"mins":case"min":case"m":return o*n;case"seconds":case"second":case"secs":case"sec":case"s":return o*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(t);if("number"===c&&!1===isNaN(t))return e.long?o(a=t,s,"day")||o(a,i,"hour")||o(a,n,"minute")||o(a,r,"second")||a+" ms":function(t){return t>=s?Math.round(t/s)+"d":t>=i?Math.round(t/i)+"h":t>=n?Math.round(t/n)+"m":t>=r?Math.round(t/r)+"s":t+"ms"}(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},"3HE0":function(t,e,r){"use strict";const n=r("vlnJ");t.exports=n("\nmessage Identify {\n // protocolVersion determines compatibility between peers\n optional string protocolVersion = 5; // e.g. ipfs/1.0.0\n\n // agentVersion is like a UserAgent string in browsers, or client version in bittorrent\n // includes the client name and client.\n optional string agentVersion = 6; // e.g. go-ipfs/0.1.0\n\n // publicKey is this node's public key (which also gives its node.ID)\n // - may not need to be sent, as secure channel implies it has been sent.\n // - then again, if we change / disable secure channel, may still want it.\n optional bytes publicKey = 1;\n\n // listenAddrs are the multiaddrs the sender node listens for open connections on\n repeated bytes listenAddrs = 2;\n\n // oservedAddr is the multiaddr of the remote endpoint that the sender node perceives\n // this is useful information to convey to the other side, as it helps the remote endpoint\n // determine whether its connection to the local peer goes through NAT.\n optional bytes observedAddr = 4;\n\n repeated string protocols = 3;\n\n // signedPeerRecord contains a serialized SignedEnvelope containing a PeerRecord,\n // signed by the sending node. It contains the same addresses as the listenAddrs field, but\n // in a form that lets us share authenticated addrs with other peers.\n optional bytes signedPeerRecord = 8;\n}\n").Identify},"3HGd":function(t,e,r){var n,i=r("GbKj"),s=r("861V"),o=r("cJie"),a=r("Bbls"),c=r("EHEt");"undefined"!=typeof ArrayBuffer&&(n=r("pL7+"));var l="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),u="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),h=l||u;e.protocol=3;var d=e.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=i(d),p={type:"error",data:"parser error"},g=r("bA4k");function m(t,e,r){for(var n=new Array(t.length),i=a(t.length,r),s=function(t,r,i){e(r,(function(e,r){n[t]=r,i(e,n)}))},o=0;o1?{type:f[i],data:t.substring(1)}:{type:f[i]}:p}i=new Uint8Array(t)[0];var s=o(t,1);return g&&"blob"===r&&(s=new g([s])),{type:f[i],data:s}},e.decodeBase64Packet=function(t,e){var r=f[t.charAt(0)];if(!n)return{type:r,data:{base64:!0,data:t.substr(1)}};var i=n.decode(t.substr(1));return"blob"===e&&g&&(i=new g([i])),{type:r,data:i}},e.encodePayload=function(t,r,n){"function"==typeof r&&(n=r,r=null);var i=s(t);return r&&i?g&&!h?e.encodePayloadAsBlob(t,n):e.encodePayloadAsArrayBuffer(t,n):t.length?void m(t,(function(t,n){e.encodePacket(t,!!i&&r,!1,(function(t){n(null,function(t){return t.length+":"+t}(t))}))}),(function(t,e){return n(e.join(""))})):n("0:")},e.decodePayload=function(t,r,n){if("string"!=typeof t)return e.decodePayloadAsBinary(t,r,n);var i;if("function"==typeof r&&(n=r,r=null),""===t)return n(p,0,1);for(var s,o,a="",c=0,l=t.length;c0;){for(var a=new Uint8Array(i),c=0===a[0],l="",u=1;255!==a[u];u++){if(l.length>310)return n(p,0,1);l+=a[u]}i=o(i,2+l.length),l=parseInt(l);var h=o(i,0,l);if(c)try{h=String.fromCharCode.apply(null,new Uint8Array(h))}catch(g){var d=new Uint8Array(h);for(h="",u=0;uc((async function(c,h){const d=(h=h||{}).enc;let f;if(c instanceof Uint8Array)f=d?await function(t,e){switch(e){case"json":return function(t){let e,r;try{const n=JSON.parse(l(t));r=(n.Links||[]).map(t=>new s(t.Name||t.name,t.Size||t.size,o.fromB58String(t.Hash||t.hash||t.multihash))),e=u(n.Data)}catch(n){throw new Error("failed to parse JSON: "+n)}return new i(e,r)}(t);case"protobuf":return function(t){return n.util.deserialize(t)}(t);default:throw new Error("unkown encoding: "+e)}}(c,d):new i(c);else if(i.isDAGNode(c))f=c;else{if("object"!=typeof c)throw new Error("obj not recognized");f=new i(c.Data,c.Links)}const p=await e.readLock();try{const e=await t.put(f,a.DAG_PB,{cidVersion:0,hashAlg:a.SHA2_256});return!1!==h.preload&&r(e),e}finally{p()}}))},"3Pt+":function(t,e,r){"use strict";r.d(e,"a",(function(){return yt})),r.d(e,"b",(function(){return f})),r.d(e,"c",(function(){return nt})),r.d(e,"d",(function(){return it})),r.d(e,"e",(function(){return pt})),r.d(e,"f",(function(){return _t})),r.d(e,"g",(function(){return E})),r.d(e,"h",(function(){return c})),r.d(e,"i",(function(){return b})),r.d(e,"j",(function(){return v})),r.d(e,"k",(function(){return w})),r.d(e,"l",(function(){return ct})),r.d(e,"m",(function(){return ht})),r.d(e,"n",(function(){return bt})),r.d(e,"o",(function(){return k})),r.d(e,"p",(function(){return dt}));var n=r("fXoL"),i=r("ofXK"),s=r("cp0P"),o=r("Cfvw"),a=r("lJxs");const c=new n.s("NgValueAccessor"),l={provide:c,useExisting:Object(n.Z)(()=>u),multi:!0};let u=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"checked",t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.I),n.Sb(n.m))},t.\u0275dir=n.Nb({type:t,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(t,e){1&t&&n.fc("change",(function(t){return e.onChange(t.target.checked)}))("blur",(function(){return e.onTouched()}))},features:[n.Eb([l])]}),t})();const h={provide:c,useExisting:Object(n.Z)(()=>f),multi:!0},d=new n.s("CompositionEventMode");let f=(()=>{class t{constructor(t,e,r){this._renderer=t,this._elementRef=e,this._compositionMode=r,this.onChange=t=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const t=Object(i.D)()?Object(i.D)().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=t}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_handleInput(t){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(t)}_compositionStart(){this._composing=!0}_compositionEnd(t){this._composing=!1,this._compositionMode&&this.onChange(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.I),n.Sb(n.m),n.Sb(d,8))},t.\u0275dir=n.Nb({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(t,e){1&t&&n.fc("input",(function(t){return e._handleInput(t.target.value)}))("blur",(function(){return e.onTouched()}))("compositionstart",(function(){return e._compositionStart()}))("compositionend",(function(t){return e._compositionEnd(t.target.value)}))},features:[n.Eb([h])]}),t})(),p=(()=>{class t{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(t){this.control&&this.control.reset(t)}hasError(t,e){return!!this.control&&this.control.hasError(t,e)}getError(t,e){return this.control?this.control.getError(t,e):null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Nb({type:t}),t})(),g=(()=>{class t extends p{get formDirective(){return null}get path(){return null}}return t.\u0275fac=function(e){return m(e||t)},t.\u0275dir=n.Nb({type:t,features:[n.Cb]}),t})();const m=n.ac(g);class b extends p{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){}get asyncValidator(){}}class y{constructor(t){this._cd=t}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}let v=(()=>{class t extends y{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(b,2))},t.\u0275dir=n.Nb({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.Kb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[n.Cb]}),t})(),w=(()=>{class t extends y{constructor(t){super(t)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(g,2))},t.\u0275dir=n.Nb({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(t,e){2&t&&n.Kb("ng-untouched",e.ngClassUntouched)("ng-touched",e.ngClassTouched)("ng-pristine",e.ngClassPristine)("ng-dirty",e.ngClassDirty)("ng-valid",e.ngClassValid)("ng-invalid",e.ngClassInvalid)("ng-pending",e.ngClassPending)},features:[n.Cb]}),t})();function _(t){return null==t||0===t.length}function S(t){return null!=t&&"number"==typeof t.length}const E=new n.s("NgValidators"),C=new n.s("NgAsyncValidators"),A=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class k{static min(t){return e=>{if(_(e.value)||_(t))return null;const r=parseFloat(e.value);return!isNaN(r)&&r{if(_(e.value)||_(t))return null;const r=parseFloat(e.value);return!isNaN(r)&&r>t?{max:{max:t,actual:e.value}}:null}}static required(t){return _(t.value)?{required:!0}:null}static requiredTrue(t){return!0===t.value?null:{required:!0}}static email(t){return _(t.value)||A.test(t.value)?null:{email:!0}}static minLength(t){return e=>_(e.value)||!S(e.value)?null:e.value.lengthS(e.value)&&e.value.length>t?{maxlength:{requiredLength:t,actualLength:e.value.length}}:null}static pattern(t){if(!t)return k.nullValidator;let e,r;return"string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),e=new RegExp(r)):(r=t.toString(),e=t),t=>{if(_(t.value))return null;const n=t.value;return e.test(n)?null:{pattern:{requiredPattern:r,actualValue:n}}}}static nullValidator(t){return null}static compose(t){if(!t)return null;const e=t.filter(x);return 0==e.length?null:function(t){return O(T(t,e))}}static composeAsync(t){if(!t)return null;const e=t.filter(x);return 0==e.length?null:function(t){const r=T(t,e).map(I);return Object(s.a)(r).pipe(Object(a.a)(O))}}}function x(t){return null!=t}function I(t){const e=Object(n.xb)(t)?Object(o.a)(t):t;return Object(n.wb)(e),e}function O(t){let e={};return t.forEach(t=>{e=null!=t?Object.assign(Object.assign({},e),t):e}),0===Object.keys(e).length?null:e}function T(t,e){return e.map(e=>e(t))}function M(t){return t.map(t=>function(t){return!t.validate}(t)?t:e=>t.validate(e))}const R={provide:c,useExisting:Object(n.Z)(()=>P),multi:!0};let P=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==t?"":t)}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.I),n.Sb(n.m))},t.\u0275dir=n.Nb({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,e){1&t&&n.fc("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[n.Eb([R])]}),t})();const N={provide:c,useExisting:Object(n.Z)(()=>L),multi:!0};let B=(()=>{class t{constructor(){this._accessors=[]}add(t,e){this._accessors.push([t,e])}remove(t){for(let e=this._accessors.length-1;e>=0;--e)if(this._accessors[e][1]===t)return void this._accessors.splice(e,1)}select(t){this._accessors.forEach(e=>{this._isSameGroup(e,t)&&e[1]!==t&&e[1].fireUncheck(t.value)})}_isSameGroup(t,e){return!!t[0].control&&t[0]._parent===e._control._parent&&t[1].name===e.name}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=n.Ob({token:t,factory:t.\u0275fac}),t})(),L=(()=>{class t{constructor(t,e,r,n){this._renderer=t,this._elementRef=e,this._registry=r,this._injector=n,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(b),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(t){this._state=t===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(t){this._fn=t,this.onChange=()=>{t(this.value),this._registry.select(this)}}fireUncheck(t){this.writeValue(t)}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.I),n.Sb(n.m),n.Sb(B),n.Sb(n.t))},t.\u0275dir=n.Nb({type:t,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(t,e){1&t&&n.fc("change",(function(){return e.onChange()}))("blur",(function(){return e.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.Eb([N])]}),t})();const D={provide:c,useExisting:Object(n.Z)(()=>j),multi:!0};let j=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this.onChange=t=>{},this.onTouched=()=>{}}writeValue(t){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(t))}registerOnChange(t){this.onChange=e=>{t(""==e?null:parseFloat(e))}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.I),n.Sb(n.m))},t.\u0275dir=n.Nb({type:t,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(t,e){1&t&&n.fc("change",(function(t){return e.onChange(t.target.value)}))("input",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},features:[n.Eb([D])]}),t})();const z={provide:c,useExisting:Object(n.Z)(()=>F),multi:!0};let F=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){this.value=t;const e=this._getOptionId(t);null==e&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const r=function(t,e){return null==t?""+e:(e&&"object"==typeof e&&(e="Object"),`${t}: ${e}`.slice(0,50))}(e,t);this._renderer.setProperty(this._elementRef.nativeElement,"value",r)}registerOnChange(t){this.onChange=e=>{this.value=this._getOptionValue(e),t(this.value)}}registerOnTouched(t){this.onTouched=t}setDisabledState(t){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",t)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(t){for(const e of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(e),t))return e;return null}_getOptionValue(t){const e=function(t){return t.split(":")[0]}(t);return this._optionMap.has(e)?this._optionMap.get(e):t}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.I),n.Sb(n.m))},t.\u0275dir=n.Nb({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(t,e){1&t&&n.fc("change",(function(t){return e.onChange(t.target.value)}))("blur",(function(){return e.onTouched()}))},inputs:{compareWith:"compareWith"},features:[n.Eb([z])]}),t})();const U={provide:c,useExisting:Object(n.Z)(()=>V),multi:!0};let V=(()=>{class t{constructor(t,e){this._renderer=t,this._elementRef=e,this._optionMap=new Map,this._idCounter=0,this.onChange=t=>{},this.onTouched=()=>{},this._compareWith=Object.is}set compareWith(t){this._compareWith=t}writeValue(t){let e;if(this.value=t,Array.isArray(t)){const r=t.map(t=>this._getOptionId(t));e=(t,e)=>{t._setSelected(r.indexOf(e.toString())>-1)}}else e=(t,e)=>{t._setSelected(!1)};this._optionMap.forEach(e)}registerOnChange(t){this.onChange=e=>{const r=[];if(void 0!==e.selectedOptions){const t=e.selectedOptions;for(let e=0;e{t._pendingValue=r,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&q(t,e)})}(t,e),function(t,e){t.registerOnChange((t,r)=>{e.valueAccessor.writeValue(t),r&&e.viewToModelUpdate(t)})}(t,e),function(t,e){e.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&q(t,e),"submit"!==t.updateOn&&t.markAsTouched()})}(t,e),e.valueAccessor.setDisabledState&&t.registerOnDisabledChange(t=>{e.valueAccessor.setDisabledState(t)}),e._rawValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())}),e._rawAsyncValidators.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(()=>t.updateValueAndValidity())})}function q(t,e){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function K(t,e){t.validator=k.compose([t.validator,e.validator]),t.asyncValidator=k.composeAsync([t.asyncValidator,e.asyncValidator])}function G(t){return null!=t?k.compose(M(t)):null}function W(t){return null!=t?k.composeAsync(M(t)):null}const Y=[u,j,P,F,V,L];function X(t,e){t._syncPendingControls(),e.forEach(t=>{const e=t.control;"submit"===e.updateOn&&e._pendingChange&&(t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1)})}function $(t,e){const r=t.indexOf(e);r>-1&&t.splice(r,1)}function J(t){return(et(t)?t.validators:t)||null}function Z(t){return Array.isArray(t)?G(t):t||null}function Q(t,e){return(et(e)?e.asyncValidators:t)||null}function tt(t){return Array.isArray(t)?W(t):t||null}function et(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}class rt{constructor(t,e){this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=e,this._composedValidatorFn=Z(this._rawValidators),this._composedAsyncValidatorFn=tt(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(t){this._rawValidators=this._composedValidatorFn=t}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(t){this._rawAsyncValidators=this._composedAsyncValidatorFn=t}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(t){this._rawValidators=t,this._composedValidatorFn=Z(t)}setAsyncValidators(t){this._rawAsyncValidators=t,this._composedAsyncValidatorFn=tt(t)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(t={}){this.touched=!0,this._parent&&!t.onlySelf&&this._parent.markAsTouched(t)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(t=>t.markAllAsTouched())}markAsUntouched(t={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(t=>{t.markAsUntouched({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}markAsDirty(t={}){this.pristine=!1,this._parent&&!t.onlySelf&&this._parent.markAsDirty(t)}markAsPristine(t={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(t=>{t.markAsPristine({onlySelf:!0})}),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}markAsPending(t={}){this.status="PENDING",!1!==t.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!t.onlySelf&&this._parent.markAsPending(t)}disable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(e=>{e.disable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this._updateValue(),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!0))}enable(t={}){const e=this._parentMarkedDirty(t.onlySelf);this.status="VALID",this._forEachChild(e=>{e.enable(Object.assign(Object.assign({},t),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},t),{skipPristineCheck:e})),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(t){this._parent&&!t.onlySelf&&(this._parent.updateValueAndValidity(t),t.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(t){this._parent=t}updateValueAndValidity(t={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(t.emitEvent)),!1!==t.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!t.onlySelf&&this._parent.updateValueAndValidity(t)}_updateTreeValidity(t={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(t)),this.updateValueAndValidity({onlySelf:!0,emitEvent:t.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(t){if(this.asyncValidator){this.status="PENDING",this._hasOwnPendingAsyncValidator=!0;const e=I(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(e=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(e,{emitEvent:t})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(t,e={}){this.errors=t,this._updateControlsErrors(!1!==e.emitEvent)}get(t){return function(t,e,r){if(null==e)return null;if(Array.isArray(e)||(e=e.split(".")),Array.isArray(e)&&0===e.length)return null;let n=t;return e.forEach(t=>{n=n instanceof it?n.controls.hasOwnProperty(t)?n.controls[t]:null:n instanceof st&&n.at(t)||null}),n}(this,t)}getError(t,e){const r=e?this.get(e):this;return r&&r.errors?r.errors[t]:null}hasError(t,e){return!!this.getError(t,e)}get root(){let t=this;for(;t._parent;)t=t._parent;return t}_updateControlsErrors(t){this.status=this._calculateStatus(),t&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(t)}_initObservables(){this.valueChanges=new n.p,this.statusChanges=new n.p}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(t){return this._anyControls(e=>e.status===t)}_anyControlsDirty(){return this._anyControls(t=>t.dirty)}_anyControlsTouched(){return this._anyControls(t=>t.touched)}_updatePristine(t={}){this.pristine=!this._anyControlsDirty(),this._parent&&!t.onlySelf&&this._parent._updatePristine(t)}_updateTouched(t={}){this.touched=this._anyControlsTouched(),this._parent&&!t.onlySelf&&this._parent._updateTouched(t)}_isBoxedValue(t){return"object"==typeof t&&null!==t&&2===Object.keys(t).length&&"value"in t&&"disabled"in t}_registerOnCollectionChange(t){this._onCollectionChange=t}_setUpdateStrategy(t){et(t)&&null!=t.updateOn&&(this._updateOn=t.updateOn)}_parentMarkedDirty(t){return!t&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class nt extends rt{constructor(t=null,e,r){super(J(e),Q(r,e)),this._onChange=[],this._applyFormState(t),this._setUpdateStrategy(e),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(t,e={}){this.value=this._pendingValue=t,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(t,e={}){this.setValue(t,e)}reset(t=null,e={}){this._applyFormState(t),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(t){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(t){this._onChange.push(t)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(t){this._onDisabledChange.push(t)}_forEachChild(t){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(t){this._isBoxedValue(t)?(this.value=this._pendingValue=t.value,t.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=t}}class it extends rt{constructor(t,e,r){super(J(e),Q(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(t,e){return this.controls[t]?this.controls[t]:(this.controls[t]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(t,e){this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],this.updateValueAndValidity(),this._onCollectionChange()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),delete this.controls[t],e&&this.registerControl(t,e),this.updateValueAndValidity(),this._onCollectionChange()}contains(t){return this.controls.hasOwnProperty(t)&&this.controls[t].enabled}setValue(t,e={}){this._checkAllValuesPresent(t),Object.keys(t).forEach(r=>{this._throwIfControlMissing(r),this.controls[r].setValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){Object.keys(t).forEach(r=>{this.controls[r]&&this.controls[r].patchValue(t[r],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t={},e={}){this._forEachChild((r,n)=>{r.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(t,e,r)=>(t[r]=e instanceof nt?e.value:e.getRawValue(),t))}_syncPendingControls(){let t=this._reduceChildren(!1,(t,e)=>!!e._syncPendingControls()||t);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[t])throw new Error(`Cannot find form control with name: ${t}.`)}_forEachChild(t){Object.keys(this.controls).forEach(e=>t(this.controls[e],e))}_setUpControls(){this._forEachChild(t=>{t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(t){for(const e of Object.keys(this.controls)){const r=this.controls[e];if(this.contains(e)&&t(r))return!0}return!1}_reduceValue(){return this._reduceChildren({},(t,e,r)=>((e.enabled||this.disabled)&&(t[r]=e.value),t))}_reduceChildren(t,e){let r=t;return this._forEachChild((t,n)=>{r=e(r,t,n)}),r}_allControlsDisabled(){for(const t of Object.keys(this.controls))if(this.controls[t].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(t){this._forEachChild((e,r)=>{if(void 0===t[r])throw new Error(`Must supply a value for form control with name: '${r}'.`)})}}class st extends rt{constructor(t,e,r){super(J(e),Q(r,e)),this.controls=t,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(t){return this.controls[t]}push(t){this.controls.push(t),this._registerControl(t),this.updateValueAndValidity(),this._onCollectionChange()}insert(t,e){this.controls.splice(t,0,e),this._registerControl(e),this.updateValueAndValidity()}removeAt(t){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),this.updateValueAndValidity()}setControl(t,e){this.controls[t]&&this.controls[t]._registerOnCollectionChange(()=>{}),this.controls.splice(t,1),e&&(this.controls.splice(t,0,e),this._registerControl(e)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(t,e={}){this._checkAllValuesPresent(t),t.forEach((t,r)=>{this._throwIfControlMissing(r),this.at(r).setValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(t,e={}){t.forEach((t,r)=>{this.at(r)&&this.at(r).patchValue(t,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}reset(t=[],e={}){this._forEachChild((r,n)=>{r.reset(t[n],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(t=>t instanceof nt?t.value:t.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(t=>t._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let t=this.controls.reduce((t,e)=>!!e._syncPendingControls()||t,!1);return t&&this.updateValueAndValidity({onlySelf:!0}),t}_throwIfControlMissing(t){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(t))throw new Error("Cannot find form control at index "+t)}_forEachChild(t){this.controls.forEach((e,r)=>{t(e,r)})}_updateValue(){this.value=this.controls.filter(t=>t.enabled||this.disabled).map(t=>t.value)}_anyControls(t){return this.controls.some(e=>e.enabled&&t(e))}_setUpControls(){this._forEachChild(t=>this._registerControl(t))}_checkAllValuesPresent(t){this._forEachChild((e,r)=>{if(void 0===t[r])throw new Error(`Must supply a value for form control at index: ${r}.`)})}_allControlsDisabled(){for(const t of this.controls)if(t.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(t){t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange)}}const ot={provide:g,useExisting:Object(n.Z)(()=>ct)},at=(()=>Promise.resolve(null))();let ct=(()=>{class t extends g{constructor(t,e){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new n.p,this.form=new it({},G(t),W(e))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(t){at.then(()=>{const e=this._findContainer(t.path);t.control=e.registerControl(t.name,t.control),H(t.control,t),t.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(t)})}getControl(t){return this.form.get(t.path)}removeControl(t){at.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name),$(this._directives,t)})}addFormGroup(t){at.then(()=>{const e=this._findContainer(t.path),r=new it({});K(r,t),e.registerControl(t.name,r),r.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(t){at.then(()=>{const e=this._findContainer(t.path);e&&e.removeControl(t.name)})}getFormGroup(t){return this.form.get(t.path)}updateModel(t,e){at.then(()=>{this.form.get(t.path).setValue(e)})}setValue(t){this.control.setValue(t)}onSubmit(t){return this.submitted=!0,X(this.form,this._directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(t){return t.pop(),t.length?this.form.get(t):this.form}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(E,10),n.Sb(C,10))},t.\u0275dir=n.Nb({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,e){1&t&&n.fc("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Eb([ot]),n.Cb]}),t})();const lt={provide:b,useExisting:Object(n.Z)(()=>ht)},ut=(()=>Promise.resolve(null))();let ht=(()=>{class t extends b{constructor(t,e,r,i){super(),this.control=new nt,this._registered=!1,this.update=new n.p,this._parent=t,this._rawValidators=e||[],this._rawAsyncValidators=r||[],this.valueAccessor=function(t,e){if(!e)return null;Array.isArray(e);let r=void 0,n=void 0,i=void 0;return e.forEach(t=>{var e;t.constructor===f?r=t:(e=t,Y.some(t=>e.constructor===t)?n=t:i=t)}),i||n||r||null}(0,i)}ngOnChanges(t){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in t&&this._updateDisabled(t),function(t,e){if(!t.hasOwnProperty("model"))return!1;const r=t.model;return!!r.isFirstChange()||!Object.is(e,r.currentValue)}(t,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?[...this._parent.path,this.name]:[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return G(this._rawValidators)}get asyncValidator(){return W(this._rawAsyncValidators)}viewToModelUpdate(t){this.viewModel=t,this.update.emit(t)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){H(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(t){ut.then(()=>{this.control.setValue(t,{emitViewToModelChange:!1})})}_updateDisabled(t){const e=t.isDisabled.currentValue,r=""===e||e&&"false"!==e;ut.then(()=>{r&&!this.control.disabled?this.control.disable():!r&&this.control.disabled&&this.control.enable()})}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(g,9),n.Sb(E,10),n.Sb(C,10),n.Sb(c,10))},t.\u0275dir=n.Nb({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[n.Eb([lt]),n.Cb,n.Db]}),t})(),dt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Nb({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const ft={provide:g,useExisting:Object(n.Z)(()=>pt)};let pt=(()=>{class t extends g{constructor(t,e){super(),this._validators=t,this._asyncValidators=e,this.submitted=!1,this.directives=[],this.form=null,this.ngSubmit=new n.p}ngOnChanges(t){this._checkFormPresent(),t.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(t){const e=this.form.get(t.path);return H(e,t),e.updateValueAndValidity({emitEvent:!1}),this.directives.push(t),e}getControl(t){return this.form.get(t.path)}removeControl(t){$(this.directives,t)}addFormGroup(t){const e=this.form.get(t.path);K(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormGroup(t){}getFormGroup(t){return this.form.get(t.path)}addFormArray(t){const e=this.form.get(t.path);K(e,t),e.updateValueAndValidity({emitEvent:!1})}removeFormArray(t){}getFormArray(t){return this.form.get(t.path)}updateModel(t,e){this.form.get(t.path).setValue(e)}onSubmit(t){return this.submitted=!0,X(this.form,this.directives),this.ngSubmit.emit(t),!1}onReset(){this.resetForm()}resetForm(t){this.form.reset(t),this.submitted=!1}_updateDomValue(){this.directives.forEach(t=>{const e=this.form.get(t.path);t.control!==e&&(function(t,e){const r=()=>{};e.valueAccessor.registerOnChange(r),e.valueAccessor.registerOnTouched(r),e._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),e._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(null)}),t&&t._clearChangeFns()}(t.control,t),e&&H(e,t),t.control=e)}),this.form._updateTreeValidity({emitEvent:!1})}_updateRegistrations(){this.form._registerOnCollectionChange(()=>this._updateDomValue()),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{}),this._oldForm=this.form}_updateValidators(){const t=G(this._validators);this.form.validator=k.compose([this.form.validator,t]);const e=W(this._asyncValidators);this.form.asyncValidator=k.composeAsync([this.form.asyncValidator,e])}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(E,10),n.Sb(C,10))},t.\u0275dir=n.Nb({type:t,selectors:[["","formGroup",""]],hostBindings:function(t,e){1&t&&n.fc("submit",(function(t){return e.onSubmit(t)}))("reset",(function(){return e.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.Eb([ft]),n.Cb,n.Db]}),t})();const gt={provide:E,useExisting:Object(n.Z)(()=>bt),multi:!0},mt={provide:E,useExisting:Object(n.Z)(()=>yt),multi:!0};let bt=(()=>{class t{constructor(){this._required=!1}get required(){return this._required}set required(t){this._required=null!=t&&!1!==t&&""+t!="false",this._onChange&&this._onChange()}validate(t){return this.required?k.required(t):null}registerOnValidatorChange(t){this._onChange=t}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=n.Nb({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,e){2&t&&n.Gb("required",e.required?"":null)},inputs:{required:"required"},features:[n.Eb([gt])]}),t})(),yt=(()=>{class t extends bt{validate(t){return this.required?k.requiredTrue(t):null}}return t.\u0275fac=function(e){return vt(e||t)},t.\u0275dir=n.Nb({type:t,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(t,e){2&t&&n.Gb("required",e.required?"":null)},features:[n.Eb([mt]),n.Cb]}),t})();const vt=n.ac(yt);let wt=(()=>{class t{}return t.\u0275mod=n.Qb({type:t}),t.\u0275inj=n.Pb({factory:function(e){return new(e||t)}}),t})(),_t=(()=>{class t{}return t.\u0275mod=n.Qb({type:t}),t.\u0275inj=n.Pb({factory:function(e){return new(e||t)},providers:[B],imports:[wt]}),t})()},"3Qxf":function(t,e,r){"use strict";const n=r("+9NJ");t.exports.createDagLinkFromB58EncodedHash=function(t){return new n(t.Name||t.name||"",t.Tsize||t.Size||t.size||0,t.Hash||t.hash||t.multihash||t.cid)}},"3T6S":function(t,e,r){"use strict";const{Buffer:n}=r("aTq8"),i=r("22DD"),s=r("foos");function o(t){t=t||{};const e=Math.max(t.poolSize||10240,t.minPoolSize||8),r=t.lengthEncoder||s;return t=>async function*(){let s=n.alloc(e),o=0;for await(const a of t){r(a.length,s,o);const t=s.slice(o,o+r.bytes);o+=r.bytes,s.length-o<8&&(s=n.alloc(e),o=0),yield(new i).append(t).append(a)}}()}o.single=(t,e)=>new i([((e=e||{}).lengthEncoder||s)(t.length),t]),t.exports=o,t.exports.MIN_POOL_SIZE=8,t.exports.DEFAULT_POOL_SIZE=10240},"3T6W":function(t,e,r){"use strict";const n=r("S7NF"),i=r("bbp9"),s=r("QvE2"),o=r("PZbN"),a=r("Dc2k").logger;t.exports=class{constructor(t,e,r){this.peers=new Map,this.wantlist=new i(r),this.network=e,this._stats=r,this._peerId=t,this._log=a(t,"want")}_addEntries(t,e,r){const i=t.map((t,r)=>new n.Entry(t,s.kMaxPriority-r,n.WantType.Block,e));i.forEach(t=>{t.cancel?r?this.wantlist.removeForce(t.cid):this.wantlist.remove(t.cid):(this._log("adding to wl"),this.wantlist.add(t.cid,t.priority))});for(const n of this.peers.values())n.addEntries(i)}_startPeerHandler(t){let e=this.peers.get(t.toB58String());if(e)return void e.refcnt++;e=new o(this._peerId,t,this.network);const r=new n(!0);for(const n of this.wantlist.entries())r.addEntry(n[1].cid,n[1].priority);return e.addMessage(r),this.peers.set(t.toB58String(),e),e}_stopPeerHandler(t){const e=this.peers.get(t.toB58String());e&&(e.refcnt--,e.refcnt>0||this.peers.delete(t.toB58String()))}wantBlocks(t,e={}){this._addEntries(t,!1),e&&e.signal&&e.signal.addEventListener("abort",()=>{this.cancelWants(t)})}unwantBlocks(t){this._log("unwant blocks: %s",t.length),this._addEntries(t,!0,!0)}cancelWants(t){this._log("cancel wants: %s",t.length),this._addEntries(t,!0)}connectedPeers(){return Array.from(this.peers.keys())}connected(t){this._startPeerHandler(t)}disconnected(t){this._stopPeerHandler(t)}start(){}stop(){this.peers.forEach(t=>this.disconnected(t.peerId)),clearInterval(this.timer)}}},"3TNe":function(t,e,r){"use strict";const n=r("rAwV");t.exports=n(1,(function t(e,r,n,i){n.setFloat64(i,e,!0),t.bytes=8}),(function t(e,r,n){const i=r.getFloat64(n,!0);return t.bytes=8,i}),(function(){return 8}))},"3UWI":function(t,e,r){"use strict";r.d(e,"a",(function(){return c}));var n=r("D0XW"),i=r("zx2A");class s{constructor(t){this.durationSelector=t}call(t,e){return e.subscribe(new o(t,this.durationSelector))}}class o extends i.b{constructor(t,e){super(t),this.durationSelector=e,this.hasValue=!1}_next(t){if(this.value=t,this.hasValue=!0,!this.throttled){let r;try{const{durationSelector:e}=this;r=e(t)}catch(e){return this.destination.error(e)}const n=Object(i.c)(r,new i.a(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}clearThrottle(){const{value:t,hasValue:e,throttled:r}=this;r&&(this.remove(r),this.throttled=void 0,r.unsubscribe()),e&&(this.value=void 0,this.hasValue=!1,this.destination.next(t))}notifyNext(){this.clearThrottle()}notifyComplete(){this.clearThrottle()}}var a=r("PqYM");function c(t,e=n.a){return r=()=>Object(a.a)(t,e),function(t){return t.lift(new s(r))};var r}},"3bKk":function(t,e,r){"use strict";var n=e;n.length=function(t){var e=t.length;if(!e)return 0;for(var r=0;--e%4>1&&"="===t.charAt(e);)++r;return Math.ceil(3*t.length)/4-r};for(var i=new Array(64),s=new Array(123),o=0;o<64;)s[i[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;n.encode=function(t,e,r){for(var n,s=null,o=[],a=0,c=0;e>2],n=(3&l)<<4,c=1;break;case 1:o[a++]=i[n|l>>4],n=(15&l)<<2,c=2;break;case 2:o[a++]=i[n|l>>6],o[a++]=i[63&l],c=0}a>8191&&((s||(s=[])).push(String.fromCharCode.apply(String,o)),a=0)}return c&&(o[a++]=i[n],o[a++]=61,1===c&&(o[a++]=61)),s?(a&&s.push(String.fromCharCode.apply(String,o.slice(0,a))),s.join("")):String.fromCharCode.apply(String,o.slice(0,a))},n.decode=function(t,e,r){for(var n,i=r,o=0,a=0;a1)break;if(void 0===(c=s[c]))throw Error("invalid encoding");switch(o){case 0:n=c,o=1;break;case 1:e[r++]=n<<2|(48&c)>>4,n=c,o=2;break;case 2:e[r++]=(15&n)<<4|(60&c)>>2,n=c,o=3;break;case 3:e[r++]=(3&n)<<6|c,o=0}}if(1===o)throw Error("invalid encoding");return r-i},n.test=function(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}},"3hS6":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("F6F/"),i=r("7APi"),s=r("Nou5"),o=r("yEsP");e.default=function(){function t(t,e,r){this.primitive=t,this.size=e,this.generatorBase=r;for(var i=new Int32Array(e),s=1,o=0;o=e&&(s^=t,s&=e-1);this.expTable=i;var a=new Int32Array(e);for(o=0;o{try{return{isFulfilled:!0,isRejected:!1,value:await t}}catch(e){return{isFulfilled:!1,isRejected:!0,reason:e}}};t.exports=n,t.exports.default=n},"3itu":function(t,e,r){"use strict";const n=r("+ek2"),i=r("s3Ps"),s=r("q6el"),o=r("EvHe");t.exports=({options:t,peerId:e,multiaddrs:a=[],repo:c,keychainConfig:l={},config:u})=>{t=t||{},u=u||{};const{datastore:h,keys:d}=c,f=function({options:t,config:e,datastore:a,keys:c,keychainConfig:l,peerId:u,multiaddrs:h}){const d={datastore:a,peerId:u,modules:{}},f={modules:{pubsub:(()=>{const t=n(e,"Pubsub.Router")||"gossipsub";if(!o[t])throw s(new Error(`Router unavailable. Configure libp2p.modules.pubsub to use the ${t} router.`),"ERR_NOT_SUPPORTED");return o[t]})()},config:{peerDiscovery:{mdns:{enabled:n(t,"config.Discovery.MDNS.Enabled",n(e,"Discovery.MDNS.Enabled",!0))},webRTCStar:{enabled:n(t,"config.Discovery.webRTCStar.Enabled",n(e,"Discovery.webRTCStar.Enabled",!0))},bootstrap:{list:n(t,"config.Bootstrap",n(e,"Bootstrap",[]))}},relay:{enabled:n(t,"relay.enabled",n(e,"relay.enabled",!0)),hop:{enabled:n(t,"relay.hop.enabled",n(e,"relay.hop.enabled",!1)),active:n(t,"relay.hop.active",n(e,"relay.hop.active",!1))}},dht:{enabled:"none"!==n(e,"Routing.Type","none"),clientMode:"dhtserver"!==n(e,"Routing.Type","dht"),kBucketSize:n(t,"dht.kBucketSize",20)},pubsub:{enabled:n(t,"config.Pubsub.Enabled",n(e,"Pubsub.Enabled",!0))}},addresses:{listen:h},connectionManager:n(t,"connectionManager",{maxConnections:n(t,"config.Swarm.ConnMgr.HighWater",n(e,"Swarm.ConnMgr.HighWater")),minConnections:n(t,"config.Swarm.ConnMgr.LowWater",n(e,"Swarm.ConnMgr.LowWater"))}),keychain:{datastore:c,...l}},p=r("sVCy");let g=n(t,"libp2p",{});"function"==typeof g&&(g={});const m=i(d,p(),f,g);return n(m,"config.peerDiscovery.bootstrap.list",[]).length>0&&m.modules.peerDiscovery.push(r("Xj2Z")),m}({options:t,config:u,datastore:h,keys:d,keychainConfig:l,peerId:e,multiaddrs:a});return"function"==typeof t.libp2p?t.libp2p({libp2pOptions:f,options:t,config:u,datastore:h,peerId:e}):new(r("l73G"))(f)}},"3n4N":function(t,e,r){"use strict";const n=r("69Qu"),i=r("i2W0");t.exports=n(class extends i{constructor({min:t,max:e,multicodecs:r,handlers:n}){if(super({min:t,max:e,handlers:n}),!r)throw new Error("one or more multicodec should be provided");if(!n)throw new Error("the handlers should be provided");if("function"!=typeof n.onConnect)throw new Error("the 'onConnect' handler must be provided");if("function"!=typeof n.onDisconnect)throw new Error("the 'onDisconnect' handler must be provided");this.multicodecs=Array.isArray(r)?r:[r],this._registrar=void 0,this._onProtocolChange=this._onProtocolChange.bind(this),this._onPeerConnect=this._onPeerConnect.bind(this)}set registrar(t){this._registrar=t,this._registrar.peerStore.on("change:protocols",this._onProtocolChange),this._registrar.connectionManager.on("peer:connect",this._onPeerConnect),this._updatePeers(this._registrar.peerStore.peers.values())}_updatePeers(t){for(const{id:e,protocols:r}of t)if(this.multicodecs.filter(t=>r.includes(t)).length){this.peers.add(e.toB58String());const t=this._registrar.getConnection(e);t&&this._onConnect(e,t)}else this.peers.delete(e.toB58String())}_onProtocolChange({peerId:t,protocols:e}){const r=this.peers.has(t.toB58String()),n=e.filter(t=>this.multicodecs.includes(t));r&&0===n.length&&this._onDisconnect(t);for(const i of e)if(this.multicodecs.includes(i)){const e=this._registrar.peerStore.get(t);return void this._updatePeers([e])}}_onPeerConnect(t){const e=t.remotePeer,r=this._registrar.peerStore.protoBook.get(e);r&&this.multicodecs.find(t=>r.includes(t))&&(this.peers.add(e.toB58String()),this._onConnect(e,t))}},{className:"MulticodecTopology",symbolName:"@libp2p/js-interfaces/topology/multicodec-topology"})},"3oQS":function(t,e,r){"use strict";const n=r("o8or");t.exports=async function(t,e,r){const{sources:i,options:s}=await n(t,e,r);return{destination:i.pop(),sources:i,options:s}}},"3qXb":function(t,e,r){"use strict";const n=r("q6el"),i={16:"aes-128-ctr",32:"aes-256-ctr"};t.exports=function(t){const e=i[t.length];if(!e){const e=Object.entries(i).map(([t,e])=>`${t} (${e})`).join(" / ");throw n(new Error(`Invalid key length ${t.length} bytes. Must be ${e}`),"ERR_INVALID_KEY_LENGTH")}return e}},"3z7G":function(t,e,r){"use strict";t.exports="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")()},4:function(t,e){},"4+UJ":function(t,e,r){"use strict";function n(t){this._head=0,this._tail=0,this._capacityMask=3,this._list=new Array(4),Array.isArray(t)&&this._fromArray(t)}n.prototype.peekAt=function(t){var e=t;if(e===(0|e)){var r=this.size();if(!(e>=r||e<-r))return e<0&&(e+=r),this._list[e=this._head+e&this._capacityMask]}},n.prototype.get=function(t){return this.peekAt(t)},n.prototype.peek=function(){if(this._head!==this._tail)return this._list[this._head]},n.prototype.peekFront=function(){return this.peek()},n.prototype.peekBack=function(){return this.peekAt(-1)},Object.defineProperty(n.prototype,"length",{get:function(){return this.size()}}),n.prototype.size=function(){return this._head===this._tail?0:this._head1e4&&this._tail<=this._list.length>>>2&&this._shrinkArray(),e}},n.prototype.push=function(t){if(void 0===t)return this.size();var e=this._tail;return this._list[e]=t,this._tail=e+1&this._capacityMask,this._tail===this._head&&this._growArray(),this._head1e4&&t<=e>>>2&&this._shrinkArray(),r}},n.prototype.removeOne=function(t){var e=t;if(e===(0|e)&&this._head!==this._tail){var r=this.size(),n=this._list.length;if(!(e>=r||e<-r)){e<0&&(e+=r);var i,s=this._list[e=this._head+e&this._capacityMask];if(t0;i--)this._list[e]=this._list[e=e-1+n&this._capacityMask];this._list[e]=void 0,this._head=this._head+1+n&this._capacityMask}else{for(i=r-1-t;i>0;i--)this._list[e]=this._list[e=e+1+n&this._capacityMask];this._list[e]=void 0,this._tail=this._tail-1+n&this._capacityMask}return s}}},n.prototype.remove=function(t,e){var r,n=t,i=e;if(n===(0|n)&&this._head!==this._tail){var s=this.size(),o=this._list.length;if(!(n>=s||n<-s||e<1)){if(n<0&&(n+=s),1===e||!e)return(r=new Array(1))[0]=this.removeOne(n),r;if(0===n&&n+e>=s)return r=this.toArray(),this.clear(),r;var a;for(n+e>s&&(e=s-n),r=new Array(e),a=0;a0;a--)this._list[n=n+1+o&this._capacityMask]=void 0;return r}if(0===t){for(this._head=this._head+e+o&this._capacityMask,a=e-1;a>0;a--)this._list[n=n+1+o&this._capacityMask]=void 0;return r}if(n0;a--)this.unshift(this._list[n=n-1+o&this._capacityMask]);for(n=this._head-1+o&this._capacityMask;i>0;)this._list[n=n-1+o&this._capacityMask]=void 0,i--;t<0&&(this._tail=n)}else{for(this._tail=n,n=n+e+o&this._capacityMask,a=s-(e+t);a>0;a--)this.push(this._list[n++]);for(n=this._tail;i>0;)this._list[n=n+1+o&this._capacityMask]=void 0,i--}return this._head<2&&this._tail>1e4&&this._tail<=o>>>2&&this._shrinkArray(),r}}},n.prototype.splice=function(t,e){var r=t;if(r===(0|r)){var n=this.size();if(r<0&&(r+=n),!(r>n)){if(arguments.length>2){var i,s,o,a=arguments.length,c=this._list.length,l=2;if(!n||r0&&(this._head=this._head+r+c&this._capacityMask)):(o=this.remove(r,e),this._head=this._head+r+c&this._capacityMask);a>l;)this.unshift(arguments[--a]);for(i=r;i>0;i--)this.unshift(s[i-1])}else{var u=(s=new Array(n-(r+e))).length;for(i=0;ithis._tail){for(e=this._head;e>>=1,this._capacityMask>>>=1},t.exports=n},"43KI":function(t,e,r){(e=t.exports=r("rXFu")).Stream=e,e.Readable=e,e.Writable=r("3BRs"),e.Duplex=r("sZro"),e.Transform=r("J78i"),e.PassThrough=r("eA/Y")},"46yu":function(t,e,r){"use strict";const{withTimeoutOption:n}=r("hwsr");t.exports=({libp2p:t})=>n((async function(e){const r=(e=e||{}).v||e.verbose,n=[];for(const[i,s]of t.connections)for(const t of s){const s={addr:t.remoteAddr,peer:i};(r||e.direction)&&(s.direction=t.stat.direction),r&&(s.muxer=t.stat.multiplexer,s.latency="n/a"),n.push(s)}return n}))},"49sm":function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},"4APm":function(t,e,r){var n=r("lcRY");r("dtbK"),r("HK0S"),r("WMFv"),r("apCE"),r("p9KK"),r("gEol"),r("aXNH"),r("Ughp"),r("96RU"),r("1/v1");var i=n.asn1,s=t.exports=n.pki=n.pki||{},o=s.oids,a={};a.CN=o.commonName,a.commonName="CN",a.C=o.countryName,a.countryName="C",a.L=o.localityName,a.localityName="L",a.ST=o.stateOrProvinceName,a.stateOrProvinceName="ST",a.O=o.organizationName,a.organizationName="O",a.OU=o.organizationalUnitName,a.organizationalUnitName="OU",a.E=o.emailAddress,a.emailAddress="E";var c=n.pki.rsa.publicKeyValidator,l={name:"Certificate",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"tbsCertificate",value:[{name:"Certificate.TBSCertificate.version",tagClass:i.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.version.integer",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"certVersion"}]},{name:"Certificate.TBSCertificate.serialNumber",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"certSerialNumber"},{name:"Certificate.TBSCertificate.signature",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.signature.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"certinfoSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:i.Class.UNIVERSAL,optional:!0,captureAsn1:"certinfoSignatureParams"}]},{name:"Certificate.TBSCertificate.issuer",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"certIssuer"},{name:"Certificate.TBSCertificate.validity",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.TBSCertificate.validity.notBefore (utc)",tagClass:i.Class.UNIVERSAL,type:i.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity1UTCTime"},{name:"Certificate.TBSCertificate.validity.notBefore (generalized)",tagClass:i.Class.UNIVERSAL,type:i.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity2GeneralizedTime"},{name:"Certificate.TBSCertificate.validity.notAfter (utc)",tagClass:i.Class.UNIVERSAL,type:i.Type.UTCTIME,constructed:!1,optional:!0,capture:"certValidity3UTCTime"},{name:"Certificate.TBSCertificate.validity.notAfter (generalized)",tagClass:i.Class.UNIVERSAL,type:i.Type.GENERALIZEDTIME,constructed:!1,optional:!0,capture:"certValidity4GeneralizedTime"}]},{name:"Certificate.TBSCertificate.subject",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"certSubject"},c,{name:"Certificate.TBSCertificate.issuerUniqueID",tagClass:i.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.issuerUniqueID.id",tagClass:i.Class.UNIVERSAL,type:i.Type.BITSTRING,constructed:!1,captureBitStringValue:"certIssuerUniqueId"}]},{name:"Certificate.TBSCertificate.subjectUniqueID",tagClass:i.Class.CONTEXT_SPECIFIC,type:2,constructed:!0,optional:!0,value:[{name:"Certificate.TBSCertificate.subjectUniqueID.id",tagClass:i.Class.UNIVERSAL,type:i.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSubjectUniqueId"}]},{name:"Certificate.TBSCertificate.extensions",tagClass:i.Class.CONTEXT_SPECIFIC,type:3,constructed:!0,captureAsn1:"certExtensions",optional:!0}]},{name:"Certificate.signatureAlgorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"Certificate.signatureAlgorithm.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"certSignatureOid"},{name:"Certificate.TBSCertificate.signature.parameters",tagClass:i.Class.UNIVERSAL,optional:!0,captureAsn1:"certSignatureParams"}]},{name:"Certificate.signatureValue",tagClass:i.Class.UNIVERSAL,type:i.Type.BITSTRING,constructed:!1,captureBitStringValue:"certSignature"}]},u={name:"rsapss",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.hashAlgorithm",tagClass:i.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier",tagClass:i.Class.UNIVERSAL,type:i.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.hashAlgorithm.AlgorithmIdentifier.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"hashOid"}]}]},{name:"rsapss.maskGenAlgorithm",tagClass:i.Class.CONTEXT_SPECIFIC,type:1,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier",tagClass:i.Class.UNIVERSAL,type:i.Class.SEQUENCE,constructed:!0,optional:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"maskGenOid"},{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"rsapss.maskGenAlgorithm.AlgorithmIdentifier.params.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"maskGenHashOid"}]}]}]},{name:"rsapss.saltLength",tagClass:i.Class.CONTEXT_SPECIFIC,type:2,optional:!0,value:[{name:"rsapss.saltLength.saltLength",tagClass:i.Class.UNIVERSAL,type:i.Class.INTEGER,constructed:!1,capture:"saltLength"}]},{name:"rsapss.trailerField",tagClass:i.Class.CONTEXT_SPECIFIC,type:3,optional:!0,value:[{name:"rsapss.trailer.trailer",tagClass:i.Class.UNIVERSAL,type:i.Class.INTEGER,constructed:!1,capture:"trailer"}]}]},h={name:"CertificationRequest",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"csr",value:[{name:"CertificationRequestInfo",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfo",value:[{name:"CertificationRequestInfo.integer",tagClass:i.Class.UNIVERSAL,type:i.Type.INTEGER,constructed:!1,capture:"certificationRequestInfoVersion"},{name:"CertificationRequestInfo.subject",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,captureAsn1:"certificationRequestInfoSubject"},c,{name:"CertificationRequestInfo.attributes",tagClass:i.Class.CONTEXT_SPECIFIC,type:0,constructed:!0,optional:!0,capture:"certificationRequestInfoAttributes",value:[{name:"CertificationRequestInfo.attributes",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequestInfo.attributes.type",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1},{name:"CertificationRequestInfo.attributes.value",tagClass:i.Class.UNIVERSAL,type:i.Type.SET,constructed:!0}]}]}]},{name:"CertificationRequest.signatureAlgorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.SEQUENCE,constructed:!0,value:[{name:"CertificationRequest.signatureAlgorithm.algorithm",tagClass:i.Class.UNIVERSAL,type:i.Type.OID,constructed:!1,capture:"csrSignatureOid"},{name:"CertificationRequest.signatureAlgorithm.parameters",tagClass:i.Class.UNIVERSAL,optional:!0,captureAsn1:"csrSignatureParams"}]},{name:"CertificationRequest.signature",tagClass:i.Class.UNIVERSAL,type:i.Type.BITSTRING,constructed:!1,captureBitStringValue:"csrSignature"}]};function d(t,e){"string"==typeof e&&(e={shortName:e});for(var r,n=null,i=0;null===n&&i128)throw new Error('Invalid "nsComment" content.');t.value=i.create(i.Class.UNIVERSAL,i.Type.IA5STRING,!1,t.comment)}else if("subjectKeyIdentifier"===t.name&&e.cert){var f=e.cert.generateSubjectKeyIdentifier();t.subjectKeyIdentifier=f.toHex(),t.value=i.create(i.Class.UNIVERSAL,i.Type.OCTETSTRING,!1,f.getBytes())}else if("authorityKeyIdentifier"===t.name&&e.cert){if(t.value=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[]),u=t.value.value,t.keyIdentifier){var g=!0===t.keyIdentifier?e.cert.generateSubjectKeyIdentifier().getBytes():t.keyIdentifier;u.push(i.create(i.Class.CONTEXT_SPECIFIC,0,!1,g))}if(t.authorityCertIssuer){var m=[i.create(i.Class.CONTEXT_SPECIFIC,4,!0,[p(!0===t.authorityCertIssuer?e.cert.issuer:t.authorityCertIssuer)])];u.push(i.create(i.Class.CONTEXT_SPECIFIC,1,!0,m))}if(t.serialNumber){var b=n.util.hexToBytes(!0===t.serialNumber?e.cert.serialNumber:t.serialNumber);u.push(i.create(i.Class.CONTEXT_SPECIFIC,2,!1,b))}}else if("cRLDistributionPoints"===t.name){t.value=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[]),u=t.value.value;var y,v=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[]),w=i.create(i.Class.CONTEXT_SPECIFIC,0,!0,[]);for(d=0;d2)throw new Error("Cannot read notBefore/notAfter validity times; more than two times were provided in the certificate.");if(h.length<2)throw new Error("Cannot read notBefore/notAfter validity times; they were not provided as either UTCTime or GeneralizedTime.");if(c.validity.notBefore=h[0],c.validity.notAfter=h[1],c.tbsCertificate=r.tbsCertificate,e){var p;if(c.md=null,c.signatureOid in o)switch(o[c.signatureOid]){case"sha1WithRSAEncryption":c.md=n.md.sha1.create();break;case"md5WithRSAEncryption":c.md=n.md.md5.create();break;case"sha256WithRSAEncryption":c.md=n.md.sha256.create();break;case"sha384WithRSAEncryption":c.md=n.md.sha384.create();break;case"sha512WithRSAEncryption":c.md=n.md.sha512.create();break;case"RSASSA-PSS":c.md=n.md.sha256.create()}if(null===c.md)throw(p=new Error("Could not compute certificate digest. Unknown signature OID.")).signatureOid=c.signatureOid,p;var m=i.toDer(c.tbsCertificate);c.md.update(m.getBytes())}var b=n.md.sha1.create();c.issuer.getField=function(t){return d(c.issuer,t)},c.issuer.addField=function(t){g([t]),c.issuer.attributes.push(t)},c.issuer.attributes=s.RDNAttributesAsArray(r.certIssuer,b),r.certIssuerUniqueId&&(c.issuer.uniqueId=r.certIssuerUniqueId),c.issuer.hash=b.digest().toHex();var y=n.md.sha1.create();return c.subject.getField=function(t){return d(c.subject,t)},c.subject.addField=function(t){g([t]),c.subject.attributes.push(t)},c.subject.attributes=s.RDNAttributesAsArray(r.certSubject,y),r.certSubjectUniqueId&&(c.subject.uniqueId=r.certSubjectUniqueId),c.subject.hash=y.digest().toHex(),c.extensions=r.certExtensions?s.certificateExtensionsFromAsn1(r.certExtensions):[],c.publicKey=s.publicKeyFromAsn1(r.subjectPublicKeyInfo),c},s.certificateExtensionsFromAsn1=function(t){for(var e=[],r=0;r1&&(r=a.value.charCodeAt(1),s=a.value.length>2?a.value.charCodeAt(2):0),e.digitalSignature=128==(128&r),e.nonRepudiation=64==(64&r),e.keyEncipherment=32==(32&r),e.dataEncipherment=16==(16&r),e.keyAgreement=8==(8&r),e.keyCertSign=4==(4&r),e.cRLSign=2==(2&r),e.encipherOnly=1==(1&r),e.decipherOnly=128==(128&s)}else if("basicConstraints"===e.name){var a=i.fromDer(e.value);e.cA=a.value.length>0&&a.value[0].type===i.Type.BOOLEAN&&0!==a.value[0].value.charCodeAt(0);var c=null;a.value.length>0&&a.value[0].type===i.Type.INTEGER?c=a.value[0].value:a.value.length>1&&(c=a.value[1].value),null!==c&&(e.pathLenConstraint=i.derToInteger(c))}else if("extKeyUsage"===e.name){a=i.fromDer(e.value);for(var l=0;l1&&(r=a.value.charCodeAt(1)),e.client=128==(128&r),e.server=64==(64&r),e.email=32==(32&r),e.objsign=16==(16&r),e.reserved=8==(8&r),e.sslCA=4==(4&r),e.emailCA=2==(2&r),e.objCA=1==(1&r);else if("subjectAltName"===e.name||"issuerAltName"===e.name){var h;e.altNames=[],a=i.fromDer(e.value);for(var d=0;d=v&&t0&&o.value.push(s.certificateExtensionsToAsn1(t.extensions)),o},s.getCertificationRequestInfo=function(t){return i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.INTEGER,!1,i.integerToDer(t.version).getBytes()),p(t.subject),s.publicKeyToAsn1(t.publicKey),y(t)])},s.distinguishedNameToAsn1=function(t){return p(t)},s.certificateToAsn1=function(t){var e=t.tbsCertificate||s.getTBSCertificate(t);return i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[e,i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[i.create(i.Class.UNIVERSAL,i.Type.OID,!1,i.oidToDer(t.signatureOid).getBytes()),b(t.signatureOid,t.signatureParameters)]),i.create(i.Class.UNIVERSAL,i.Type.BITSTRING,!1,String.fromCharCode(0)+t.signature)])},s.certificateExtensionsToAsn1=function(t){var e=i.create(i.Class.CONTEXT_SPECIFIC,3,!0,[]),r=i.create(i.Class.UNIVERSAL,i.Type.SEQUENCE,!0,[]);e.value.push(r);for(var n=0;nu.validity.notAfter)&&(c={message:"Certificate is not valid yet or has expired.",error:s.certificateError.certificate_expired,notBefore:u.validity.notBefore,notAfter:u.validity.notAfter,now:o}),null===c){if(null===(h=e[0]||t.getIssuer(u))&&u.isIssuer(u)&&(d=!0,h=u),h){var f=h;n.util.isArray(f)||(f=[f]);for(var p=!1;!p&&f.length>0;){h=f.shift();try{p=h.verify(u)}catch(S){}}p||(c={message:"Certificate signature is invalid.",error:s.certificateError.bad_certificate})}null!==c||h&&!d||t.hasCertificate(u)||(c={message:"Certificate is not trusted.",error:s.certificateError.unknown_ca})}if(null===c&&h&&!u.isIssuer(h)&&(c={message:"Certificate issuer is invalid.",error:s.certificateError.bad_certificate}),null===c)for(var g={keyUsage:!0,basicConstraints:!0},m=0;null===c&&my.pathLenConstraint&&(c={message:"Certificate basicConstraints pathLenConstraint violated.",error:s.certificateError.bad_certificate})}var w=null===c||c.error,_=r.verify?r.verify(w,l,i):w;if(!0!==_)throw!0===w&&(c={message:"The application rejected the certificate.",error:s.certificateError.bad_certificate}),(_||0===_)&&("object"!=typeof _||n.util.isArray(_)?"string"==typeof _&&(c.error=_):(_.message&&(c.message=_.message),_.error&&(c.error=_.error))),c;c=null,a=!1,++l}while(e.length>0);return!0}},"4DMp":function(t,e,r){"use strict";const{DAGLink:n,DAGNode:i}=r("UBln"),s=r("If/+"),o=r("KDCX"),a=r("gBwL");t.exports=class extends o{constructor(t,e){super(t,e),this._children={}}put(t,e){this.cid=void 0,this.size=void 0,this._children[t]=e}get(t){return this._children[t]}childCount(){return Object.keys(this._children).length}directChildrenCount(){return this.childCount()}onlyChild(){return this._children[Object.keys(this._children)[0]]}*eachChildSeries(){const t=Object.keys(this._children);for(let e=0;et+e.Tsize,0);this.cid=h,this.size=d,yield{cid:h,unixfs:c,path:t,size:d}}}},"4G+S":function(t,e,r){var n=t.exports.all=[{errno:-2,code:"ENOENT",description:"no such file or directory"},{errno:-1,code:"UNKNOWN",description:"unknown error"},{errno:0,code:"OK",description:"success"},{errno:1,code:"EOF",description:"end of file"},{errno:2,code:"EADDRINFO",description:"getaddrinfo error"},{errno:3,code:"EACCES",description:"permission denied"},{errno:4,code:"EAGAIN",description:"resource temporarily unavailable"},{errno:5,code:"EADDRINUSE",description:"address already in use"},{errno:6,code:"EADDRNOTAVAIL",description:"address not available"},{errno:7,code:"EAFNOSUPPORT",description:"address family not supported"},{errno:8,code:"EALREADY",description:"connection already in progress"},{errno:9,code:"EBADF",description:"bad file descriptor"},{errno:10,code:"EBUSY",description:"resource busy or locked"},{errno:11,code:"ECONNABORTED",description:"software caused connection abort"},{errno:12,code:"ECONNREFUSED",description:"connection refused"},{errno:13,code:"ECONNRESET",description:"connection reset by peer"},{errno:14,code:"EDESTADDRREQ",description:"destination address required"},{errno:15,code:"EFAULT",description:"bad address in system call argument"},{errno:16,code:"EHOSTUNREACH",description:"host is unreachable"},{errno:17,code:"EINTR",description:"interrupted system call"},{errno:18,code:"EINVAL",description:"invalid argument"},{errno:19,code:"EISCONN",description:"socket is already connected"},{errno:20,code:"EMFILE",description:"too many open files"},{errno:21,code:"EMSGSIZE",description:"message too long"},{errno:22,code:"ENETDOWN",description:"network is down"},{errno:23,code:"ENETUNREACH",description:"network is unreachable"},{errno:24,code:"ENFILE",description:"file table overflow"},{errno:25,code:"ENOBUFS",description:"no buffer space available"},{errno:26,code:"ENOMEM",description:"not enough memory"},{errno:27,code:"ENOTDIR",description:"not a directory"},{errno:28,code:"EISDIR",description:"illegal operation on a directory"},{errno:29,code:"ENONET",description:"machine is not on the network"},{errno:31,code:"ENOTCONN",description:"socket is not connected"},{errno:32,code:"ENOTSOCK",description:"socket operation on non-socket"},{errno:33,code:"ENOTSUP",description:"operation not supported on socket"},{errno:34,code:"ENOENT",description:"no such file or directory"},{errno:35,code:"ENOSYS",description:"function not implemented"},{errno:36,code:"EPIPE",description:"broken pipe"},{errno:37,code:"EPROTO",description:"protocol error"},{errno:38,code:"EPROTONOSUPPORT",description:"protocol not supported"},{errno:39,code:"EPROTOTYPE",description:"protocol wrong type for socket"},{errno:40,code:"ETIMEDOUT",description:"connection timed out"},{errno:41,code:"ECHARSET",description:"invalid Unicode character"},{errno:42,code:"EAIFAMNOSUPPORT",description:"address family for hostname not supported"},{errno:44,code:"EAISERVICE",description:"servname not supported for ai_socktype"},{errno:45,code:"EAISOCKTYPE",description:"ai_socktype not supported"},{errno:46,code:"ESHUTDOWN",description:"cannot send after transport endpoint shutdown"},{errno:47,code:"EEXIST",description:"file already exists"},{errno:48,code:"ESRCH",description:"no such process"},{errno:49,code:"ENAMETOOLONG",description:"name too long"},{errno:50,code:"EPERM",description:"operation not permitted"},{errno:51,code:"ELOOP",description:"too many symbolic links encountered"},{errno:52,code:"EXDEV",description:"cross-device link not permitted"},{errno:53,code:"ENOTEMPTY",description:"directory not empty"},{errno:54,code:"ENOSPC",description:"no space left on device"},{errno:55,code:"EIO",description:"i/o error"},{errno:56,code:"EROFS",description:"read-only file system"},{errno:57,code:"ENODEV",description:"no such device"},{errno:58,code:"ESPIPE",description:"invalid seek"},{errno:59,code:"ECANCELED",description:"operation canceled"}];t.exports.errno={},t.exports.code={},n.forEach((function(e){t.exports.errno[e.errno]=e,t.exports.code[e.code]=e})),t.exports.custom=r("6a9g")(t.exports),t.exports.create=t.exports.custom.createError},"4HGH":function(t,e,r){"use strict";const{DAGNode:n,DAGLink:i}=r("UBln"),s=r("5ugK"),o=r("Hmxq")("ipfs:mfs:core:utils:remove-link"),a=r("If/+"),{generatePath:c,updateHamtDirectory:l}=r("wT9F"),u=r("q6el"),h=r("UbT7"),d=r("882I").multihash,f=async(t,e,r,i)=>{const{bucket:s,prefix:a,node:c}=e.pop(),h=c.Links.find(t=>t.Name.substring(0,2)===a);if(!h)throw u(new Error(`No link found with prefix ${a} for file ${r.name}`),"ERR_NOT_FOUND");if(h.Name===`${a}${r.name}`)return o("Removing existing link "+h.Name),c.rmLink(h.Name),await s.del(r.name),l(t,c.Links,s,i);o(`Descending into sub-shard ${h.Name} for ${a}${r.name}`);const d=await f(t,e,r,i);let g=a;1===d.node.Links.length&&(o("Removing subshard for "+a),d.cid=d.node.Links[0].Hash,d.node=d.node.Links[0],g=`${a}${d.node.Name.substring(2)}`),o(`Updating shard ${a} with name ${g}`);const m=n.isDAGNode(d.node)?d.node.size:d.node.Tsize;return p(t,s,c,a,g,m,d.cid,i)},p=(t,e,r,n,s,o,a,c)=>(r.rmLink(n),r.addLink(new i(s,o,a)),l(t,r.Links,e,c));t.exports=async(t,e)=>{if(!e.parentCid&&!e.parent)throw u(new Error("No parent node or CID passed to removeLink"),"EINVALIDPARENT");if(e.parentCid&&!s.isCID(e.parentCid))throw u(new Error("Invalid CID passed to removeLink"),"EINVALIDPARENTCID");if(e.parent||(o("Loading parent node "+e.parentCid),e.parent=await t.ipld.get(e.parentCid)),!e.name)throw u(new Error("No child name passed to removeLink"),"EINVALIDCHILDNAME");return"hamt-sharded-directory"===a.unmarshal(e.parent.Data).type?(o(`Removing ${e.name} from sharded directory`),(async(t,e)=>{const{rootBucket:r,path:n}=await c(t,e.name,e.parent);await r.del(e.name);const{node:i}=await f(t,n,{name:e.name,cid:e.cid,size:e.size,hashAlg:e.hashAlg,cidVersion:e.cidVersion,flush:e.flush},e);return l(t,i.Links,r,e)})(t,e)):(o(`Removing link ${e.name} regular directory`),(async(t,e)=>{const r=d.names[e.hashAlg];e.parent.rmLink(e.name);const n=await t.ipld.put(e.parent,h.DAG_PB,{cidVersion:e.cidVersion,hashAlg:r});return o("Updated regular directory "+n),{node:e.parent,cid:n}})(t,e))}},"4I5i":function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n=(()=>{function t(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return t.prototype=Object.create(Error.prototype),t})()},"4JlD":function(t,e,r){"use strict";var n=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,e,r,a){return e=e||"&",r=r||"=",null===t&&(t=void 0),"object"==typeof t?s(o(t),(function(o){var a=encodeURIComponent(n(o))+r;return i(t[o])?s(t[o],(function(t){return a+encodeURIComponent(n(t))})).join(e):a+encodeURIComponent(n(t[o]))})).join(e):a?encodeURIComponent(n(a))+r+encodeURIComponent(n(t)):""};var i=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function s(t,e){if(t.map)return t.map(e);for(var r=[],n=0;nx(k(_,S),_),E=S(),C=x(k(E,w,E),k(w,E),k(E,w),E,w);function A(t){return function(e){if(!n.isMultiaddr(e))try{e=n(e)}catch(i){return!1}const r=t(e.protoNames());return null!==r&&0===r.length}}function k(){const t=Array.from(arguments);function e(e){return e.length{if(null===(e="function"==typeof t?t().partialMatch(e):t.partialMatch(e)))return!0}),e)}return{toString:function(){return"{ "+t.join(" ")+" }"},input:t,matches:A(e),partialMatch:e}}function x(){const t=Array.from(arguments);function e(e){let r=null;return t.some(t=>{const n="function"==typeof t?t().partialMatch(e):t.partialMatch(e);if(n)return r=n,!0}),r}const r={toString:function(){return"{ "+t.join(" ")+" }"},input:t,matches:A(e),partialMatch:e};return r}function I(t){const e=t;return{toString:function(){return e},matches:function(t){if("string"==typeof t)try{t=n(t)}catch(i){return!1}const r=t.protoNames();return 1===r.length&&r[0]===e},partialMatch:function(t){return 0===t.length?null:t[0]===e?t.slice(1):null}}}e.DNS=o,e.DNS4=i,e.DNS6=s,e.IP=a,e.TCP=c,e.UDP=l,e.UTP=u,e.HTTP=f,e.HTTPS=p,e.WebSockets=h,e.WebSocketsSecure=d,e.WebSocketStar=m,e.WebRTCStar=g,e.WebRTCDirect=b,e.Reliable=y,e.Stardust=v,e.Circuit=E,e.P2P=C,e.IPFS=C},"4L5W":function(t,e,r){"use strict";var n=r("WR1C").codes.ERR_STREAM_PREMATURE_CLOSE;function i(){}t.exports=function t(e,r,s){if("function"==typeof r)return t(e,null,r);r||(r={}),s=function(t){var e=!1;return function(){if(!e){e=!0;for(var r=arguments.length,n=new Array(r),i=0;it instanceof Error?t:null!==t&&"object"==typeof t?Object.assign(new Error(t.message),t):new Error(t))).map(t=>"string"==typeof t.stack?i(t.stack).replace(/\s+at .*aggregate-error\/index.js:\d+:\d+\)?/g,""):String(t)).join("\n");e="\n"+n(e,4),super(e),this.name="AggregateError",Object.defineProperty(this,"_errors",{value:t})}*[Symbol.iterator](){for(const t of this._errors)yield t}}t.exports=s},"4gDL":function(t,e,r){"use strict";const n=r("vS5P"),{EventEmitter:i}=r("+qE3");function s(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let r=0,n=t.length;re.vectorClock?t:e}static distance(t,e){let r=0,n=0;const i=Math.min(t.length,e.length),s=Math.max(t.length,e.length);for(;n=0?(this._update(r,n,t),this):r.contacts.length0&&r.length[this.distance(e.id,t),e]).sort((t,e)=>t[0]-e[0]).slice(0,e).map(t=>t[1])}count(){let t=0;for(const e=[this.root];e.length>0;){const r=e.pop();null===r.contacts?e.push(r.right,r.left):t+=r.contacts.length}return t}_determineNode(t,e,r){const n=r>>3,i=r%8;return e.length<=n&&0!==i?t.left:e[n]&1<<7-i?t.right:t.left}get(t){o("id",t);let e=0,r=this.root;for(;null===r.contacts;)r=this._determineNode(r,t,e++);const n=this._indexOf(r,t);return n>=0?r.contacts[n]:null}_indexOf(t,e){for(let r=0;r=0){const t=r.contacts.splice(n,1)[0];this.emit("removed",t)}return this}_split(t,e){t.left={contacts:[],dontSplit:!1,left:null,right:null},t.right={contacts:[],dontSplit:!1,left:null,right:null};for(const n of t.contacts)this._determineNode(t,n.id,e).contacts.push(n);t.contacts=null;const r=this._determineNode(t,this.localNodeId,e);(t.left===r?t.right:t.left).dontSplit=!0}toArray(){let t=[];for(const e=[this.root];e.length>0;){const r=e.pop();null===r.contacts?e.push(r.right,r.left):t=t.concat(r.contacts)}return t}_update(t,e,r){if(!s(t.contacts[e].id,r.id))throw new Error("wrong index for _update");const n=t.contacts[e],i=this.arbiter(n,r);i===n&&n!==r||(t.contacts.splice(e,1),t.contacts.push(i),this.emit("updated",n,i))}}t.exports=a},"4gyK":function(t,e,r){t.exports=r("qUog")},"4ipj":function(t,e,r){"use strict";var n=r("X1GW"),i=r("FJbG"),s=r("P7XM"),o=r("IllV"),a=n.assert;function c(t){o.call(this,"short",t),this.a=new i(t.a,16).toRed(this.red),this.b=new i(t.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(t),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function l(t,e,r,n){o.BasePoint.call(this,t,"affine"),null===e&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(e,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function u(t,e,r,n){o.BasePoint.call(this,t,"jacobian"),null===e&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(e,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}s(c,o),t.exports=c,c.prototype._getEndomorphism=function(t){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var e,r;if(t.beta)e=new i(t.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);e=(e=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(t.lambda)r=new i(t.lambda,16);else{var s=this._getEndoRoots(this.n);0===this.g.mul(s[0]).x.cmp(this.g.x.redMul(e))?r=s[0]:a(0===this.g.mul(r=s[1]).x.cmp(this.g.x.redMul(e)))}return{beta:e,lambda:r,basis:t.basis?t.basis.map((function(t){return{a:new i(t.a,16),b:new i(t.b,16)}})):this._getEndoBasis(r)}}},c.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:i.mont(t),r=new i(2).toRed(e).redInvm(),n=r.redNeg(),s=new i(3).toRed(e).redNeg().redSqrt().redMul(r);return[n.redAdd(s).fromRed(),n.redSub(s).fromRed()]},c.prototype._getEndoBasis=function(t){for(var e,r,n,s,o,a,c,l,u,h=this.n.ushrn(Math.floor(this.n.bitLength()/2)),d=t,f=this.n.clone(),p=new i(1),g=new i(0),m=new i(0),b=new i(1),y=0;0!==d.cmpn(0);){var v=f.div(d);l=f.sub(v.mul(d)),u=m.sub(v.mul(p));var w=b.sub(v.mul(g));if(!n&&l.cmp(h)<0)e=c.neg(),r=p,n=l.neg(),s=u;else if(n&&2==++y)break;c=l,f=d,d=l,m=p,p=u,b=g,g=w}o=l.neg(),a=u;var _=n.sqr().add(s.sqr());return o.sqr().add(a.sqr()).cmp(_)>=0&&(o=e,a=r),n.negative&&(n=n.neg(),s=s.neg()),o.negative&&(o=o.neg(),a=a.neg()),[{a:n,b:s},{a:o,b:a}]},c.prototype._endoSplit=function(t){var e=this.endo.basis,r=e[0],n=e[1],i=n.b.mul(t).divRound(this.n),s=r.b.neg().mul(t).divRound(this.n),o=i.mul(r.a),a=s.mul(n.a),c=i.mul(r.b),l=s.mul(n.b);return{k1:t.sub(o).sub(a),k2:c.add(l).neg()}},c.prototype.pointFromX=function(t,e){(t=new i(t,16)).red||(t=t.toRed(this.red));var r=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var s=n.fromRed().isOdd();return(e&&!s||!e&&s)&&(n=n.redNeg()),this.point(t,n)},c.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,r=t.y,n=this.a.redMul(e),i=e.redSqr().redMul(e).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},c.prototype._endoWnafMulAdd=function(t,e,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,s=0;s":""},l.prototype.isInfinity=function(){return this.inf},l.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(0===this.x.cmp(t.x))return this.curve.point(null,null);var e=this.y.redSub(t.y);0!==e.cmpn(0)&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var r=e.redSqr().redISub(this.x).redISub(t.x),n=e.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},l.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(0===t.cmpn(0))return this.curve.point(null,null);var e=this.curve.a,r=this.x.redSqr(),n=t.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(e).redMul(n),s=i.redSqr().redISub(this.x.redAdd(this.x)),o=i.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,o)},l.prototype.getX=function(){return this.x.fromRed()},l.prototype.getY=function(){return this.y.fromRed()},l.prototype.mul=function(t){return t=new i(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},l.prototype.mulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},l.prototype.jmulAdd=function(t,e,r){var n=[this,e],i=[t,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},l.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||0===this.x.cmp(t.x)&&0===this.y.cmp(t.y))},l.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var r=this.precomputed,n=function(t){return t.neg()};e.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return e},l.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},s(u,o.BasePoint),c.prototype.jpoint=function(t,e,r){return new u(this,t,e,r)},u.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),r=this.x.redMul(e),n=this.y.redMul(e).redMul(t);return this.curve.point(r,n)},u.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},u.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(e),i=t.x.redMul(r),s=this.y.redMul(e.redMul(t.z)),o=t.y.redMul(r.redMul(this.z)),a=n.redSub(i),c=s.redSub(o);if(0===a.cmpn(0))return 0!==c.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),u=l.redMul(a),h=n.redMul(l),d=c.redSqr().redIAdd(u).redISub(h).redISub(h),f=c.redMul(h.redISub(d)).redISub(s.redMul(u)),p=this.z.redMul(t.z).redMul(a);return this.curve.jpoint(d,f,p)},u.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),r=this.x,n=t.x.redMul(e),i=this.y,s=t.y.redMul(e).redMul(this.z),o=r.redSub(n),a=i.redSub(s);if(0===o.cmpn(0))return 0!==a.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var c=o.redSqr(),l=c.redMul(o),u=r.redMul(c),h=a.redSqr().redIAdd(l).redISub(u).redISub(u),d=a.redMul(u.redISub(h)).redISub(i.redMul(l)),f=this.z.redMul(o);return this.curve.jpoint(h,d,f)},u.prototype.dblp=function(t){if(0===t)return this;if(this.isInfinity())return this;if(!t)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var e=this,r=0;r=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},u.prototype.inspect=function(){return this.isInfinity()?"":""},u.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},"4j/n":function(t,e,r){"use strict";const n=r("5ugK"),i=r("Hmxq")("ipfs:repo:gc"),{MFS_ROOT_KEY:s,withTimeoutOption:o}=r("hwsr"),{Errors:a}=r("BoQq"),c=a.notFoundError().code,{parallelMerge:l,transform:u,map:h}=r("NyNA"),d=r("M2kB");t.exports=({gcLock:t,pin:e,refs:r,repo:a})=>o((async function*(o={}){const f=Date.now();i("Creating set of marked blocks");const p=await t.writeLock();try{const t=await async function({pin:t,refs:e,repo:r}){const o=h(({cid:t})=>t,t.ls()),a=async function*(){let t;try{t=await r.root.get(s)}catch(a){if(a.code===c)return void i("No blocks in MFS");throw a}const o=new n(t);yield o;for await(const{ref:r}of e(o,{recursive:!0}))yield new n(r)}(),u=new Set;for await(const n of l(o,a))u.add(d.encode("base32",n.multihash).toString());return u}({pin:e,refs:r,repo:a}),o=a.blocks.query({keysOnly:!0});yield*async function*({repo:t},e,r){let n=0,s=0;const o=async r=>{n++;try{const n=d.encode("base32",r.multihash).toString();if(e.has(n))return null;const i={cid:r};try{await t.blocks.delete(r),s++}catch(o){i.err=new Error(`Could not delete block with CID ${r}: ${o.message}`)}return i}catch(o){const t="Could delete block with CID "+r;return i(t,o),{err:new Error(t+": "+o.message)}}};for await(const i of u(256,o,r))i&&(yield i);i(`Marked set has ${e.size} unique blocks. Blockstore has ${n} blocks. Deleted ${s} blocks.`)}({repo:a,refs:r},t,o),i(`Complete (${Date.now()-f}ms)`)}finally{p()}}))},"4jxZ":function(t,e,r){"use strict";const n=r("Tdcy");t.exports=function(){let t,e;return{sink:async r=>{if(t)throw new Error("already piped");t=n(r),e&&e(t)},source:{[Symbol.asyncIterator](){return this},next:()=>t?t.next():new Promise(t=>{e=r=>{e=null,t(r.next())}})}}}},"4mM8":function(t,e,r){"use strict";const n=r("Lh89").BigNumber,i=r("uPVM"),s=r("CxY0"),o=new n(-1),a=new n(10),c=new n(2);class l{constructor(t,e,r){if(this.tag=t,this.value=e,this.err=r,"number"!=typeof this.tag)throw new Error("Invalid tag type ("+typeof this.tag+")");if(this.tag<0||(0|this.tag)!==this.tag)throw new Error("Tag must be a positive integer: "+this.tag)}toString(){return`${this.tag}(${JSON.stringify(this.value)})`}encodeCBOR(t){return t._pushTag(this.tag),t.pushAny(this.value)}convert(t){let e=null!=t?t[this.tag]:void 0;if("function"!=typeof e&&(e=l["_tag_"+this.tag],"function"!=typeof e))return this;try{return e.call(l,this.value)}catch(r){return this.err=r,this}}static _tag_0(t){return new Date(t)}static _tag_1(t){return new Date(1e3*t)}static _tag_2(t){return i.bufferToBignumber(t)}static _tag_3(t){return o.minus(i.bufferToBignumber(t))}static _tag_4(t){return a.pow(t[0]).times(t[1])}static _tag_5(t){return c.pow(t[0]).times(t[1])}static _tag_32(t){return s.parse(t)}static _tag_35(t){return new RegExp(t)}}t.exports=l},"4rM6":function(t,e,r){var n=r("4G+S").create,i=n("LevelUPError"),s=n("NotFoundError",i);s.prototype.notFound=!0,s.prototype.status=404,t.exports={LevelUPError:i,InitializationError:n("InitializationError",i),OpenError:n("OpenError",i),ReadError:n("ReadError",i),WriteError:n("WriteError",i),NotFoundError:s,EncodingError:n("EncodingError",i)}},5:function(t,e){},"5+WD":function(t,e,r){"use strict";r.d(e,"a",(function(){return ht})),r.d(e,"b",(function(){return ot})),r.d(e,"c",(function(){return ft})),r.d(e,"d",(function(){return H})),r.d(e,"e",(function(){return q}));var n=r("fXoL"),i=r("ofXK"),s=r("vxfF"),o=r("nLfN"),a=r("8LU1"),c=r("XNiG"),l=r("quSY"),u=r("l5mm"),h=r("eNwd"),d=r("HDdC"),f=r("VRyK"),p=r("1G5W"),g=r("JX91"),m=r("lJxs"),b=r("IzEk"),y=r("vkgz"),v=r("eIep"),w=r("cH1L");function _(t,e){for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function S(t,e){const r=e?"":"none";_(t.style,{touchAction:e?"":"none",webkitUserDrag:e?"":"none",webkitTapHighlightColor:e?"":"transparent",userSelect:r,msUserSelect:r,webkitUserSelect:r,MozUserSelect:r})}function E(t){const e=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*e}function C(t,e){return t.getPropertyValue(e).split(",").map(t=>t.trim())}function A(t){const e=t.getBoundingClientRect();return{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.width,height:e.height}}function k(t,e,r){const{top:n,bottom:i,left:s,right:o}=t;return r>=n&&r<=i&&e>=s&&e<=o}function x(t,e,r){t.top+=e,t.bottom=t.top+t.height,t.left+=r,t.right=t.left+t.width}function I(t,e,r,n){const{top:i,right:s,bottom:o,left:a,width:c,height:l}=t,u=c*e,h=l*e;return n>i-h&&na-u&&r{this.positions.set(t,{scrollPosition:{top:t.scrollTop,left:t.scrollLeft},clientRect:A(t)})})}handleScroll(t){const e=t.target,r=this.positions.get(e);if(!r)return null;const n=e===this._document?e.documentElement:e,i=r.scrollPosition;let s,o;if(e===this._document){const t=this._viewportRuler.getViewportScrollPosition();s=t.top,o=t.left}else s=e.scrollTop,o=e.scrollLeft;const a=i.top-s,c=i.left-o;return this.positions.forEach((t,r)=>{t.clientRect&&e!==r&&n.contains(r)&&x(t.clientRect,a,c)}),i.top=s,i.left=o,{top:a,left:c}}}function T(t){const e=t.cloneNode(!0),r=e.querySelectorAll("[id]"),n=t.nodeName.toLowerCase();e.removeAttribute("id");for(let i=0;i{if(this.beforeStarted.next(),this._handles.length){const e=this._handles.find(e=>{const r=t.target;return!!r&&(r===e||e.contains(r))});!e||this._disabledHandles.has(e)||this.disabled||this._initializeDragSequence(e,t)}else this.disabled||this._initializeDragSequence(this._rootElement,t)},this._pointerMove=t=>{t.preventDefault();const e=this._getPointerPositionOnPage(t);if(!this._hasStartedDragging){if(Math.abs(e.x-this._pickupPositionOnPage.x)+Math.abs(e.y-this._pickupPositionOnPage.y)>=this._config.dragStartThreshold){if(!(Date.now()>=this._dragStartTime+this._getDragStartDelay(t)))return void this._endDragSequence(t);this._dropContainer&&this._dropContainer.isDragging()||(this._hasStartedDragging=!0,this._ngZone.run(()=>this._startDragSequence(t)))}return}this._boundaryElement&&(this._previewRect&&(this._previewRect.width||this._previewRect.height)||(this._previewRect=(this._preview||this._rootElement).getBoundingClientRect()));const r=this._getConstrainedPointerPosition(e);if(this._hasMoved=!0,this._lastKnownPointerPosition=e,this._updatePointerDirectionDelta(r),this._dropContainer)this._updateActiveDropContainer(r,e);else{const t=this._activeTransform;t.x=r.x-this._pickupPositionOnPage.x+this._passiveTransform.x,t.y=r.y-this._pickupPositionOnPage.y+this._passiveTransform.y,this._applyRootElementTransform(t.x,t.y),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&this._rootElement.setAttribute("transform",`translate(${t.x} ${t.y})`)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:r,event:t,distance:this._getDragDistance(r),delta:this._pointerDirectionDelta})})},this._pointerUp=t=>{this._endDragSequence(t)},this.withRootElement(t),this._parentPositions=new O(r,i),s.registerDragItem(this)}get disabled(){return this._disabled||!(!this._dropContainer||!this._dropContainer.disabled)}set disabled(t){const e=Object(a.b)(t);e!==this._disabled&&(this._disabled=e,this._toggleNativeDragInteractions())}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(t){return this._handles=t.map(t=>Object(a.d)(t)),this._handles.forEach(t=>S(t,!1)),this._toggleNativeDragInteractions(),this}withPreviewTemplate(t){return this._previewTemplate=t,this}withPlaceholderTemplate(t){return this._placeholderTemplate=t,this}withRootElement(t){const e=Object(a.d)(t);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,B),e.addEventListener("touchstart",this._pointerDown,N)}),this._initialTransform=void 0,this._rootElement=e),"undefined"!=typeof SVGElement&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(t){return this._boundaryElement=t?Object(a.d)(t):null,this._resizeSubscription.unsubscribe(),t&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&z(this._rootElement),z(this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeSubscriptions(),this.beforeStarted.complete(),this.started.complete(),this.released.complete(),this.ended.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this._moveEvents.complete(),this._handles=[],this._disabledHandles.clear(),this._dropContainer=void 0,this._resizeSubscription.unsubscribe(),this._parentPositions.clear(),this._boundaryElement=this._rootElement=this._ownerSVGElement=this._placeholderTemplate=this._previewTemplate=this._anchor=null}isDragging(){return this._hasStartedDragging&&this._dragDropRegistry.isDragging(this)}reset(){this._rootElement.style.transform=this._initialTransform||"",this._activeTransform={x:0,y:0},this._passiveTransform={x:0,y:0}}disableHandle(t){this._handles.indexOf(t)>-1&&this._disabledHandles.add(t)}enableHandle(t){this._disabledHandles.delete(t)}withDirection(t){return this._direction=t,this}_withDropContainer(t){this._dropContainer=t}getFreeDragPosition(){const t=this.isDragging()?this._activeTransform:this._passiveTransform;return{x:t.x,y:t.y}}setFreeDragPosition(t){return this._activeTransform={x:0,y:0},this._passiveTransform.x=t.x,this._passiveTransform.y=t.y,this._dropContainer||this._applyRootElementTransform(t.x,t.y),this}_sortFromLastPointerPosition(){const t=this._lastKnownPointerPosition;t&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(t),t)}_removeSubscriptions(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe()}_destroyPreview(){this._preview&&z(this._preview),this._previewRef&&this._previewRef.destroy(),this._preview=this._previewRef=null}_destroyPlaceholder(){this._placeholder&&z(this._placeholder),this._placeholderRef&&this._placeholderRef.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(t){this._dragDropRegistry.isDragging(this)&&(this._removeSubscriptions(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),this._hasStartedDragging&&(this.released.next({source:this}),this._dropContainer?(this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(t),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)})):(this._passiveTransform.x=this._activeTransform.x,this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(this._getPointerPositionOnPage(t))})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this))))}_startDragSequence(t){F(t)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();const e=this._dropContainer;if(e){const t=this._rootElement,n=t.parentNode,i=this._preview=this._createPreviewElement(),s=this._placeholder=this._createPlaceholderElement(),o=this._anchor=this._anchor||this._document.createComment("");n.insertBefore(o,t),t.style.display="none",this._document.body.appendChild(n.replaceChild(s,t)),(r=this._document,r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body).appendChild(i),this.started.next({source:this}),e.start(),this._initialContainer=e,this._initialIndex=e.getItemIndex(this)}else this.started.next({source:this}),this._initialContainer=this._initialIndex=void 0;var r;this._parentPositions.cache(e?e.getScrollableParents():[])}_initializeDragSequence(t,e){e.stopPropagation();const r=this.isDragging(),n=F(e),i=!n&&0!==e.button,s=this._rootElement,o=!n&&this._lastTouchEventTime&&this._lastTouchEventTime+800>Date.now();if(e.target&&e.target.draggable&&"mousedown"===e.type&&e.preventDefault(),r||i||o)return;this._handles.length&&(this._rootElementTapHighlight=s.style.webkitTapHighlightColor||"",s.style.webkitTapHighlightColor="transparent"),this._hasStartedDragging=this._hasMoved=!1,this._removeSubscriptions(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{this._updateOnScroll(t)}),this._boundaryElement&&(this._boundaryRect=A(this._boundaryElement));const a=this._previewTemplate;this._pickupPositionInElement=a&&a.template&&!a.matchSize?{x:0,y:0}:this._getPointerPositionInElement(t,e);const c=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:c.x,y:c.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(t){this._rootElement.style.display="",this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._boundaryRect=this._previewRect=void 0,this._ngZone.run(()=>{const e=this._dropContainer,r=e.getItemIndex(this),n=this._getPointerPositionOnPage(t),i=this._getDragDistance(this._getPointerPositionOnPage(t)),s=e._isOverContainer(n.x,n.y);this.ended.next({source:this,distance:i}),this.dropped.next({item:this,currentIndex:r,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:s,distance:i}),e.drop(this,r,this._initialContainer,s,i,this._initialIndex),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:t,y:e},{x:r,y:n}){let i=this._initialContainer._getSiblingContainerFromPosition(this,t,e);!i&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(t,e)&&(i=this._initialContainer),i&&i!==this._dropContainer&&this._ngZone.run(()=>{this.exited.next({item:this,container:this._dropContainer}),this._dropContainer.exit(this),this._dropContainer=i,this._dropContainer.enter(this,t,e,i===this._initialContainer&&i.sortingDisabled?this._initialIndex:void 0),this.entered.next({item:this,container:i,currentIndex:i.getItemIndex(this)})}),this._dropContainer._startScrollingIfNecessary(r,n),this._dropContainer._sortItem(this,t,e,this._pointerDirectionDelta),this._preview.style.transform=D(t-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y)}_createPreviewElement(){const t=this._previewTemplate,e=this.previewClass,r=t?t.template:null;let n;if(r&&t){const e=t.matchSize?this._rootElement.getBoundingClientRect():null,i=t.viewContainer.createEmbeddedView(r,t.context);i.detectChanges(),n=U(i,this._document),this._previewRef=i,t.matchSize?V(n,e):n.style.transform=D(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else{const t=this._rootElement;n=T(t),V(n,t.getBoundingClientRect())}return _(n.style,{pointerEvents:"none",margin:"0",position:"fixed",top:"0",left:"0",zIndex:""+(this._config.zIndex||1e3)}),S(n,!1),n.classList.add("cdk-drag-preview"),n.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(t=>n.classList.add(t)):n.classList.add(e)),n}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();const t=this._placeholder.getBoundingClientRect();this._preview.classList.add("cdk-drag-animating"),this._preview.style.transform=D(t.left,t.top);const e=function(t){const e=getComputedStyle(t),r=C(e,"transition-property"),n=r.find(t=>"transform"===t||"all"===t);if(!n)return 0;const i=r.indexOf(n),s=C(e,"transition-duration"),o=C(e,"transition-delay");return E(s[i])+E(o[i])}(this._preview);return 0===e?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(t=>{const r=e=>{(!e||e.target===this._preview&&"transform"===e.propertyName)&&(this._preview.removeEventListener("transitionend",r),t(),clearTimeout(n))},n=setTimeout(r,1.5*e);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){const t=this._placeholderTemplate,e=t?t.template:null;let r;return e?(this._placeholderRef=t.viewContainer.createEmbeddedView(e,t.context),this._placeholderRef.detectChanges(),r=U(this._placeholderRef,this._document)):r=T(this._rootElement),r.classList.add("cdk-drag-placeholder"),r}_getPointerPositionInElement(t,e){const r=this._rootElement.getBoundingClientRect(),n=t===this._rootElement?null:t,i=n?n.getBoundingClientRect():r,s=F(e)?e.targetTouches[0]:e,o=this._getViewportScrollPosition();return{x:i.left-r.left+(s.pageX-i.left-o.left),y:i.top-r.top+(s.pageY-i.top-o.top)}}_getPointerPositionOnPage(t){const e=this._getViewportScrollPosition(),r=F(t)?t.touches[0]||t.changedTouches[0]||{pageX:0,pageY:0}:t,n=r.pageX-e.left,i=r.pageY-e.top;if(this._ownerSVGElement){const t=this._ownerSVGElement.getScreenCTM();if(t){const e=this._ownerSVGElement.createSVGPoint();return e.x=n,e.y=i,e.matrixTransform(t.inverse())}}return{x:n,y:i}}_getConstrainedPointerPosition(t){const e=this._dropContainer?this._dropContainer.lockAxis:null;let{x:r,y:n}=this.constrainPosition?this.constrainPosition(t,this):t;if("x"===this.lockAxis||"x"===e?n=this._pickupPositionOnPage.y:"y"!==this.lockAxis&&"y"!==e||(r=this._pickupPositionOnPage.x),this._boundaryRect){const{x:t,y:e}=this._pickupPositionInElement,i=this._boundaryRect,s=this._previewRect,o=i.top+e,a=i.bottom-(s.height-e);r=j(r,i.left+t,i.right-(s.width-t)),n=j(n,o,a)}return{x:r,y:n}}_updatePointerDirectionDelta(t){const{x:e,y:r}=t,n=this._pointerDirectionDelta,i=this._pointerPositionAtLastDirectionChange,s=Math.abs(e-i.x),o=Math.abs(r-i.y);return s>this._config.pointerDirectionChangeThreshold&&(n.x=e>i.x?1:-1,i.x=e),o>this._config.pointerDirectionChangeThreshold&&(n.y=r>i.y?1:-1,i.y=r),n}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;const t=this._handles.length>0||!this.isDragging();t!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=t,S(this._rootElement,t))}_removeRootElementListeners(t){t.removeEventListener("mousedown",this._pointerDown,B),t.removeEventListener("touchstart",this._pointerDown,N)}_applyRootElementTransform(t,e){const r=D(t,e);null==this._initialTransform&&(this._initialTransform=this._rootElement.style.transform||""),this._rootElement.style.transform=this._initialTransform?r+" "+this._initialTransform:r}_getDragDistance(t){const e=this._pickupPositionOnPage;return e?{x:t.x-e.x,y:t.y-e.y}:{x:0,y:0}}_cleanupCachedDimensions(){this._boundaryRect=this._previewRect=void 0,this._parentPositions.clear()}_containInsideBoundaryOnResize(){let{x:t,y:e}=this._passiveTransform;if(0===t&&0===e||this.isDragging()||!this._boundaryElement)return;const r=this._boundaryElement.getBoundingClientRect(),n=this._rootElement.getBoundingClientRect();if(0===r.width&&0===r.height||0===n.width&&0===n.height)return;const i=r.left-n.left,s=n.right-r.right,o=r.top-n.top,a=n.bottom-r.bottom;r.width>n.width?(i>0&&(t+=i),s>0&&(t-=s)):t=0,r.height>n.height?(o>0&&(e+=o),a>0&&(e-=a)):e=0,t===this._passiveTransform.x&&e===this._passiveTransform.y||this.setFreeDragPosition({y:e,x:t})}_getDragStartDelay(t){const e=this.dragStartDelay;return"number"==typeof e?e:F(t)?e.touch:e?e.mouse:0}_updateOnScroll(t){const e=this._parentPositions.handleScroll(t);if(e){const r=t.target;this._boundaryRect&&(r===this._document||r!==this._boundaryElement&&r.contains(this._boundaryElement))&&x(this._boundaryRect,e.top,e.left),this._pickupPositionOnPage.x+=e.left,this._pickupPositionOnPage.y+=e.top,this._dropContainer||(this._activeTransform.x-=e.left,this._activeTransform.y-=e.top,this._applyRootElementTransform(this._activeTransform.x,this._activeTransform.y))}}_getViewportScrollPosition(){const t=this._parentPositions.positions.get(this._document);return t?t.scrollPosition:this._viewportRuler.getViewportScrollPosition()}}function D(t,e){return`translate3d(${Math.round(t)}px, ${Math.round(e)}px, 0)`}function j(t,e,r){return Math.max(e,Math.min(r,t))}function z(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function F(t){return"t"===t.type[0]}function U(t,e){const r=t.rootNodes;if(1===r.length&&r[0].nodeType===e.ELEMENT_NODE)return r[0];const n=e.createElement("div");return r.forEach(t=>n.appendChild(t)),n}function V(t,e){t.style.width=e.width+"px",t.style.height=e.height+"px",t.style.transform=D(e.left,e.top)}function H(t,e,r){const n=K(e,t.length-1),i=K(r,t.length-1);if(n===i)return;const s=t[n],o=i!0,this.beforeStarted=new c.a,this.entered=new c.a,this.exited=new c.a,this.dropped=new c.a,this.sorted=new c.a,this._isDragging=!1,this._itemPositions=[],this._previousSwap={drag:null,delta:0,overlaps:!1},this._siblings=[],this._orientation="vertical",this._activeSiblings=new Set,this._direction="ltr",this._viewportScrollSubscription=l.a.EMPTY,this._verticalScrollDirection=0,this._horizontalScrollDirection=0,this._stopScrollTimers=new c.a,this._cachedShadowRoot=null,this._startScrollInterval=()=>{this._stopScrolling(),Object(u.a)(0,h.a).pipe(Object(p.a)(this._stopScrollTimers)).subscribe(()=>{const t=this._scrollNode;1===this._verticalScrollDirection?Y(t,-2):2===this._verticalScrollDirection&&Y(t,2),1===this._horizontalScrollDirection?X(t,-2):2===this._horizontalScrollDirection&&X(t,2)})},this.element=Object(a.d)(t),this._document=r,this.withScrollableParents([this.element]),e.registerDropContainer(this),this._parentPositions=new O(r,i)}dispose(){this._stopScrolling(),this._stopScrollTimers.complete(),this._viewportScrollSubscription.unsubscribe(),this.beforeStarted.complete(),this.entered.complete(),this.exited.complete(),this.dropped.complete(),this.sorted.complete(),this._activeSiblings.clear(),this._scrollNode=null,this._parentPositions.clear(),this._dragDropRegistry.removeDropContainer(this)}isDragging(){return this._isDragging}start(){const t=Object(a.d)(this.element).style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=t.msScrollSnapType||t.scrollSnapType||"",t.scrollSnapType=t.msScrollSnapType="none",this._cacheItems(),this._siblings.forEach(t=>t._startReceiving(this)),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}enter(t,e,r,n){let i;this.start(),null==n?(i=this.sortingDisabled?this._draggables.indexOf(t):-1,-1===i&&(i=this._getItemIndexFromPointerPosition(t,e,r))):i=n;const s=this._activeDraggables,o=s.indexOf(t),c=t.getPlaceholderElement();let l=s[i];if(l===t&&(l=s[i+1]),o>-1&&s.splice(o,1),l&&!this._dragDropRegistry.isDragging(l)){const e=l.getRootElement();e.parentElement.insertBefore(c,e),s.splice(i,0,t)}else if(this._shouldEnterAsFirstChild(e,r)){const e=s[0].getRootElement();e.parentNode.insertBefore(c,e),s.unshift(t)}else Object(a.d)(this.element).appendChild(c),s.push(t);c.style.transform="",this._cacheItemPositions(),this._cacheParentPositions(),this.entered.next({item:t,container:this,currentIndex:this.getItemIndex(t)})}exit(t){this._reset(),this.exited.next({item:t,container:this})}drop(t,e,r,n,i,s){this._reset(),null==s&&(s=r.getItemIndex(t)),this.dropped.next({item:t,currentIndex:e,previousIndex:s,container:this,previousContainer:r,isPointerOverContainer:n,distance:i})}withItems(t){const e=this._draggables;return this._draggables=t,t.forEach(t=>t._withDropContainer(this)),this.isDragging()&&(e.filter(t=>t.isDragging()).every(e=>-1===t.indexOf(e))?this._reset():this._cacheItems()),this}withDirection(t){return this._direction=t,this}connectedTo(t){return this._siblings=t.slice(),this}withOrientation(t){return this._orientation=t,this}withScrollableParents(t){const e=Object(a.d)(this.element);return this._scrollableElements=-1===t.indexOf(e)?[e,...t]:t.slice(),this}getScrollableParents(){return this._scrollableElements}getItemIndex(t){return this._isDragging?W("horizontal"===this._orientation&&"rtl"===this._direction?this._itemPositions.slice().reverse():this._itemPositions,e=>e.drag===t):this._draggables.indexOf(t)}isReceiving(){return this._activeSiblings.size>0}_sortItem(t,e,r,n){if(this.sortingDisabled||!I(this._clientRect,.05,e,r))return;const i=this._itemPositions,s=this._getItemIndexFromPointerPosition(t,e,r,n);if(-1===s&&i.length>0)return;const o="horizontal"===this._orientation,a=W(i,e=>e.drag===t),c=i[s],l=c.clientRect,u=a>s?1:-1,h=this._getItemOffsetPx(i[a].clientRect,l,u),d=this._getSiblingOffsetPx(a,i,u),f=i.slice();H(i,a,s),this.sorted.next({previousIndex:a,currentIndex:s,container:this,item:t}),i.forEach((e,r)=>{if(f[r]===e)return;const n=e.drag===t,i=n?h:d,s=n?t.getPlaceholderElement():e.drag.getRootElement();e.offset+=i,o?(s.style.transform=`translate3d(${Math.round(e.offset)}px, 0, 0)`,x(e.clientRect,0,i)):(s.style.transform=`translate3d(0, ${Math.round(e.offset)}px, 0)`,x(e.clientRect,i,0))}),this._previousSwap.overlaps=k(l,e,r),this._previousSwap.drag=c.drag,this._previousSwap.delta=o?n.x:n.y}_startScrollingIfNecessary(t,e){if(this.autoScrollDisabled)return;let r,n=0,i=0;if(this._parentPositions.positions.forEach((s,o)=>{o!==this._document&&s.clientRect&&!r&&I(s.clientRect,.05,t,e)&&([n,i]=function(t,e,r,n){const i=$(e,n),s=J(e,r);let o=0,a=0;if(i){const e=t.scrollTop;1===i?e>0&&(o=1):t.scrollHeight-e>t.clientHeight&&(o=2)}if(s){const e=t.scrollLeft;1===s?e>0&&(a=1):t.scrollWidth-e>t.clientWidth&&(a=2)}return[o,a]}(o,s.clientRect,t,e),(n||i)&&(r=o))}),!n&&!i){const{width:s,height:o}=this._viewportRuler.getViewportSize(),a={width:s,height:o,top:0,right:s,bottom:o,left:0};n=$(a,e),i=J(a,t),r=window}!r||n===this._verticalScrollDirection&&i===this._horizontalScrollDirection&&r===this._scrollNode||(this._verticalScrollDirection=n,this._horizontalScrollDirection=i,this._scrollNode=r,(n||i)&&r?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_cacheParentPositions(){const t=Object(a.d)(this.element);this._parentPositions.cache(this._scrollableElements),this._clientRect=this._parentPositions.positions.get(t).clientRect}_cacheItemPositions(){const t="horizontal"===this._orientation;this._itemPositions=this._activeDraggables.map(t=>{const e=t.getVisibleElement();return{drag:t,offset:0,clientRect:A(e)}}).sort((e,r)=>t?e.clientRect.left-r.clientRect.left:e.clientRect.top-r.clientRect.top)}_reset(){this._isDragging=!1;const t=Object(a.d)(this.element).style;t.scrollSnapType=t.msScrollSnapType=this._initialScrollSnap,this._activeDraggables.forEach(t=>{const e=t.getRootElement();e&&(e.style.transform="")}),this._siblings.forEach(t=>t._stopReceiving(this)),this._activeDraggables=[],this._itemPositions=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1,this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_getSiblingOffsetPx(t,e,r){const n="horizontal"===this._orientation,i=e[t].clientRect,s=e[t+-1*r];let o=i[n?"width":"height"]*r;if(s){const t=n?"left":"top",e=n?"right":"bottom";-1===r?o-=s.clientRect[t]-i[e]:o+=i[t]-s.clientRect[e]}return o}_getItemOffsetPx(t,e,r){const n="horizontal"===this._orientation;let i=n?e.left-t.left:e.top-t.top;return-1===r&&(i+=n?e.width-t.width:e.height-t.height),i}_shouldEnterAsFirstChild(t,e){if(!this._activeDraggables.length)return!1;const r=this._itemPositions,n="horizontal"===this._orientation;if(r[0].drag!==this._activeDraggables[0]){const i=r[r.length-1].clientRect;return n?t>=i.right:e>=i.bottom}{const i=r[0].clientRect;return n?t<=i.left:e<=i.top}}_getItemIndexFromPointerPosition(t,e,r,n){const i="horizontal"===this._orientation;return W(this._itemPositions,({drag:s,clientRect:o},a,c)=>{if(s===t)return c.length<2;if(n){const t=i?n.x:n.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&t===this._previousSwap.delta)return!1}return i?e>=Math.floor(o.left)&&e=Math.floor(o.top)&&rn._canReceive(t,e,r))}_canReceive(t,e,r){if(!k(this._clientRect,e,r)||!this.enterPredicate(t,this))return!1;const n=this._getShadowRoot().elementFromPoint(e,r);if(!n)return!1;const i=Object(a.d)(this.element);return n===i||i.contains(n)}_startReceiving(t){const e=this._activeSiblings;e.has(t)||(e.add(t),this._cacheParentPositions(),this._listenToScrollEvents())}_stopReceiving(t){this._activeSiblings.delete(t),this._viewportScrollSubscription.unsubscribe()}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scroll.subscribe(t=>{if(this.isDragging()){const e=this._parentPositions.handleScroll(t);e&&(this._itemPositions.forEach(({clientRect:t})=>{x(t,e.top,e.left)}),this._itemPositions.forEach(({drag:t})=>{this._dragDropRegistry.isDragging(t)&&t._sortFromLastPointerPosition()}))}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){const t=Object(o.c)(Object(a.d)(this.element));this._cachedShadowRoot=t||this._document}return this._cachedShadowRoot}}function W(t,e){for(let r=0;r=r-s&&e<=r+s?1:e>=n-s&&e<=n+s?2:0}function J(t,e){const{left:r,right:n,width:i}=t,s=.05*i;return e>=r-s&&e<=r+s?1:e>=n-s&&e<=n+s?2:0}const Z=Object(o.f)({passive:!1,capture:!0});let Q=(()=>{class t{constructor(t,e){this._ngZone=t,this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=new Set,this._globalListeners=new Map,this.pointerMove=new c.a,this.pointerUp=new c.a,this.scroll=new c.a,this._preventDefaultWhileDragging=t=>{this._activeDragInstances.size&&t.preventDefault()},this._document=e}registerDropContainer(t){this._dropInstances.has(t)||this._dropInstances.add(t)}registerDragItem(t){this._dragInstances.add(t),1===this._dragInstances.size&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._preventDefaultWhileDragging,Z)})}removeDropContainer(t){this._dropInstances.delete(t)}removeDragItem(t){this._dragInstances.delete(t),this.stopDragging(t),0===this._dragInstances.size&&this._document.removeEventListener("touchmove",this._preventDefaultWhileDragging,Z)}startDragging(t,e){if(!this._activeDragInstances.has(t)&&(this._activeDragInstances.add(t),1===this._activeDragInstances.size)){const t=e.type.startsWith("touch"),r=t?"touchend":"mouseup";this._globalListeners.set(t?"touchmove":"mousemove",{handler:t=>this.pointerMove.next(t),options:Z}).set(r,{handler:t=>this.pointerUp.next(t),options:!0}).set("scroll",{handler:t=>this.scroll.next(t),options:!0}).set("selectstart",{handler:this._preventDefaultWhileDragging,options:Z}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((t,e)=>{this._document.addEventListener(e,t.handler,t.options)})})}}stopDragging(t){this._activeDragInstances.delete(t),0===this._activeDragInstances.size&&this._clearGlobalListeners()}isDragging(t){return this._activeDragInstances.has(t)}ngOnDestroy(){this._dragInstances.forEach(t=>this.removeDragItem(t)),this._dropInstances.forEach(t=>this.removeDropContainer(t)),this._clearGlobalListeners(),this.pointerMove.complete(),this.pointerUp.complete()}_clearGlobalListeners(){this._globalListeners.forEach((t,e)=>{this._document.removeEventListener(e,t.handler,t.options)}),this._globalListeners.clear()}}return t.\u0275fac=function(e){return new(e||t)(n.cc(n.C),n.cc(i.d))},t.\u0275prov=Object(n.Ob)({factory:function(){return new t(Object(n.cc)(n.C),Object(n.cc)(i.d))},token:t,providedIn:"root"}),t})();const tt={dragStartThreshold:5,pointerDirectionChangeThreshold:5};let et=(()=>{class t{constructor(t,e,r,n){this._document=t,this._ngZone=e,this._viewportRuler=r,this._dragDropRegistry=n}createDrag(t,e=tt){return new L(t,e,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(t){return new G(t,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}}return t.\u0275fac=function(e){return new(e||t)(n.cc(i.d),n.cc(n.C),n.cc(s.d),n.cc(Q))},t.\u0275prov=Object(n.Ob)({factory:function(){return new t(Object(n.cc)(i.d),Object(n.cc)(n.C),Object(n.cc)(s.d),Object(n.cc)(Q))},token:t,providedIn:"root"}),t})();const rt=new n.s("CdkDropListGroup"),nt=new n.s("CDK_DRAG_CONFIG");let it=0;const st=new n.s("CdkDropList");let ot=(()=>{class t{constructor(e,r,i,s,o,a,l){this.element=e,this._changeDetectorRef=i,this._dir=s,this._group=o,this._scrollDispatcher=a,this._destroyed=new c.a,this.connectedTo=[],this.id="cdk-drop-list-"+it++,this.enterPredicate=()=>!0,this.dropped=new n.p,this.entered=new n.p,this.exited=new n.p,this.sorted=new n.p,this._unsortedItems=new Set,this._dropListRef=r.createDropList(e),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=(t,e)=>this.enterPredicate(t.data,e.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),o&&o._items.add(this)}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(t){this._dropListRef.disabled=this._disabled=Object(a.b)(t)}addItem(t){this._unsortedItems.add(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}removeItem(t){this._unsortedItems.delete(t),this._dropListRef.isDragging()&&this._syncItemsWithRef()}getSortedItems(){return Array.from(this._unsortedItems).sort((t,e)=>t._dragRef.getVisibleElement().compareDocumentPosition(e._dragRef.getVisibleElement())&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)}ngOnDestroy(){const e=t._dropLists.indexOf(this);e>-1&&t._dropLists.splice(e,1),this._group&&this._group._items.delete(this),this._unsortedItems.clear(),this._dropListRef.dispose(),this._destroyed.next(),this._destroyed.complete()}_setupInputSyncSubscription(e){this._dir&&this._dir.change.pipe(Object(g.a)(this._dir.value),Object(p.a)(this._destroyed)).subscribe(t=>e.withDirection(t)),e.beforeStarted.subscribe(()=>{const r=Object(a.a)(this.connectedTo).map(e=>{if("string"==typeof e){const r=t._dropLists.find(t=>t.id===e);return!r&&Object(n.bb)()&&console.warn(`CdkDropList could not find connected drop list with id "${e}"`),r}return e});if(this._group&&this._group._items.forEach(t=>{-1===r.indexOf(t)&&r.push(t)}),!this._scrollableParentsResolved&&this._scrollDispatcher){const t=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(t=>t.getElementRef().nativeElement);this._dropListRef.withScrollableParents(t),this._scrollableParentsResolved=!0}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=Object(a.b)(this.sortingDisabled),e.autoScrollDisabled=Object(a.b)(this.autoScrollDisabled),e.connectedTo(r.filter(t=>t&&t!==this).map(t=>t._dropListRef)).withOrientation(this.orientation)})}_handleEvents(t){t.beforeStarted.subscribe(()=>{this._syncItemsWithRef(),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:this,item:t.item.data,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:this,item:t.item.data}),this._changeDetectorRef.markForCheck()}),t.sorted.subscribe(t=>{this.sorted.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,container:this,item:t.item.data})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,item:t.item.data,isPointerOverContainer:t.isPointerOverContainer,distance:t.distance}),this._changeDetectorRef.markForCheck()})}_assignDefaults(t){const{lockAxis:e,draggingDisabled:r,sortingDisabled:n,listAutoScrollDisabled:i,listOrientation:s}=t;this.disabled=null!=r&&r,this.sortingDisabled=null!=n&&n,this.autoScrollDisabled=null!=i&&i,this.orientation=s||"vertical",e&&(this.lockAxis=e)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(t=>t._dragRef))}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.m),n.Sb(et),n.Sb(n.h),n.Sb(w.b,8),n.Sb(rt,12),n.Sb(s.b),n.Sb(nt,8))},t.\u0275dir=n.Nb({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(t,e){2&t&&(n.bc("id",e.id),n.Kb("cdk-drop-list-disabled",e.disabled)("cdk-drop-list-dragging",e._dropListRef.isDragging())("cdk-drop-list-receiving",e._dropListRef.isReceiving()))},inputs:{connectedTo:["cdkDropListConnectedTo","connectedTo"],id:"id",enterPredicate:["cdkDropListEnterPredicate","enterPredicate"],disabled:["cdkDropListDisabled","disabled"],sortingDisabled:["cdkDropListSortingDisabled","sortingDisabled"],autoScrollDisabled:["cdkDropListAutoScrollDisabled","autoScrollDisabled"],orientation:["cdkDropListOrientation","orientation"],lockAxis:["cdkDropListLockAxis","lockAxis"],data:["cdkDropListData","data"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],features:[n.Eb([{provide:rt,useValue:void 0},{provide:st,useExisting:t}])]}),t._dropLists=[],t})();const at=new n.s("CDK_DRAG_PARENT"),ct=new n.s("CdkDragHandle"),lt=new n.s("CdkDragPlaceholder"),ut=new n.s("CdkDragPreview");let ht=(()=>{class t{constructor(t,e,r,i,s,o,a,l,u,h){this.element=t,this.dropContainer=e,this._document=r,this._ngZone=i,this._viewContainerRef=s,this._dir=a,this._changeDetectorRef=u,this._selfHandle=h,this._destroyed=new c.a,this.started=new n.p,this.released=new n.p,this.ended=new n.p,this.entered=new n.p,this.exited=new n.p,this.dropped=new n.p,this.moved=new d.a(t=>{const e=this._dragRef.moved.pipe(Object(m.a)(t=>({source:this,pointerPosition:t.pointerPosition,event:t.event,delta:t.delta,distance:t.distance}))).subscribe(t);return()=>{e.unsubscribe()}}),this._dragRef=l.createDrag(t,{dragStartThreshold:o&&null!=o.dragStartThreshold?o.dragStartThreshold:5,pointerDirectionChangeThreshold:o&&null!=o.pointerDirectionChangeThreshold?o.pointerDirectionChangeThreshold:5,zIndex:null==o?void 0:o.zIndex}),this._dragRef.data=this,o&&this._assignDefaults(o),e&&(this._dragRef._withDropContainer(e._dropListRef),e.addItem(this)),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(t){this._disabled=Object(a.b)(t),this._dragRef.disabled=this._disabled}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}ngAfterViewInit(){this._ngZone.onStable.asObservable().pipe(Object(b.a)(1),Object(p.a)(this._destroyed)).subscribe(()=>{this._updateRootElement(),this._handles.changes.pipe(Object(g.a)(this._handles),Object(y.a)(t=>{const e=t.filter(t=>t._parentDrag===this).map(t=>t.element);this._selfHandle&&this.rootElementSelector&&e.push(this.element),this._dragRef.withHandles(e)}),Object(v.a)(t=>Object(f.a)(...t.map(t=>t._stateChanges.pipe(Object(g.a)(t))))),Object(p.a)(this._destroyed)).subscribe(t=>{const e=this._dragRef,r=t.element.nativeElement;t.disabled?e.disableHandle(r):e.enableHandle(r)}),this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)})}ngOnChanges(t){const e=t.rootElementSelector,r=t.freeDragPosition;e&&!e.firstChange&&this._updateRootElement(),r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()}_updateRootElement(){const t=this.element.nativeElement,e=this.rootElementSelector?dt(t,this.rootElementSelector):t;if(e&&e.nodeType!==this._document.ELEMENT_NODE)throw Error(`cdkDrag must be attached to an element node. Currently attached to "${e.nodeName}".`);this._dragRef.withRootElement(e||t)}_getBoundaryElement(){const t=this.boundaryElement;if(!t)return null;if("string"==typeof t)return dt(this.element.nativeElement,t);const e=Object(a.d)(t);if(Object(n.bb)()&&!e.contains(this.element.nativeElement))throw Error("Draggable element is not inside of the node passed into cdkDragBoundary.");return e}_syncInputs(t){t.beforeStarted.subscribe(()=>{if(!t.isDragging()){const e=this._dir,r=this.dragStartDelay,n=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,i=this._previewTemplate?{template:this._previewTemplate.templateRef,context:this._previewTemplate.data,matchSize:this._previewTemplate.matchSize,viewContainer:this._viewContainerRef}:null;t.disabled=this.disabled,t.lockAxis=this.lockAxis,t.dragStartDelay="object"==typeof r&&r?r:Object(a.e)(r),t.constrainPosition=this.constrainPosition,t.previewClass=this.previewClass,t.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(n).withPreviewTemplate(i),e&&t.withDirection(e.value)}})}_handleEvents(t){t.started.subscribe(()=>{this.started.emit({source:this}),this._changeDetectorRef.markForCheck()}),t.released.subscribe(()=>{this.released.emit({source:this})}),t.ended.subscribe(t=>{this.ended.emit({source:this,distance:t.distance}),this._changeDetectorRef.markForCheck()}),t.entered.subscribe(t=>{this.entered.emit({container:t.container.data,item:this,currentIndex:t.currentIndex})}),t.exited.subscribe(t=>{this.exited.emit({container:t.container.data,item:this})}),t.dropped.subscribe(t=>{this.dropped.emit({previousIndex:t.previousIndex,currentIndex:t.currentIndex,previousContainer:t.previousContainer.data,container:t.container.data,isPointerOverContainer:t.isPointerOverContainer,item:this,distance:t.distance})})}_assignDefaults(t){const{lockAxis:e,dragStartDelay:r,constrainPosition:n,previewClass:i,boundaryElement:s,draggingDisabled:o,rootElementSelector:a}=t;this.disabled=null!=o&&o,this.dragStartDelay=r||0,e&&(this.lockAxis=e),n&&(this.constrainPosition=n),i&&(this.previewClass=i),s&&(this.boundaryElement=s),a&&(this.rootElementSelector=a)}}return t.\u0275fac=function(e){return new(e||t)(n.Sb(n.m),n.Sb(st,12),n.Sb(i.d),n.Sb(n.C),n.Sb(n.V),n.Sb(nt,8),n.Sb(w.b,8),n.Sb(et),n.Sb(n.h),n.Sb(ct,10))},t.\u0275dir=n.Nb({type:t,selectors:[["","cdkDrag",""]],contentQueries:function(t,e,r){var i;1&t&&(n.Lb(r,ut,!0),n.Lb(r,lt,!0),n.Lb(r,ct,!0)),2&t&&(n.uc(i=n.gc())&&(e._previewTemplate=i.first),n.uc(i=n.gc())&&(e._placeholderTemplate=i.first),n.uc(i=n.gc())&&(e._handles=i))},hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(t,e){2&t&&n.Kb("cdk-drag-disabled",e.disabled)("cdk-drag-dragging",e._dragRef.isDragging())},inputs:{disabled:["cdkDragDisabled","disabled"],dragStartDelay:["cdkDragStartDelay","dragStartDelay"],lockAxis:["cdkDragLockAxis","lockAxis"],constrainPosition:["cdkDragConstrainPosition","constrainPosition"],previewClass:["cdkDragPreviewClass","previewClass"],boundaryElement:["cdkDragBoundary","boundaryElement"],rootElementSelector:["cdkDragRootElement","rootElementSelector"],data:["cdkDragData","data"],freeDragPosition:["cdkDragFreeDragPosition","freeDragPosition"]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],features:[n.Eb([{provide:at,useExisting:t}]),n.Db]}),t})();function dt(t,e){let r=t.parentElement;for(;r;){if(r.matches?r.matches(e):r.msMatchesSelector(e))return r;r=r.parentElement}return null}let ft=(()=>{class t{}return t.\u0275mod=n.Qb({type:t}),t.\u0275inj=n.Pb({factory:function(e){return new(e||t)},providers:[et],imports:[s.a]}),t})()},"5+tZ":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("lJxs"),i=r("Cfvw"),s=r("zx2A");function o(t,e,r=Number.POSITIVE_INFINITY){return"function"==typeof e?s=>s.pipe(o((r,s)=>Object(i.a)(t(r,s)).pipe(Object(n.a)((t,n)=>e(r,t,s,n))),r)):("number"==typeof e&&(r=e),e=>e.lift(new a(t,r)))}class a{constructor(t,e=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=e}call(t,e){return e.subscribe(new c(t,this.project,this.concurrent))}}class c extends s.b{constructor(t,e,r=Number.POSITIVE_INFINITY){super(t),this.project=e,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"53q0":function(t,e,r){"use strict";const{encodeText:n}=r("LiIJ");t.exports=class{constructor(t,e,r,i){this.name=t,this.code=e,this.codeBuf=n(this.code),this.alphabet=i,this.engine=r(i)}encode(t){return this.engine.encode(t)}decode(t){for(const e of t)if(this.alphabet&&this.alphabet.indexOf(e)<0)throw new Error(`invalid character '${e}' in '${t}'`);return this.engine.decode(t)}}},"5AC5":function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r("9DzI"),e),i(r("SJuK"),e),i(r("0RUh"),e)},"5Ax+":function(t,e,r){"use strict";const{repoVersion:n}=r("fdX0"),{withTimeoutOption:i}=r("hwsr");t.exports=({repo:t})=>i((async function(e){try{await t._checkInitialized(e)}catch(r){if([/Key not found in database \[\/version\]/,/ENOENT/,/repo is not initialized yet/].some(t=>t.test(r.message)))return n;throw r}return t.version.get(e)}))},"5Bj4":function(t,e,r){"use strict";const n=r("7tlc"),i=r("MsB4"),s=i.MT,o=i.SIMPLE,a=i.SYMS;class c{constructor(t){if("number"!=typeof t)throw new Error("Invalid Simple type: "+typeof t);if(t<0||t>255||(0|t)!==t)throw new Error("value must be a small positive integer: "+t);this.value=t}toString(){return"simple("+this.value+")"}[n.inspect.custom](t,e){return"simple("+this.value+")"}inspect(t,e){return"simple("+this.value+")"}encodeCBOR(t){return t._pushInt(this.value,s.SIMPLE_FLOAT)}static isSimple(t){return t instanceof c}static decode(t,e=!0,r=!1){switch(t){case o.FALSE:return!1;case o.TRUE:return!0;case o.NULL:return e?null:a.NULL;case o.UNDEFINED:return e?void 0:a.UNDEFINED;case-1:if(!e||!r)throw new Error("Invalid BREAK");return a.BREAK;default:return new c(t)}}}t.exports=c},"5GIN":function(t,e,r){(function(n){e.log=function(...t){return"object"==typeof console&&console.log&&console.log(...t)},e.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;e.splice(1,0,r,"color: inherit");let n=0,i=0;e[0].replace(/%[a-zA-Z%]/g,t=>{"%%"!==t&&(n++,"%c"===t&&(i=n))}),e.splice(i,0,r)},e.save=function(t){try{t?e.storage.setItem("debug",t):e.storage.removeItem("debug")}catch(r){}},e.load=function(){let t;try{t=e.storage.getItem("debug")}catch(r){}return!t&&void 0!==n&&"env"in n&&(t=n.env.DEBUG),t},e.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+)/))},e.storage=function(){try{return localStorage}catch(t){}}(),e.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.exports=r("r/uC")(e);const{formatters:i}=t.exports;i.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}}).call(this,r("8oxB"))},"5Ipv":function(t,e,r){"use strict";var n,i=e,s=r("LA2i"),o=r("xBS6"),a=r("X1GW").assert;function c(t){this.curve="short"===t.type?new o.short(t):"edwards"===t.type?new o.edwards(t):new o.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,a(this.g.validate(),"Invalid curve"),a(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function l(t,e){Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:function(){var r=new c(e);return Object.defineProperty(i,t,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=c,l("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:s.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),l("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:s.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),l("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:s.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),l("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:s.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),l("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:s.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),l("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["9"]}),l("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:s.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r("eULL")}catch(u){n=void 0}l("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:s.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},"5LqC":function(t,e,r){"use strict";const n=r("bbp9").Entry;t.exports=class{constructor(t,e,r,i,s){this.entry=new n(t,e,r),this.cancel=Boolean(i),this.sendDontHave=Boolean(s)}get cid(){return this.entry.cid}set cid(t){this.entry.cid=t}get priority(){return this.entry.priority}set priority(t){this.entry.priority=t}get wantType(){return this.entry.wantType}set wantType(t){this.entry.wantType=t}get[Symbol.toStringTag](){return`BitswapMessageEntry ${this.cid.toString("base58btc")} `}equals(t){return this.cancel===t.cancel&&this.sendDontHave===t.sendDontHave&&this.wantType===t.wantType&&this.entry.equals(t.entry)}}},"5QxA":function(t,e,r){"use strict";var n=r("AEwp"),i=r("bODW"),s=r("LTys"),o=r("/UUy")||0;function a(){return i(o)}t.exports=a,t.exports.generate=a,t.exports.seed=function(e){return n.seed(e),t.exports},t.exports.worker=function(e){return o=e,t.exports},t.exports.characters=function(t){return void 0!==t&&n.characters(t),n.shuffled()},t.exports.isValid=s},"5RNC":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));var n=r("ofXK"),i=r("fXoL"),s=r("FKr1");r("u47x"),r("cH1L"),r("8LU1"),r("FtGj"),r("3Pt+"),r("R1ws"),r("nLfN"),r("quSY");let o=(()=>{class t{}return t.\u0275mod=i.Qb({type:t}),t.\u0275inj=i.Pb({factory:function(e){return new(e||t)},imports:[[n.c,s.f],s.f]}),t})()},"5c+H":function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var s=r("EGpM");e.default=function(t){function e(e,r,n,i){var s=t.call(this,e,r)||this;return s.estimatedModuleSize=n,s.count=i,void 0===i&&(s.count=1),s}return i(e,t),e.prototype.getEstimatedModuleSize=function(){return this.estimatedModuleSize},e.prototype.getCount=function(){return this.count},e.prototype.aboutEquals=function(t,e,r){if(Math.abs(e-this.getY())<=t&&Math.abs(r-this.getX())<=t){var n=Math.abs(t-this.estimatedModuleSize);return n<=1||n<=this.estimatedModuleSize}return!1},e.prototype.combineEstimate=function(t,r,n){var i=this.count+1;return new e((this.count*this.getX()+r)/i,(this.count*this.getY()+t)/i,(this.count*this.estimatedModuleSize+n)/i,i)},e}(s.default)},"5f1/":function(t,e,r){"use strict";const n=r("q6el"),{messages:i,codes:s}=r("KBud"),o=r("JxV3"),a=r("wkqZ");t.exports=t=>{const e=t._modules.contentRouting||[],r=t._dht;return r&&e.unshift(r),{async*findProviders(t,r){if(!e.length)throw n(new Error("No content routers available"),"NO_ROUTERS_AVAILABLE");const i=await a(e.map(async e=>{const i=await o(e.findProviders(t,r));if(!i||!i.length)throw n(new Error("not found"),"NOT_FOUND");return i}));for(const e of i)yield e},async provide(t){if(!e.length)throw n(new Error("No content routers available"),"NO_ROUTERS_AVAILABLE");return Promise.all(e.map(e=>e.provide(t)))},async put(e,o,a){if(!t.isStarted()||!r.isStarted)throw n(new Error(i.NOT_STARTED_YET),s.DHT_NOT_STARTED);return r.put(e,o,a)},async get(e,o){if(!t.isStarted()||!r.isStarted)throw n(new Error(i.NOT_STARTED_YET),s.DHT_NOT_STARTED);return r.get(e,o)},async getMany(e,o,a){if(!t.isStarted()||!r.isStarted)throw n(new Error(i.NOT_STARTED_YET),s.DHT_NOT_STARTED);return r.getMany(e,o,a)}}}},"5fPr":function(t,e,r){"use strict";e.Address4=r("yN5A"),e.Address6=r("7Wdl"),e.v6={helpers:r("BzHC")}},"5hE1":function(t,e,r){"use strict";const n=r("5ugK"),i=r("q6el");e.cleanCid=t=>{if(n.isCID(t))return t;try{return new n(t)}catch(e){throw i(e,"ERR_INVALID_CID")}}},"5ijG":function(t,e,r){"use strict";const{Adapter:n,utils:i}=r("BoQq"),s=i.map;t.exports=class extends n{constructor(t,e){super(),this.child=t,this.transform=e}open(){return this.child.open()}put(t,e,r){return this.child.put(this.transform.convert(t),e,r)}get(t,e){return this.child.get(this.transform.convert(t),e)}has(t,e){return this.child.has(this.transform.convert(t),e)}delete(t,e){return this.child.delete(this.transform.convert(t),e)}batch(){const t=this.child.batch();return{put:(e,r)=>{t.put(this.transform.convert(e),r)},delete:e=>{t.delete(this.transform.convert(e))},commit:e=>t.commit(e)}}query(t,e){return s(this.child.query(t,e),t=>(t.key=this.transform.invert(t.key),t))}close(){return this.child.close()}}},"5lVX":function(t,e,r){"use strict";const n=r("dcbq");e.resolvePath=({ipns:t,dag:e},r)=>n.ipnsPath(r)?t.resolve(r):e.get(r.substring("/ipfs/".length))},"5pRc":function(t,e,r){"use strict";(function(t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.hasNextTick=e.hasSetImmediate=void 0,e.fallback=c,e.wrap=l;var i,s=(i=r("pPnE"))&&i.__esModule?i:{default:i},o=e.hasSetImmediate="function"==typeof t&&t,a=e.hasNextTick="object"==typeof n&&"function"==typeof n.nextTick;function c(t){setTimeout(t,0)}function l(t){return function(e){var r=(0,s.default)(arguments,1);t((function(){e.apply(null,r)}))}}e.default=l(o?t:a?n.nextTick:c)}).call(this,r("URgk").setImmediate,r("8oxB"))},"5ugK":function(t,e,r){"use strict";const n=r("y191"),i=r("M2kB"),s=r("UbT7"),o=r("71ZU"),a=r("xY7N"),c=r("69Qu"),l=r("owzx"),u=r("+Wg8"),h=r("6QQO"),d=Object.keys(o).reduce((t,e)=>(t[o[e]]=e,t),{});class f{constructor(t,e,r,o){if(p.isCID(t)){const e=t;return this.version=e.version,this.codec=e.codec,this.multihash=e.multihash,void(this.multibaseName=e.multibaseName||(0===e.version?"base58btc":"base32"))}if("string"==typeof t){const e=i.isEncoded(t);if(e){const r=i.decode(t);this.version=parseInt(r.slice(0,1).toString("hex"),16),this.codec=s.getCodec(r.slice(1)),this.multihash=s.rmPrefix(r.slice(1)),this.multibaseName=e}else this.version=0,this.codec="dag-pb",this.multihash=n.fromB58String(t),this.multibaseName="base58btc";return f.validateCID(this),void Object.defineProperty(this,"string",{value:t})}if(t instanceof Uint8Array){const e=t.slice(0,1),r=parseInt(e.toString("hex"),16);if(1===r){const e=t;this.version=r,this.codec=s.getCodec(e.slice(1)),this.multihash=s.rmPrefix(e.slice(1)),this.multibaseName="base32"}else this.version=0,this.codec="dag-pb",this.multihash=t,this.multibaseName="base58btc";f.validateCID(this)}else this.version=t,"number"==typeof e&&(e=d[e]),this.codec=e,this.multihash=r,this.multibaseName=o||(0===t?"base58btc":"base32"),f.validateCID(this)}get bytes(){let t=this._bytes;if(!t){if(0===this.version)t=this.multihash;else{if(1!==this.version)throw new Error("unsupported version");{const e=s.getCodeVarint(this.codec);t=l([[1],e,this.multihash],1+e.byteLength+this.multihash.byteLength)}}Object.defineProperty(this,"_bytes",{value:t})}return t}get prefix(){const t=s.getCodeVarint(this.codec),e=n.prefix(this.multihash);return l([[this.version],t,e],1+t.byteLength+e.byteLength)}get code(){return o[this.codec]}toV0(){if("dag-pb"!==this.codec)throw new Error("Cannot convert a non dag-pb CID to CIDv0");const{name:t,length:e}=n.decode(this.multihash);if("sha2-256"!==t)throw new Error("Cannot convert non sha2-256 multihash CID to CIDv0");if(32!==e)throw new Error("Cannot convert non 32 byte multihash CID to CIDv0");return new p(0,this.codec,this.multihash)}toV1(){return new p(1,this.codec,this.multihash)}toBaseEncodedString(t=this.multibaseName){if(this.string&&t===this.multibaseName)return this.string;let e=null;if(0===this.version){if("base58btc"!==t)throw new Error("not supported with CIDv0, to support different bases, please migrate the instance do CIDv1, you can do that through cid.toV1()");e=n.toB58String(this.multihash)}else{if(1!==this.version)throw new Error("unsupported version");e=u(i.encode(t,this.bytes))}return t===this.multibaseName&&Object.defineProperty(this,"string",{value:e}),e}[Symbol.for("nodejs.util.inspect.custom")](){return"CID("+this.toString()+")"}toString(t){return this.toBaseEncodedString(t)}toJSON(){return{codec:this.codec,version:this.version,hash:this.multihash}}equals(t){return this.codec===t.codec&&this.version===t.version&&h(this.multihash,t.multihash)}static validateCID(t){const e=a.checkCIDComponents(t);if(e)throw new Error(e)}}const p=c(f,{className:"CID",symbolName:"@ipld/js-cid/CID"});p.codecs=o,t.exports=p},"5ulN":function(t,e){"object"!=typeof globalThis&&(Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__),t.exports=globalThis},"5w3K":function(t,e,r){"use strict";const{AbortController:n,AbortSignal:i}="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0;t.exports=n,t.exports.AbortSignal=i,t.exports.default=n},6:function(t,e){},"6+ya":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("6eIS"),i=r("lBwr"),s=r("Z9jE"),o=r("8xTT"),a=r("Nou5"),c=function(){function t(t,e,r,n){if(this.width=t,this.height=e,this.rowSize=r,this.bits=n,null==e&&(e=t),this.height=e,t<1||e<1)throw new a.default("Both dimensions must be greater than 0");null==r&&(r=Math.floor((t+31)/32)),this.rowSize=r,null==n&&(this.bits=new Int32Array(this.rowSize*this.height))}return t.parseFromBooleanArray=function(e){for(var r=e.length,n=e[0].length,i=new t(n,r),s=0;so){if(-1===c)c=s-o;else if(s-o!==c)throw new a.default("row lengths do not match");o=s,l++}u++}else if(e.substring(u,u+r.length)===r)u+=r.length,i[s]=!0,s++;else{if(e.substring(u,u+n.length)!==n)throw new a.default("illegal character encountered: "+e.substring(u));u+=n.length,i[s]=!1,s++}if(s>o){if(-1===c)c=s-o;else if(s-o!==c)throw new a.default("row lengths do not match");l++}for(var h=new t(c,l),d=0;d>>(31&t)&1)},t.prototype.set=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]|=1<<(31&t)&4294967295},t.prototype.unset=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]&=~(1<<(31&t)&4294967295)},t.prototype.flip=function(t,e){var r=e*this.rowSize+Math.floor(t/32);this.bits[r]^=1<<(31&t)&4294967295},t.prototype.xor=function(t){if(this.width!==t.getWidth()||this.height!==t.getHeight()||this.rowSize!==t.getRowSize())throw new a.default("input matrix dimensions do not match");for(var e=new n.default(Math.floor(this.width/32)+1),r=this.rowSize,i=this.bits,s=0,o=this.height;sthis.height||i>this.width)throw new a.default("The region must fit inside the matrix");for(var o=this.rowSize,c=this.bits,l=e;lo&&(o=a),32*cs){for(u=31;l>>>u==0;)u--;32*c+u>s&&(s=32*c+u)}}}return s=0&&0===e[r];)r--;if(r<0)return null;for(var n=Math.floor(r/t),i=32*Math.floor(r%t),s=e[r],o=31;s>>>o==0;)o--;return Int32Array.from([i+=o,n])},t.prototype.getWidth=function(){return this.width},t.prototype.getHeight=function(){return this.height},t.prototype.getRowSize=function(){return this.rowSize},t.prototype.equals=function(e){return e instanceof t&&this.width===e.width&&this.height===e.height&&this.rowSize===e.rowSize&&s.default.equals(this.bits,e.bits)},t.prototype.hashCode=function(){var t=this.width;return 31*(t=31*(t=31*(t=31*t+this.width)+this.height)+this.rowSize)+s.default.hashCode(this.bits)},t.prototype.toString=function(t,e,r){return void 0===t&&(t="x"),void 0===e&&(e=" "),void 0===r&&(r="\n"),this.buildToString(t,e,r)},t.prototype.buildToString=function(t,e,r){var n=new o.default;n.append(r);for(var i=0,s=this.height;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(e,r,n)}t.exports=o,o.prototype._init=function(t,e,r){var n=t.concat(e).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(t.concat(r||[])),this._reseed=1},o.prototype.generate=function(t,e,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof e&&(n=r,r=e,e=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var s=[];s.length>>7-t%8&1)},put:function(t,e){for(var r=0;r>>e-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}},t.exports=r},"66FV":function(t,e,r){"use strict";(function(e){const n=r("1IWx"),i=r("7tlc");class s extends n.Transform{constructor(t,r,n){let i,s;switch(null==n&&(n={}),typeof t){case"object":e.isBuffer(t)?(i=t,null!=r&&"object"==typeof r&&(n=r)):n=t;break;case"string":i=t,null!=r&&"object"==typeof r?n=r:s=r}null==n&&(n={}),null==i&&(i=n.input),null==s&&(s=n.inputEncoding),delete n.input,delete n.inputEncoding;const o=null==n.watchPipe||n.watchPipe;delete n.watchPipe;const a=!!n.readError;delete n.readError,super(n),this.readError=a,o&&this.on("pipe",t=>{const e=t._readableState.objectMode;if(this.length>0&&e!==this._readableState.objectMode)throw new Error("Do not switch objectMode in the middle of the stream");return this._readableState.objectMode=e,this._writableState.objectMode=e}),null!=i&&this.end(i,s)}static isNoFilter(t){return t instanceof this}static compare(t,e){if(!(t instanceof this))throw new TypeError("Arguments must be NoFilters");return t===e?0:t.compare(e)}static concat(t,r){if(!Array.isArray(t))throw new TypeError("list argument must be an Array of NoFilters");if(0===t.length||0===r)return e.alloc(0);null==r&&(r=t.reduce((t,e)=>{if(!(e instanceof s))throw new TypeError("list argument must be an Array of NoFilters");return t+e.length},0));let n=!0,i=!0;const o=t.map(t=>{if(!(t instanceof s))throw new TypeError("list argument must be an Array of NoFilters");const r=t.slice();return e.isBuffer(r)?i=!1:n=!1,r});if(n)return e.concat(o,r);if(i)return[].concat(...o).slice(0,r);throw new Error("Concatenating mixed object and byte streams not supported")}_transform(t,r,n){this._readableState.objectMode||e.isBuffer(t)||(t=e.from(t,r)),this.push(t),n()}_bufArray(){let t=this._readableState.buffer;if(!Array.isArray(t)){let e=t.head;for(t=[];null!=e;)t.push(e.data),e=e.next}return t}read(t){const e=super.read(t);if(null!=e){if(this.emit("read",e),this.readError&&e.length{this.on("finish",()=>{const n=this.read();null==t||e||(e=!0,t(null,n)),r(n)}),this.on("error",r=>{null==t||e||(e=!0,t(r)),n(r)})})}compare(t){if(!(t instanceof s))throw new TypeError("Arguments must be NoFilters");if(this===t)return 0;{const r=this.slice(),n=t.slice();if(e.isBuffer(r)&&e.isBuffer(n))return r.compare(n);throw new Error("Cannot compare streams in object mode")}}equals(t){return 0===this.compare(t)}slice(t,r){if(this._readableState.objectMode)return this._bufArray().slice(t,r);const n=this._bufArray();switch(n.length){case 0:return e.alloc(0);case 1:return n[0].slice(t,r);default:return e.concat(n).slice(t,r)}}get(t){return this.slice()[t]}toJSON(){const t=this.slice();return e.isBuffer(t)?t.toJSON():t}toString(t,r,n){const s=this.slice(r,n);return e.isBuffer(s)?t&&"utf8"!==t||!i.TextDecoder?s.toString(t,r,n):new i.TextDecoder("utf8",{fatal:!0,ignoreBOM:!0}).decode(s):JSON.stringify(s)}inspect(t,e){return this[i.inspect.custom](t,e)}[i.inspect.custom](t,r){const n=this._bufArray().map(t=>e.isBuffer(t)?(null!=r?r.stylize:void 0)?r.stylize(t.toString("hex"),"string"):t.toString("hex"):i.inspect(t,r)).join(", ");return`${this.constructor.name} [${n}]`}get length(){return this._readableState.length}writeBigInt(t){let r=t.toString(16);if(t<0){const e=BigInt(Math.floor(r.length/2));r=(t=(BigInt(1)<!(!t||!t[n]),i},t.exports.proto=function(t,{className:e,symbolName:r,withoutNew:n}){const i=Symbol.for(r),s={[e]:function(...e){if(n&&!(this instanceof s))return new s(...e);const r=t.call(this,...e)||this;return r&&!r[i]&&Object.defineProperty(r,i,{value:!0}),r}}[e];return s.prototype=Object.create(t.prototype),s.prototype.constructor=s,Object.defineProperty(s.prototype,Symbol.toStringTag,{get:()=>e}),s["is"+e]=t=>!(!t||!t[i]),s}},"6MpB":function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return o}));const n=r("B3Xk");class i{generate(t){return new Promise((function(e){console.log(t),n.toDataURL(t,(function(t,r){console.log(r),e(r)}))}))}}class s{detect(){return"undefined"!=typeof navigator?navigator.userAgent.toLowerCase().indexOf(" electron/")>-1?"electron":"browser":"undefined"==typeof window?"node":"browser"}}class o{constructor(){this.qr=new i,this.engine=new s}delay(t,e=""){return new Promise((function(r){setTimeout((function(){r(e)}),t)}))}inArray(t,e){return void 0!==t.indexOf&&t.indexOf(e)>-1}removeFrom(t,e){let r=t,n=Object.keys(e),i=[];for(let s=0;s{class t{}return t.\u0275mod=n.Qb({type:t}),t.\u0275inj=n.Pb({factory:function(e){return new(e||t)}}),t})()},"6O7D":function(t,e,r){"use strict";const n=r("J8CR"),{Key:i,Errors:s}=r("BoQq"),o=r("q6el"),a=r("Hmxq"),c=a("ipfs:ipns:publisher");c.error=a("ipfs:ipns:publisher:error");const l=r("+Wg8"),u=r("HnD7"),h=s.notFoundError().code;class d{constructor(t,e){this._routing=t,this._datastore=e}async publishWithEOL(t,e,r){if(!t||!t.bytes)throw o(new Error("invalid private key"),"ERR_INVALID_PRIVATE_KEY");const i=await n.createFromPrivKey(t.bytes),s=await this._updateOrCreateRecord(t,e,r,i);return this._putRecordToRouting(s,i)}publish(t,e){return this.publishWithEOL(t,e,36e5)}async _putRecordToRouting(t,e){if(!n.isPeerId(e)){const t="peerId received is not valid";throw c.error(t),o(new Error(t),"ERR_INVALID_PEER_ID")}const r=e._pubKey,i=await u.embedPublicKey(r,t),s=u.getIdKeys(e.toBytes());return await this._publishEntry(s.routingKey,i||t,e),await this._publishPublicKey(s.routingPubKey,r),i||t}async _publishEntry(t,e){if(!i.isKey(t)){const t="datastore key does not have a valid format";throw c.error(t),o(new Error(t),"ERR_INVALID_DATASTORE_KEY")}let r;try{r=u.marshal(e)}catch(n){throw c.error(n),n}try{const e=await this._routing.put(t.uint8Array(),r);return c(`ipns record for ${l(t.uint8Array(),"base64")} was stored in the routing`),e}catch(n){const e=`ipns record for ${l(t.uint8Array(),"base64")} could not be stored in the routing`;throw c.error(e),c.error(n),o(new Error(e),"ERR_PUTTING_TO_ROUTING")}}async _publishPublicKey(t,e){if(!i.isKey(t)){const t="datastore key does not have a valid format";throw c.error(t),o(new Error(t),"ERR_INVALID_DATASTORE_KEY")}if(!e||!e.bytes){const t="one or more of the provided parameters are not defined";throw c.error(t),o(new Error(t),"ERR_UNDEFINED_PARAMETER")}try{const r=await this._routing.put(t.uint8Array(),e.bytes);return c(`public key for ${l(t.uint8Array(),"base64")} was stored in the routing`),r}catch(r){const e=`public key for ${l(t.uint8Array(),"base64")} could not be stored in the routing`;throw c.error(e),c.error(r),o(new Error(e),"ERR_PUTTING_TO_ROUTING")}}async _getPublished(t,e){if(!n.isPeerId(t)){const t="peerId received is not valid";throw c.error(t),o(new Error(t),"ERR_INVALID_PEER_ID")}const r=!1!==(e=e||{}).checkRouting;try{const e=await this._datastore.get(u.getLocalKey(t.id));return this._unmarshalData(e)}catch(i){if(i.code!==h){const e=`unexpected error getting the ipns record ${t.id} from datastore`;throw c.error(e),o(new Error(e),"ERR_UNEXPECTED_DATASTORE_RESPONSE")}if(!r)throw o(i);try{const e=u.getIdKeys(t.toBytes()),r=await this._routing.get(e.routingKey.uint8Array());return this._unmarshalData(r)}catch(i){throw c.error(i),i}}}_unmarshalData(t){try{return u.unmarshal(t)}catch(e){throw o(e,"ERR_INVALID_RECORD_DATA")}}async _updateOrCreateRecord(t,e,r,i){if(!n.isPeerId(i)){const t="peerId received is not valid";throw c.error(t),o(new Error(t),"ERR_INVALID_PEER_ID")}const s={checkRouting:!0};let a;try{a=await this._getPublished(i,s)}catch(f){if(f.code!==h){const t=`unexpected error when determining the last published IPNS record for ${i.id} ${f.stack}`;throw c.error(t),o(new Error(t),"ERR_DETERMINING_PUBLISHED_RECORD")}}let l,d=0;a&&void 0!==a.sequence&&(d=a.value.toString()!==e?a.sequence+1:a.sequence);try{l=await u.create(t,e,d,r)}catch(f){const t=`ipns record for ${e} could not be created`;throw c.error(f),o(new Error(t),"ERR_CREATING_IPNS_RECORD")}try{const t=u.marshal(l);return await this._datastore.put(u.getLocalKey(i.id),t),c(`ipns record for ${e} was stored in the datastore`),l}catch(f){const t=`ipns record for ${e} could not be stored in the datastore`;throw c.error(t),o(new Error(t),"ERR_STORING_IN_DATASTORE")}}}d.defaultRecordLifetime=36e5,t.exports=d},"6QQO":function(t,e,r){"use strict";t.exports=function(t,e){if(t===e)return!0;if(t.byteLength!==e.byteLength)return!1;for(let r=0;r{if(t.Path)return t.Path;throw new Error(t.Message)};t.exports=async(t,e)=>(async(t,e)=>{e=e||{};const r=new URLSearchParams(e);r.set("arg",t);const n=r.toString();if(!e.nocache&&o.has(n)){const t=o.get(n);return c(t)}const i=await a.add(async()=>{const t=await s.get("https://ipfs.io/api/v0/dns",{searchParams:r}),e=new URL(t.url).search.slice(1),n=await t.json();return o.set(e,n,6e4),n});return c(i)})(t,e)},"6Qjt":function(t,e,r){"use strict";(function(t,n){const i=r("nBJS"),s=t.crypto||t.msCrypto,o=s&&"function"==typeof s.getRandomValues,a=o?s.getRandomValues.bind(s):null,c=new Uint32Array(16);let l=0;function u(){return 0==(15&l)&&(h(c),l=0),c[l++]}function h(t){if(!o)throw new Error("Entropy source not available.");return a(t)}function d(t,e,r){if(i(n.isBuffer(t)),i(t.buffer instanceof ArrayBuffer),i(t.byteOffset>>>0===t.byteOffset),i(t.byteLength>>>0===t.byteLength),i(e>>>0===e),i(r>>>0===r),i(e+r<=t.byteLength),r>2**31-1)throw new RangeError('The value "size" is out of range.');const s=new Uint8Array(t.buffer,t.byteOffset+e,r);if(s.length>65536)for(let n=0;ns.length&&(t=s.length),h(s.subarray(n,t))}else s.length>0&&h(s)}e.native=0,e.randomBytes=function(t){i(t>>>0===t);const e=n.alloc(t);return d(e,0,t),e},e.randomFill=function(t,e,r){return i(n.isBuffer(t)),null==e&&(e=0),i(e>>>0===e),null==r&&(r=t.length-e),i(r>>>0===r),i(e+r<=t.length),d(t,e,r),t},e.randomInt=u,e.randomRange=function(t,e){i(t>>>0===t),i(e>>>0===e),i(e>=t);const r=e-t;if(0===r)return t;const n=-r>>>0;let s,o;do{s=u(),o=s%r}while(s-o>n);return o+t}}).call(this,r("yLpj"),r("tjlA").Buffer)},"6R26":function(t,e,r){"use strict";const n=r("22DD"),{InvalidCryptoTransmissionError:i}=r("rS71"),s=r("+Wg8"),o=r("6QQO");e.createBoxStream=(t,e)=>async function*(r){for await(const i of r){const r=await t.encrypt(n.isBufferList(i)?i.slice():i),s=await e.digest(r);yield new n([r,s])}},e.createUnboxStream=(t,e)=>async function*(r){for await(const n of r){const r=n.length,a=e.length;if(r0){var r=new n.default[e.length+t.length];i.default.arraycopy(e,0,r,0,e.length),i.default.arraycopy(t,0,r,e.length,t.length),this.resultPoints=r}},t.prototype.getTimestamp=function(){return this.timestamp},t.prototype.toString=function(){return this.text},t}();e.default=s},"6Xk8":function(t,e,r){"use strict";const n=r("BoQq").Key,i=r("C5yo"),s=new n("api");t.exports=t=>({async get(){const e=await t.get(s);return e&&e.toString()},set:async e=>t.put(s,i(e.toString())),delete:async()=>t.delete(s)})},"6a9g":function(t,e,r){var n=r("UDxl");function i(t,e,r){e&&"string"!=typeof e&&(e=e.message||e.name),n(this,{type:t,name:t,cause:"string"!=typeof e?e:r,message:e},"ewr")}function s(t,e){Error.call(this),Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor),i.call(this,"CustomError",t,e)}s.prototype=new Error,t.exports=function(t){var e=function(e,r){return function(t,e,r){var n=function(r,s){i.call(this,e,r,s),"FilesystemError"==e&&(this.code=this.cause.code,this.path=this.cause.path,this.errno=this.cause.errno,this.message=(t.errno[this.cause.errno]?t.errno[this.cause.errno].description:this.cause.message)+(this.cause.path?" ["+this.cause.path+"]":"")),Error.call(this),Error.captureStackTrace&&Error.captureStackTrace(this,n)};return n.prototype=r?new r:new s,n}(t,e,r)};return{CustomError:s,FilesystemError:e("FilesystemError"),createError:e}}},"6aM2":function(t,e,r){"use strict";t.exports=function(t,e){return"string"==typeof t?c(t):"number"==typeof t?a(t,e):null},t.exports.format=a,t.exports.parse=c;var n=/\B(?=(\d{3})+(?!\d))/g,i=/(?:\.0*|(\.[^0]+)0+)$/,s={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},o=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function a(t,e){if(!Number.isFinite(t))return null;var r=Math.abs(t),o=e&&e.thousandsSeparator||"",a=e&&e.unitSeparator||"",c=e&&void 0!==e.decimalPlaces?e.decimalPlaces:2,l=Boolean(e&&e.fixedDecimals),u=e&&e.unit||"";u&&s[u.toLowerCase()]||(u=r>=s.pb?"PB":r>=s.tb?"TB":r>=s.gb?"GB":r>=s.mb?"MB":r>=s.kb?"KB":"B");var h=(t/s[u.toLowerCase()]).toFixed(c);return l||(h=h.replace(i,"$1")),o&&(h=h.replace(n,o)),h+a+u}function c(t){if("number"==typeof t&&!isNaN(t))return t;if("string"!=typeof t)return null;var e,r=o.exec(t),n="b";return r?(e=parseFloat(r[1]),n=r[4].toLowerCase()):(e=parseInt(t,10),n="b"),Math.floor(s[n]*e)}},"6e+k":function(t,e,r){(function(e){t.exports=function(){return"undefined"!=typeof window&&"object"==typeof window.process&&"renderer"===window.process.type||!(void 0===e||"object"!=typeof e.versions||!e.versions.electron)||"object"==typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Electron")>=0}}).call(this,r("8oxB"))},"6eIS":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r("lBwr"),i=r("7APi"),s=r("Z9jE"),o=r("Nou5"),a=function(){function t(e,r){void 0===e?(this.size=0,this.bits=new Int32Array(1)):(this.size=e,this.bits=null==r?t.makeArray(e):r)}return t.prototype.getSize=function(){return this.size},t.prototype.getSizeInBytes=function(){return Math.floor((this.size+7)/8)},t.prototype.ensureCapacity=function(e){if(e>32*this.bits.length){var r=t.makeArray(e);n.default.arraycopy(this.bits,0,r,0,this.bits.length),this.bits=r}},t.prototype.get=function(t){return 0!=(this.bits[Math.floor(t/32)]&1<<(31&t))},t.prototype.set=function(t){this.bits[Math.floor(t/32)]|=1<<(31&t)},t.prototype.flip=function(t){this.bits[Math.floor(t/32)]^=1<<(31&t)},t.prototype.getNextSet=function(t){var e=this.size;if(t>=e)return e;var r=this.bits,n=Math.floor(t/32),s=r[n];s&=~((1<<(31&t))-1);for(var o=r.length;0===s;){if(++n===o)return e;s=r[n]}var a=32*n+i.default.numberOfTrailingZeros(s);return a>e?e:a},t.prototype.getNextUnset=function(t){var e=this.size;if(t>=e)return e;var r=this.bits,n=Math.floor(t/32),s=~r[n];s&=~((1<<(31&t))-1);for(var o=r.length;0===s;){if(++n===o)return e;s=~r[n]}var a=32*n+i.default.numberOfTrailingZeros(s);return a>e?e:a},t.prototype.setBulk=function(t,e){this.bits[Math.floor(t/32)]=e},t.prototype.setRange=function(t,e){if(ethis.size)throw new o.default;if(e!==t){e--;for(var r=Math.floor(t/32),n=Math.floor(e/32),i=this.bits,s=r;s<=n;s++)i[s]|=(2<<(sr?0:31&t))}},t.prototype.clear=function(){for(var t=this.bits.length,e=this.bits,r=0;rthis.size)throw new o.default;if(e===t)return!0;e--;for(var n=Math.floor(t/32),i=Math.floor(e/32),s=this.bits,a=n;a<=i;a++){var c=(2<<(an?0:31&t))&4294967295;if((s[a]&c)!==(r?c:0))return!1}return!0},t.prototype.appendBit=function(t){this.ensureCapacity(this.size+1),t&&(this.bits[Math.floor(this.size/32)]|=1<<(31&this.size)),this.size++},t.prototype.appendBits=function(t,e){if(e<0||e>32)throw new o.default("Num bits must be between 0 and 32");this.ensureCapacity(this.size+e);for(var r=e;r>0;r--)this.appendBit(1==(t>>r-1&1))},t.prototype.appendBitArray=function(t){var e=t.size;this.ensureCapacity(this.size+e);for(var r=0;r>1&1431655765|(1431655765&s)<<1)>>2&858993459|(858993459&s)<<2)>>4&252645135|(252645135&s)<<4)>>8&16711935|(16711935&s)<<8)>>16&65535|(65535&s)<<16}if(this.size!==32*r){var o=32*r-this.size,a=t[0]>>>o;for(i=1;i>>o}t[r-1]=a}this.bits=t},t.makeArray=function(t){return new Int32Array(Math.floor((t+31)/32))},t.prototype.equals=function(e){return e instanceof t&&this.size===e.size&&s.default.equals(this.bits,e.bits)},t.prototype.hashCode=function(){return 31*this.size+s.default.hashCode(this.bits)},t.prototype.toString=function(){for(var t="",e=0,r=this.size;enew n((t=t||{}).path||"ipfs",{autoMigrate:t.autoMigrate})},"6koI":function(t,e,r){"use strict";var n=e;n.version=r("zHOw").version,n.utils=r("X1GW"),n.rand=r("NSJ1"),n.curve=r("xBS6"),n.curves=r("5Ipv"),n.ec=r("cVaD"),n.eddsa=r("rBv/")},"6o8d":function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var s=r("3IJX"),o=r("FrZJ"),a=r("6TpI"),c=r("EGpM"),l=r("9T38"),u=r("61Jx"),h=r("julC"),d=r("u3XB");e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.findStartPattern=function(t){for(var r=t.getSize(),n=t.getNextSet(0),i=0,s=[0,0,0,0,0,0],o=n,a=!1,c=n;c=0&&t.isRange(Math.max(0,o-(c-o)/2),o,!1))return[o,c,d];o+=s[0]+s[1],s.splice(0,2),s[i-1]=0,s[i]=0,i--}else i++;s[i]=1,a=!a}throw new u.default},e.decodeCode=function(t,r,n){l.default.recordPattern(t,n,r);for(var i=e.MAX_AVG_VARIANCE,s=-1,o=0;o=0)return s;throw new u.default},e.prototype.decodeRow=function(t,r,n){var i,l=n&&!0===n.get(o.default.ASSUME_GS1),f=e.findStartPattern(r),p=f[2],g=0,m=new Uint8Array(20);switch(m[g++]=p,p){case e.CODE_START_A:i=e.CODE_CODE_A;break;case e.CODE_START_B:i=e.CODE_CODE_B;break;case e.CODE_START_C:i=e.CODE_CODE_C;break;default:throw new h.default}for(var b=!1,y=!1,v="",w=f[0],_=f[1],S=[0,0,0,0,0,0],E=0,C=0,A=p,k=0,x=!0,I=!1,O=!1;!b;){var T=y;switch(y=!1,E=C,C=e.decodeCode(r,S,_),m[g++]=C,C!==e.CODE_STOP&&(x=!0),C!==e.CODE_STOP&&(A+=++k*C),w=_,_+=S.reduce((function(t,e){return t+e}),0),C){case e.CODE_START_A:case e.CODE_START_B:case e.CODE_START_C:throw new h.default}switch(i){case e.CODE_CODE_A:if(C<64)v+=String.fromCharCode(O===I?" ".charCodeAt(0)+C:" ".charCodeAt(0)+C+128),O=!1;else if(C<96)v+=String.fromCharCode(O===I?C-64:C+64),O=!1;else switch(C!==e.CODE_STOP&&(x=!1),C){case e.CODE_FNC_1:l&&(v+=0===v.length?"]C1":String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_A:!I&&O?(I=!0,O=!1):I&&O?(I=!1,O=!1):O=!0;break;case e.CODE_SHIFT:y=!0,i=e.CODE_CODE_B;break;case e.CODE_CODE_B:i=e.CODE_CODE_B;break;case e.CODE_CODE_C:i=e.CODE_CODE_C;break;case e.CODE_STOP:b=!0}break;case e.CODE_CODE_B:if(C<96)v+=String.fromCharCode(O===I?" ".charCodeAt(0)+C:" ".charCodeAt(0)+C+128),O=!1;else switch(C!==e.CODE_STOP&&(x=!1),C){case e.CODE_FNC_1:l&&(v+=0===v.length?"]C1":String.fromCharCode(29));break;case e.CODE_FNC_2:case e.CODE_FNC_3:break;case e.CODE_FNC_4_B:!I&&O?(I=!0,O=!1):I&&O?(I=!1,O=!1):O=!0;break;case e.CODE_SHIFT:y=!0,i=e.CODE_CODE_A;break;case e.CODE_CODE_A:i=e.CODE_CODE_A;break;case e.CODE_CODE_C:i=e.CODE_CODE_C;break;case e.CODE_STOP:b=!0}break;case e.CODE_CODE_C:if(C<100)C<10&&(v+="0"),v+=C;else switch(C!==e.CODE_STOP&&(x=!1),C){case e.CODE_FNC_1:l&&(v+=0===v.length?"]C1":String.fromCharCode(29));break;case e.CODE_CODE_A:i=e.CODE_CODE_A;break;case e.CODE_CODE_B:i=e.CODE_CODE_B;break;case e.CODE_STOP:b=!0}}T&&(i=i===e.CODE_CODE_A?e.CODE_CODE_B:e.CODE_CODE_A)}var M=_-w;if(_=r.getNextUnset(_),!r.isRange(_,Math.min(r.getSize(),_+(_-w)/2),!1))throw new u.default;if((A-=k*E)%103!==E)throw new d.default;var R=v.length;if(0===R)throw new u.default;R>0&&x&&(v=v.substring(0,i===e.CODE_CODE_C?R-2:R-1));for(var P=(f[1]+f[0])/2,N=w+M/2,B=m.length,L=new Uint8Array(B),D=0;Dthis.maxLength)throw new o(`Value length must be less than ${this.maxLength}.`)}else if(t.length!==this.length)throw new o(`Value length must be exactly ${this.length}.`)}}class b{constructor(t){this.enumeration=t}validate(t){if(u(t,l.String),!this.enumeration.includes(t))throw new o("Value must be one of "+this.enumeration.map(t=>`'${t}'`).join(", "))}}class y{static checkValues(t,e){const r=Array.isArray(t)?t:[t];for(const n of r)for(const r of e.validations)r.validate(r instanceof m&&e.repeated?t:n)}static checkTypes(t,e){if(e.repeated&&!Array.isArray(t))throw new TypeError("Value must be Array");if("number"==typeof e.type){const r=Array.isArray(t)?t:[t];for(const t of r)u(t,e.type)}}static getSchemaByName(t,e="default"){return{...t.names.default,...t.names[e]}}}class v extends y{static serialize(t,e,r,n){const i=this.toJSON(t,e);return JSON.stringify(i,r,n)}static toJSON(t,e={}){let r,i=e.targetSchema;const s=e.schemaName||"default";if(h(t))return t.toJSON();if(Array.isArray(t)){r=[];for(const n of t)r.push(this.toJSON(n,e))}else if("object"==typeof t){if(i&&!d.has(i))throw new n("Cannot get schema for `targetSchema` param");if(i=i||t.constructor,d.has(i)){const e=d.get(i);r={};const n=this.getSchemaByName(e,s);for(const c in n)try{const e=n[c],o=t[c];let l;if(e.optional&&void 0===o||void 0!==e.defaultValue&&o===e.defaultValue)continue;if(!e.optional&&void 0===o)throw new a(i.name,`Property '${c}' is required.`);l="number"==typeof e.type?e.converter?e.repeated?o.map(r=>e.converter.toJSON(r,t)):e.converter.toJSON(o,t):o:e.repeated?o.map(t=>this.toJSON(t,{schemaName:s})):this.toJSON(o,{schemaName:s}),this.checkTypes(l,e),this.checkValues(l,e),r[e.name||c]=l}catch(o){throw o instanceof a?o:new a(e.target.name,`Property '${c}' is wrong. ${o.message}`,o)}}else{r={};for(const e in t)r[e]=this.toJSON(t[e],{schemaName:s})}}else r=t;return r}}class w extends y{static parse(t,e){const r=JSON.parse(t);return this.fromJSON(r,e)}static fromJSON(t,e){const r=e.targetSchema,n=e.schemaName||"default",i=new r;if(h(i))return i.fromJSON(t);const o=d.get(r),a=this.getSchemaByName(o,n),l={};e.strictProperty&&!Array.isArray(t)&&w.checkStrictProperty(t,a,o);for(const c in a)try{const r=a[c],l=r.name||c,u=t[l];if(void 0===u&&(r.optional||void 0!==r.defaultValue))continue;if(!r.optional&&void 0===u)throw new s(o,`Property '${l}' is required.`);if(this.checkTypes(u,r),this.checkValues(u,r),"number"==typeof r.type)i[c]=r.converter?r.repeated?u.map(t=>r.converter.fromJSON(t,i)):r.converter.fromJSON(u,i):u;else{const t={...e,targetSchema:r.type,schemaName:n};i[c]=r.repeated?u.map(e=>this.fromJSON(e,t)):this.fromJSON(u,t)}}catch(f){if(f instanceof s||(f=new s(o,`Property '${c}' is wrong. ${f.message}`,f)),!e.strictAllKeys)throw f;l[c]=f}const u=Object.keys(l);if(u.length)throw new c(o,u,l);return i}static checkStrictProperty(t,e,r){const n=Object.keys(t),i=Object.keys(e),s=[];for(const o of n)-1===i.indexOf(o)&&s.push(o);if(s.length)throw new c(r,s)}}const _=(t={})=>(e,r)=>{const n=`Cannot set type for ${r} property of ${e.constructor.name} schema`;let i;d.has(e.constructor)?(i=d.get(e.constructor),i.target!==e.constructor&&(i=d.create(e.constructor),d.set(e.constructor,i))):(i=d.create(e.constructor),d.set(e.constructor,i));const s=Object.assign({type:l.Any,validations:[]},t);if(s.validations=function(t){const e=[];return t.pattern&&e.push(new f(t.pattern)),t.type!==l.Number&&t.type!==l.Any||(void 0===t.minInclusive&&void 0===t.maxInclusive||e.push(new p(t.minInclusive,t.maxInclusive)),void 0===t.minExclusive&&void 0===t.maxExclusive||e.push(new g(t.minExclusive,t.maxExclusive)),void 0!==t.enumeration&&e.push(new b(t.enumeration))),(t.type===l.String||t.repeated||t.type===l.Any)&&(void 0===t.length&&void 0===t.minLength&&void 0===t.maxLength||e.push(new m(t.length,t.minLength,t.maxLength))),e}(s),"number"!=typeof s.type&&!d.has(s.type)&&!h(s.type))throw new Error(n+". Assigning type doesn't have schema.");let o;o=Array.isArray(t.schema)?t.schema:[t.schema||"default"];for(const t of o)i.names[t]||(i.names[t]={}),i.names[t][r]=s}},"6shn":function(t,e,r){"use strict";const n=r("q6el"),i=r("nLyG"),s=r("NVD2"),o=r("+ho4"),{isBytes:a,isBlob:c,isFileObject:l}=r("r3Dj");async function u(t,e){const r={path:t.path||"",mode:t.mode,mtime:t.mtime};return t.content?r.content=await e(t.content):t.path||(r.content=await e(t)),r}t.exports=async function*(t,e){if(null==t)throw n(new Error("Unexpected input: "+t),"ERR_UNEXPECTED_INPUT");if("string"==typeof t||t instanceof String)yield u(t,e);else if(a(t)||c(t))yield u(t,e);else{if("function"==typeof t.getReader&&(t=i(t)),t[Symbol.iterator]||t[Symbol.asyncIterator]){const r=s(t),{value:n,done:i}=await r.peek();if(i)return void(yield*r);if(r.push(n),Number.isInteger(n)||a(n))return void(yield u(r,e));if(l(n)||c(n)||"string"==typeof n||n instanceof String)return void(yield*o(r,t=>u(t,e)));if(n[Symbol.iterator]||n[Symbol.asyncIterator]||"function"==typeof n.getReader)return void(yield*o(r,t=>u(t,e)))}if(!l(t))throw n(new Error("Unexpected input: "+typeof t),"ERR_UNEXPECTED_INPUT");yield u(t,e)}}},"6wIq":function(t,e,r){"use strict";const n={description:"Empty migration.",migrate:()=>{},revert:()=>{},empty:!0};t.exports=[Object.assign({version:1},n),Object.assign({version:2},n),Object.assign({version:3},n),Object.assign({version:4},n),Object.assign({version:5},n),Object.assign({version:6},n),Object.assign({version:7},n),r("qwy9"),r("M8ZI")]},"6xYT":function(t,e,r){"use strict";t.exports=async function*(t,e){e=parseInt(e),(isNaN(e)||e<1)&&(e=1);let r=[];for await(const n of t)for(r.push(n);r.length>=e;)yield r.slice(0,e),r=r.slice(e);for(;r.length;)yield r.slice(0,e),r=r.slice(e)}},"6xbg":function(t,e,r){"use strict";var n=r("mvpY"),i=r("PFJ1");t.exports=function(t){if(!n(t.then))throw new TypeError("Expected a promise");return function(e){t.then((function(t){i(e,null,t)}),(function(t){i(e,t)}))}}},"6y7n":function(t,e,r){"use strict";const n=r("P4iU"),{CLOSE_TIMEOUT:i}=r("Mi9g"),s=r("cmd8"),o=r("dRfn"),a=r("Hmxq"),c=a("libp2p:websockets:socket");c.error=a("libp2p:websockets:socket:error"),t.exports=(t,e={})=>{const r={async sink(r){e.signal&&(r=n(r,e.signal));try{await t.sink(async function*(){for await(const t of r)yield t instanceof Uint8Array?t:t.slice()}())}catch(i){"aborted"!==i.type&&c.error(i)}},source:e.signal?n(t.source,e.signal):t.source,conn:t,localAddr:e.localAddr||(t.localAddress&&t.localPort?s(t.localAddress,t.localPort):void 0),remoteAddr:e.remoteAddr||s(t.remoteAddress,t.remotePort),timeline:{open:Date.now()},async close(){const e=Date.now();try{await o(t.close(),i)}catch(n){const{host:i,port:s}=r.remoteAddr.toOptions();c("timeout closing stream to %s:%s after %dms, destroying it manually",i,s,Date.now()-e),t.destroy()}finally{r.timeline.close=Date.now()}}};return t.socket.once&&t.socket.once("close",()=>{r.timeline.close||(r.timeline.close=Date.now())}),r}},"6yl1":function(t,e,r){"use strict";const{withTimeoutOption:n}=r("hwsr"),i=r("q6el");t.exports=({libp2p:t})=>({subscribe:n((...e)=>t.pubsub.subscribe(...e)),unsubscribe:n((...e)=>t.pubsub.unsubscribe(...e)),publish:n(async(e,r,n)=>{if(!r)throw i(new Error('argument "data" is required'),"ERR_ARG_REQUIRED");await t.pubsub.publish(e,r)}),ls:n((...e)=>t.pubsub.getTopics(...e)),peers:n((...e)=>t.pubsub.getSubscribers(...e))})},7:function(t,e){},"7+OI":function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r("HDdC");function i(t){return!!t&&(t instanceof n.a||"function"==typeof t.lift&&"function"==typeof t.subscribe)}},"71ZU":function(t){t.exports=JSON.parse('{"identity":0,"ip4":4,"tcp":6,"sha1":17,"sha2-256":18,"sha2-512":19,"sha3-512":20,"sha3-384":21,"sha3-256":22,"sha3-224":23,"shake-128":24,"shake-256":25,"keccak-224":26,"keccak-256":27,"keccak-384":28,"keccak-512":29,"blake3":30,"dccp":33,"murmur3-128":34,"murmur3-32":35,"ip6":41,"ip6zone":42,"path":47,"multicodec":48,"multihash":49,"multiaddr":50,"multibase":51,"dns":53,"dns4":54,"dns6":55,"dnsaddr":56,"protobuf":80,"cbor":81,"raw":85,"dbl-sha2-256":86,"rlp":96,"bencode":99,"dag-pb":112,"dag-cbor":113,"libp2p-key":114,"git-raw":120,"torrent-info":123,"torrent-file":124,"leofcoin-block":129,"leofcoin-tx":130,"leofcoin-pr":131,"sctp":132,"dag-jose":133,"dag-cose":134,"eth-block":144,"eth-block-list":145,"eth-tx-trie":146,"eth-tx":147,"eth-tx-receipt-trie":148,"eth-tx-receipt":149,"eth-state-trie":150,"eth-account-snapshot":151,"eth-storage-trie":152,"bitcoin-block":176,"bitcoin-tx":177,"bitcoin-witness-commitment":178,"zcash-block":192,"zcash-tx":193,"stellar-block":208,"stellar-tx":209,"md4":212,"md5":213,"bmt":214,"decred-block":224,"decred-tx":225,"ipld-ns":226,"ipfs-ns":227,"swarm-ns":228,"ipns-ns":229,"zeronet":230,"secp256k1-pub":231,"bls12_381-g1-pub":234,"bls12_381-g2-pub":235,"x25519-pub":236,"ed25519-pub":237,"dash-block":240,"dash-tx":241,"swarm-manifest":250,"swarm-feed":251,"udp":273,"p2p-webrtc-star":275,"p2p-webrtc-direct":276,"p2p-stardust":277,"p2p-circuit":290,"dag-json":297,"udt":301,"utp":302,"unix":400,"p2p":421,"ipfs":421,"https":443,"onion":444,"onion3":445,"garlic64":446,"garlic32":447,"tls":448,"quic":460,"ws":477,"wss":478,"p2p-websocket-star":479,"http":480,"json":512,"messagepack":513,"libp2p-peer-record":769,"sha2-256-trunc254-padded":4114,"ripemd-128":4178,"ripemd-160":4179,"ripemd-256":4180,"ripemd-320":4181,"x11":4352,"sm3-256":21325,"blake2b-8":45569,"blake2b-16":45570,"blake2b-24":45571,"blake2b-32":45572,"blake2b-40":45573,"blake2b-48":45574,"blake2b-56":45575,"blake2b-64":45576,"blake2b-72":45577,"blake2b-80":45578,"blake2b-88":45579,"blake2b-96":45580,"blake2b-104":45581,"blake2b-112":45582,"blake2b-120":45583,"blake2b-128":45584,"blake2b-136":45585,"blake2b-144":45586,"blake2b-152":45587,"blake2b-160":45588,"blake2b-168":45589,"blake2b-176":45590,"blake2b-184":45591,"blake2b-192":45592,"blake2b-200":45593,"blake2b-208":45594,"blake2b-216":45595,"blake2b-224":45596,"blake2b-232":45597,"blake2b-240":45598,"blake2b-248":45599,"blake2b-256":45600,"blake2b-264":45601,"blake2b-272":45602,"blake2b-280":45603,"blake2b-288":45604,"blake2b-296":45605,"blake2b-304":45606,"blake2b-312":45607,"blake2b-320":45608,"blake2b-328":45609,"blake2b-336":45610,"blake2b-344":45611,"blake2b-352":45612,"blake2b-360":45613,"blake2b-368":45614,"blake2b-376":45615,"blake2b-384":45616,"blake2b-392":45617,"blake2b-400":45618,"blake2b-408":45619,"blake2b-416":45620,"blake2b-424":45621,"blake2b-432":45622,"blake2b-440":45623,"blake2b-448":45624,"blake2b-456":45625,"blake2b-464":45626,"blake2b-472":45627,"blake2b-480":45628,"blake2b-488":45629,"blake2b-496":45630,"blake2b-504":45631,"blake2b-512":45632,"blake2s-8":45633,"blake2s-16":45634,"blake2s-24":45635,"blake2s-32":45636,"blake2s-40":45637,"blake2s-48":45638,"blake2s-56":45639,"blake2s-64":45640,"blake2s-72":45641,"blake2s-80":45642,"blake2s-88":45643,"blake2s-96":45644,"blake2s-104":45645,"blake2s-112":45646,"blake2s-120":45647,"blake2s-128":45648,"blake2s-136":45649,"blake2s-144":45650,"blake2s-152":45651,"blake2s-160":45652,"blake2s-168":45653,"blake2s-176":45654,"blake2s-184":45655,"blake2s-192":45656,"blake2s-200":45657,"blake2s-208":45658,"blake2s-216":45659,"blake2s-224":45660,"blake2s-232":45661,"blake2s-240":45662,"blake2s-248":45663,"blake2s-256":45664,"skein256-8":45825,"skein256-16":45826,"skein256-24":45827,"skein256-32":45828,"skein256-40":45829,"skein256-48":45830,"skein256-56":45831,"skein256-64":45832,"skein256-72":45833,"skein256-80":45834,"skein256-88":45835,"skein256-96":45836,"skein256-104":45837,"skein256-112":45838,"skein256-120":45839,"skein256-128":45840,"skein256-136":45841,"skein256-144":45842,"skein256-152":45843,"skein256-160":45844,"skein256-168":45845,"skein256-176":45846,"skein256-184":45847,"skein256-192":45848,"skein256-200":45849,"skein256-208":45850,"skein256-216":45851,"skein256-224":45852,"skein256-232":45853,"skein256-240":45854,"skein256-248":45855,"skein256-256":45856,"skein512-8":45857,"skein512-16":45858,"skein512-24":45859,"skein512-32":45860,"skein512-40":45861,"skein512-48":45862,"skein512-56":45863,"skein512-64":45864,"skein512-72":45865,"skein512-80":45866,"skein512-88":45867,"skein512-96":45868,"skein512-104":45869,"skein512-112":45870,"skein512-120":45871,"skein512-128":45872,"skein512-136":45873,"skein512-144":45874,"skein512-152":45875,"skein512-160":45876,"skein512-168":45877,"skein512-176":45878,"skein512-184":45879,"skein512-192":45880,"skein512-200":45881,"skein512-208":45882,"skein512-216":45883,"skein512-224":45884,"skein512-232":45885,"skein512-240":45886,"skein512-248":45887,"skein512-256":45888,"skein512-264":45889,"skein512-272":45890,"skein512-280":45891,"skein512-288":45892,"skein512-296":45893,"skein512-304":45894,"skein512-312":45895,"skein512-320":45896,"skein512-328":45897,"skein512-336":45898,"skein512-344":45899,"skein512-352":45900,"skein512-360":45901,"skein512-368":45902,"skein512-376":45903,"skein512-384":45904,"skein512-392":45905,"skein512-400":45906,"skein512-408":45907,"skein512-416":45908,"skein512-424":45909,"skein512-432":45910,"skein512-440":45911,"skein512-448":45912,"skein512-456":45913,"skein512-464":45914,"skein512-472":45915,"skein512-480":45916,"skein512-488":45917,"skein512-496":45918,"skein512-504":45919,"skein512-512":45920,"skein1024-8":45921,"skein1024-16":45922,"skein1024-24":45923,"skein1024-32":45924,"skein1024-40":45925,"skein1024-48":45926,"skein1024-56":45927,"skein1024-64":45928,"skein1024-72":45929,"skein1024-80":45930,"skein1024-88":45931,"skein1024-96":45932,"skein1024-104":45933,"skein1024-112":45934,"skein1024-120":45935,"skein1024-128":45936,"skein1024-136":45937,"skein1024-144":45938,"skein1024-152":45939,"skein1024-160":45940,"skein1024-168":45941,"skein1024-176":45942,"skein1024-184":45943,"skein1024-192":45944,"skein1024-200":45945,"skein1024-208":45946,"skein1024-216":45947,"skein1024-224":45948,"skein1024-232":45949,"skein1024-240":45950,"skein1024-248":45951,"skein1024-256":45952,"skein1024-264":45953,"skein1024-272":45954,"skein1024-280":45955,"skein1024-288":45956,"skein1024-296":45957,"skein1024-304":45958,"skein1024-312":45959,"skein1024-320":45960,"skein1024-328":45961,"skein1024-336":45962,"skein1024-344":45963,"skein1024-352":45964,"skein1024-360":45965,"skein1024-368":45966,"skein1024-376":45967,"skein1024-384":45968,"skein1024-392":45969,"skein1024-400":45970,"skein1024-408":45971,"skein1024-416":45972,"skein1024-424":45973,"skein1024-432":45974,"skein1024-440":45975,"skein1024-448":45976,"skein1024-456":45977,"skein1024-464":45978,"skein1024-472":45979,"skein1024-480":45980,"skein1024-488":45981,"skein1024-496":45982,"skein1024-504":45983,"skein1024-512":45984,"skein1024-520":45985,"skein1024-528":45986,"skein1024-536":45987,"skein1024-544":45988,"skein1024-552":45989,"skein1024-560":45990,"skein1024-568":45991,"skein1024-576":45992,"skein1024-584":45993,"skein1024-592":45994,"skein1024-600":45995,"skein1024-608":45996,"skein1024-616":45997,"skein1024-624":45998,"skein1024-632":45999,"skein1024-640":46000,"skein1024-648":46001,"skein1024-656":46002,"skein1024-664":46003,"skein1024-672":46004,"skein1024-680":46005,"skein1024-688":46006,"skein1024-696":46007,"skein1024-704":46008,"skein1024-712":46009,"skein1024-720":46010,"skein1024-728":46011,"skein1024-736":46012,"skein1024-744":46013,"skein1024-752":46014,"skein1024-760":46015,"skein1024-768":46016,"skein1024-776":46017,"skein1024-784":46018,"skein1024-792":46019,"skein1024-800":46020,"skein1024-808":46021,"skein1024-816":46022,"skein1024-824":46023,"skein1024-832":46024,"skein1024-840":46025,"skein1024-848":46026,"skein1024-856":46027,"skein1024-864":46028,"skein1024-872":46029,"skein1024-880":46030,"skein1024-888":46031,"skein1024-896":46032,"skein1024-904":46033,"skein1024-912":46034,"skein1024-920":46035,"skein1024-928":46036,"skein1024-936":46037,"skein1024-944":46038,"skein1024-952":46039,"skein1024-960":46040,"skein1024-968":46041,"skein1024-976":46042,"skein1024-984":46043,"skein1024-992":46044,"skein1024-1000":46045,"skein1024-1008":46046,"skein1024-1016":46047,"skein1024-1024":46048,"poseidon-bls12_381-a2-fc1":46081,"poseidon-bls12_381-a2-fc1-sc":46082,"zeroxcert-imprint-256":52753,"fil-commitment-unsealed":61697,"fil-commitment-sealed":61698,"holochain-adr-v0":8417572,"holochain-adr-v1":8483108,"holochain-key-v0":9728292,"holochain-key-v1":9793828,"holochain-sig-v0":10645796,"holochain-sig-v1":10711332}')},"72hS":function(t,e,r){"use strict";const n=r("dcbq"),i=r("5ugK"),{cidToString:s}=r("776K"),{withTimeoutOption:o}=r("hwsr");t.exports=({ipld:t,name:e})=>o((async function(r,o){if(o=o||{},!n.path(r))throw new Error("invalid argument "+r);if(n.ipnsPath(r)){if(!e)throw new Error("failed to resolve IPNS path: name API unavailable");for await(const t of e.resolve(r,o))r=t}const[,,a,...c]=r.split("/"),l=new i(a);if(0===c.length)return"/ipfs/"+s(l,{base:o.cidBase});r=c.join("/");const u=t.resolve(l,r);let h=l,d=r;for await(const t of u)i.isCID(t.value)&&(h=t.value,d=t.remainderPath);return`/ipfs/${s(h,{base:o.cidBase})}${d?"/"+d:""}`}))},"776K":function(t,e,r){"use strict";const n=r("5ugK");e.cidToString=(t,e)=>{if((e=e||{}).upgrade=!1!==e.upgrade,n.isCID(t)||(t=new n(t)),0===t.version&&e.base&&"base58btc"!==e.base){if(!e.upgrade)return t.toString();t=t.toV1()}return t.toBaseEncodedString(e.base)}},"77H5":function(t,e,r){"use strict";t.exports=r("cCNb")},"78EY":function(t,e,r){"use strict";e.encode=r("3T6S"),e.decode=r("C7Bb"),e.varintEncode=r("foos"),e.varintDecode=r("1yKq"),e.int32BEEncode=r("FE5V"),e.int32BEDecode=r("Cp96")},"7APi":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){function t(){}return t.numberOfTrailingZeros=function(t){var e;if(0===t)return 32;var r=31;return 0!=(e=t<<16)&&(r-=16,t=e),0!=(e=t<<8)&&(r-=8,t=e),0!=(e=t<<4)&&(r-=4,t=e),0!=(e=t<<2)&&(r-=2,t=e),r-(t<<1>>>31)},t.numberOfLeadingZeros=function(t){if(0===t)return 32;var e=1;return t>>>16==0&&(e+=16,t<<=16),t>>>24==0&&(e+=8,t<<=8),t>>>28==0&&(e+=4,t<<=4),t>>>30==0&&(e+=2,t<<=2),e-(t>>>31)},t.toHexString=function(t){return t.toString(16)},t.bitCount=function(t){return t=(t=(858993459&(t-=t>>>1&1431655765))+(t>>>2&858993459))+(t>>>4)&252645135,63&(t+=t>>>8)+(t>>>16)},t.MIN_VALUE_32_BITS=-2147483648,t}()},"7DEZ":function(t,e,r){"use strict";const n=r("Hmxq"),{cidToString:i}=r("776K"),s=n("ipfs:mfs-preload");s.error=n("ipfs:mfs-preload:error"),t.exports=({preload:t,files:e,options:r})=>{if((r=r||{}).interval=r.interval||3e4,!r.enabled){s("MFS preload disabled");const t=async()=>{};return{start:t,stop:t}}let n,o;const a=async()=>{try{const c=await e.stat("/"),l=i(c.cid,{base:"base32"});n!==l&&(s(`preloading updated MFS root ${n} -> ${c.cid}`),await t(c.cid),n=l)}catch(c){s.error("failed to preload MFS root",c)}finally{o=setTimeout(a,r.interval)}};return{async start(){const t=await e.stat("/");n=i(t.cid,{base:"base32"}),s("monitoring MFS root "+t.cid),o=setTimeout(a,r.interval)},stop(){clearTimeout(o)}}}},"7Hc7":function(t,e,r){"use strict";r.d(e,"a",(function(){return d}));let n=1;const i=(()=>Promise.resolve())(),s={};function o(t){return t in s&&(delete s[t],!0)}const a={setImmediate(t){const e=n++;return s[e]=!0,i.then(()=>o(e)&&t()),e},clearImmediate(t){o(t)}};var c=r("3N8a");class l extends c.a{constructor(t,e){super(t,e),this.scheduler=t,this.work=e}requestAsyncId(t,e,r=0){return null!==r&&r>0?super.requestAsyncId(t,e,r):(t.actions.push(this),t.scheduled||(t.scheduled=a.setImmediate(t.flush.bind(t,null))))}recycleAsyncId(t,e,r=0){if(null!==r&&r>0||null===r&&this.delay>0)return super.recycleAsyncId(t,e,r);0===t.actions.length&&(a.clearImmediate(e),t.scheduled=void 0)}}var u=r("IjjT");class h extends u.a{flush(t){this.active=!0,this.scheduled=void 0;const{actions:e}=this;let r,n=-1,i=e.length;t=t||e.shift();do{if(r=t.execute(t.state,t.delay))break}while(++n0;)e+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return e}function G(t){return"".concat(t).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function W(t){return Object.keys(t||{}).reduce((function(e,r){return e+"".concat(r,": ").concat(t[r],";")}),"")}function Y(t){return t.size!==q.size||t.x!==q.x||t.y!==q.y||t.rotate!==q.rotate||t.flipX||t.flipY}function X(t){var e=t.transform,r=t.iconWidth,n={transform:"translate(".concat(t.containerWidth/2," 256)")},i="translate(".concat(32*e.x,", ").concat(32*e.y,") "),s="scale(".concat(e.size/16*(e.flipX?-1:1),", ").concat(e.size/16*(e.flipY?-1:1),") "),o="rotate(".concat(e.rotate," 0 0)");return{outer:n,inner:{transform:"".concat(i," ").concat(s," ").concat(o)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}var $={x:0,y:0,width:"100%",height:"100%"};function J(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t.attributes&&(t.attributes.fill||e)&&(t.attributes.fill="black"),t}function Z(t){var e=t.icons,r=e.main,n=e.mask,i=t.prefix,s=t.iconName,a=t.transform,c=t.symbol,l=t.title,u=t.maskId,h=t.titleId,d=t.extra,f=t.watchable,p=void 0!==f&&f,g=n.found?n:r,m=g.width,b=g.height,y="fak"===i,v=y?"":"fa-w-".concat(Math.ceil(m/b*16)),w=[S.replacementClass,s?"".concat(S.familyPrefix,"-").concat(s):"",v].filter((function(t){return-1===d.classes.indexOf(t)})).filter((function(t){return""!==t||!!t})).concat(d.classes).join(" "),_={children:[],attributes:o({},d.attributes,{"data-prefix":i,"data-icon":s,class:w,role:d.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(m," ").concat(b)})},E=y&&!~d.classes.indexOf("fa-fw")?{width:"".concat(m/b*16*.0625,"em")}:{};p&&(_.attributes["data-fa-i2svg"]=""),l&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(h||K())},children:[l]});var C=o({},_,{prefix:i,iconName:s,main:r,mask:n,maskId:u,transform:a,symbol:c,styles:o({},E,d.styles)}),A=n.found&&r.found?function(t){var e,r=t.children,n=t.attributes,i=t.main,s=t.mask,a=t.maskId,c=i.icon,l=s.icon,u=X({transform:t.transform,containerWidth:s.width,iconWidth:i.width}),h={tag:"rect",attributes:o({},$,{fill:"white"})},d=c.children?{children:c.children.map(J)}:{},f={tag:"g",attributes:o({},u.inner),children:[J(o({tag:c.tag,attributes:o({},c.attributes,u.path)},d))]},p={tag:"g",attributes:o({},u.outer),children:[f]},g="mask-".concat(a||K()),m="clip-".concat(a||K()),b={tag:"mask",attributes:o({},$,{id:g,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,p]},y={tag:"defs",children:[{tag:"clipPath",attributes:{id:m},children:(e=l,"g"===e.tag?e.children:[e])},b]};return r.push(y,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(m,")"),mask:"url(#".concat(g,")")},$)}),{children:r,attributes:n}}(C):function(t){var e=t.children,r=t.attributes,n=t.main,i=t.transform,s=W(t.styles);if(s.length>0&&(r.style=s),Y(i)){var a=X({transform:i,containerWidth:n.width,iconWidth:n.width});e.push({tag:"g",attributes:o({},a.outer),children:[{tag:"g",attributes:o({},a.inner),children:[{tag:n.icon.tag,children:n.icon.children,attributes:o({},n.icon.attributes,a.path)}]}]})}else e.push(n.icon);return{children:e,attributes:r}}(C),k=A.attributes;return C.children=A.children,C.attributes=k,c?function(t){var e=t.iconName,r=t.children,n=t.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o({},t.attributes,{id:!0===n?"".concat(t.prefix,"-").concat(S.familyPrefix,"-").concat(e):n}),children:r}]}]}(C):function(t){var e=t.children,r=t.main,n=t.mask,i=t.attributes,s=t.styles,a=t.transform;if(Y(a)&&r.found&&!n.found){var c={x:r.width/r.height/2,y:.5};i.style=W(o({},s,{"transform-origin":"".concat(c.x+a.x/16,"em ").concat(c.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:e}]}(C)}function Q(t){var e=t.content,r=t.width,n=t.height,i=t.transform,s=t.title,a=t.extra,c=t.watchable,l=void 0!==c&&c,u=o({},a.attributes,s?{title:s}:{},{class:a.classes.join(" ")});l&&(u["data-fa-i2svg"]="");var h=o({},a.styles);Y(i)&&(h.transform=function(t){var e=t.transform,r=t.width,n=t.height,i=void 0===n?16:n,s=t.startCentered,o=void 0!==s&&s,a="";return a+=o&&m?"translate(".concat(e.x/H-(void 0===r?16:r)/2,"em, ").concat(e.y/H-i/2,"em) "):o?"translate(calc(-50% + ".concat(e.x/H,"em), calc(-50% + ").concat(e.y/H,"em)) "):"translate(".concat(e.x/H,"em, ").concat(e.y/H,"em) "),(a+="scale(".concat(e.size/H*(e.flipX?-1:1),", ").concat(e.size/H*(e.flipY?-1:1),") "))+"rotate(".concat(e.rotate,"deg) ")}({transform:i,startCentered:!0,width:r,height:n}),h["-webkit-transform"]=h.transform);var d=W(h);d.length>0&&(u.style=d);var f=[];return f.push({tag:"span",attributes:u,children:[e]}),s&&f.push({tag:"span",attributes:{class:"sr-only"},children:[s]}),f}function tt(t){var e=t.content,r=t.title,n=t.extra,i=o({},n.attributes,r?{title:r}:{},{class:n.classes.join(" ")}),s=W(n.styles);s.length>0&&(i.style=s);var a=[];return a.push({tag:"span",attributes:i,children:[e]}),r&&a.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),a}var et=function(t,e,r,n){var i,s,o,a=Object.keys(t),c=a.length,l=void 0!==n?function(t,e){return function(r,n,i,s){return t.call(e,r,n,i,s)}}(e,n):e;for(void 0===r?(i=1,o=t[a[0]]):(i=0,o=r);i2&&void 0!==arguments[2]?arguments[2]:{},n=r.skipHooks,i=void 0!==n&&n,s=Object.keys(e).reduce((function(t,r){var n=e[r];return n.icon?t[n.iconName]=n.icon:t[r]=n,t}),{});"function"!=typeof C.hooks.addPack||i?C.styles[t]=o({},C.styles[t]||{},s):C.hooks.addPack(t,s),"fas"===t&&rt("fa",e)}var nt=C.styles,it=C.shims,st=function(){var t=function(t){return et(nt,(function(e,r,n){return e[n]=et(r,t,{}),e}),{})};t((function(t,e,r){return e[3]&&(t[e[3]]=r),t})),t((function(t,e,r){var n=e[2];return t[r]=r,n.forEach((function(e){t[e]=r})),t}));var e="far"in nt;et(it,(function(t,r){var n=r[1];return"far"!==n||e||(n="fas"),t[r[0]]={prefix:n,iconName:r[2]},t}),{})};function ot(t,e,r){if(t&&t[e]&&t[e][r])return{prefix:e,iconName:r,icon:t[e][r]}}function at(t){var e=t.tag,r=t.attributes,n=void 0===r?{}:r,i=t.children,s=void 0===i?[]:i;return"string"==typeof t?G(t):"<".concat(e," ").concat(function(t){return Object.keys(t||{}).reduce((function(e,r){return e+"".concat(r,'="').concat(G(t[r]),'" ')}),"").trim()}(n),">").concat(s.map(at).join(""),"")}function ct(t){this.name="MissingIcon",this.message=t||"Icon unavailable",this.stack=(new Error).stack}st(),(ct.prototype=Object.create(Error.prototype)).constructor=ct;var lt={fill:"currentColor"},ut={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ht=(o({},lt,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),o({},ut,{attributeName:"opacity"}));function dt(t){var e=t[0],r=t[1],n=a(t.slice(4),1)[0];return{found:!0,width:e,height:r,icon:Array.isArray(n)?{tag:"g",attributes:{class:"".concat(S.familyPrefix,"-").concat(v.GROUP)},children:[{tag:"path",attributes:{class:"".concat(S.familyPrefix,"-").concat(v.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(S.familyPrefix,"-").concat(v.PRIMARY),fill:"currentColor",d:n[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:n}}}}function ft(){S.autoAddCss&&!yt&&(function(t){if(t&&g){var e=p.createElement("style");e.setAttribute("type","text/css"),e.innerHTML=t;for(var r=p.head.childNodes,n=null,i=r.length-1;i>-1;i--){var s=r[i],o=(s.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(n=s)}p.head.insertBefore(e,n)}}(function(){var t="svg-inline--fa",e=S.familyPrefix,r=S.replacementClass,n='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==e||r!==t){var i=new RegExp("\\.".concat("fa","\\-"),"g"),s=new RegExp("\\--".concat("fa","\\-"),"g"),o=new RegExp("\\.".concat(t),"g");n=n.replace(i,".".concat(e,"-")).replace(s,"--".concat(e,"-")).replace(o,".".concat(r))}return n}()),yt=!0)}function pt(t,e){return Object.defineProperty(t,"abstract",{get:e}),Object.defineProperty(t,"html",{get:function(){return t.abstract.map((function(t){return at(t)}))}}),Object.defineProperty(t,"node",{get:function(){if(g){var e=p.createElement("div");return e.innerHTML=t.html,e.children}}}),t}function gt(t){var e=t.prefix,r=void 0===e?"fa":e,n=t.iconName;if(n)return ot(bt.definitions,r,n)||ot(C.styles,r,n)}o({},lt,{cx:"256",cy:"364",r:"28"}),o({},ut,{attributeName:"r",values:"28;14;28;28;14;28;"}),o({},ht,{values:"1;0;1;1;0;1;"}),o({},lt,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),o({},ht,{values:"1;0;0;0;0;1;"}),o({},lt,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),o({},ht,{values:"0;0;1;1;0;0;"});var mt,bt=new(function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.definitions={}}var e;return(e=[{key:"add",value:function(){for(var t=this,e=arguments.length,r=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=e.transform,n=void 0===r?q:r,i=e.symbol,s=void 0!==i&&i,a=e.mask,c=void 0===a?null:a,l=e.maskId,u=void 0===l?null:l,h=e.title,d=void 0===h?null:h,f=e.titleId,p=void 0===f?null:f,g=e.classes,m=void 0===g?[]:g,b=e.attributes,y=void 0===b?{}:b,v=e.styles,w=void 0===v?{}:v;if(t){var _=t.prefix,E=t.iconName,C=t.icon;return pt(o({type:"icon"},t),(function(){return ft(),S.autoA11y&&(d?y["aria-labelledby"]="".concat(S.replacementClass,"-title-").concat(p||K()):(y["aria-hidden"]="true",y.focusable="false")),Z({icons:{main:dt(C),mask:c?dt(c.icon):{found:!1,width:null,height:null,icon:{}}},prefix:_,iconName:E,transform:o({},q,n),symbol:s,title:d,maskId:u,titleId:p,extra:{attributes:y,styles:w,classes:m}})}))}},function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:gt(t||{}),n=e.mask;return n&&(n=(n||{}).icon?n:gt(n||{})),mt(r,o({},e,{mask:n}))}),_t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.transform,n=void 0===r?q:r,i=e.title,s=void 0===i?null:i,a=e.classes,l=void 0===a?[]:a,u=e.attributes,h=void 0===u?{}:u,d=e.styles,f=void 0===d?{}:d;return pt({type:"text",content:t},(function(){return ft(),Q({content:t,transform:o({},q,n),title:s,extra:{attributes:h,styles:f,classes:["".concat(S.familyPrefix,"-layers-text")].concat(c(l))}})}))},St=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.title,n=void 0===r?null:r,i=e.classes,s=void 0===i?[]:i,o=e.attributes,a=void 0===o?{}:o,l=e.styles,u=void 0===l?{}:l;return pt({type:"counter",content:t},(function(){return ft(),tt({content:t.toString(),title:n,extra:{attributes:a,styles:u,classes:["".concat(S.familyPrefix,"-layers-counter")].concat(c(s))}})}))}}).call(this,r("yLpj"),r("URgk").setImmediate)},"7QOg":function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var s=r("3IJX"),o=r("FrZJ"),a=r("6TpI"),c=r("EGpM"),l=r("9T38"),u=r("8xTT"),h=r("lBwr"),d=r("julC"),f=r("61Jx");e.default=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.narrowLineWidth=-1,e}return i(e,t),e.prototype.decodeRow=function(t,r,n){var i=this.decodeStart(r),l=this.decodeEnd(r),h=new u.default;e.decodeMiddle(r,i[1],l[0],h);var f=h.toString(),p=null;null!=n&&(p=n.get(o.default.ALLOWED_LENGTHS)),null==p&&(p=e.DEFAULT_ALLOWED_LENGTHS);for(var g=f.length,m=!1,b=0,y=0,v=p;yb&&(b=w)}if(!m&&g>b&&(m=!0),!m)throw new d.default;var _=[new c.default(i[1],t),new c.default(l[0],t)];return new a.default(f,null,0,_,s.default.ITF,(new Date).getTime())},e.decodeMiddle=function(t,r,n,i){var s=new Array(10),o=new Array(5),a=new Array(5);for(s.fill(0),o.fill(0),a.fill(0);r0&&n>=0&&!t.get(n);n--)r--;if(0!==r)throw new f.default},e.skipWhiteSpace=function(t){var e=t.getSize(),r=t.getNextSet(0);if(r===e)throw new f.default;return r},e.prototype.decodeEnd=function(t){t.reverse();try{var r=e.skipWhiteSpace(t),n=void 0;try{n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[0])}catch(s){n=e.findGuardPattern(t,r,e.END_PATTERN_REVERSED[1])}this.validateQuietZone(t,n[0]);var i=n[0];return n[0]=t.getSize()-n[1],n[1]=t.getSize()-i,n}finally{t.reverse()}},e.findGuardPattern=function(t,r,n){var i=n.length,s=new Array(i),o=t.getSize(),a=!1,c=0,u=r;s.fill(0);for(var d=r;d=0)return n%10;throw new f.default},e.W=3,e.w=2,e.N=1,e.PATTERNS=[[1,1,2,2,1],[2,1,1,1,2],[1,2,1,1,2],[2,2,1,1,1],[1,1,2,1,2],[2,1,2,1,1],[1,2,2,1,1],[1,1,1,2,2],[2,1,1,2,1],[1,2,1,2,1],[1,1,3,3,1],[3,1,1,1,3],[1,3,1,1,3],[3,3,1,1,1],[1,1,3,1,3],[3,1,3,1,1],[1,3,3,1,1],[1,1,1,3,3],[3,1,1,3,1],[1,3,1,3,1]],e.MAX_AVG_VARIANCE=.38,e.MAX_INDIVIDUAL_VARIANCE=.5,e.DEFAULT_ALLOWED_LENGTHS=[6,8,10,12,14],e.START_PATTERN=[1,1,1,1],e.END_PATTERN_REVERSED=[[1,1,2],[1,1,3]],e}(l.default)},"7QmW":function(t,e,r){"use strict";var n,i=this&&this.__extends||(n=function(t,e){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r])})(t,e)},function(t,e){function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(e,"__esModule",{value:!0});var s=r("D2wZ"),o=r("6+ya"),a=r("bRmc"),c=r("61Jx");e.default=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.sampleGrid=function(t,e,r,n,i,s,o,c,l,u,h,d,f,p,g,m,b,y,v){var w=a.default.quadrilateralToQuadrilateral(n,i,s,o,c,l,u,h,d,f,p,g,m,b,y,v);return this.sampleGridWithTransform(t,e,r,w)},e.prototype.sampleGridWithTransform=function(t,e,r,n){if(e<=0||r<=0)throw new c.default;for(var i=new o.default(e,r),a=new Float32Array(2*e),l=0;l{const e={[n.GET_VALUE]:r("OEgH")(t),[n.PUT_VALUE]:r("RaCk")(t),[n.FIND_NODE]:r("9Tjq")(t),[n.ADD_PROVIDER]:r("9GfZ")(t),[n.GET_PROVIDERS]:r("x816")(t),[n.PING]:r("+8UZ")(t)};return function(t){return e[t]}}},"7U9P":function(t,e,r){"use strict";const n=r("dcbq"),i=r("5ugK"),{DAGNode:s}=r("UBln"),{normalizeCidPath:o}=r("hwsr"),{Errors:a}=r("BoQq"),c=a.notFoundError().code,{withTimeoutOption:l}=r("hwsr"),u={default:"",edges:" -> "};async function*h(t,e,r,n){const o=(await t(r)).split("/")[2];for await(const a of async function*(t,e,r,n){const o=new Set;yield*async function*e(a,l){const u=l+1;if(!(u>r))try{for(const r of await async function(t,e){const r=await t.get(new i(e));return s.isDAGNode(r)?r.Links.map(({Name:t,Hash:e})=>({name:t,cid:new i(e)})):function t(e,r=""){let n=[];for(const[s,o]of Object.entries(e))i.isCID(o)?n.push({name:r+s,cid:o}):"object"==typeof o&&(n=n.concat(t(o,r+s+"/")));return n}(r)}(t,a.cid))yield{parent:a,node:r,isDuplicate:n&&o.has(r.cid.toString())},n&&o.add(r.cid.toString()),yield*e(r,u)}catch(h){throw h.code===c&&(h.message="Could not find object with CID: "+a.cid),h}}({cid:e},0)}(e,o,n.maxDepth,n.unique))a.parent&&(a.isDuplicate||(yield{ref:d(a.parent.cid,a.node.cid,a.node.name,n.format)}))}function d(t,e,r,n){let i=n.replace(//g,t.toString());return i=i.replace(//g,e.toString()),i=i.replace(//g,r),i}t.exports=function({ipld:t,resolve:e,preload:r}){return l((async function*(i,s){if(0===(s=s||{}).maxDepth)return;if(s.edges&&s.format&&s.format!==u.default)throw new Error("Cannot set edges to true and also specify format");s.format=s.edges?u.edges:s.format||u.default,"number"!=typeof s.maxDepth&&(s.maxDepth=s.recursive?1/0:1);const a=(Array.isArray(i)?i:[i]).map(t=>function(t,e,r){const i=o(e),s=i.split("/")[0];if(!n.cid(s))throw new Error(`Error resolving path '${i}': '${s}' is not a valid CID`);return!1!==r.preload&&t(s),"/ipfs/"+i}(r,t,s));for(const r of a)yield*h(e,t,r,s)}))},t.exports.Format=u},"7Uc8":function(t,e,r){"use strict";t.exports=class{constructor(){this.list=[]}push(t){return!this.has(t.id)&&(this.list.push(t),!0)}has(t){const e=this.list.find(e=>e.id.isEqual(t));return Boolean(e)}toArray(){return this.list.slice()}pop(){return this.list.pop()}get length(){return this.list.length}}},"7Wdl":function(t,e,r){"use strict";var n=r("8Ojo").BigInteger,i=r("tVNV").sprintf,s=r("oISw"),o=r("kFuK"),a=r("s6sk"),c=r("NWXB"),l=r("9srx"),u=r("cS6W"),h=r("w8rF"),d=r("yN5A");function f(t){return(t=t.replace(/^(0{1,})([1-9]+)$/,'$1$2')).replace(/^(0{1,})(0)$/,'$1$2')}function p(t,e){this.groups=void 0===e?h.GROUPS:e,this.v4=!1,this.subnet="/128",this.subnetMask=128,this.zone="",this.address=t;var r=h.RE_SUBNET_STRING.exec(t);if(r){if(this.parsedSubnet=r[0].replace("/",""),this.subnetMask=parseInt(this.parsedSubnet,10),this.subnet="/"+this.subnetMask,isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>h.BITS)return this.valid=!1,void(this.error="Invalid subnet mask.");t=t.replace(h.RE_SUBNET_STRING,"")}else if(/\//.test(t))return this.valid=!1,void(this.error="Invalid subnet mask.");var n=h.RE_ZONE_STRING.exec(t);n&&(this.zone=n[0],t=t.replace(h.RE_ZONE_STRING,"")),this.addressMinusSuffix=t,this.parsedAddress=this.parse(this.addressMinusSuffix)}function g(t){return i("%04x",parseInt(t,16))}function m(t){return 255&t}s(p.prototype,r("baW+")),s(p.prototype,r("hZNE")),s(p.prototype,r("8c48")),p.fromBigInteger=function(t){var e,r=o(t.toString(16),32,"0"),n=[];for(e=0;e65536)&&(r=null):r=null,{address:new p(e),port:r}},p.fromAddress4=function(t){t=new d(t);var e=h.BITS-(u.BITS-t.subnetMask);return new p("::ffff:"+t.correctForm()+"/"+e)},p.fromArpa=function(t){var e=t.replace(/(\.ip6\.arpa)?\.$/,"");if(63!==e.length)return{error:"Not Valid 'ip6.arpa' form",address:null};e=e.split(".").reverse();for(var r=7;r>0;r--)e.splice(4*r,0,":");return new p(e=e.join(""))},p.prototype.microsoftTranscription=function(){return i("%s.ipv6-literal.net",this.correctForm().replace(/:/g,"-"))},p.prototype.mask=function(t){return void 0===t&&(t=this.subnetMask),this.getBitsBase2(0,t)},p.prototype.possibleSubnets=function(t){void 0===t&&(t=128);var e=h.BITS-this.subnetMask-Math.abs(t-h.BITS);return e<0?"0":function(t){for(var e=/(\d+)(\d{3})/;e.test(t);)t=t.replace(e,"$1,$2");return t}(new n("2",10).pow(e).toString(10))},p.prototype._startAddress=function(){return new n(this.mask()+a("0",h.BITS-this.subnetMask),2)},p.prototype.startAddress=function(){return p.fromBigInteger(this._startAddress())},p.prototype.startAddressExclusive=function(){var t=new n("1");return p.fromBigInteger(this._startAddress().add(t))},p.prototype._endAddress=function(){return new n(this.mask()+a("1",h.BITS-this.subnetMask),2)},p.prototype.endAddress=function(){return p.fromBigInteger(this._endAddress())},p.prototype.endAddressExclusive=function(){var t=new n("1");return p.fromBigInteger(this._endAddress().subtract(t))},p.prototype.getScope=function(){var t=h.SCOPES[this.getBits(12,16)];return"Global unicast"===this.getType()&&"Link local"!==t&&(t="Global"),t},p.prototype.getType=function(){var t=this;return c(h.TYPES,(function(e,r){return t.isInSubnet(new p(r))}))||"Global unicast"},p.prototype.getBits=function(t,e){return new n(this.getBitsBase2(t,e),2)},p.prototype.getBitsBase2=function(t,e){return this.binaryZeroPad().slice(t,e)},p.prototype.getBitsBase16=function(t,e){var r=e-t;return r%4!=0?null:o(this.getBits(t,e).toString(16),r/4,"0")},p.prototype.getBitsPastSubnet=function(){return this.getBitsBase2(this.subnetMask,h.BITS)},p.prototype.reverseForm=function(t){t||(t={});var e=Math.floor(this.subnetMask/4),r=this.canonicalForm().replace(/:/g,"").split("").slice(0,e).reverse().join(".");return e>0?t.omitSuffix?r:i("%s.ip6.arpa.",r):t.omitSuffix?"":"ip6.arpa."},p.prototype.correctForm=function(){if(!this.parsedAddress)return null;var t,e=[],r=0,n=[];for(t=0;t0&&(r>1&&n.push([t-r,t-1]),r=0)}r>1&&n.push([this.parsedAddress.length-r,this.parsedAddress.length-1]);var s=n.map((function(t){return t[1]-t[0]+1}));if(n.length>0){var o=s.indexOf(l(s));e=function(t,e){var r,n=[],i=[];for(r=0;re[1]&&i.push(t[r]);return n.concat(["compact"]).concat(i)}(this.parsedAddress,n[o])}else e=this.parsedAddress;for(t=0;t1?"s":"",e.join("")),this.parseError=t.replace(h.RE_BAD_CHARACTERS,'$1'),null;var r=t.match(h.RE_BAD_ADDRESS);if(r)return this.valid=!1,this.error=i("Address failed regex: %s",r.join("")),this.parseError=t.replace(h.RE_BAD_ADDRESS,'$1'),null;var n=[],s=t.split("::");if(2===s.length){var o=s[0].split(":"),a=s[1].split(":");1===o.length&&""===o[0]&&(o=[]),1===a.length&&""===a[0]&&(a=[]);var c=this.groups-(o.length+a.length);if(!c)return this.valid=!1,this.error="Error parsing groups",null;this.elidedGroups=c,this.elisionBegin=o.length,this.elisionEnd=o.length+this.elidedGroups,o.forEach((function(t){n.push(t)}));for(var l=0;l=0;s--)r=r.add(i.multiply(new n(t[s].toString(10),10))),i=i.multiply(e);return p.fromBigInteger(r)},t.exports=p},"7XET":function(t,e,r){"use strict";const{withTimeoutOption:n}=r("hwsr"),i=r("Hdrc");t.exports=({ipld:t,preload:e})=>n((async function*(r,n={}){const{cid:s,path:o}=i(r);o&&(n.path=o),!1!==n.preload&&e(s),yield*t.tree(s,n.path,n)}))},"7eRB":function(t,e,r){"use strict";const n=r("pU+J"),i=r("q6el"),{normalizeCidPath:s,mapFile:o,withTimeoutOption:a}=r("hwsr");t.exports=function({ipld:t,preload:e}){return a((async function*(r,a){a=a||{};const c=s(r),l=a.recursive,u=c.split("/");!1!==a.preload&&e(u[0]);const h=await n(r,t,a);if(!h.unixfs)throw i(new Error("dag node was not a UnixFS node"),"ERR_NOT_UNIXFS");if("file"===h.unixfs.type)return o(h,a);if(!h.unixfs.type.includes("dir"))throw i(new Error("Unknown UnixFS type "+h.unixfs.type),"ERR_UNKNOWN_UNIXFS_TYPE");if(l)for await(const e of n.recursive(h.cid,t,a))h.cid.toBaseEncodedString()!==e.cid.toBaseEncodedString()&&(yield o(e,a));else for await(let t of h.content())t=o(t,a),t.depth--,yield t}))}},"7lCM":function(t,e,r){"use strict";const{withTimeoutOption:n}=r("hwsr");t.exports=({ipld:t,gcLock:e,preload:i})=>{const s=r("dPh6")({ipld:t,preload:i}),o=r("3NxN")({ipld:t,gcLock:e,preload:i});return n((async function(t,e,r){const n=await s(t,r);return n.rmLink(e.Name||e.name),o(n,r)}))}},"7o/Q":function(t,e,r){"use strict";r.d(e,"a",(function(){return l}));var n=r("n6bG"),i=r("gRHU"),s=r("quSY"),o=r("2QA8"),a=r("2fFW"),c=r("NJ4a");class l extends s.a{constructor(t,e,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=i.a;break;case 1:if(!t){this.destination=i.a;break}if("object"==typeof t){t instanceof l?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new u(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new u(this,t,e,r)}}[o.a](){return this}static create(t,e,r){const n=new l(t,e,r);return n.syncErrorThrowable=!1,n}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class u extends l{constructor(t,e,r,s){let o;super(),this._parentSubscriber=t;let a=this;Object(n.a)(e)?o=e:e&&(o=e.next,r=e.error,s=e.complete,e!==i.a&&(a=Object.create(e),Object(n.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=o,this._error=r,this._complete=s}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:e}=this;a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?this.__tryOrSetError(e,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:e}=this,{useDeprecatedSynchronousErrorHandling:r}=a.a;if(this._error)r&&e.syncErrorThrowable?(this.__tryOrSetError(e,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(e.syncErrorThrowable)r?(e.syncErrorValue=t,e.syncErrorThrown=!0):Object(c.a)(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;Object(c.a)(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const e=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,e),this.unsubscribe()):(this.__tryOrUnsub(e),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,e){try{t.call(this._context,e)}catch(r){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw r;Object(c.a)(r)}}__tryOrSetError(t,e,r){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{e.call(this._context,r)}catch(n){return a.a.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=n,t.syncErrorThrown=!0,!0):(Object(c.a)(n),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}},"7tlc":function(t,e,r){(function(t){var n=Object.getOwnPropertyDescriptors||function(t){for(var e=Object.keys(t),r={},n=0;n=s)return t;switch(t){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return t}})),c=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(r)?n.showHidden=r:r&&e._extend(n,r),y(n.showHidden)&&(n.showHidden=!1),y(n.depth)&&(n.depth=2),y(n.colors)&&(n.colors=!1),y(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),u(n,t,n.depth)}function c(t,e){var r=a.styles[e];return r?"\x1b["+a.colors[r][0]+"m"+t+"\x1b["+a.colors[r][1]+"m":t}function l(t,e){return t}function u(t,r,n){if(t.customInspect&&r&&E(r.inspect)&&r.inspect!==e.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,t);return b(i)||(i=u(t,i,n)),i}var s=function(t,e){if(y(e))return t.stylize("undefined","undefined");if(b(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}return m(e)?t.stylize(""+e,"number"):p(e)?t.stylize(""+e,"boolean"):g(e)?t.stylize("null","null"):void 0}(t,r);if(s)return s;var o=Object.keys(r),a=function(t){var e={};return t.forEach((function(t,r){e[t]=!0})),e}(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(r)),S(r)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return h(r);if(0===o.length){if(E(r))return t.stylize("[Function"+(r.name?": "+r.name:"")+"]","special");if(v(r))return t.stylize(RegExp.prototype.toString.call(r),"regexp");if(_(r))return t.stylize(Date.prototype.toString.call(r),"date");if(S(r))return h(r)}var c,l="",w=!1,C=["{","}"];return f(r)&&(w=!0,C=["[","]"]),E(r)&&(l=" [Function"+(r.name?": "+r.name:"")+"]"),v(r)&&(l=" "+RegExp.prototype.toString.call(r)),_(r)&&(l=" "+Date.prototype.toUTCString.call(r)),S(r)&&(l=" "+h(r)),0!==o.length||w&&0!=r.length?n<0?v(r)?t.stylize(RegExp.prototype.toString.call(r),"regexp"):t.stylize("[Object]","special"):(t.seen.push(r),c=w?function(t,e,r,n,i){for(var s=[],o=0,a=e.length;o60?r[0]+(""===e?"":e+"\n ")+" "+t.join(",\n ")+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}(c,l,C)):C[0]+l+C[1]}function h(t){return"["+Error.prototype.toString.call(t)+"]"}function d(t,e,r,n,i,s){var o,a,c;if((c=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]}).get?a=t.stylize(c.set?"[Getter/Setter]":"[Getter]","special"):c.set&&(a=t.stylize("[Setter]","special")),I(n,i)||(o="["+i+"]"),a||(t.seen.indexOf(c.value)<0?(a=g(r)?u(t,c.value,null):u(t,c.value,r-1)).indexOf("\n")>-1&&(a=s?a.split("\n").map((function(t){return" "+t})).join("\n").substr(2):"\n"+a.split("\n").map((function(t){return" "+t})).join("\n")):a=t.stylize("[Circular]","special")),y(o)){if(s&&i.match(/^\d+$/))return a;(o=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.substr(1,o.length-2),o=t.stylize(o,"name")):(o=o.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),o=t.stylize(o,"string"))}return o+": "+a}function f(t){return Array.isArray(t)}function p(t){return"boolean"==typeof t}function g(t){return null===t}function m(t){return"number"==typeof t}function b(t){return"string"==typeof t}function y(t){return void 0===t}function v(t){return w(t)&&"[object RegExp]"===C(t)}function w(t){return"object"==typeof t&&null!==t}function _(t){return w(t)&&"[object Date]"===C(t)}function S(t){return w(t)&&("[object Error]"===C(t)||t instanceof Error)}function E(t){return"function"==typeof t}function C(t){return Object.prototype.toString.call(t)}function A(t){return t<10?"0"+t.toString(10):t.toString(10)}e.debuglog=function(r){if(y(s)&&(s=t.env.NODE_DEBUG||""),r=r.toUpperCase(),!o[r])if(new RegExp("\\b"+r+"\\b","i").test(s)){var n=t.pid;o[r]=function(){var t=e.format.apply(e,arguments);console.error("%s %d: %s",r,n,t)}}else o[r]=function(){};return o[r]},e.inspect=a,a.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},a.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=f,e.isBoolean=p,e.isNull=g,e.isNullOrUndefined=function(t){return null==t},e.isNumber=m,e.isString=b,e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=y,e.isRegExp=v,e.isObject=w,e.isDate=_,e.isError=S,e.isFunction=E,e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r("j/1Z");var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function x(){var t=new Date,e=[A(t.getHours()),A(t.getMinutes()),A(t.getSeconds())].join(":");return[t.getDate(),k[t.getMonth()],e].join(" ")}function I(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.log=function(){console.log("%s - %s",x(),e.format.apply(e,arguments))},e.inherits=r("FfBw"),e._extend=function(t,e){if(!e||!w(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t};var O="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function T(t,e){if(!t){var r=new Error("Promise was rejected with a falsy value");r.reason=t,t=r}return e(t)}e.promisify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');if(O&&t[O]){var e;if("function"!=typeof(e=t[O]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(e,O,{value:e,enumerable:!1,writable:!1,configurable:!0}),e}function e(){for(var e,r,n=new Promise((function(t,n){e=t,r=n})),i=[],s=0;s0&&"/"!==t.charAt(0))throw new Error(`multiaddr "${t}" must start with a "/"`);this.bytes=n.fromString(t)}else{if(!(t.bytes&&t.protos&&t.protoCodes))throw new Error("addr must be a string, Buffer, or another Multiaddr");this.bytes=n.fromBytes(t.bytes)}}),{className:"Multiaddr",symbolName:"@multiformats/js-multiaddr/multiaddr"});h.prototype.toString=function(){return n.bytesToString(this.bytes)},h.prototype.toJSON=h.prototype.toString,h.prototype.toOptions=function(){const t={},e=this.toString().split("/");return t.family="ip4"===e[1]?"ipv4":"ipv6",t.host=e[2],t.transport=e[3],t.port=parseInt(e[4]),t},h.prototype[c]=function(){return""},h.prototype.inspect=function(){return""},h.prototype.protos=function(){return this.protoCodes().map(t=>Object.assign({},i(t)))},h.prototype.protoCodes=function(){const t=[],e=this.bytes;let r=0;for(;rt.name)},h.prototype.tuples=function(){return n.bytesToTuples(this.bytes)},h.prototype.stringTuples=function(){const t=n.bytesToTuples(this.bytes);return n.tuplesToStringTuples(t)},h.prototype.encapsulate=function(t){return t=h(t),h(this.toString()+t.toString())},h.prototype.decapsulate=function(t){t=t.toString();const e=this.toString(),r=e.lastIndexOf(t);if(r<0)throw new Error("Address "+this+" does not contain subaddress: "+t);return h(e.slice(0,r))},h.prototype.decapsulateCode=function(t){const e=this.tuples();for(let r=e.length-1;r>=0;r--)if(e[r][0]===t)return h(n.tuplesToBytes(e.slice(0,r)));return this},h.prototype.getPeerId=function(){let t=null;try{t=this.stringTuples().filter(t=>{if(t[0]===i.names.ipfs.code)return!0}).pop()[1],t=l(new o(t).multihash,"base58btc")}catch(e){t=null}return t},h.prototype.getPath=function(){let t=null;try{t=this.stringTuples().filter(t=>{if(i(t[0]).path)return!0})[0][1]}catch(e){t=null}return t},h.prototype.equals=function(t){return u(this.bytes,t.bytes)},h.prototype.nodeAddress=function(){const t=this.protoCodes(),e=this.protoNames(),r=this.toString().split("/").slice(1);if(r.length<4)throw new Error('multiaddr must have a valid format: "/{ip4, ip6, dns4, dns6}/{address}/{tcp, udp}/{port}".');if(4!==t[0]&&41!==t[0]&&54!==t[0]&&55!==t[0])throw new Error(`no protocol with name: "'${e[0]}'". Must have a valid family name: "{ip4, ip6, dns4, dns6}".`);if("tcp"!==r[2]&&"udp"!==r[2])throw new Error(`no protocol with name: "'${e[1]}'". Must have a valid transport protocol: "{tcp, udp}".`);return{family:41===t[0]||55===t[0]?6:4,address:r[1],port:parseInt(r[3])}},h.fromNodeAddress=function(t,e){if(!t)throw new Error("requires node address object");if(!e)throw new Error("requires transport protocol");let r;switch(t.family){case"IPv4":r="ip4";break;case"IPv6":r="ip6";break;default:throw Error(`Invalid addr family. Got '${t.family}' instead of 'IPv4' or 'IPv6'`)}return h("/"+[r,t.address,e,t.port].join("/"))},h.prototype.isThinWaistAddress=function(t){const e=(t||this).protos();return!(2!==e.length||4!==e[0].code&&41!==e[0].code||6!==e[1].code&&273!==e[1].code)},h.protocols=i,h.isName=function(t){return!!h.isMultiaddr(t)&&t.protos().some(t=>t.resolvable)},h.resolve=function(t){return h.isMultiaddr(t)&&h.isName(t)?Promise.reject(new Error("not implemented yet")):Promise.reject(Error("not a valid name"))},t.exports=h},8:function(t,e){},"81F7":function(t,e,r){"use strict";t.exports={repoVersion:9}},"83L5":function(t,e,r){"use strict";const n=r("v7kK");t.exports=async function t(e,r,i,s){let o=r;r.flat&&r.directChildrenCount()>=i&&(o=await async function(t,e){const r=new n({root:t.root,dir:!0,parent:t.parent,parentKey:t.parentKey,path:t.path,dirty:t.dirty,flat:!1,mtime:t.mtime,mode:t.mode},e);for await(const{key:n,child:i}of t.eachChildSeries())await r.put(n,i);return r}(r,s));const a=o.parent;return a?(o!==r&&(e&&(e.parent=o),await a.put(o.parentKey,o)),t(o,a,i,s)):o}},"861V":function(t,e,r){(function(e){var n=r("OqFC"),i=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),o="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);t.exports=function t(r){if(!r||"object"!=typeof r)return!1;if(n(r)){for(var i=0,a=r.length;i{const n=a.createHash(e),i=await n(t);return r?i.slice(0,r):i},a.createHash=function(t){if(!t)throw n(new Error("hash algorithm must be specified"),"ERR_HASH_ALGORITHM_NOT_SPECIFIED");if(t=i.coerceCode(t),!a.functions[t])throw n(new Error(`multihash function '${t}' not yet supported`),"ERR_HASH_ALGORITHM_NOT_SUPPORTED");return a.functions[t]},s.addBlake(a.functions={0:s.identity,17:s.sha1,18:s.sha2256,19:s.sha2512,20:s.sha3512,21:s.sha3384,22:s.sha3256,23:s.sha3224,24:s.shake128,25:s.shake256,26:s.keccak224,27:s.keccak256,28:s.keccak384,29:s.keccak512,34:s.murmur3128,35:s.murmur332,86:s.dblSha2256}),a.validate=async(t,e)=>{const r=await a(t,i.decode(e).name);return o(e,r)},t.exports=a},"8E/A":function(t,e,r){"use strict";(function(t){e.test=function(){return void 0!==t&&!t.browser},e.install=function(e){return function(){t.nextTick(e)}}}).call(this,r("8oxB"))},"8H8B":function(t,e,r){t.exports=function(t){function e(t){let r;function s(...t){if(!s.enabled)return;const n=s,i=Number(new Date);n.diff=i-(r||i),n.prev=r,n.curr=i,r=i,t[0]=e.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");let o=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return r;o++;const s=e.formatters[i];return"function"==typeof s&&(r=s.call(n,t[o]),t.splice(o,1),o--),r}),e.formatArgs.call(n,t),(n.log||e.log).apply(n,t)}return s.namespace=t,s.enabled=e.enabled(t),s.useColors=e.useColors(),s.color=e.selectColor(t),s.destroy=n,s.extend=i,"function"==typeof e.init&&e.init(s),e.instances.push(s),s}function n(){const t=e.instances.indexOf(this);return-1!==t&&(e.instances.splice(t,1),!0)}function i(t,r){const n=e(this.namespace+(void 0===r?":":r)+t);return n.log=this.log,n}function s(t){return t.toString().substring(2,t.toString().length-2).replace(/\.\*\?$/,"*")}return e.debug=e,e.default=e,e.coerce=function(t){return t instanceof Error?t.stack||t.message:t},e.disable=function(){const t=[...e.names.map(s),...e.skips.map(s).map(t=>"-"+t)].join(",");return e.enable(""),t},e.enable=function(t){let r;e.save(t),e.names=[],e.skips=[];const n=("string"==typeof t?t:"").split(/[\s,]+/),i=n.length;for(r=0;r{e[r]=t[r]}),e.instances=[],e.names=[],e.skips=[],e.formatters={},e.selectColor=function(t){let r=0;for(let e=0;e{let r=i.deserialize(t);const s=e.split("/").filter(Boolean);for(;s.length;){const t=s.shift();if(void 0===r[t]){for(const e of r.Links)if(e.Name===t)return{value:e.Hash,remainderPath:s.join("/")};throw new Error(`Object has no property '${t}'`)}if(r=r[t],n.isCID(r))return{value:r,remainderPath:s.join("/")}}return{value:r,remainderPath:""}},e.tree=function*(t){const e=i.deserialize(t);yield"Data",yield"Links";for(let r=0;r>15;--s>=0;){var c=32767&this[t],l=this[t++]>>15,u=a*c+l*o;i=((c=o*c+((32767&u)<<15)+r[n]+(1073741823&i))>>>30)+(u>>>15)+a*l+(i>>>30),r[n++]=1073741823&c}return i},e=30):i&&"Netscape"!=navigator.appName?(r.prototype.am=function(t,e,r,n,i,s){for(;--s>=0;){var o=e*this[t++]+r[n]+i;i=Math.floor(o/67108864),r[n++]=67108863&o}return i},e=26):(r.prototype.am=function(t,e,r,n,i,s){for(var o=16383&e,a=e>>14;--s>=0;){var c=16383&this[t],l=this[t++]>>14,u=a*c+l*o;i=((c=o*c+((16383&u)<<14)+r[n]+i)>>28)+(u>>14)+a*l,r[n++]=268435455&c}return i},e=28),r.prototype.DB=e,r.prototype.DM=(1<>>16)&&(t=e,r+=16),0!=(e=t>>8)&&(t=e,r+=8),0!=(e=t>>4)&&(t=e,r+=4),0!=(e=t>>2)&&(t=e,r+=2),0!=(e=t>>1)&&(t=e,r+=1),r}function d(t){this.m=t}function f(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function v(t){for(var e=0;0!=t;)t&=t-1,++e;return e}function w(){}function _(t){return t}function S(t){this.r2=n(),this.q3=n(),r.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t),this.m=t}d.prototype.convert=function(t){return t.s<0||t.compareTo(this.m)>=0?t.mod(this.m):t},d.prototype.revert=function(t){return t},d.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},d.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},d.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},f.prototype.convert=function(t){var e=n();return t.abs().dlShiftTo(this.m.t,e),e.divRemTo(this.m,null,e),t.s<0&&e.compareTo(r.ZERO)>0&&this.m.subTo(e,e),e},f.prototype.revert=function(t){var e=n();return t.copyTo(e),this.reduce(e),e},f.prototype.reduce=function(t){for(;t.t<=this.mt2;)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;for(t[r=e+this.m.t]+=this.m.am(0,n,t,e,0,this.m.t);t[r]>=t.DV;)t[r]-=t.DV,t[++r]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},f.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},f.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},r.prototype.copyTo=function(t){for(var e=this.t-1;e>=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},r.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},r.prototype.fromString=function(t,e){var n;if(16==e)n=4;else if(8==e)n=3;else if(256==e)n=8;else if(2==e)n=1;else if(32==e)n=5;else{if(4!=e)return void this.fromRadix(t,e);n=2}this.t=0,this.s=0;for(var i=t.length,s=!1,o=0;--i>=0;){var a=8==n?255&t[i]:l(t,i);a<0?"-"==t.charAt(i)&&(s=!0):(s=!1,0==o?this[this.t++]=a:o+n>this.DB?(this[this.t-1]|=(a&(1<>this.DB-o):this[this.t-1]|=a<=this.DB&&(o-=this.DB))}8==n&&0!=(128&t[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t;)--this.t},r.prototype.dlShiftTo=function(t,e){var r;for(r=this.t-1;r>=0;--r)e[r+t]=this[r];for(r=t-1;r>=0;--r)e[r]=0;e.t=this.t+t,e.s=this.s},r.prototype.drShiftTo=function(t,e){for(var r=t;r=0;--r)e[r+o+1]=this[r]>>i|a,a=(this[r]&s)<=0;--r)e[r]=0;e[o]=a,e.t=this.t+o+1,e.s=this.s,e.clamp()},r.prototype.rShiftTo=function(t,e){e.s=this.s;var r=Math.floor(t/this.DB);if(r>=this.t)e.t=0;else{var n=t%this.DB,i=this.DB-n,s=(1<>n;for(var o=r+1;o>n;n>0&&(e[this.t-r-1]|=(this.s&s)<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[r++]=this.DV+n:n>0&&(e[r++]=n),e.t=r,e.clamp()},r.prototype.multiplyTo=function(t,e){var n=this.abs(),i=t.abs(),s=n.t;for(e.t=s+i.t;--s>=0;)e[s]=0;for(s=0;s=0;)t[r]=0;for(r=0;r=e.DV&&(t[r+e.t]-=e.DV,t[r+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(r,e[r],t,2*r,0,1)),t.s=0,t.clamp()},r.prototype.divRemTo=function(t,e,i){var s=t.abs();if(!(s.t<=0)){var o=this.abs();if(o.t0?(s.lShiftTo(u,a),o.lShiftTo(u,i)):(s.copyTo(a),o.copyTo(i));var d=a.t,f=a[d-1];if(0!=f){var p=f*(1<1?a[d-2]>>this.F2:0),g=this.FV/p,m=(1<=0&&(i[i.t++]=1,i.subTo(w,i)),r.ONE.dlShiftTo(d,w),w.subTo(a,a);a.t=0;){var _=i[--y]==f?this.DM:Math.floor(i[y]*g+(i[y-1]+b)*m);if((i[y]+=a.am(0,_,i,v,0,d))<_)for(a.dlShiftTo(v,w),i.subTo(w,i);i[y]<--_;)i.subTo(w,i)}null!=e&&(i.drShiftTo(d,e),c!=l&&r.ZERO.subTo(e,e)),i.t=d,i.clamp(),u>0&&i.rShiftTo(u,i),c<0&&r.ZERO.subTo(i,i)}}},r.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return(e=(e=(e=(e=e*(2-(15&t)*e)&15)*(2-(255&t)*e)&255)*(2-((65535&t)*e&65535))&65535)*(2-t*e%this.DV)%this.DV)>0?this.DV-e:-e},r.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},r.prototype.exp=function(t,e){if(t>4294967295||t<1)return r.ONE;var i=n(),s=n(),o=e.convert(this),a=h(t)-1;for(o.copyTo(i);--a>=0;)if(e.sqrTo(i,s),(t&1<0)e.mulTo(s,o,i);else{var c=i;i=s,s=c}return e.revert(i)},r.prototype.toString=function(t){if(this.s<0)return"-"+this.negate().toString(t);var e;if(16==t)e=4;else if(8==t)e=3;else if(2==t)e=1;else if(32==t)e=5;else{if(4!=t)return this.toRadix(t);e=2}var r,n=(1<0)for(a>a)>0&&(i=!0,s=c(r));o>=0;)a>(a+=this.DB-e)):(r=this[o]>>(a-=e)&n,a<=0&&(a+=this.DB,--o)),r>0&&(i=!0),i&&(s+=c(r));return i?s:"0"},r.prototype.negate=function(){var t=n();return r.ZERO.subTo(this,t),t},r.prototype.abs=function(){return this.s<0?this.negate():this},r.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var r=this.t;if(0!=(e=r-t.t))return this.s<0?-e:e;for(;--r>=0;)if(0!=(e=this[r]-t[r]))return e;return 0},r.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+h(this[this.t-1]^this.s&this.DM)},r.prototype.mod=function(t){var e=n();return this.abs().divRemTo(t,null,e),this.s<0&&e.compareTo(r.ZERO)>0&&t.subTo(e,e),e},r.prototype.modPowInt=function(t,e){var r;return r=t<256||e.isEven()?new d(e):new f(e),this.exp(t,r)},r.ZERO=u(0),r.ONE=u(1),w.prototype.convert=_,w.prototype.revert=_,w.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r)},w.prototype.sqrTo=function(t,e){t.squareTo(e)},S.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=n();return t.copyTo(e),this.reduce(e),e},S.prototype.revert=function(t){return t},S.prototype.reduce=function(t){for(t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);t.compareTo(this.r2)<0;)t.dAddOffset(1,this.m.t+1);for(t.subTo(this.r2,t);t.compareTo(this.m)>=0;)t.subTo(this.m,t)},S.prototype.mulTo=function(t,e,r){t.multiplyTo(e,r),this.reduce(r)},S.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)};var E,C,A,k=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],x=(1<<26)/k[k.length-1];function I(){var t;t=(new Date).getTime(),C[A++]^=255&t,C[A++]^=t>>8&255,C[A++]^=t>>16&255,C[A++]^=t>>24&255,A>=B&&(A-=B)}if(r.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},r.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),r=Math.pow(t,e),i=u(r),s=n(),o=n(),a="";for(this.divRemTo(i,s,o);s.signum()>0;)a=(r+o.intValue()).toString(t).substr(1)+a,s.divRemTo(i,s,o);return o.intValue().toString(t)+a},r.prototype.fromRadix=function(t,e){this.fromInt(0),null==e&&(e=10);for(var n=this.chunkSize(e),i=Math.pow(e,n),s=!1,o=0,a=0,c=0;c=n&&(this.dMultiply(i),this.dAddOffset(a,0),o=0,a=0))}o>0&&(this.dMultiply(Math.pow(e,o)),this.dAddOffset(a,0)),s&&r.ZERO.subTo(this,this)},r.prototype.fromNumber=function(t,e,n){if("number"==typeof e)if(t<2)this.fromInt(1);else for(this.fromNumber(t,n),this.testBit(t-1)||this.bitwiseTo(r.ONE.shiftLeft(t-1),g,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(e);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(r.ONE.shiftLeft(t-1),this);else{var i=new Array,s=7&t;i.length=1+(t>>3),e.nextBytes(i),s>0?i[0]&=(1<>=this.DB;if(t.t>=this.DB;n+=this.s}else{for(n+=this.s;r>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[r++]=n:n<-1&&(e[r++]=this.DV+n),e.t=r,e.clamp()},r.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},r.prototype.dAddOffset=function(t,e){if(0!=t){for(;this.t<=e;)this[this.t++]=0;for(this[e]+=t;this[e]>=this.DV;)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},r.prototype.multiplyLowerTo=function(t,e,r){var n,i=Math.min(this.t+t.t,e);for(r.s=0,r.t=i;i>0;)r[--i]=0;for(n=r.t-this.t;i=0;)r[n]=0;for(n=Math.max(e-this.t,0);n0)if(0==e)r=this[0]%t;else for(var n=this.t-1;n>=0;--n)r=(e*r+this[n])%t;return r},r.prototype.millerRabin=function(t){var e=this.subtract(r.ONE),i=e.getLowestSetBit();if(i<=0)return!1;var s=e.shiftRight(i);(t=t+1>>1)>k.length&&(t=k.length);for(var o=n(),a=0;a>24},r.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},r.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},r.prototype.toByteArray=function(){var t=this.t,e=new Array;e[0]=this.s;var r,n=this.DB-t*this.DB%8,i=0;if(t-- >0)for(n>n)!=(this.s&this.DM)>>n&&(e[i++]=r|this.s<=0;)n<8?(r=(this[t]&(1<>(n+=this.DB-8)):(r=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&r)&&(r|=-256),0==i&&(128&this.s)!=(128&r)&&++i,(i>0||r!=this.s)&&(e[i++]=r);return e},r.prototype.equals=function(t){return 0==this.compareTo(t)},r.prototype.min=function(t){return this.compareTo(t)<0?this:t},r.prototype.max=function(t){return this.compareTo(t)>0?this:t},r.prototype.and=function(t){var e=n();return this.bitwiseTo(t,p,e),e},r.prototype.or=function(t){var e=n();return this.bitwiseTo(t,g,e),e},r.prototype.xor=function(t){var e=n();return this.bitwiseTo(t,m,e),e},r.prototype.andNot=function(t){var e=n();return this.bitwiseTo(t,b,e),e},r.prototype.not=function(){for(var t=n(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var g=n();for(i.sqrTo(a[1],g);c<=p;)a[c]=n(),i.mulTo(g,a[c-2],a[c]),c+=2}var m,b,y=t.t-1,v=!0,w=n();for(s=h(t[y])-1;y>=0;){for(s>=l?m=t[y]>>s-l&p:(m=(t[y]&(1<0&&(m|=t[y-1]>>this.DB+s-l)),c=r;0==(1&m);)m>>=1,--c;if((s-=c)<0&&(s+=this.DB,--y),v)a[m].copyTo(o),v=!1;else{for(;c>1;)i.sqrTo(o,w),i.sqrTo(w,o),c-=2;c>0?i.sqrTo(o,w):(b=o,o=w,w=b),i.mulTo(w,a[m],o)}for(;y>=0&&0==(t[y]&1<=0?(n.subTo(i,n),e&&s.subTo(a,s),o.subTo(c,o)):(i.subTo(n,i),e&&a.subTo(s,a),c.subTo(o,c))}return 0!=i.compareTo(r.ONE)?r.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c},r.prototype.pow=function(t){return this.exp(t,new w)},r.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),r=t.s<0?t.negate():t.clone();if(e.compareTo(r)<0){var n=e;e=r,r=n}var i=e.getLowestSetBit(),s=r.getLowestSetBit();if(s<0)return e;for(i0&&(e.rShiftTo(s,e),r.rShiftTo(s,r));e.signum()>0;)(i=e.getLowestSetBit())>0&&e.rShiftTo(i,e),(i=r.getLowestSetBit())>0&&r.rShiftTo(i,r),e.compareTo(r)>=0?(e.subTo(r,e),e.rShiftTo(1,e)):(r.subTo(e,r),r.rShiftTo(1,r));return s>0&&r.lShiftTo(s,r),r},r.prototype.isProbablePrime=function(t){var e,r=this.abs();if(1==r.t&&r[0]<=k[k.length-1]){for(e=0;e>>8,C[A++]=255&O;A=0,I()}function R(){if(null==E){for(I(),(E=new N).init(C),A=0;At.bytes),connection:l.CONNECTED}}function d(t){return{id:new n(t.id),multiaddrs:t.addrs.map(t=>i(t))}}u.TYPES=c,u.CONNECTION_TYPES=l,t.exports=u},"8WBC":function(t,e,r){var n;t.exports=(n=r("koXT"),r("PSMt"),r("xDSA"),r("6eXE"),r("tiP4"),function(){var t=n,e=t.lib.BlockCipher,r=t.algo,i=[],s=[],o=[],a=[],c=[],l=[],u=[],h=[],d=[],f=[];!function(){for(var t=[],e=0;e<256;e++)t[e]=e<128?e<<1:e<<1^283;var r=0,n=0;for(e=0;e<256;e++){var p=n^n<<1^n<<2^n<<3^n<<4;i[r]=p=p>>>8^255&p^99,s[p]=r;var g,m=t[r],b=t[m],y=t[b];o[r]=(g=257*t[p]^16843008*p)<<24|g>>>8,a[r]=g<<16|g>>>16,c[r]=g<<8|g>>>24,l[r]=g,u[p]=(g=16843009*y^65537*b^257*m^16843008*r)<<24|g>>>8,h[p]=g<<16|g>>>16,d[p]=g<<8|g>>>24,f[p]=g,r?(r=m^t[t[t[y^m]]],n^=t[t[n]]):r=n=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=r.AES=e.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var t=this._keyPriorReset=this._key,e=t.words,r=t.sigBytes/4,n=4*((this._nRounds=r+6)+1),s=this._keySchedule=[],o=0;o6&&o%r==4&&(l=i[l>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l]):(l=i[(l=l<<8|l>>>24)>>>24]<<24|i[l>>>16&255]<<16|i[l>>>8&255]<<8|i[255&l],l^=p[o/r|0]<<24),s[o]=s[o-r]^l);for(var a=this._invKeySchedule=[],c=0;c>>24]]^h[i[l>>>16&255]]^d[i[l>>>8&255]]^f[i[255&l]]}}},encryptBlock:function(t,e){this._doCryptBlock(t,e,this._keySchedule,o,a,c,l,i)},decryptBlock:function(t,e){var r=t[e+1];t[e+1]=t[e+3],t[e+3]=r,this._doCryptBlock(t,e,this._invKeySchedule,u,h,d,f,s),r=t[e+1],t[e+1]=t[e+3],t[e+3]=r},_doCryptBlock:function(t,e,r,n,i,s,o,a){for(var c=this._nRounds,l=t[e]^r[0],u=t[e+1]^r[1],h=t[e+2]^r[2],d=t[e+3]^r[3],f=4,p=1;p>>24]^i[u>>>16&255]^s[h>>>8&255]^o[255&d]^r[f++],m=n[u>>>24]^i[h>>>16&255]^s[d>>>8&255]^o[255&l]^r[f++],b=n[h>>>24]^i[d>>>16&255]^s[l>>>8&255]^o[255&u]^r[f++],y=n[d>>>24]^i[l>>>16&255]^s[u>>>8&255]^o[255&h]^r[f++];l=g,u=m,h=b,d=y}g=(a[l>>>24]<<24|a[u>>>16&255]<<16|a[h>>>8&255]<<8|a[255&d])^r[f++],m=(a[u>>>24]<<24|a[h>>>16&255]<<16|a[d>>>8&255]<<8|a[255&l])^r[f++],b=(a[h>>>24]<<24|a[d>>>16&255]<<16|a[l>>>8&255]<<8|a[255&u])^r[f++],y=(a[d>>>24]<<24|a[l>>>16&255]<<16|a[u>>>8&255]<<8|a[255&h])^r[f++],t[e]=g,t[e+1]=m,t[e+2]=b,t[e+3]=y},keySize:8});t.AES=e._createHelper(g)}(),n.AES)},"8ar0":function(t,e,r){"use strict";const n=r("M2kB"),i=r("rE3w");t.exports={import:async function(t,e){const r=n.names.base64.decode(t),s=i.create();return await s.decrypt(r,e)}}},"8c48":function(t,e,r){"use strict";var n=r("tVNV").sprintf,i=r("w8rF");function s(t){return n("(%s)",t.join("|"))}function o(t){return t.length<4?n("0{0,%d}%s",4-t.length,t):t}function a(t){var e=[];t.forEach((function(t,r){0===parseInt(t,16)&&e.push(r)}));var r=e.map((function(e){return t.map((function(t,r){if(r===e){var n=0===r||r===i.GROUPS-1?":":"";return s([o(t),n])}return o(t)})).join(":")}));return r.push(t.map(o).join(":")),s(r)}function c(t,e,r){var i=e?"":":",o=r?"":":",a=[];e||r||a.push("::"),e&&r&&a.push(""),(r&&!e||!r&&e)&&a.push(":"),a.push(n("%s(:0{1,4}){1,%d}",i,t-1)),a.push(n("(0{1,4}:){1,%d}%s",t-1,o)),a.push(n("(0{1,4}:){%d}0{1,4}",t-1));for(var c=1;c1&&this._buf[this._buf.byteLength-1]===l;)this._buf=this._buf.subarray(0,-1)}less(t){const e=this.list(),r=t.list();for(let n=0;ni)return!1}return e.lengtht.namespaces()),[].concat(...e))]);var e}}const h=i(u,{className:"Key",symbolName:"@ipfs/interface-datastore/key"});t.exports=h},"8eUe":function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return n}));class n{get electron(){return this._electron?this._electron:window&&window.require?(this._electron=window.require("electron"),this._electron):null}get isElectronApp(){return!!window.navigator.userAgent.match(/Electron/)}get isMacOS(){return this.isElectronApp&&"darwin"===t.platform}get isWindows(){return this.isElectronApp&&"win32"===t.platform}get isLinux(){return this.isElectronApp&&"linux"===t.platform}get isX86(){return this.isElectronApp&&"ia32"===t.arch}get isX64(){return this.isElectronApp&&"x64"===t.arch}get isArm(){return this.isElectronApp&&"arm"===t.arch}get desktopCapturer(){return this.electron?this.electron.desktopCapturer:null}get ipcRenderer(){return this.electron?this.electron.ipcRenderer:null}get remote(){return this.electron?this.electron.remote:null}get webFrame(){return this.electron?this.electron.webFrame:null}get clipboard(){return this.electron?this.electron.clipboard:null}get crashReporter(){return this.electron?this.electron.crashReporter:null}get process(){return this.remote?this.remote.process:null}get nativeImage(){return this.electron?this.electron.nativeImage:null}get screen(){return this.electron?this.remote.screen:null}get shell(){return this.electron?this.electron.shell:null}}}).call(this,r("8oxB"))},"8jSo":function(t,e,r){"use strict";t.exports=()=>{const t={};return t.promise=new Promise((e,r)=>{t.resolve=e,t.reject=r}),t}},"8mT9":function(t,e,r){"use strict";const n=r("q6el");t.exports=(t,e,r)=>{if(e||(e=0),e<0)throw n(new Error("Offset must be greater than or equal to 0"),"ERR_INVALID_PARAMS");if(e>t)throw n(new Error("Offset must be less than the file size"),"ERR_INVALID_PARAMS");if(r||0===r||(r=t-e),r<0)throw n(new Error("Length must be greater than or equal to 0"),"ERR_INVALID_PARAMS");return e+r>t&&(r=t-e),{offset:e,length:r}}},"8mc7":function(t,e,r){t.exports="undefined"==typeof WebSocket?r(11):WebSocket},"8oxB":function(t,e){var r,n,i=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(r===setTimeout)return setTimeout(t,0);if((r===s||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:s}catch(t){r=s}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var c,l=[],u=!1,h=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):h=-1,l.length&&f())}function f(){if(!u){var t=a(d);u=!0;for(var e=l.length;e;){for(c=l,l=[];++h1)for(var r=1;r=this.__needed;){let t;const e=null===this.__needed?void 0:this.bs.read(this.__needed);try{t=this.__parser.next(e)}catch(n){return r(n)}this.__needed&&(this.__fresh=!1),t.done?(this.push(t.value),this.__restart()):this.__needed=t.value||0}return r()}*_parse(){throw new Error("Must be implemented in subclass")}__restart(){this.__needed=null,this.__parser=this._parse(),this.__fresh=!0}_flush(t){t(this.__fresh?null:new Error("unexpected end of input"))}}},"8snu":function(t,e,r){"use strict";e.sha1=r("BxiT"),e.sha224=r("ksss"),e.sha256=r("Ock/"),e.sha384=r("F6S4"),e.sha512=r("CiAw")},"8u7g":function(t,e,r){"use strict";const n=r("UbT7");t.exports.ENVELOPE_DOMAIN_PEER_RECORD=n.getName(n.LIBP2P_PEER_RECORD),t.exports.ENVELOPE_PAYLOAD_TYPE_PEER_RECORD=Uint8Array.from([3,1])},"8xTT":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){function t(t){void 0===t&&(t=""),this.value=t}return t.prototype.append=function(t){return this.value+="string"==typeof t?t.toString():String.fromCharCode(t),this},t.prototype.length=function(){return this.value.length},t.prototype.charAt=function(t){return this.value.charAt(t)},t.prototype.deleteCharAt=function(t){this.value=this.value.substr(0,t)+this.value.substring(t+1)},t.prototype.setCharAt=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+1)},t.prototype.toString=function(){return this.value},t.prototype.insert=function(t,e){this.value=this.value.substr(0,t)+e+this.value.substr(t+e.length)},t}()},"8yBR":function(t,e,r){"use strict";r.d(e,"a",(function(){return y})),r.d(e,"b",(function(){return C})),r.d(e,"c",(function(){return E})),r.d(e,"d",(function(){return S})),r.d(e,"e",(function(){return d})),r.d(e,"f",(function(){return f})),r.d(e,"g",(function(){return g})),r.d(e,"h",(function(){return w}));var n=r("FvrZ"),i=r("fXoL"),s=r("FKr1"),o=(r("8LU1"),r("0EQZ")),a=r("2Vo4"),c=r("VRyK"),l=r("IzEk"),u=r("lJxs");const h=Object(s.r)(Object(s.p)(n.e));let d=(()=>{class t extends h{constructor(t,e,r){super(t,e),this._elementRef=t,this._tree=e,this.role="treeitem",this.tabIndex=Number(r)||0}}return t.\u0275fac=function(e){return new(e||t)(i.Sb(i.m),i.Sb(n.c),i.dc("tabindex"))},t.\u0275dir=i.Nb({type:t,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:3,hostBindings:function(t,e){2&t&&i.Gb("aria-expanded",e.isExpanded)("aria-level","treeitem"===e.role?e.level:null)("role",e.role)},inputs:{disabled:"disabled",tabIndex:"tabIndex",role:"role"},exportAs:["matTreeNode"],features:[i.Eb([{provide:n.e,useExisting:t}]),i.Cb]}),t})(),f=(()=>{class t extends n.f{}return t.\u0275fac=function(e){return p(e||t)},t.\u0275dir=i.Nb({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:["matTreeNodeDefWhen","when"],data:["matTreeNode","data"]},features:[i.Eb([{provide:n.f,useExisting:t}]),i.Cb]}),t})();const p=i.ac(f);let g=(()=>{class t extends n.h{}return t.\u0275fac=function(e){return m(e||t)},t.\u0275dir=i.Nb({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:["matTreeNodePadding","level"],indent:["matTreeNodePaddingIndent","indent"]},features:[i.Eb([{provide:n.h,useExisting:t}]),i.Cb]}),t})();const m=i.ac(g);let b=(()=>{class t{constructor(t,e){this.viewContainer=t,this._node=e}}return t.\u0275fac=function(e){return new(e||t)(i.Sb(i.V),i.Sb(n.a,8))},t.\u0275dir=i.Nb({type:t,selectors:[["","matTreeNodeOutlet",""]],features:[i.Eb([{provide:n.g,useExisting:t}])]}),t})(),y=(()=>{class t extends n.c{}return t.\u0275fac=function(e){return v(e||t)},t.\u0275cmp=i.Mb({type:t,selectors:[["mat-tree"]],viewQuery:function(t,e){var r;1&t&&i.Cc(b,!0),2&t&&i.uc(r=i.gc())&&(e._nodeOutlet=r.first)},hostAttrs:["role","tree",1,"mat-tree"],exportAs:["matTree"],features:[i.Eb([{provide:n.c,useExisting:t}]),i.Cb],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(t,e){1&t&&i.Ub(0,0)},directives:[b],styles:[".mat-tree{display:block}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word}.mat-nested-tree-node{border-bottom-width:0}\n"],encapsulation:2}),t})();const v=i.ac(y);let w=(()=>{class t extends n.i{constructor(){super(...arguments),this.recursive=!1}}return t.\u0275fac=function(e){return _(e||t)},t.\u0275dir=i.Nb({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:["matTreeNodeToggleRecursive","recursive"]},features:[i.Eb([{provide:n.i,useExisting:t}]),i.Cb]}),t})();const _=i.ac(w);let S=(()=>{class t{}return t.\u0275mod=i.Qb({type:t}),t.\u0275inj=i.Pb({factory:function(e){return new(e||t)},imports:[[n.d,s.f],s.f]}),t})();class E{constructor(t,e,r,n){this.transformFunction=t,this.getLevel=e,this.isExpandable=r,this.getChildren=n}_flattenNode(t,e,r,n){const i=this.transformFunction(t,e);if(r.push(i),this.isExpandable(i)){const i=this.getChildren(t);i&&(Array.isArray(i)?this._flattenChildren(i,e,r,n):i.pipe(Object(l.a)(1)).subscribe(t=>{this._flattenChildren(t,e,r,n)}))}return r}_flattenChildren(t,e,r,n){t.forEach((i,s)=>{let o=n.slice();o.push(s!=t.length-1),this._flattenNode(i,e+1,r,o)})}flattenNodes(t){let e=[];return t.forEach(t=>this._flattenNode(t,0,e,[])),e}expandFlattenedNodes(t,e){let r=[],n=[];return n[0]=!0,t.forEach(t=>{let i=!0;for(let e=0;e<=this.getLevel(t);e++)i=i&&n[e];i&&r.push(t),this.isExpandable(t)&&(n[this.getLevel(t)+1]=e.isExpanded(t))}),r}}class C extends o.b{constructor(t,e,r=[]){super(),this._treeControl=t,this._treeFlattener=e,this._flattenedData=new a.a([]),this._expandedData=new a.a([]),this._data=new a.a(r)}get data(){return this._data.value}set data(t){this._data.next(t),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}connect(t){const e=[t.viewChange,this._treeControl.expansionModel.changed,this._flattenedData];return Object(c.a)(...e).pipe(Object(u.a)(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}}},9:function(t,e){},"90jX":function(t,e){function r(t){if("object"!=typeof t||null===t)throw new TypeError("First argument must be an abstract-leveldown compliant store");this.db=t,this._operations=[],this._written=!1}r.prototype._checkWritten=function(){if(this._written)throw new Error("write() already called on this batch")},r.prototype.put=function(t,e){this._checkWritten();var r=this.db._checkKey(t)||this.db._checkValue(e);if(r)throw r;return t=this.db._serializeKey(t),e=this.db._serializeValue(e),this._put(t,e),this},r.prototype._put=function(t,e){this._operations.push({type:"put",key:t,value:e})},r.prototype.del=function(t){this._checkWritten();var e=this.db._checkKey(t);if(e)throw e;return t=this.db._serializeKey(t),this._del(t),this},r.prototype._del=function(t){this._operations.push({type:"del",key:t})},r.prototype.clear=function(){return this._checkWritten(),this._clear(),this},r.prototype._clear=function(){this._operations=[]},r.prototype.write=function(t,e){if(this._checkWritten(),"function"==typeof t&&(e=t),"function"!=typeof e)throw new Error("write() requires a callback argument");"object"==typeof t&&null!==t||(t={}),this._written=!0,this._write(t,e)},r.prototype._write=function(t,e){this.db._batch(this._operations,t,e)},t.exports=r},"94R8":function(t,e,r){var n=r("Xl2W"),i=r("bKoX"),s=r("vvI7");t.exports=u;var o,a=/\n/g,c=/\\n/g;function l(){}function u(t){n.call(this,t),this.query=this.query||{},o||(o=s.___eio=s.___eio||[]),this.index=o.length;var e=this;o.push((function(t){e.onData(t)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){e.script&&(e.script.onerror=l)}),!1)}i(u,n),u.prototype.supportsBinary=!1,u.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),n.prototype.doClose.call(this)},u.prototype.doPoll=function(){var t=this,e=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),e.async=!0,e.src=this.uri(),e.onerror=function(e){t.onError("jsonp poll error",e)};var r=document.getElementsByTagName("script")[0];r?r.parentNode.insertBefore(e,r):(document.head||document.body).appendChild(e),this.script=e,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var t=document.createElement("iframe");document.body.appendChild(t),document.body.removeChild(t)}),100)},u.prototype.doWrite=function(t,e){var r=this;if(!this.form){var n,i=document.createElement("form"),s=document.createElement("textarea"),o=this.iframeId="eio_iframe_"+this.index;i.className="socketio",i.style.position="absolute",i.style.top="-1000px",i.style.left="-1000px",i.target=o,i.method="POST",i.setAttribute("accept-charset","utf-8"),s.name="d",i.appendChild(s),document.body.appendChild(i),this.form=i,this.area=s}function l(){u(),e()}function u(){if(r.iframe)try{r.form.removeChild(r.iframe)}catch(t){r.onError("jsonp polling iframe removal error",t)}try{n=document.createElement('