diff --git a/chrome.zip b/chrome.zip index fc8da58..8331770 100644 Binary files a/chrome.zip and b/chrome.zip differ diff --git a/chrome/css/history.css b/chrome/css/history.css index ee0f896..666aeb7 100644 --- a/chrome/css/history.css +++ b/chrome/css/history.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}button>*{pointer-events:none}#history .history__content--holder{min-height:100vh;width:100%;display:-webkit-box;display:flex;align-items:center;flex-direction:column;box-sizing:border-box;flex:0 0 auto}#history .history__content--holder .table__content--holder{width:1200px;max-width:95%;display:-webkit-box;display:flex;flex-direction:column;margin:40px 0 120px}#history .history__content--holder .table__content--holder .history__head--holder{display:-webkit-box;display:flex;align-items:center;justify-content:space-between}#history .history__content--holder .table__content--holder .history__head--holder h2{font-size:24px;margin:.83em 0}#history .history__content--holder .table__content--holder .history__head--holder a{border-bottom:1px solid;margin-right:10px;padding-bottom:1px;font-size:18px}#history .history__content--holder .table__content--holder .table__content--wrapper{display:-webkit-box;display:flex;flex-direction:column;background-color:#fff;box-shadow:0 6px 30px rgba(50,50,50,.2);flex:1 1 auto;border-radius:12px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head{display:-webkit-box;display:flex;flex-direction:column;background-color:#f1f1f1;border-top-right-radius:12px;border-top-left-radius:12px;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder{display:-webkit-box;display:flex;justify-content:space-between;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder th{position:relative;display:-webkit-box;display:flex;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--longURL{justify-content:flex-start;align-items:center;flex:2 2 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--shortURL{display:-webkit-box;display:flex;justify-content:flex-start;align-items:center;flex:1 1 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll{display:-webkit-box;display:flex;position:relative;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn{color:#111;font-size:16px;display:-webkit-box;display:flex;justify-content:center;align-items:center;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;width:auto;margin:0 2px 0 12px;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;outline:none;transition:all .2s ease-out 0s;padding:0 12px;border-radius:100px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn img{margin:1px 0 3px 6px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn:hover{transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body{display:-webkit-box;display:flex;flex-direction:column;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder{display:-webkit-box;display:flex;justify-content:space-between;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder td{position:relative;display:-webkit-box;display:flex;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original{white-space:nowrap;overflow:hidden;flex:2 2 0px;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened{white-space:nowrap;flex:1 1 23px;overflow:hidden;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table_body--flashCopy{position:absolute;left:0;top:0;color:green;font-size:11px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody{display:-webkit-box;display:flex;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder{display:-webkit-box;display:flex;justify-content:flex-end;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode{display:-webkit-box;display:flex;justify-content:center;align-items:center;width:26px;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;margin:0 12px 0 2px;padding:0;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;outline:none;border-radius:100%;transition:all .2s ease-out 0s}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy:hover,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode:hover{transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div{position:fixed;width:100%;height:100%;top:0;left:0;display:-webkit-box;display:flex;justify-content:center;align-items:center;background-color:rgba(50,50,50,.8);z-index:1000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup{text-align:center;background-color:#fff;padding:48px 64px;border-radius:8px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__qrcode--holder #table__qrcode{height:196px;width:196px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder{display:-webkit-box;display:flex;justify-content:center;margin-top:40px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder .table__closebtn--inner{margin:0 16px;position:relative;height:40px;display:-webkit-box;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:400;text-align:center;line-height:1;word-break:keep-all;cursor:pointer;color:#000;box-shadow:0 5px 6px hsla(0,0%,62.7%,.5);padding:0 32px;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;border-radius:100px;transition:all .4s ease-out 0s;overflow:hidden;background:-webkit-gradient(linear,left top,right top,from(#e0e0e0),to(#bdbdbd));background:linear-gradient(90deg,#e0e0e0,#bdbdbd)} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}button>*{pointer-events:none}#history .history__content--holder{min-height:100vh;width:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;box-sizing:border-box;-webkit-box-flex:0;flex:0 0 auto}#history .history__content--holder .table__content--holder{width:1200px;max-width:95%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:40px 0 120px}#history .history__content--holder .table__content--holder .history__head--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between}#history .history__content--holder .table__content--holder .history__head--holder h2{font-size:24px;margin:.83em 0}#history .history__content--holder .table__content--holder .history__head--holder a{border-bottom:1px solid;margin-right:10px;padding-bottom:1px;font-size:18px}#history .history__content--holder .table__content--holder .table__content--wrapper{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background-color:#fff;box-shadow:0 6px 30px rgba(50,50,50,.2);-webkit-box-flex:1;flex:1 1 auto;border-radius:12px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background-color:#f1f1f1;border-top-right-radius:12px;border-top-left-radius:12px;-webkit-box-flex:1;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-flex:1;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder th{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--longURL{-webkit-box-pack:start;justify-content:flex-start;-webkit-box-align:center;align-items:center;-webkit-box-flex:2;flex:2 2 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--shortURL{display:-webkit-box;display:flex;-webkit-box-pack:start;justify-content:flex-start;-webkit-box-align:center;align-items:center;-webkit-box-flex:1;flex:1 1 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll{display:-webkit-box;display:flex;position:relative;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn{color:#111;font-size:16px;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;width:auto;margin:0 2px 0 12px;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;outline:none;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;padding:0 12px;border-radius:100px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn img{margin:1px 0 3px 6px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn:hover{-webkit-transform:translateY(-3px);transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-flex:1;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-flex:1;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder td{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original{white-space:nowrap;overflow:hidden;-webkit-box-flex:2;flex:2 2 0px;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened{white-space:nowrap;-webkit-box-flex:1;flex:1 1 23px;overflow:hidden;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table_body--flashCopy{position:absolute;left:0;top:0;color:green;font-size:11px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder{display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;-webkit-box-align:center;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:26px;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;margin:0 12px 0 2px;padding:0;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;outline:none;border-radius:100%;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy:hover,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode:hover{-webkit-transform:translateY(-3px);transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div{position:fixed;width:100%;height:100%;top:0;left:0;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;background-color:rgba(50,50,50,.8);z-index:1000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup{text-align:center;background-color:#fff;padding:48px 64px;border-radius:8px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__qrcode--holder #table__qrcode{height:196px;width:196px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;margin-top:40px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder .table__closebtn--inner{margin:0 16px;position:relative;height:40px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:13px;font-weight:400;text-align:center;line-height:1;word-break:keep-all;cursor:pointer;color:#000;box-shadow:0 5px 6px hsla(0,0%,62.7%,.5);padding:0 32px;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;border-radius:100px;-webkit-transition:all .4s ease-out 0s;transition:all .4s ease-out 0s;overflow:hidden;background:-webkit-gradient(linear,left top,right top,from(#e0e0e0),to(#bdbdbd));background:linear-gradient(90deg,#e0e0e0,#bdbdbd)} \ No newline at end of file diff --git a/chrome/css/options.css b/chrome/css/options.css index fe86539..0f2d0b9 100644 --- a/chrome/css/options.css +++ b/chrome/css/options.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}#options{display:-webkit-box;display:flex;justify-content:center;height:100vh}#options .options__content--holder{padding-top:5em;display:-webkit-box;display:flex;flex-direction:column;align-items:center}#options .options__content--holder .head__content--holder{display:-webkit-box;display:flex;align-items:center;margin-bottom:24px}#options .options__content--holder .head__content--holder .head__content--logo{width:38px;height:38px}#options .options__content--holder .head__content--holder .head__content--title{color:#111;font-weight:600;padding:0;margin:0 0 0 .4em;font-size:34px}#options .options__content--holder .form__content--holder{margin-top:3em}#options .options__content--holder .form__content--holder .form__content{padding:0 100px 40px;width:600px}#options .options__content--holder .form__content--holder .form__content .api__key--label,#options .options__content--holder .form__content--holder .form__content .copy--label,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label,#options .options__content--holder .form__content--holder .form__content .password--label{font-size:16px;display:inline-block;margin-bottom:.8em}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional{font-size:13px;letter-spacing:1px;cursor:default;position:relative;display:inline-block;border-bottom:1px dotted #000}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .password__label--tooltiptext{visibility:visible;opacity:1}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext{cursor:pointer;visibility:hidden;font-size:13px;width:180px;line-height:1.5;letter-spacing:1px;background-color:#555;color:#fff;padding:5px 0;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-90px;opacity:0;transition:opacity .3s}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-top-color:#555}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text{cursor:pointer}#options .options__content--holder .form__content--holder .form__content .api__key--holder,#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-family:Nunito,sans-serif;width:100%;border-radius:100px;background-color:#fff;box-shadow:0 10px 35px rgba(50,50,50,.1);color:#444;box-sizing:border-box;border:none;border-bottom:4px solid #f5f5f5;-o-border-image:none 100%/1/0 stretch;border-image:none 100%/1/0 stretch;height:54px}#options .options__content--holder .form__content--holder .form__content .api__key--holder{margin-bottom:3em;padding:12px 25px;font-size:16px}#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-size:20px;padding:8px 25px}#options .options__content--holder .form__content--holder .form__content .view__password--eye{text-transform:uppercase;cursor:pointer;position:relative;float:right;margin-right:20px;margin-top:-36px;z-index:2}#options .options__content--holder .form__content--holder .form__content .saved__alert{margin-top:2em;padding-left:.5em}#options .options__content--holder .form__content--holder .form__content .button__submit{font-family:Nunito,sans-serif;font-size:18px;display:block;color:#fff;width:100%;background:transparent -webkit-gradient(linear,left top,right top,from(#42a5f5),to(#2979ff)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#42a5f5,#2979ff) repeat scroll 0 0;box-shadow:0 5px 6px rgba(66,165,245,.5);border:none;border-radius:100px;padding:12px;margin:2em 0 1em}#options .options__content--holder .form__content--holder .form__content .button__submit:hover{cursor:pointer;background:transparent -webkit-gradient(linear,left top,right top,from(#2979ff),to(#4d5bfa)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#2979ff,#4d5bfa) repeat scroll 0 0}#options .options__content--holder .footer__text--holder{font-size:12px;padding-top:20px;padding-bottom:20px;letter-spacing:1px}#options .options__content--holder .footer__text--holder .github__repo--link{border-bottom:1px dotted #111;text-decoration:none} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}#options{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;height:100vh}#options .options__content--holder{padding-top:5em;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center}#options .options__content--holder .head__content--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:24px}#options .options__content--holder .head__content--holder .head__content--logo{width:38px;height:38px}#options .options__content--holder .head__content--holder .head__content--title{color:#111;font-weight:600;padding:0;margin:0 0 0 .4em;font-size:34px}#options .options__content--holder .form__content--holder{margin-top:3em}#options .options__content--holder .form__content--holder .form__content{padding:0 100px 40px;width:600px}#options .options__content--holder .form__content--holder .form__content .api__key--label,#options .options__content--holder .form__content--holder .form__content .copy--label,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label,#options .options__content--holder .form__content--holder .form__content .password--label{font-size:16px;display:inline-block;margin-bottom:.8em}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional{font-size:13px;letter-spacing:1px;cursor:default;position:relative;display:inline-block;border-bottom:1px dotted #000}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .password__label--tooltiptext{visibility:visible;opacity:1}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext{cursor:pointer;visibility:hidden;font-size:13px;width:180px;line-height:1.5;letter-spacing:1px;background-color:#555;color:#fff;padding:5px 0;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-90px;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-top-color:#555}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text{cursor:pointer}#options .options__content--holder .form__content--holder .form__content .api__key--holder,#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-family:Nunito,sans-serif;width:100%;border-radius:100px;background-color:#fff;box-shadow:0 10px 35px rgba(50,50,50,.1);color:#444;box-sizing:border-box;border:none;border-bottom:4px solid #f5f5f5;-webkit-border-image:none 100%/1/0 stretch;-o-border-image:none 100%/1/0 stretch;border-image:none 100%/1/0 stretch;height:54px}#options .options__content--holder .form__content--holder .form__content .api__key--holder{margin-bottom:3em;padding:12px 25px;font-size:16px}#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-size:20px;padding:8px 25px}#options .options__content--holder .form__content--holder .form__content .view__password--eye{text-transform:uppercase;cursor:pointer;position:relative;float:right;margin-right:20px;margin-top:-36px;z-index:2}#options .options__content--holder .form__content--holder .form__content .saved__alert{margin-top:2em;padding-left:.5em}#options .options__content--holder .form__content--holder .form__content .button__submit{font-family:Nunito,sans-serif;font-size:18px;display:block;color:#fff;width:100%;background:transparent -webkit-gradient(linear,left top,right top,from(#42a5f5),to(#2979ff)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#42a5f5,#2979ff) repeat scroll 0 0;box-shadow:0 5px 6px rgba(66,165,245,.5);border:none;border-radius:100px;padding:12px;margin:2em 0 1em}#options .options__content--holder .form__content--holder .form__content .button__submit:hover{cursor:pointer;background:transparent -webkit-gradient(linear,left top,right top,from(#2979ff),to(#4d5bfa)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#2979ff,#4d5bfa) repeat scroll 0 0}#options .options__content--holder .footer__text--holder{font-size:12px;padding-top:20px;padding-bottom:20px;letter-spacing:1px}#options .options__content--holder .footer__text--holder .github__repo--link{border-bottom:1px dotted #111;text-decoration:none} \ No newline at end of file diff --git a/chrome/css/popup.css b/chrome/css/popup.css index f913e83..df2cf46 100644 --- a/chrome/css/popup.css +++ b/chrome/css/popup.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:-webkit-box;display:flex;align-items:center;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{display:-webkit-box;display:flex;align-items:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder .url__content--url{display:-webkit-box;display:flex;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:-webkit-box;display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:-webkit-box;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{-webkit-box-pack:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder,#home .container .content__holder .url__content--holder .url__content--url{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px} \ No newline at end of file diff --git a/chrome/js/background.js b/chrome/js/background.js index e376aa2..14850a3 100644 --- a/chrome/js/background.js +++ b/chrome/js/background.js @@ -1,4 +1,4 @@ -!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=51)}([,function(e,r,t){e.exports=t(8)},function(e,r,t){var n,o,s;o=[e],void 0===(s="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},s=e=>1==e?"argument":"arguments",a=(e,r,t)=>new Proxy(r,{apply:(r,n,o)=>t.call(n,e,...o)});let i=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,r={},t={})=>{let n=Object.create(null),u={has:(r,t)=>t in e||t in n,get(u,l,g){if(l in n)return n[l];if(!(l in e))return;let m=e[l];if("function"==typeof m)if("function"==typeof r[l])m=a(e,e[l],r[l]);else if(i(t,l)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${s(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((s,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,o({resolve:s,reject:a},r))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,s()}else r.noCallback?(t[e](...n),s()):t[e](...n,o({resolve:s,reject:a},r))})}))(l,t[l]);m=a(e,e[l],r)}else m=m.bind(e);else{if("object"!=typeof m||null===m||!i(r,l)&&!i(t,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(r){e[l]=r}}),m;m=c(m,r[l],t[l])}return n[l]=m,m},set:(r,t,o,s)=>(t in n?n[t]=o:e[t]=o,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},l=Object.create(e);return new Proxy(l,u)},u=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let l=!1;const g=new class extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(r,n,o){let s,a,i=!1,c=new Promise(e=>{s=function(r){l||(console.warn(t,(new Error).stack),l=!0),i=!0,e(r)}});try{a=e(r,n,s)}catch(e){a=Promise.reject(e)}const u=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!u&&!i)return!1;const g=e=>{e.then(e=>{o(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return g(u?a:c),!0}),m=({reject:t,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?t(new Error(o.message)):n(o)},f=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${s(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const o=m.bind(null,{resolve:e,reject:r});n.push(o),t.sendMessage(...n)})},p={runtime:{onMessage:u(g),onMessageExternal:u(g),sendMessage:f.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:f.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},h={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:h,webRTCIPHandlingPolicy:h},services:{passwordSavingEnabled:h},websites:{hyperlinkAuditingEnabled:h,referrersEnabled:h}},c(e,p,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(r,o):n)||(e.exports=s)},function(e,r){function t(e,r,t,n,o,s,a){try{var i=e[s](a),c=i.value}catch(e){return void t(e)}i.done?r(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,s){var a=e.apply(r,n);function i(e){t(a,o,s,i,c,"next",e)}function c(e){t(a,o,s,i,c,"throw",e)}i(void 0)}))}}},,,,function(e,r,t){"use strict";var n=t(36),o=t(54),s=Object.prototype.toString;function a(e){return"[object Array]"===s.call(e)}function i(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===s.call(e)}function u(e,r){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var t=0,n=e.length;t=0;--s){var a=this.tryEntries[s],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--t){var o=this.tryEntries[t];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),p}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var o=n.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,r,t){"use strict";e.exports=function(e,r){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c}).call(this,t(59))},function(e,r,t){"use strict";var n=t(7),o=t(61),s=t(37),a=t(63),i=t(64),c=t(41);e.exports=function(e){return new Promise((function(r,u){var l=e.data,g=e.headers;n.isFormData(l)&&delete g["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";g.Authorization="Basic "+btoa(f+":"+p)}if(m.open(e.method.toUpperCase(),s(e.url,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in m?a(m.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:t,config:e,request:m};o(r,u,n),m=null}},m.onabort=function(){m&&(u(c("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){u(c("Network Error",e,null,m)),m=null},m.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var h=t(65),d=(e.withCredentials||i(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;d&&(g[e.xsrfHeaderName]=d)}if("setRequestHeader"in m&&n.forEach(g,(function(e,r){void 0===l&&"content-type"===r.toLowerCase()?delete g[r]:m.setRequestHeader(r,e)})),e.withCredentials&&(m.withCredentials=!0),e.responseType)try{m.responseType=e.responseType}catch(r){if("json"!==e.responseType)throw r}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){m&&(m.abort(),u(e),m=null)})),void 0===l&&(l=null),m.send(l)}))}},function(e,r,t){"use strict";var n=t(62);e.exports=function(e,r,t,o,s){var a=new Error(e);return n(a,r,t,o,s)}},function(e,r,t){"use strict";var n=t(7);e.exports=function(e,r){r=r||{};var t={};return n.forEach(["url","method","params","data"],(function(e){void 0!==r[e]&&(t[e]=r[e])})),n.forEach(["headers","auth","proxy"],(function(o){n.isObject(r[o])?t[o]=n.deepMerge(e[o],r[o]):void 0!==r[o]?t[o]=r[o]:n.isObject(e[o])?t[o]=n.deepMerge(e[o]):void 0!==e[o]&&(t[o]=e[o])})),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(n){void 0!==r[n]?t[n]=r[n]:void 0!==e[n]&&(t[n]=e[n])})),t}},function(e,r,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,r,t){e.exports=t(53)},,,,,,,function(e,r,t){e.exports=t(52)},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t.n(n),s=t(3),a=t.n(s),i=t(44),c=t.n(i),u=t(2),l=t.n(u);const g=function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i,u,g,m;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s="https://kutt.it",e.prev=1,e.next=4,l.a.storage.local.get(["host","userOptions"]);case 4:a=e.sent,i=a.host,(u=a.userOptions).hasOwnProperty("devMode")&&u.devMode&&(s=i),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),s="https://kutt.it";case 13:return e.prev=13,e.next=16,c()({method:"POST",timeout:2e4,url:`${s}/api/url/submit`,headers:{"X-API-Key":r},data:{target:t,password:n}});case 16:return g=e.sent,m=g.data.shortUrl,e.abrupt("return",m);case 21:if(e.prev=21,e.t1=e.catch(13),"ECONNABORTED"!==e.t1.code){e.next=25;break}return e.abrupt("return",504);case 25:if(!e.t1.response){e.next=27;break}return e.abrupt("return",e.t1.response.status);case 27:case"end":return e.stop()}}),e,null,[[1,10],[13,21]])})));return function(r,t,n){return e.apply(this,arguments)}}();l.a.runtime.onMessage.addListener(function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("start"!==r.msg){e.next=2;break}return e.abrupt("return",g(r.API_key,r.pageUrl,r.password));case 2:if("store"!==r.msg){e.next=11;break}return s=r.curURLCollection,a=r.curURLPair,i=s.filter(e=>e.longUrl!==a.longUrl),i.length>=15&&i.shift(),i.push(a),e.next=11,l.a.storage.local.set({URL_array:i});case 11:case"end":return e.stop()}}),e)})));return function(r,t,n){return e.apply(this,arguments)}}())},function(e,r,t){"use strict";var n=t(7),o=t(36),s=t(55),a=t(42);function i(e){var r=new s(e),t=o(s.prototype.request,r);return n.extend(t,s.prototype,r),n.extend(t,r),t}var c=i(t(39));c.Axios=s,c.create=function(e){return i(a(c.defaults,e))},c.Cancel=t(43),c.CancelToken=t(68),c.isCancel=t(38),c.all=function(e){return Promise.all(e)},c.spread=t(69),e.exports=c,e.exports.default=c},function(e,r){ +!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=51)}([,function(e,r,t){e.exports=t(8)},function(e,r,t){var n,o,s;o=[e],void 0===(s="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const s=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},a=e=>1==e?"argument":"arguments",i=(e,r,t)=>new Proxy(r,{apply:(r,n,o)=>t.call(n,e,...o)});let c=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,r={},t={})=>{let n=Object.create(null),o={has:(r,t)=>t in e||t in n,get(o,l,g){if(l in n)return n[l];if(!(l in e))return;let m=e[l];if("function"==typeof m)if("function"==typeof r[l])m=i(e,e[l],r[l]);else if(c(t,l)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,s({resolve:o,reject:a},r))}catch(s){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",s),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,o()}else r.noCallback?(t[e](...n),o()):t[e](...n,s({resolve:o,reject:a},r))})}))(l,t[l]);m=i(e,e[l],r)}else m=m.bind(e);else{if("object"!=typeof m||null===m||!c(r,l)&&!c(t,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(r){e[l]=r}}),m;m=u(m,r[l],t[l])}return n[l]=m,m},set:(r,t,o,s)=>(t in n?n[t]=o:e[t]=o,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},l=Object.create(e);return new Proxy(l,o)},l=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let g=!1;const m=new o(e=>"function"!=typeof e?e:function(r,n,o){let s,a,i=!1,c=new Promise(e=>{s=function(r){g||(console.warn(t,(new Error).stack),g=!0),i=!0,e(r)}});try{a=e(r,n,s)}catch(e){a=Promise.reject(e)}const u=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!u&&!i)return!1;const l=e=>{e.then(e=>{o(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(u?a:c),!0}),f=({reject:t,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?t(new Error(o.message)):n(o)},p=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const o=f.bind(null,{resolve:e,reject:r});n.push(o),t.sendMessage(...n)})},h={runtime:{onMessage:l(m),onMessageExternal:l(m),sendMessage:p.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:p.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},d={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:d,webRTCIPHandlingPolicy:d},services:{passwordSavingEnabled:d},websites:{hyperlinkAuditingEnabled:d,referrersEnabled:d}},u(e,h,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(r,o):n)||(e.exports=s)},function(e,r){function t(e,r,t,n,o,s,a){try{var i=e[s](a),c=i.value}catch(e){return void t(e)}i.done?r(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,s){var a=e.apply(r,n);function i(e){t(a,o,s,i,c,"next",e)}function c(e){t(a,o,s,i,c,"throw",e)}i(void 0)}))}}},,,,function(e,r,t){"use strict";var n=t(36),o=t(54),s=Object.prototype.toString;function a(e){return"[object Array]"===s.call(e)}function i(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===s.call(e)}function u(e,r){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var t=0,n=e.length;t=0;--s){var a=this.tryEntries[s],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--t){var o=this.tryEntries[t];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),p}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var o=n.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,r,t){"use strict";e.exports=function(e,r){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c}).call(this,t(59))},function(e,r,t){"use strict";var n=t(7),o=t(61),s=t(37),a=t(63),i=t(64),c=t(41);e.exports=function(e){return new Promise((function(r,u){var l=e.data,g=e.headers;n.isFormData(l)&&delete g["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";g.Authorization="Basic "+btoa(f+":"+p)}if(m.open(e.method.toUpperCase(),s(e.url,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in m?a(m.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:t,config:e,request:m};o(r,u,n),m=null}},m.onabort=function(){m&&(u(c("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){u(c("Network Error",e,null,m)),m=null},m.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var h=t(65),d=(e.withCredentials||i(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;d&&(g[e.xsrfHeaderName]=d)}if("setRequestHeader"in m&&n.forEach(g,(function(e,r){void 0===l&&"content-type"===r.toLowerCase()?delete g[r]:m.setRequestHeader(r,e)})),e.withCredentials&&(m.withCredentials=!0),e.responseType)try{m.responseType=e.responseType}catch(r){if("json"!==e.responseType)throw r}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){m&&(m.abort(),u(e),m=null)})),void 0===l&&(l=null),m.send(l)}))}},function(e,r,t){"use strict";var n=t(62);e.exports=function(e,r,t,o,s){var a=new Error(e);return n(a,r,t,o,s)}},function(e,r,t){"use strict";var n=t(7);e.exports=function(e,r){r=r||{};var t={};return n.forEach(["url","method","params","data"],(function(e){void 0!==r[e]&&(t[e]=r[e])})),n.forEach(["headers","auth","proxy"],(function(o){n.isObject(r[o])?t[o]=n.deepMerge(e[o],r[o]):void 0!==r[o]?t[o]=r[o]:n.isObject(e[o])?t[o]=n.deepMerge(e[o]):void 0!==e[o]&&(t[o]=e[o])})),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(n){void 0!==r[n]?t[n]=r[n]:void 0!==e[n]&&(t[n]=e[n])})),t}},function(e,r,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,r,t){e.exports=t(53)},,,,,,,function(e,r,t){e.exports=t(52)},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t.n(n),s=t(3),a=t.n(s),i=t(44),c=t.n(i),u=t(2),l=t.n(u);const g=function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i,u,g,m;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s="https://kutt.it",e.prev=1,e.next=4,l.a.storage.local.get(["host","userOptions"]);case 4:a=e.sent,i=a.host,(u=a.userOptions).hasOwnProperty("devMode")&&u.devMode&&(s=i),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),s="https://kutt.it";case 13:return e.prev=13,e.next=16,c()({method:"POST",timeout:2e4,url:`${s}/api/url/submit`,headers:{"X-API-Key":r},data:{target:t,password:n}});case 16:return g=e.sent,m=g.data.shortUrl,e.abrupt("return",m);case 21:if(e.prev=21,e.t1=e.catch(13),"ECONNABORTED"!==e.t1.code){e.next=25;break}return e.abrupt("return",504);case 25:if(!e.t1.response){e.next=27;break}return e.abrupt("return",e.t1.response.status);case 27:case"end":return e.stop()}}),e,null,[[1,10],[13,21]])})));return function(r,t,n){return e.apply(this,arguments)}}();l.a.runtime.onMessage.addListener(function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("start"!==r.msg){e.next=2;break}return e.abrupt("return",g(r.API_key,r.pageUrl,r.password));case 2:if("store"!==r.msg){e.next=11;break}return s=r.curURLCollection,a=r.curURLPair,i=s.filter(e=>e.longUrl!==a.longUrl),i.length>=15&&i.shift(),i.push(a),e.next=11,l.a.storage.local.set({URL_array:i});case 11:case"end":return e.stop()}}),e)})));return function(r,t,n){return e.apply(this,arguments)}}())},function(e,r,t){"use strict";var n=t(7),o=t(36),s=t(55),a=t(42);function i(e){var r=new s(e),t=o(s.prototype.request,r);return n.extend(t,s.prototype,r),n.extend(t,r),t}var c=i(t(39));c.Axios=s,c.create=function(e){return i(a(c.defaults,e))},c.Cancel=t(43),c.CancelToken=t(68),c.isCancel=t(38),c.all=function(e){return Promise.all(e)},c.spread=t(69),e.exports=c,e.exports.default=c},function(e,r){ /*! * Determine if an object is a Buffer * diff --git a/chrome/js/history.js b/chrome/js/history.js index 8c555f1..2a9d0bc 100644 --- a/chrome/js/history.js +++ b/chrome/js/history.js @@ -1 +1 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=49)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,t){this.addEventListener(e,t)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,t){this.forEach((function(r,n){r.on(e,t)}))}},function(e,t,r){e.exports=r(8)},function(e,t,r){var n,o,i;o=[e],void 0===(i="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(e.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},i=e=>1==e?"argument":"arguments",a=(e,t,r)=>new Proxy(t,{apply:(t,n,o)=>r.call(n,e,...o)});let s=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,t={},r={})=>{let n=Object.create(null),c={has:(t,r)=>r in e||r in n,get(c,l,g){if(l in n)return n[l];if(!(l in e))return;let f=e[l];if("function"==typeof f)if("function"==typeof t[l])f=a(e,e[l],t[l]);else if(s(r,l)){let t=((e,t)=>(function(r,...n){if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${i(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((i,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,o({resolve:i,reject:a},t))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,i()}else t.noCallback?(r[e](...n),i()):r[e](...n,o({resolve:i,reject:a},t))})}))(l,r[l]);f=a(e,e[l],t)}else f=f.bind(e);else{if("object"!=typeof f||null===f||!s(t,l)&&!s(r,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(t){e[l]=t}}),f;f=u(f,t[l],r[l])}return n[l]=f,f},set:(t,r,o,i)=>(r in n?n[r]=o:e[r]=o,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},l=Object.create(e);return new Proxy(l,c)},c=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}});let l=!1;const g=new class extends WeakMap{constructor(e,t){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(t,n,o){let i,a,s=!1,u=new Promise(e=>{i=function(t){l||(console.warn(r,(new Error).stack),l=!0),s=!0,e(t)}});try{a=e(t,n,i)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!s)return!1;const g=e=>{e.then(e=>{o(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return g(c?a:u),!0}),f=({reject:r,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},h=(e,t,r,...n)=>{if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${i(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{const o=f.bind(null,{resolve:e,reject:t});n.push(o),r.sendMessage(...n)})},d={runtime:{onMessage:c(g),onMessageExternal:c(g),sendMessage:h.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:h.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},m={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:m,webRTCIPHandlingPolicy:m},services:{passwordSavingEnabled:m},websites:{hyperlinkAuditingEnabled:m,referrersEnabled:m}},u(e,d,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(t,o):n)||(e.exports=i)},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)}))}}},function(e,t){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},function(e,t,r){var n=r(12),o=r(13);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return r}}},function(e,t,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(e,t,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof e?u(this,e):function(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return function(e,t,r,n){if(r<0||t.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function s(e,t){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=i.prototype:(null===(r=e)&&(r=new i(t)),r.length=t),r}function u(e,t){var r=s(e,t<0?0:0|a(t));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function g(e){return i.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:l(e).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(e,t,r){void 0===t?(r=this.length,t=0):void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,n){return function(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}(l(t,e.length-r),e,r,n)}(this,e,t,r)},i.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return r}}},function(e,t,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return o[4*(e-1)+0];case n.M:return o[4*(e-1)+1];case n.Q:return o[4*(e-1)+2];case n.H:return o[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}}},function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},function(e,t){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(n,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return i.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},function(e,t){function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:n,scale:n?4:o,margin:t,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){var n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){for(var o=r.modules.size,i=r.modules.data,a=t.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],l=0;l=u&&g>=u&&l>n&1),n<6?e.set(n,8,o,!0):n<8?e.set(n+1,8,o,!0):e.set(i-15+n,8,o,!0),n<8?e.set(8,i-n-1,o,!0):n<9?e.set(8,15-n-1+1,o,!0):e.set(8,15-n-1,o,!0);e.set(i-8,8,1,!0)}function y(e,t,r){var i=new a;r.forEach((function(t){i.put(t.mode.bit,4),i.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(i)}));var s=8*(o.getSymbolTotalCodewords(e)-g.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0))}(b,t),function(e){for(var t=e.size,r=8;r=7&&function(e,t){for(var r,n,o,i=e.size,a=h.getEncodedBits(t),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),e.set(r,n,o,!0),e.set(n,r,o,!0)}(b,t),function(e,t){for(var r=e.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!e.isReserved(o,s-u)){var c=!1;a>>i&1)),e.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(b,d),isNaN(n)&&(n=l.getBestMask(b,v.bind(null,b,r))),l.applyMask(n,b),v(b,r,n),{modules:b,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,n,a=i.M;return void 0!==t&&(a=i.from(t.errorCorrectionLevel,i.M),r=h.from(t.version),n=l.from(t.maskPattern),t.toSJISFunc&&o.setToSJISFunction(t.toSJISFunc)),b(e,r,a,n)}},function(e,t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},function(e,t,r){var n=r(6);function o(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}o.prototype.set=function(e,t,r,n){var o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(e,t){return this.data[e*this.size+t]},o.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},o.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=o},function(e,t,r){var n=r(4).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,r=n(e),o=145===r?26:2*Math.ceil((r-13)/(2*t-2)),i=[r-7],a=1;a=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=l,o=1),(l=e.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=l,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},t.getPenaltyN2=function(e){for(var t=e.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},t.getPenaltyN4=function(e){for(var t=0,r=e.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},e.exports=i},function(e,t,r){var n=r(6),o=r(25);t.mul=function(e,t){var r=new n(e.length+t.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(e,r){for(var n=1;n<=40;n++){if(g(e,n)<=t.getCapacity(n,r,a.MIXED))return n}}(e,o);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(var o=1;o<=40;o++)if(r<=t.getCapacity(o,n,e))return o}(n.mode,n.getLength(),o)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-c>=0;)t^=7973<=0;)i^=1335<=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(a))},t.rawSplit=function(e){return t.fromArray(h(e,c.isKanjiModeEnabled()))}},function(e,t,r){var n=r(5);function o(e){this.mode=n.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){var t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);var o=this.data.length-t;o>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*o+1))},e.exports=o},function(e,t,r){var n=r(5),o=["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 i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*o.indexOf(this.data[t]);r+=o.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},function(e,t,r){var n=r(6),o=r(5);function i(e){this.mode=o.BYTE,this.data=new n(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(var t=0,r=this.data.length;t=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}},e.exports=i},function(e,t,r){"use strict";var n={single_source_shortest_paths:function(e,t,r){var o={},i={};i[t]=0;var a,s,u,c,l,g,f,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,l=e[s]||{})l.hasOwnProperty(u)&&(g=c+l[u],f=i[u],(void 0===i[u]||f>g)&&(i[u]=g,h.push(u,g),o[u]=s));if(void 0!==r&&void 0===i[r]){var d=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(d)}return o},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),e[n],n=e[n];return r.reverse(),r},find_path:function(e,t,r){var o=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var t,r=n.PriorityQueue,o={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(o[t]=r[t]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var r={value:e,cost:t};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},function(e,t,r){var n=r(14);t.render=function(e,t,r){var o=r,i=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(e.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,e,o),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},t.renderToDataURL=function(e,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=t.render(e,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(e,t,r){var n=r(14);function o(e,t){var r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(e,t,r){var n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){var a=n.getOptions(t),s=e.modules.size,u=e.modules.data,c=s+2*a.margin,l=a.color.light.a?"':"",g="0&&c>0&&e[u-1]||(n+=a?i("M",c+r,.5+l+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+l+g+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,,,function(e,t,r){e.exports=r(50)},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),l=r.n(c),g=r(0);const f="#table__clearAll--btn",h="#delegation__element",d='\n \n \n %longLink%\n \n \n \n \n \n
\n \n \n
\n \n ',m=()=>{switch((()=>{const e=!(!window.chrome||!window.chrome.webstore&&!window.chrome.runtime),t="undefined"!=typeof InstallTrigger,r=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0;return t?"firefox":r?"opera":e?"chrome":void 0})()){case"chrome":case"opera":Object(g.a)("#rate__button").setAttribute("href","https://chrome.google.com/webstore/detail/kutt/pklakpjfiegjacoppcodencchehlfnpd/reviews");break;case"firefox":Object(g.a)("#rate__button").setAttribute("href","https://addons.mozilla.org/en-US/firefox/addon/kutt/reviews/")}};document.on("DOMContentLoaded",a()(o.a.mark((function e(){var t,r,n,i,a,s,c,l,p;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.get(["userOptions","URL_array"]);case 2:if(!(r=e.sent).userOptions.keepHistory){e.next=33;break}if(!(r.URL_array.length>0)){e.next=28;break}for(n=0,i=!0,a=!1,s=void 0,e.prev=10,c=r.URL_array[Symbol.iterator]();!(i=(l=c.next()).done);i=!0)p=l.value,t=d.replace(/%longLink%/g,p.longUrl),n+=1,t=(t=t.replace(/%num%/g,n)).replace(/%shortLink%/g,p.shortUrl),Object(g.a)(h).insertAdjacentHTML("afterbegin",t);e.next=18;break;case 14:e.prev=14,e.t0=e.catch(10),a=!0,s=e.t0;case 18:e.prev=18,e.prev=19,i||null==c.return||c.return();case 21:if(e.prev=21,!a){e.next=24;break}throw s;case 24:return e.finish(21);case 25:return e.finish(18);case 26:e.next=30;break;case 28:Object(g.a)(f).style.display="none",Object(g.a)(h).insertAdjacentHTML("afterbegin",'

Empty List

');case 30:m(),e.next=35;break;case 33:alert("Enable History from Options Page"),u.a.runtime.openOptionsPage();case 35:case"end":return e.stop()}}),e,null,[[10,14,18,26],[19,,21,25]])})))),Object(g.a)(f).on("click",a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.set({URL_array:[]});case 2:Object(g.a)(h).parentNode.removeChild(Object(g.a)(h)),Object(g.a)(f).style.display="none",Object(g.a)(".table__content--holder").insertAdjacentHTML("beforeend",'

Empty List

');case 5:case"end":return e.stop()}}),e)}))));const p=function(){var e=a()(o.a.mark((function e(t,r){var n,i,a,s,u,c,f,h;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=e=>{Object(g.a)(`#table__shortened-${r}`).insertAdjacentHTML("afterbegin",e),setTimeout(()=>{Object(g.a)("#flash_copy").parentNode.removeChild(Object(g.a)("#flash_copy"))},1300)},"copy"!==t){e.next=6;break}i=Object(g.a)(`#shortUrl-${r}`).textContent;try{(a=document.createElement("textarea")).value=i,a.setAttribute("readonly",""),a.style.position="absolute",a.style.left="-9999px",document.body.appendChild(a),s=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0),a.select(),document.execCommand("copy"),document.body.removeChild(a),s&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(s)),n('
Copied to clipboard!
')}catch(e){n('
Error while Copying!!
')}e.next=26;break;case 6:if("qrcode"!==t){e.next=25;break}return c='
QRCode
',f=Object(g.a)(`#shortUrl-${r}`).textContent,e.prev=9,e.next=12,l.a.toDataURL(f);case 12:h=e.sent,u=(u=c.replace("%qrcodeLink%",h)).replace("%num%",r),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u),e.next=23;break;case 18:e.prev=18,e.t0=e.catch(9),"https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=",u=c.replace("%qrcodeLink%",`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${f}`),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u);case 23:e.next=26;break;case 25:"close__btn"===t&&Object(g.a)("#qrcode__template").parentNode.removeChild(Object(g.a)("#qrcode__template"));case 26:case"end":return e.stop()}}),e,null,[[9,18]])})));return function(t,r){return e.apply(this,arguments)}}();Object(g.a)(h).on("click",e=>{let t,r,n;const o=e.target.id;o&&(r=(t=o.split("-"))[0],n=parseInt(t[1]),p(r,n))}),document.on("keypress",e=>{13===(e.which||e.keyCode)&&e.preventDefault()})}]); \ No newline at end of file +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=49)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,t){this.addEventListener(e,t)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,t){this.forEach((function(r,n){r.on(e,t)}))}},function(e,t,r){e.exports=r(8)},function(e,t,r){var n,o,i;o=[e],void 0===(i="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,t){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const i=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(e.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},a=e=>1==e?"argument":"arguments",s=(e,t,r)=>new Proxy(t,{apply:(t,n,o)=>r.call(n,e,...o)});let u=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,t={},r={})=>{let n=Object.create(null),o={has:(t,r)=>r in e||r in n,get(o,l,g){if(l in n)return n[l];if(!(l in e))return;let f=e[l];if("function"==typeof f)if("function"==typeof t[l])f=s(e,e[l],t[l]);else if(u(r,l)){let t=((e,t)=>(function(r,...n){if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,i({resolve:o,reject:a},t))}catch(i){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",i),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,o()}else t.noCallback?(r[e](...n),o()):r[e](...n,i({resolve:o,reject:a},t))})}))(l,r[l]);f=s(e,e[l],t)}else f=f.bind(e);else{if("object"!=typeof f||null===f||!u(t,l)&&!u(r,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(t){e[l]=t}}),f;f=c(f,t[l],r[l])}return n[l]=f,f},set:(t,r,o,i)=>(r in n?n[r]=o:e[r]=o,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},l=Object.create(e);return new Proxy(l,o)},l=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}});let g=!1;const f=new o(e=>"function"!=typeof e?e:function(t,n,o){let i,a,s=!1,u=new Promise(e=>{i=function(t){g||(console.warn(r,(new Error).stack),g=!0),s=!0,e(t)}});try{a=e(t,n,i)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!s)return!1;const l=e=>{e.then(e=>{o(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(c?a:u),!0}),h=({reject:r,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},d=(e,t,r,...n)=>{if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{const o=h.bind(null,{resolve:e,reject:t});n.push(o),r.sendMessage(...n)})},m={runtime:{onMessage:l(f),onMessageExternal:l(f),sendMessage:d.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:d.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},p={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:p,webRTCIPHandlingPolicy:p},services:{passwordSavingEnabled:p},websites:{hyperlinkAuditingEnabled:p,referrersEnabled:p}},c(e,m,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(t,o):n)||(e.exports=i)},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)}))}}},function(e,t){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},function(e,t,r){var n=r(12),o=r(13);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return r}}},function(e,t,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(e,t,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof e?u(this,e):function(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return function(e,t,r,n){if(r<0||t.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function s(e,t){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=i.prototype:(null===(r=e)&&(r=new i(t)),r.length=t),r}function u(e,t){var r=s(e,t<0?0:0|a(t));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function g(e){return i.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:l(e).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(e,t,r){void 0===t?(r=this.length,t=0):void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,n){return function(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}(l(t,e.length-r),e,r,n)}(this,e,t,r)},i.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return r}}},function(e,t,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return o[4*(e-1)+0];case n.M:return o[4*(e-1)+1];case n.Q:return o[4*(e-1)+2];case n.H:return o[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}}},function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},function(e,t){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(n,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return i.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},function(e,t){function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:n,scale:n?4:o,margin:t,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){var n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){for(var o=r.modules.size,i=r.modules.data,a=t.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],l=0;l=u&&g>=u&&l>n&1),n<6?e.set(n,8,o,!0):n<8?e.set(n+1,8,o,!0):e.set(i-15+n,8,o,!0),n<8?e.set(8,i-n-1,o,!0):n<9?e.set(8,15-n-1+1,o,!0):e.set(8,15-n-1,o,!0);e.set(i-8,8,1,!0)}function y(e,t,r){var i=new a;r.forEach((function(t){i.put(t.mode.bit,4),i.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(i)}));var s=8*(o.getSymbolTotalCodewords(e)-g.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0))}(b,t),function(e){for(var t=e.size,r=8;r=7&&function(e,t){for(var r,n,o,i=e.size,a=h.getEncodedBits(t),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),e.set(r,n,o,!0),e.set(n,r,o,!0)}(b,t),function(e,t){for(var r=e.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!e.isReserved(o,s-u)){var c=!1;a>>i&1)),e.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(b,d),isNaN(n)&&(n=l.getBestMask(b,v.bind(null,b,r))),l.applyMask(n,b),v(b,r,n),{modules:b,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,n,a=i.M;return void 0!==t&&(a=i.from(t.errorCorrectionLevel,i.M),r=h.from(t.version),n=l.from(t.maskPattern),t.toSJISFunc&&o.setToSJISFunction(t.toSJISFunc)),b(e,r,a,n)}},function(e,t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},function(e,t,r){var n=r(6);function o(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}o.prototype.set=function(e,t,r,n){var o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(e,t){return this.data[e*this.size+t]},o.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},o.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=o},function(e,t,r){var n=r(4).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,r=n(e),o=145===r?26:2*Math.ceil((r-13)/(2*t-2)),i=[r-7],a=1;a=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=l,o=1),(l=e.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=l,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},t.getPenaltyN2=function(e){for(var t=e.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},t.getPenaltyN4=function(e){for(var t=0,r=e.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},e.exports=i},function(e,t,r){var n=r(6),o=r(25);t.mul=function(e,t){var r=new n(e.length+t.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(e,r){for(var n=1;n<=40;n++){if(g(e,n)<=t.getCapacity(n,r,a.MIXED))return n}}(e,o);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(var o=1;o<=40;o++)if(r<=t.getCapacity(o,n,e))return o}(n.mode,n.getLength(),o)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-c>=0;)t^=7973<=0;)i^=1335<=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(a))},t.rawSplit=function(e){return t.fromArray(h(e,c.isKanjiModeEnabled()))}},function(e,t,r){var n=r(5);function o(e){this.mode=n.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){var t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);var o=this.data.length-t;o>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*o+1))},e.exports=o},function(e,t,r){var n=r(5),o=["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 i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*o.indexOf(this.data[t]);r+=o.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},function(e,t,r){var n=r(6),o=r(5);function i(e){this.mode=o.BYTE,this.data=new n(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(var t=0,r=this.data.length;t=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}},e.exports=i},function(e,t,r){"use strict";var n={single_source_shortest_paths:function(e,t,r){var o={},i={};i[t]=0;var a,s,u,c,l,g,f,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,l=e[s]||{})l.hasOwnProperty(u)&&(g=c+l[u],f=i[u],(void 0===i[u]||f>g)&&(i[u]=g,h.push(u,g),o[u]=s));if(void 0!==r&&void 0===i[r]){var d=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(d)}return o},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),e[n],n=e[n];return r.reverse(),r},find_path:function(e,t,r){var o=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var t,r=n.PriorityQueue,o={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(o[t]=r[t]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var r={value:e,cost:t};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},function(e,t,r){var n=r(14);t.render=function(e,t,r){var o=r,i=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(e.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,e,o),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},t.renderToDataURL=function(e,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=t.render(e,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(e,t,r){var n=r(14);function o(e,t){var r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(e,t,r){var n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){var a=n.getOptions(t),s=e.modules.size,u=e.modules.data,c=s+2*a.margin,l=a.color.light.a?"':"",g="0&&c>0&&e[u-1]||(n+=a?i("M",c+r,.5+l+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+l+g+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,,,function(e,t,r){e.exports=r(50)},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),l=r.n(c),g=r(0);const f="#table__clearAll--btn",h="#delegation__element",d='\n \n \n %longLink%\n \n \n \n \n \n
\n \n \n
\n \n ',m=()=>{switch((()=>{const e=!(!window.chrome||!window.chrome.webstore&&!window.chrome.runtime),t="undefined"!=typeof InstallTrigger,r=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0;return t?"firefox":r?"opera":e?"chrome":void 0})()){case"chrome":case"opera":Object(g.a)("#rate__button").setAttribute("href","https://chrome.google.com/webstore/detail/kutt/pklakpjfiegjacoppcodencchehlfnpd/reviews");break;case"firefox":Object(g.a)("#rate__button").setAttribute("href","https://addons.mozilla.org/en-US/firefox/addon/kutt/reviews/")}};document.on("DOMContentLoaded",a()(o.a.mark((function e(){var t,r,n,i,a,s,c,l,p;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.get(["userOptions","URL_array"]);case 2:if(!(r=e.sent).userOptions.keepHistory){e.next=33;break}if(!(r.URL_array.length>0)){e.next=28;break}for(n=0,i=!0,a=!1,s=void 0,e.prev=10,c=r.URL_array[Symbol.iterator]();!(i=(l=c.next()).done);i=!0)p=l.value,t=d.replace(/%longLink%/g,p.longUrl),n+=1,t=(t=t.replace(/%num%/g,n)).replace(/%shortLink%/g,p.shortUrl),Object(g.a)(h).insertAdjacentHTML("afterbegin",t);e.next=18;break;case 14:e.prev=14,e.t0=e.catch(10),a=!0,s=e.t0;case 18:e.prev=18,e.prev=19,i||null==c.return||c.return();case 21:if(e.prev=21,!a){e.next=24;break}throw s;case 24:return e.finish(21);case 25:return e.finish(18);case 26:e.next=30;break;case 28:Object(g.a)(f).style.display="none",Object(g.a)(h).insertAdjacentHTML("afterbegin",'

Empty List

');case 30:m(),e.next=35;break;case 33:alert("Enable History from Options Page"),u.a.runtime.openOptionsPage();case 35:case"end":return e.stop()}}),e,null,[[10,14,18,26],[19,,21,25]])})))),Object(g.a)(f).on("click",a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.set({URL_array:[]});case 2:Object(g.a)(h).parentNode.removeChild(Object(g.a)(h)),Object(g.a)(f).style.display="none",Object(g.a)(".table__content--holder").insertAdjacentHTML("beforeend",'

Empty List

');case 5:case"end":return e.stop()}}),e)}))));const p=function(){var e=a()(o.a.mark((function e(t,r){var n,i,a,s,u,c,f,h;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=e=>{Object(g.a)(`#table__shortened-${r}`).insertAdjacentHTML("afterbegin",e),setTimeout(()=>{Object(g.a)("#flash_copy").parentNode.removeChild(Object(g.a)("#flash_copy"))},1300)},"copy"!==t){e.next=6;break}i=Object(g.a)(`#shortUrl-${r}`).textContent;try{(a=document.createElement("textarea")).value=i,a.setAttribute("readonly",""),a.style.position="absolute",a.style.left="-9999px",document.body.appendChild(a),s=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0),a.select(),document.execCommand("copy"),document.body.removeChild(a),s&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(s)),n('
Copied to clipboard!
')}catch(e){n('
Error while Copying!!
')}e.next=26;break;case 6:if("qrcode"!==t){e.next=25;break}return c='
QRCode
',f=Object(g.a)(`#shortUrl-${r}`).textContent,e.prev=9,e.next=12,l.a.toDataURL(f);case 12:h=e.sent,u=(u=c.replace("%qrcodeLink%",h)).replace("%num%",r),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u),e.next=23;break;case 18:e.prev=18,e.t0=e.catch(9),"https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=",u=c.replace("%qrcodeLink%",`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${f}`),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u);case 23:e.next=26;break;case 25:"close__btn"===t&&Object(g.a)("#qrcode__template").parentNode.removeChild(Object(g.a)("#qrcode__template"));case 26:case"end":return e.stop()}}),e,null,[[9,18]])})));return function(t,r){return e.apply(this,arguments)}}();Object(g.a)(h).on("click",e=>{let t,r,n;const o=e.target.id;o&&(r=(t=o.split("-"))[0],n=parseInt(t[1]),p(r,n))}),document.on("keypress",e=>{13===(e.which||e.keyCode)&&e.preventDefault()})}]); \ No newline at end of file diff --git a/chrome/js/options.js b/chrome/js/options.js index fbce720..0f4e948 100644 --- a/chrome/js/options.js +++ b/chrome/js/options.js @@ -1 +1 @@ -!function(e){var r={};function t(n){if(r[n])return r[n].exports;var s=r[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var s in e)t.d(n,s,function(r){return e[r]}.bind(null,s));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=45)}({0:function(e,r,t){"use strict";t.d(r,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,r){this.addEventListener(e,r)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,r){this.forEach((function(t,n){t.on(e,r)}))}},1:function(e,r,t){e.exports=t(8)},2:function(e,r,t){var n,s,o;s=[e],void 0===(o="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const s=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},o=e=>1==e?"argument":"arguments",a=(e,r,t)=>new Proxy(r,{apply:(r,n,s)=>t.call(n,e,...s)});let i=Function.call.bind(Object.prototype.hasOwnProperty);const g=(e,r={},t={})=>{let n=Object.create(null),c={has:(r,t)=>t in e||t in n,get(c,m,l){if(m in n)return n[m];if(!(m in e))return;let u=e[m];if("function"==typeof u)if("function"==typeof r[m])u=a(e,e[m],r[m]);else if(i(t,m)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${o(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,s({resolve:o,reject:a},r))}catch(s){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",s),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,o()}else r.noCallback?(t[e](...n),o()):t[e](...n,s({resolve:o,reject:a},r))})}))(m,t[m]);u=a(e,e[m],r)}else u=u.bind(e);else{if("object"!=typeof u||null===u||!i(r,m)&&!i(t,m))return Object.defineProperty(n,m,{configurable:!0,enumerable:!0,get:()=>e[m],set(r){e[m]=r}}),u;u=g(u,r[m],t[m])}return n[m]=u,u},set:(r,t,s,o)=>(t in n?n[t]=s:e[t]=s,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},m=Object.create(e);return new Proxy(m,c)},c=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let m=!1;const l=new class extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(r,n,s){let o,a,i=!1,g=new Promise(e=>{o=function(r){m||(console.warn(t,(new Error).stack),m=!0),i=!0,e(r)}});try{a=e(r,n,o)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!i)return!1;const l=e=>{e.then(e=>{s(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",s({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(c?a:g),!0}),u=({reject:t,resolve:n},s)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):s&&s.__mozWebExtensionPolyfillReject__?t(new Error(s.message)):n(s)},A=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${o(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const s=u.bind(null,{resolve:e,reject:r});n.push(s),t.sendMessage(...n)})},d={runtime:{onMessage:c(l),onMessageExternal:c(l),sendMessage:A.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:A.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},f={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:f,webRTCIPHandlingPolicy:f},services:{passwordSavingEnabled:f},websites:{hyperlinkAuditingEnabled:f,referrersEnabled:f}},g(e,d,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(r,s):n)||(e.exports=o)},3:function(e,r){function t(e,r,t,n,s,o,a){try{var i=e[o](a),g=i.value}catch(e){return void t(e)}i.done?r(g):Promise.resolve(g).then(n,s)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(s,o){var a=e.apply(r,n);function i(e){t(a,s,o,i,g,"next",e)}function g(e){t(a,s,o,i,g,"throw",e)}i(void 0)}))}}},45:function(e,r,t){e.exports=t(46)},46:function(e,r,t){"use strict";t.r(r);var n=t(1),s=t.n(n),o=t(3),a=t.n(o),i=t(2),g=t.n(i),c=t(0);const m="#view__password--eye",l="#password__label--checkbox",u="#customhost__label--checkbox";document.on("DOMContentLoaded",a()(s.a.mark((function e(){var r,t,n,o,a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.storage.local.get(["key","pwd","userOptions","host"]);case 2:r=e.sent,t=r.key,n=r.pwd,o=r.userOptions,a=r.host,"undefined"===(i=`${t}`)?Object(c.a)("#api__key--value").value="":(Object(c.a)("#api__key--value").value=i,Object(c.a)(l).checked=o.pwdForUrls,o.pwdForUrls||(n=""),Object(c.a)("#password--value").value=n,d(o.pwdForUrls,"#pwd__holder"),Object(c.a)(u).checked=o.devMode,o.devMode||(a=""),Object(c.a)("#customhost__mode--value").value=a,d(o.devMode,"#customhost__holder")),Object(c.a)("#autocopy__label--checkbox").checked=o.autoCopy,Object(c.a)("#history__label--checkbox").checked=o.keepHistory;case 11:case"end":return e.stop()}}),e)}))));const A=function(){var e=a()(s.a.mark((function e(){var r,t,n,o,i,m,A,d;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(c.a)("#password--value").value,t=Object(c.a)("#customhost__mode--value").value,n=Object(c.a)("#api__key--value").value,o=Object(c.a)(u).checked,i=Object(c.a)(l).checked,m=Object(c.a)("#autocopy__label--checkbox").checked,A=Object(c.a)("#history__label--checkbox").checked,""===r&&(i=!1),i||(r=""),""===t?o=!1:t.endsWith("/")&&(t=t.slice(0,-1)),o||(t=""),d={pwdForUrls:i,autoCopy:m,devMode:o,keepHistory:A},e.next=14,g.a.storage.local.set({key:n,pwd:r,host:t,URL_array:[],userOptions:d});case 14:Object(c.a)("#button__submit").textContent="Saved",setTimeout(a()(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(c.a)("#button__submit").textContent="Save",e.next=3,g.a.tabs.getCurrent();case 3:r=e.sent,g.a.tabs.remove(r.id);case 5:case"end":return e.stop()}}),e)}))),1250);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function d(e,r){e?Object(c.a)(r).classList.remove("d-none"):Object(c.a)(r).classList.add("d-none")}Object(c.a)("#button__submit").on("click",A),document.on("keypress",e=>{13===e.keyCode&&A()}),Object(c.a)(m).on("click",()=>{const e=Object(c.a)("#password--value");"password"===e.type?(e.type="text",Object(c.a)(m).textContent="HIDE"):(e.type="password",Object(c.a)(m).textContent="SHOW")}),Object(c.a)("#password__label--switch").on("click",()=>{d(Object(c.a)(l).checked,"#pwd__holder")}),Object(c.a)("#customhost__label--switch").on("click",()=>{d(Object(c.a)(u).checked,"#customhost__holder")})},8:function(e,r,t){var n=function(e){"use strict";var r,t=Object.prototype,n=t.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",i=s.toStringTag||"@@toStringTag";function g(e,r,t,n){var s=r&&r.prototype instanceof f?r:f,o=Object.create(s.prototype),a=new E(n||[]);return o._invoke=function(e,r,t){var n=m;return function(s,o){if(n===u)throw new Error("Generator is already running");if(n===A){if("throw"===s)throw o;return P()}for(t.method=s,t.arg=o;;){var a=t.delegate;if(a){var i=_(a,t);if(i){if(i===d)continue;return i}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(n===m)throw n=A,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);n=u;var g=c(e,r,t);if("normal"===g.type){if(n=t.done?A:l,g.arg===d)continue;return{value:g.arg,done:t.done}}"throw"===g.type&&(n=A,t.method="throw",t.arg=g.arg)}}}(e,t,a),o}function c(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=g;var m="suspendedStart",l="suspendedYield",u="executing",A="completed",d={};function f(){}function p(){}function h(){}var x={};x[o]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(L([])));b&&b!==t&&n.call(b,o)&&(x=b);var v=h.prototype=f.prototype=Object.create(x);function w(e){["next","throw","return"].forEach((function(r){e[r]=function(e){return this._invoke(r,e)}}))}function k(e){var r;this._invoke=function(t,s){function o(){return new Promise((function(r,o){!function r(t,s,o,a){var i=c(e[t],e,s);if("throw"!==i.type){var g=i.arg,m=g.value;return m&&"object"==typeof m&&n.call(m,"__await")?Promise.resolve(m.__await).then((function(e){r("next",e,o,a)}),(function(e){r("throw",e,o,a)})):Promise.resolve(m).then((function(e){g.value=e,o(g)}),(function(e){return r("throw",e,o,a)}))}a(i.arg)}(t,s,r,o)}))}return r=r?r.then(o,o):o()}}function _(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,_(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var s=c(n,e.iterator,t.arg);if("throw"===s.type)return t.method="throw",t.arg=s.arg,t.delegate=null,d;var o=s.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function O(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function L(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,a=function t(){for(;++s=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return s("end");if(a.tryLoc<=this.prev){var g=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(g&&c){if(this.prev=0;--t){var s=this.tryEntries[t];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),O(t),d}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var s=n.arg;O(t)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}}); \ No newline at end of file +!function(e){var r={};function t(n){if(r[n])return r[n].exports;var s=r[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var s in e)t.d(n,s,function(r){return e[r]}.bind(null,s));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=45)}({0:function(e,r,t){"use strict";t.d(r,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,r){this.addEventListener(e,r)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,r){this.forEach((function(t,n){t.on(e,r)}))}},1:function(e,r,t){e.exports=t(8)},2:function(e,r,t){var n,s,o;s=[e],void 0===(o="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class s extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const o=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},a=e=>1==e?"argument":"arguments",i=(e,r,t)=>new Proxy(r,{apply:(r,n,s)=>t.call(n,e,...s)});let g=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,r={},t={})=>{let n=Object.create(null),s={has:(r,t)=>t in e||t in n,get(s,m,l){if(m in n)return n[m];if(!(m in e))return;let u=e[m];if("function"==typeof u)if("function"==typeof r[m])u=i(e,e[m],r[m]);else if(g(t,m)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((s,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,o({resolve:s,reject:a},r))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,s()}else r.noCallback?(t[e](...n),s()):t[e](...n,o({resolve:s,reject:a},r))})}))(m,t[m]);u=i(e,e[m],r)}else u=u.bind(e);else{if("object"!=typeof u||null===u||!g(r,m)&&!g(t,m))return Object.defineProperty(n,m,{configurable:!0,enumerable:!0,get:()=>e[m],set(r){e[m]=r}}),u;u=c(u,r[m],t[m])}return n[m]=u,u},set:(r,t,s,o)=>(t in n?n[t]=s:e[t]=s,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},m=Object.create(e);return new Proxy(m,s)},m=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let l=!1;const u=new s(e=>"function"!=typeof e?e:function(r,n,s){let o,a,i=!1,g=new Promise(e=>{o=function(r){l||(console.warn(t,(new Error).stack),l=!0),i=!0,e(r)}});try{a=e(r,n,o)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!i)return!1;const m=e=>{e.then(e=>{s(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",s({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return m(c?a:g),!0}),A=({reject:t,resolve:n},s)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):s&&s.__mozWebExtensionPolyfillReject__?t(new Error(s.message)):n(s)},d=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const s=A.bind(null,{resolve:e,reject:r});n.push(s),t.sendMessage(...n)})},f={runtime:{onMessage:m(u),onMessageExternal:m(u),sendMessage:d.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:d.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},h={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:h,webRTCIPHandlingPolicy:h},services:{passwordSavingEnabled:h},websites:{hyperlinkAuditingEnabled:h,referrersEnabled:h}},c(e,f,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(r,s):n)||(e.exports=o)},3:function(e,r){function t(e,r,t,n,s,o,a){try{var i=e[o](a),g=i.value}catch(e){return void t(e)}i.done?r(g):Promise.resolve(g).then(n,s)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(s,o){var a=e.apply(r,n);function i(e){t(a,s,o,i,g,"next",e)}function g(e){t(a,s,o,i,g,"throw",e)}i(void 0)}))}}},45:function(e,r,t){e.exports=t(46)},46:function(e,r,t){"use strict";t.r(r);var n=t(1),s=t.n(n),o=t(3),a=t.n(o),i=t(2),g=t.n(i),c=t(0);const m="#view__password--eye",l="#password__label--checkbox",u="#customhost__label--checkbox";document.on("DOMContentLoaded",a()(s.a.mark((function e(){var r,t,n,o,a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.storage.local.get(["key","pwd","userOptions","host"]);case 2:r=e.sent,t=r.key,n=r.pwd,o=r.userOptions,a=r.host,"undefined"===(i=`${t}`)?Object(c.a)("#api__key--value").value="":(Object(c.a)("#api__key--value").value=i,Object(c.a)(l).checked=o.pwdForUrls,o.pwdForUrls||(n=""),Object(c.a)("#password--value").value=n,d(o.pwdForUrls,"#pwd__holder"),Object(c.a)(u).checked=o.devMode,o.devMode||(a=""),Object(c.a)("#customhost__mode--value").value=a,d(o.devMode,"#customhost__holder")),Object(c.a)("#autocopy__label--checkbox").checked=o.autoCopy,Object(c.a)("#history__label--checkbox").checked=o.keepHistory;case 11:case"end":return e.stop()}}),e)}))));const A=function(){var e=a()(s.a.mark((function e(){var r,t,n,o,i,m,A,d;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(c.a)("#password--value").value,t=Object(c.a)("#customhost__mode--value").value,n=Object(c.a)("#api__key--value").value,o=Object(c.a)(u).checked,i=Object(c.a)(l).checked,m=Object(c.a)("#autocopy__label--checkbox").checked,A=Object(c.a)("#history__label--checkbox").checked,""===r&&(i=!1),i||(r=""),""===t?o=!1:t.endsWith("/")&&(t=t.slice(0,-1)),o||(t=""),d={pwdForUrls:i,autoCopy:m,devMode:o,keepHistory:A},e.next=14,g.a.storage.local.set({key:n,pwd:r,host:t,URL_array:[],userOptions:d});case 14:Object(c.a)("#button__submit").textContent="Saved",setTimeout(a()(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(c.a)("#button__submit").textContent="Save",e.next=3,g.a.tabs.getCurrent();case 3:r=e.sent,g.a.tabs.remove(r.id);case 5:case"end":return e.stop()}}),e)}))),1250);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function d(e,r){e?Object(c.a)(r).classList.remove("d-none"):Object(c.a)(r).classList.add("d-none")}Object(c.a)("#button__submit").on("click",A),document.on("keypress",e=>{13===e.keyCode&&A()}),Object(c.a)(m).on("click",()=>{const e=Object(c.a)("#password--value");"password"===e.type?(e.type="text",Object(c.a)(m).textContent="HIDE"):(e.type="password",Object(c.a)(m).textContent="SHOW")}),Object(c.a)("#password__label--switch").on("click",()=>{d(Object(c.a)(l).checked,"#pwd__holder")}),Object(c.a)("#customhost__label--switch").on("click",()=>{d(Object(c.a)(u).checked,"#customhost__holder")})},8:function(e,r,t){var n=function(e){"use strict";var r,t=Object.prototype,n=t.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",i=s.toStringTag||"@@toStringTag";function g(e,r,t,n){var s=r&&r.prototype instanceof f?r:f,o=Object.create(s.prototype),a=new E(n||[]);return o._invoke=function(e,r,t){var n=m;return function(s,o){if(n===u)throw new Error("Generator is already running");if(n===A){if("throw"===s)throw o;return P()}for(t.method=s,t.arg=o;;){var a=t.delegate;if(a){var i=_(a,t);if(i){if(i===d)continue;return i}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(n===m)throw n=A,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);n=u;var g=c(e,r,t);if("normal"===g.type){if(n=t.done?A:l,g.arg===d)continue;return{value:g.arg,done:t.done}}"throw"===g.type&&(n=A,t.method="throw",t.arg=g.arg)}}}(e,t,a),o}function c(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=g;var m="suspendedStart",l="suspendedYield",u="executing",A="completed",d={};function f(){}function h(){}function p(){}var x={};x[o]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(L([])));b&&b!==t&&n.call(b,o)&&(x=b);var v=p.prototype=f.prototype=Object.create(x);function w(e){["next","throw","return"].forEach((function(r){e[r]=function(e){return this._invoke(r,e)}}))}function k(e){var r;this._invoke=function(t,s){function o(){return new Promise((function(r,o){!function r(t,s,o,a){var i=c(e[t],e,s);if("throw"!==i.type){var g=i.arg,m=g.value;return m&&"object"==typeof m&&n.call(m,"__await")?Promise.resolve(m.__await).then((function(e){r("next",e,o,a)}),(function(e){r("throw",e,o,a)})):Promise.resolve(m).then((function(e){g.value=e,o(g)}),(function(e){return r("throw",e,o,a)}))}a(i.arg)}(t,s,r,o)}))}return r=r?r.then(o,o):o()}}function _(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,_(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var s=c(n,e.iterator,t.arg);if("throw"===s.type)return t.method="throw",t.arg=s.arg,t.delegate=null,d;var o=s.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function O(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function L(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,a=function t(){for(;++s=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return s("end");if(a.tryLoc<=this.prev){var g=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(g&&c){if(this.prev=0;--t){var s=this.tryEntries[t];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),O(t),d}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var s=n.arg;O(t)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}}); \ No newline at end of file diff --git a/chrome/js/popup.js b/chrome/js/popup.js index c8127e3..89d8552 100644 --- a/chrome/js/popup.js +++ b/chrome/js/popup.js @@ -1 +1 @@ -!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=47)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(t,e){this.addEventListener(t,e)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(t,e){this.forEach((function(r,n){r.on(t,e)}))}},function(t,e,r){t.exports=r(8)},function(t,e,r){var n,o,i;o=[t],void 0===(i="function"==typeof(n=function(t){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const e="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=t=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(e,r)=>(...n)=>{t.runtime.lastError?e.reject(t.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?e.resolve(n[0]):e.resolve(n)},i=t=>1==t?"argument":"arguments",a=(t,e,r)=>new Proxy(e,{apply:(e,n,o)=>r.call(n,t,...o)});let s=Function.call.bind(Object.prototype.hasOwnProperty);const u=(t,e={},r={})=>{let n=Object.create(null),g={has:(e,r)=>r in t||r in n,get(g,c,l){if(c in n)return n[c];if(!(c in t))return;let f=t[c];if("function"==typeof f)if("function"==typeof e[c])f=a(t,t[c],e[c]);else if(s(r,c)){let e=((t,e)=>(function(r,...n){if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${i(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((i,a)=>{if(e.fallbackToNoCallback)try{r[t](...n,o({resolve:i,reject:a},e))}catch(o){console.warn(`${t} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),r[t](...n),e.fallbackToNoCallback=!1,e.noCallback=!0,i()}else e.noCallback?(r[t](...n),i()):r[t](...n,o({resolve:i,reject:a},e))})}))(c,r[c]);f=a(t,t[c],e)}else f=f.bind(t);else{if("object"!=typeof f||null===f||!s(e,c)&&!s(r,c))return Object.defineProperty(n,c,{configurable:!0,enumerable:!0,get:()=>t[c],set(e){t[c]=e}}),f;f=u(f,e[c],r[c])}return n[c]=f,f},set:(e,r,o,i)=>(r in n?n[r]=o:t[r]=o,!0),defineProperty:(t,e,r)=>Reflect.defineProperty(n,e,r),deleteProperty:(t,e)=>Reflect.deleteProperty(n,e)},c=Object.create(t);return new Proxy(c,g)},g=t=>({addListener(e,r,...n){e.addListener(t.get(r),...n)},hasListener:(e,r)=>e.hasListener(t.get(r)),removeListener(e,r){e.removeListener(t.get(r))}});let c=!1;const l=new class extends WeakMap{constructor(t,e){super(e),this.createItem=t}get(t){return this.has(t)||this.set(t,this.createItem(t)),super.get(t)}}(t=>"function"!=typeof t?t:function(e,n,o){let i,a,s=!1,u=new Promise(t=>{i=function(e){c||(console.warn(r,(new Error).stack),c=!0),s=!0,t(e)}});try{a=t(e,n,i)}catch(t){a=Promise.reject(t)}const g=!0!==a&&(t=>t&&"object"==typeof t&&"function"==typeof t.then)(a);if(!0!==a&&!g&&!s)return!1;const l=t=>{t.then(t=>{o(t)},t=>{let e;e=t&&(t instanceof Error||"string"==typeof t.message)?t.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:e})}).catch(t=>{console.error("Failed to send onMessage rejected reply",t)})};return l(g?a:u),!0}),f=({reject:r,resolve:n},o)=>{t.runtime.lastError?t.runtime.lastError.message===e?n():r(t.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},h=(t,e,r,...n)=>{if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${i(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((t,e)=>{const o=f.bind(null,{resolve:t,reject:e});n.push(o),r.sendMessage(...n)})},m={runtime:{onMessage:g(l),onMessageExternal:g(l),sendMessage:h.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:h.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},d={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:d,webRTCIPHandlingPolicy:d},services:{passwordSavingEnabled:d},websites:{hyperlinkAuditingEnabled:d,referrersEnabled:d}},u(t,m,n)};t.exports=n(chrome)}else t.exports=browser})?n.apply(e,o):n)||(t.exports=i)},function(t,e){function r(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,u,"next",t)}function u(t){r(a,o,i,s,u,"throw",t)}s(void 0)}))}}},function(t,e){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return n[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');r=t},e.isKanjiModeEnabled=function(){return void 0!==r},e.toSJIS=function(t){return r(t)}},function(t,e,r){var n=r(12),o=r(13);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return o.testNumeric(t)?e.NUMERIC:o.testAlphanumeric(t)?e.ALPHANUMERIC:o.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(t){return r}}},function(t,e,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(t,e,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof t?u(this,t):function(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return function(t,e,r,n){if(r<0||e.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function s(t,e){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=i.prototype:(null===(r=t)&&(r=new i(e)),r.length=e),r}function u(t,e){var r=s(t,e<0?0:0|a(e));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function l(t){return i.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:c(t).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(t,e,r){void 0===e?(r=this.length,e=0):void 0===r&&"string"==typeof e?(r=this.length,e=0):isFinite(e)&&(e|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,r,n){return function(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}(c(e,t.length-r),t,r,n)}(this,t,e,r)},i.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--o)t[o+e]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),g=n.call(a,"finallyLoc");if(u&&g){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(t){return r}}},function(t,e,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return i[4*(t-1)+0];case n.M:return i[4*(t-1)+1];case n.Q:return i[4*(t-1)+2];case n.H:return i[4*(t-1)+3];default:return}}},function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},function(t,e){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=new RegExp(r,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(n,"g"),e.NUMERIC=new RegExp("[0-9]+","g"),e.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return o.test(t)},e.testNumeric=function(t){return i.test(t)},e.testAlphanumeric=function(t){return a.test(t)}},function(t,e){function r(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)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=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:n,scale:n?4:o,margin:e,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 o=r.modules.size,i=r.modules.data,a=e.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,g=[n.color.light,n.color.dark],c=0;c=u&&l>=u&&c>n&1),n<6?t.set(n,8,o,!0):n<8?t.set(n+1,8,o,!0):t.set(i-15+n,8,o,!0),n<8?t.set(8,i-n-1,o,!0):n<9?t.set(8,15-n-1+1,o,!0):t.set(8,15-n-1,o,!0);t.set(i-8,8,1,!0)}function y(t,e,r){var i=new a;r.forEach((function(e){i.put(e.mode.bit,4),i.put(e.getLength(),d.getCharCountIndicator(e.mode,t)),e.write(i)}));var s=8*(o.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,g=0;g=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(i+s,a+u,!0,!0):t.set(i+s,a+u,!1,!0))}(w,e),function(t){for(var e=t.size,r=8;r=7&&function(t,e){for(var r,n,o,i=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),t.set(r,n,o,!0),t.set(n,r,o,!0)}(w,e),function(t,e){for(var r=t.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(o,s-u)){var g=!1;a>>i&1)),t.set(o,s-u,g),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(w,m),isNaN(n)&&(n=c.getBestMask(w,v.bind(null,w,r))),c.applyMask(n,w),v(w,r,n),{modules:w,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}e.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var r,n,a=i.M;return void 0!==e&&(a=i.from(e.errorCorrectionLevel,i.M),r=h.from(e.version),n=c.from(e.maskPattern),e.toSJISFunc&&o.setToSJISFunction(e.toSJISFunc)),w(t,r,a,n)}},function(t,e){function r(){this.buffer=[],this.length=0}r.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>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},function(t,e,r){var n=r(6);function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new n(t*t),this.data.fill(0),this.reservedBit=new n(t*t),this.reservedBit.fill(0)}o.prototype.set=function(t,e,r,n){var o=t*this.size+e;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,e){return this.data[t*this.size+e]},o.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},o.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=o},function(t,e,r){var n=r(4).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),o=145===r?26:2*Math.ceil((r-13)/(2*e-2)),i=[r-7],a=1;a=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=c,o=1),(c=t.get(g,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=c,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},e.getPenaltyN2=function(t){for(var e=t.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|t.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},e.getPenaltyN4=function(t){for(var e=0,r=t.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},t.exports=i},function(t,e,r){var n=r(6),o=r(25);e.mul=function(t,e){var r=new n(t.length+e.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(t,r){for(var n=1;n<=40;n++){if(l(t,n)<=e.getCapacity(n,r,a.MIXED))return n}}(t,o);if(0===t.length)return 1;n=t[0]}else n=t;return function(t,r,n){for(var o=1;o<=40;o++)if(r<=e.getCapacity(o,n,t))return o}(n.mode,n.getLength(),o)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;n.getBCHDigit(e)-g>=0;)e^=7973<=0;)i^=1335<=0?t[t.length-1]:null;return r&&r.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(a))},e.rawSplit=function(t){return e.fromArray(h(t,g.isKanjiModeEnabled()))}},function(t,e,r){var n=r(5);function o(t){this.mode=n.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,r,n;for(e=0;e+3<=this.data.length;e+=3)r=this.data.substr(e,3),n=parseInt(r,10),t.put(n,10);var o=this.data.length-e;o>0&&(r=this.data.substr(e),n=parseInt(r,10),t.put(n,3*o+1))},t.exports=o},function(t,e,r){var n=r(5),o=["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 i(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*o.indexOf(this.data[e]);r+=o.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},t.exports=i},function(t,e,r){var n=r(6),o=r(5);function i(t){this.mode=o.BYTE,this.data=new n(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,r=this.data.length;e=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},t.exports=i},function(t,e,r){"use strict";var n={single_source_shortest_paths:function(t,e,r){var o={},i={};i[e]=0;var a,s,u,g,c,l,f,h=n.PriorityQueue.make();for(h.push(e,0);!h.empty();)for(u in s=(a=h.pop()).value,g=a.cost,c=t[s]||{})c.hasOwnProperty(u)&&(l=g+c[u],f=i[u],(void 0===i[u]||f>l)&&(i[u]=l,h.push(u,l),o[u]=s));if(void 0!==r&&void 0===i[r]){var m=["Could not find a path from ",e," to ",r,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var o=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,o={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(o[e]=r[e]);return o.queue=[],o.sorter=t.sorter||r.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=n},function(t,e,r){var n=r(14);e.render=function(t,e,r){var o=r,i=e;void 0!==o||e&&e.getContext||(o=e,e=void 0),e||(i=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(t.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,t,o),function(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},e.renderToDataURL=function(t,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=e.render(t,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(t,e,r){var n=r(14);function o(t,e){var r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(t,e,r){var n=t+e;return void 0!==r&&(n+=" "+r),n}e.render=function(t,e,r){var a=n.getOptions(e),s=t.modules.size,u=t.modules.data,g=s+2*a.margin,c=a.color.light.a?"':"",l="0&&g>0&&t[u-1]||(n+=a?i("M",g+r,.5+c+r):i("m",o,0),o=0,a=!1),g+1',f='viewBox="0 0 '+g+" "+g+'"',h=''+c+l+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,function(t,e,r){t.exports=r(48)},function(t,e,r){"use strict";r.r(e);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),g=r(15),c=r.n(g),l=r(0);let f,h,m,d,p="";const A=t=>{Object(l.a)("#url__content-inner").textContent=t},v=()=>{setTimeout(()=>{u.a.runtime.openOptionsPage()},900)},y=t=>{Object(l.a)(t).classList.toggle("d-none")},w=()=>{Object(l.a)("#copy__alert").classList.toggle("v-none")},x=function(){var t=a()(o.a.mark((function t(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,c.a.toDataURL(e);case 3:Object(l.a)("#qr_code").src=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),Object(l.a)("#qr_code").src=`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${e}`;case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),b=()=>{try{Object(l.a)("#copy__alert").textContent="Copied to clipboard!";const t=document.createElement("textarea");t.value=f,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);const e=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e)),w(),setTimeout(()=>{w()},1300)}catch(t){Object(l.a)("#copy__alert").textContent="Error while Copying!",w(),setTimeout(()=>{w()},1300)}},E=function(){var t=a()(o.a.mark((function t(e){var r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["URL_array"]);case 2:return r=t.sent,n=r.URL_array,t.next=6,u.a.runtime.sendMessage({msg:"store",curURLPair:e,curURLCollection:n});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),P=function(){var t=a()(o.a.mark((function t(){var e,r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["userOptions"]);case 2:e=t.sent,r=e.userOptions,n=r.keepHistory,r.autoCopy&&setTimeout(()=>{b()},500),n&&E({longUrl:h,shortUrl:f});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();Object(l.a)("#button__copy--holder").on("click",()=>b()),Object(l.a)("#button__qrcode--holder").on("click",()=>{y(".qrcode__content--holder")}),document.on("DOMContentLoaded",a()(o.a.mark((function t(){var e,r,n,i,a,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.tabs.query({active:!0,lastFocusedWindow:!0});case 2:return e=t.sent,(h=e.length&&e[0].url)&&(p=h.startsWith("http")),t.next=7,u.a.storage.local.get(["key","pwd"]);case 7:if(r=t.sent,n=r.key,i=r.pwd,m=n,d=i,!p||""===m||void 0===m){t.next=34;break}return t.next=15,u.a.runtime.sendMessage({msg:"start",API_key:m,pageUrl:h,password:d});case 15:if(a=t.sent,isNaN(a)){t.next=31;break}t.t0=a,t.next=429===t.t0?20:401===t.t0?22:504===t.t0?25:27;break;case 20:return A("API Limit Exceeded!"),t.abrupt("break",29);case 22:return A("Invalid API Key"),v(),t.abrupt("break",29);case 25:return A("Time-out!"),t.abrupt("break",29);case 27:return A("Some error occured"),t.abrupt("break",29);case 29:t.next=32;break;case 31:a?(A(f=a),y(".buttons__content--holder"),x(f),P()):A("Invalid Response!");case 32:t.next=43;break;case 34:if(""!==m&&void 0!==m){t.next=42;break}return A("Set API Key in Options!"),s={pwdForUrls:!1,autoCopy:!1,keepHistory:!0,devMode:!1},t.next=39,u.a.storage.local.set({userOptions:s,URL_array:[]});case 39:v(),t.next=43;break;case 42:p||A("Not a Valid URL!!");case 43:case"end":return t.stop()}}),t)}))))}]); \ No newline at end of file +!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=47)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(t,e){this.addEventListener(t,e)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(t,e){this.forEach((function(r,n){r.on(t,e)}))}},function(t,e,r){t.exports=r(8)},function(t,e,r){var n,o,i;o=[t],void 0===(i="function"==typeof(n=function(t){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const e="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=t=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(t,e){super(e),this.createItem=t}get(t){return this.has(t)||this.set(t,this.createItem(t)),super.get(t)}}const i=(e,r)=>(...n)=>{t.runtime.lastError?e.reject(t.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?e.resolve(n[0]):e.resolve(n)},a=t=>1==t?"argument":"arguments",s=(t,e,r)=>new Proxy(e,{apply:(e,n,o)=>r.call(n,t,...o)});let u=Function.call.bind(Object.prototype.hasOwnProperty);const c=(t,e={},r={})=>{let n=Object.create(null),o={has:(e,r)=>r in t||r in n,get(o,g,l){if(g in n)return n[g];if(!(g in t))return;let f=t[g];if("function"==typeof f)if("function"==typeof e[g])f=s(t,t[g],e[g]);else if(u(r,g)){let e=((t,e)=>(function(r,...n){if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${a(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((o,a)=>{if(e.fallbackToNoCallback)try{r[t](...n,i({resolve:o,reject:a},e))}catch(i){console.warn(`${t} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",i),r[t](...n),e.fallbackToNoCallback=!1,e.noCallback=!0,o()}else e.noCallback?(r[t](...n),o()):r[t](...n,i({resolve:o,reject:a},e))})}))(g,r[g]);f=s(t,t[g],e)}else f=f.bind(t);else{if("object"!=typeof f||null===f||!u(e,g)&&!u(r,g))return Object.defineProperty(n,g,{configurable:!0,enumerable:!0,get:()=>t[g],set(e){t[g]=e}}),f;f=c(f,e[g],r[g])}return n[g]=f,f},set:(e,r,o,i)=>(r in n?n[r]=o:t[r]=o,!0),defineProperty:(t,e,r)=>Reflect.defineProperty(n,e,r),deleteProperty:(t,e)=>Reflect.deleteProperty(n,e)},g=Object.create(t);return new Proxy(g,o)},g=t=>({addListener(e,r,...n){e.addListener(t.get(r),...n)},hasListener:(e,r)=>e.hasListener(t.get(r)),removeListener(e,r){e.removeListener(t.get(r))}});let l=!1;const f=new o(t=>"function"!=typeof t?t:function(e,n,o){let i,a,s=!1,u=new Promise(t=>{i=function(e){l||(console.warn(r,(new Error).stack),l=!0),s=!0,t(e)}});try{a=t(e,n,i)}catch(t){a=Promise.reject(t)}const c=!0!==a&&(t=>t&&"object"==typeof t&&"function"==typeof t.then)(a);if(!0!==a&&!c&&!s)return!1;const g=t=>{t.then(t=>{o(t)},t=>{let e;e=t&&(t instanceof Error||"string"==typeof t.message)?t.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:e})}).catch(t=>{console.error("Failed to send onMessage rejected reply",t)})};return g(c?a:u),!0}),h=({reject:r,resolve:n},o)=>{t.runtime.lastError?t.runtime.lastError.message===e?n():r(t.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},m=(t,e,r,...n)=>{if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${a(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((t,e)=>{const o=h.bind(null,{resolve:t,reject:e});n.push(o),r.sendMessage(...n)})},d={runtime:{onMessage:g(f),onMessageExternal:g(f),sendMessage:m.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:m.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},p={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:p,webRTCIPHandlingPolicy:p},services:{passwordSavingEnabled:p},websites:{hyperlinkAuditingEnabled:p,referrersEnabled:p}},c(t,d,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");t.exports=n(chrome)}else t.exports=browser})?n.apply(e,o):n)||(t.exports=i)},function(t,e){function r(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,u,"next",t)}function u(t){r(a,o,i,s,u,"throw",t)}s(void 0)}))}}},function(t,e){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return n[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');r=t},e.isKanjiModeEnabled=function(){return void 0!==r},e.toSJIS=function(t){return r(t)}},function(t,e,r){var n=r(12),o=r(13);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return o.testNumeric(t)?e.NUMERIC:o.testAlphanumeric(t)?e.ALPHANUMERIC:o.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(t){return r}}},function(t,e,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(t,e,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof t?u(this,t):function(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return function(t,e,r,n){if(r<0||e.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function s(t,e){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=i.prototype:(null===(r=t)&&(r=new i(e)),r.length=e),r}function u(t,e){var r=s(t,e<0?0:0|a(e));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function l(t){return i.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:g(t).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(t,e,r){void 0===e?(r=this.length,e=0):void 0===r&&"string"==typeof e?(r=this.length,e=0):isFinite(e)&&(e|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,r,n){return function(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}(g(e,t.length-r),t,r,n)}(this,t,e,r)},i.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--o)t[o+e]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(t){return r}}},function(t,e,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return i[4*(t-1)+0];case n.M:return i[4*(t-1)+1];case n.Q:return i[4*(t-1)+2];case n.H:return i[4*(t-1)+3];default:return}}},function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},function(t,e){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=new RegExp(r,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(n,"g"),e.NUMERIC=new RegExp("[0-9]+","g"),e.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return o.test(t)},e.testNumeric=function(t){return i.test(t)},e.testAlphanumeric=function(t){return a.test(t)}},function(t,e){function r(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)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=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:n,scale:n?4:o,margin:e,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 o=r.modules.size,i=r.modules.data,a=e.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],g=0;g=u&&l>=u&&g>n&1),n<6?t.set(n,8,o,!0):n<8?t.set(n+1,8,o,!0):t.set(i-15+n,8,o,!0),n<8?t.set(8,i-n-1,o,!0):n<9?t.set(8,15-n-1+1,o,!0):t.set(8,15-n-1,o,!0);t.set(i-8,8,1,!0)}function y(t,e,r){var i=new a;r.forEach((function(e){i.put(e.mode.bit,4),i.put(e.getLength(),d.getCharCountIndicator(e.mode,t)),e.write(i)}));var s=8*(o.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(i+s,a+u,!0,!0):t.set(i+s,a+u,!1,!0))}(w,e),function(t){for(var e=t.size,r=8;r=7&&function(t,e){for(var r,n,o,i=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),t.set(r,n,o,!0),t.set(n,r,o,!0)}(w,e),function(t,e){for(var r=t.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(o,s-u)){var c=!1;a>>i&1)),t.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(w,m),isNaN(n)&&(n=g.getBestMask(w,v.bind(null,w,r))),g.applyMask(n,w),v(w,r,n),{modules:w,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}e.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var r,n,a=i.M;return void 0!==e&&(a=i.from(e.errorCorrectionLevel,i.M),r=h.from(e.version),n=g.from(e.maskPattern),e.toSJISFunc&&o.setToSJISFunction(e.toSJISFunc)),w(t,r,a,n)}},function(t,e){function r(){this.buffer=[],this.length=0}r.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>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},function(t,e,r){var n=r(6);function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new n(t*t),this.data.fill(0),this.reservedBit=new n(t*t),this.reservedBit.fill(0)}o.prototype.set=function(t,e,r,n){var o=t*this.size+e;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,e){return this.data[t*this.size+e]},o.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},o.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=o},function(t,e,r){var n=r(4).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),o=145===r?26:2*Math.ceil((r-13)/(2*e-2)),i=[r-7],a=1;a=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=g,o=1),(g=t.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=g,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},e.getPenaltyN2=function(t){for(var e=t.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|t.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},e.getPenaltyN4=function(t){for(var e=0,r=t.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},t.exports=i},function(t,e,r){var n=r(6),o=r(25);e.mul=function(t,e){var r=new n(t.length+e.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(t,r){for(var n=1;n<=40;n++){if(l(t,n)<=e.getCapacity(n,r,a.MIXED))return n}}(t,o);if(0===t.length)return 1;n=t[0]}else n=t;return function(t,r,n){for(var o=1;o<=40;o++)if(r<=e.getCapacity(o,n,t))return o}(n.mode,n.getLength(),o)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;n.getBCHDigit(e)-c>=0;)e^=7973<=0;)i^=1335<=0?t[t.length-1]:null;return r&&r.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(a))},e.rawSplit=function(t){return e.fromArray(h(t,c.isKanjiModeEnabled()))}},function(t,e,r){var n=r(5);function o(t){this.mode=n.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,r,n;for(e=0;e+3<=this.data.length;e+=3)r=this.data.substr(e,3),n=parseInt(r,10),t.put(n,10);var o=this.data.length-e;o>0&&(r=this.data.substr(e),n=parseInt(r,10),t.put(n,3*o+1))},t.exports=o},function(t,e,r){var n=r(5),o=["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 i(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*o.indexOf(this.data[e]);r+=o.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},t.exports=i},function(t,e,r){var n=r(6),o=r(5);function i(t){this.mode=o.BYTE,this.data=new n(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,r=this.data.length;e=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},t.exports=i},function(t,e,r){"use strict";var n={single_source_shortest_paths:function(t,e,r){var o={},i={};i[e]=0;var a,s,u,c,g,l,f,h=n.PriorityQueue.make();for(h.push(e,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,g=t[s]||{})g.hasOwnProperty(u)&&(l=c+g[u],f=i[u],(void 0===i[u]||f>l)&&(i[u]=l,h.push(u,l),o[u]=s));if(void 0!==r&&void 0===i[r]){var m=["Could not find a path from ",e," to ",r,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var o=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,o={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(o[e]=r[e]);return o.queue=[],o.sorter=t.sorter||r.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=n},function(t,e,r){var n=r(14);e.render=function(t,e,r){var o=r,i=e;void 0!==o||e&&e.getContext||(o=e,e=void 0),e||(i=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(t.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,t,o),function(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},e.renderToDataURL=function(t,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=e.render(t,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(t,e,r){var n=r(14);function o(t,e){var r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(t,e,r){var n=t+e;return void 0!==r&&(n+=" "+r),n}e.render=function(t,e,r){var a=n.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*a.margin,g=a.color.light.a?"':"",l="0&&c>0&&t[u-1]||(n+=a?i("M",c+r,.5+g+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+g+l+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,function(t,e,r){t.exports=r(48)},function(t,e,r){"use strict";r.r(e);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),g=r.n(c),l=r(0);let f,h,m,d,p="";const A=t=>{Object(l.a)("#url__content-inner").textContent=t},v=()=>{setTimeout(()=>{u.a.runtime.openOptionsPage()},900)},y=t=>{Object(l.a)(t).classList.toggle("d-none")},w=()=>{Object(l.a)("#copy__alert").classList.toggle("v-none")},x=function(){var t=a()(o.a.mark((function t(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g.a.toDataURL(e);case 3:Object(l.a)("#qr_code").src=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),Object(l.a)("#qr_code").src=`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${e}`;case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),b=()=>{try{Object(l.a)("#copy__alert").textContent="Copied to clipboard!";const t=document.createElement("textarea");t.value=f,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);const e=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e)),w(),setTimeout(()=>{w()},1300)}catch(t){Object(l.a)("#copy__alert").textContent="Error while Copying!",w(),setTimeout(()=>{w()},1300)}},E=function(){var t=a()(o.a.mark((function t(e){var r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["URL_array"]);case 2:return r=t.sent,n=r.URL_array,t.next=6,u.a.runtime.sendMessage({msg:"store",curURLPair:e,curURLCollection:n});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),P=function(){var t=a()(o.a.mark((function t(){var e,r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["userOptions"]);case 2:e=t.sent,r=e.userOptions,n=r.keepHistory,r.autoCopy&&setTimeout(()=>{b()},500),n&&E({longUrl:h,shortUrl:f});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();Object(l.a)("#button__copy--holder").on("click",()=>b()),Object(l.a)("#button__qrcode--holder").on("click",()=>{y(".qrcode__content--holder")}),document.on("DOMContentLoaded",a()(o.a.mark((function t(){var e,r,n,i,a,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.tabs.query({active:!0,lastFocusedWindow:!0});case 2:return e=t.sent,(h=e.length&&e[0].url)&&(p=h.startsWith("http")),t.next=7,u.a.storage.local.get(["key","pwd"]);case 7:if(r=t.sent,n=r.key,i=r.pwd,m=n,d=i,!p||""===m||void 0===m){t.next=34;break}return t.next=15,u.a.runtime.sendMessage({msg:"start",API_key:m,pageUrl:h,password:d});case 15:if(a=t.sent,isNaN(a)){t.next=31;break}t.t0=a,t.next=429===t.t0?20:401===t.t0?22:504===t.t0?25:27;break;case 20:return A("API Limit Exceeded!"),t.abrupt("break",29);case 22:return A("Invalid API Key"),v(),t.abrupt("break",29);case 25:return A("Time-out!"),t.abrupt("break",29);case 27:return A("Some error occured"),t.abrupt("break",29);case 29:t.next=32;break;case 31:a?(A(f=a),y(".buttons__content--holder"),x(f),P()):A("Invalid Response!");case 32:t.next=43;break;case 34:if(""!==m&&void 0!==m){t.next=42;break}return A("Set API Key in Options!"),s={pwdForUrls:!1,autoCopy:!1,keepHistory:!0,devMode:!1},t.next=39,u.a.storage.local.set({userOptions:s,URL_array:[]});case 39:v(),t.next=43;break;case 42:p||A("Not a Valid URL!!");case 43:case"end":return t.stop()}}),t)}))))}]); \ No newline at end of file diff --git a/chrome/manifest.json b/chrome/manifest.json index 7e368d1..9684b27 100644 --- a/chrome/manifest.json +++ b/chrome/manifest.json @@ -1,45 +1 @@ -{ - "manifest_version": 2, - "name": "Kutt", - "version": "3.0.2", - "description": "Shorten long URLs with just one click.", - "icons": { - "16": "assets/favicon-16.png", - "32": "assets/favicon-32.png", - "48": "assets/favicon-48.png", - "128": "assets/favicon-128.png" - }, - "browser_action": { - "default_popup": "popup.html", - "default_icon": { - "16": "assets/favicon-16.png", - "32": "assets/favicon-32.png", - "48": "assets/favicon-48.png", - "128": "assets/favicon-128.png" - }, - "default_title": "Shorten this URL", - "chrome_style": false - }, - "author": "abhijithvijayan", - "background": { - "persistent": false, - "scripts": ["js/background.js"] - }, - "homepage_url": "https://github.com/abhijithvijayan/kutt-extension", - "minimum_chrome_version": "49", - "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", - "options_page": "options.html", - "options_ui": { - "page": "options.html", - "chrome_style": false, - "open_in_tab": true - }, - "permissions": [ - "tabs", - "storage", - "clipboardRead", - "http://*/*", - "https://*/*" - ], - "short_name": "Kutt" -} +{"version":"3.1.0","name":"Kutt","description":"Shorten long URLs with just one click.","icons":{"16":"assets/favicon-16.png","32":"assets/favicon-32.png","48":"assets/favicon-48.png","128":"assets/favicon-128.png"},"browser_action":{"default_popup":"popup.html","default_icon":{"16":"assets/favicon-16.png","32":"assets/favicon-32.png","48":"assets/favicon-48.png","128":"assets/favicon-128.png"},"default_title":"Shorten this URL","chrome_style":false},"manifest_version":2,"author":"abhijithvijayan","background":{"persistent":false,"scripts":["js/background.js"]},"homepage_url":"https://github.com/abhijithvijayan/kutt-extension","minimum_chrome_version":"49","content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self'","options_page":"options.html","options_ui":{"page":"options.html","chrome_style":false,"open_in_tab":true},"permissions":["tabs","storage","clipboardRead","http://*/*","https://*/*"],"short_name":"Kutt"} \ No newline at end of file diff --git a/firefox.zip b/firefox.zip index 9eb3d47..4f7cbac 100644 Binary files a/firefox.zip and b/firefox.zip differ diff --git a/firefox/css/history.css b/firefox/css/history.css index ee0f896..666aeb7 100644 --- a/firefox/css/history.css +++ b/firefox/css/history.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}button>*{pointer-events:none}#history .history__content--holder{min-height:100vh;width:100%;display:-webkit-box;display:flex;align-items:center;flex-direction:column;box-sizing:border-box;flex:0 0 auto}#history .history__content--holder .table__content--holder{width:1200px;max-width:95%;display:-webkit-box;display:flex;flex-direction:column;margin:40px 0 120px}#history .history__content--holder .table__content--holder .history__head--holder{display:-webkit-box;display:flex;align-items:center;justify-content:space-between}#history .history__content--holder .table__content--holder .history__head--holder h2{font-size:24px;margin:.83em 0}#history .history__content--holder .table__content--holder .history__head--holder a{border-bottom:1px solid;margin-right:10px;padding-bottom:1px;font-size:18px}#history .history__content--holder .table__content--holder .table__content--wrapper{display:-webkit-box;display:flex;flex-direction:column;background-color:#fff;box-shadow:0 6px 30px rgba(50,50,50,.2);flex:1 1 auto;border-radius:12px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head{display:-webkit-box;display:flex;flex-direction:column;background-color:#f1f1f1;border-top-right-radius:12px;border-top-left-radius:12px;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder{display:-webkit-box;display:flex;justify-content:space-between;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder th{position:relative;display:-webkit-box;display:flex;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--longURL{justify-content:flex-start;align-items:center;flex:2 2 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--shortURL{display:-webkit-box;display:flex;justify-content:flex-start;align-items:center;flex:1 1 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll{display:-webkit-box;display:flex;position:relative;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn{color:#111;font-size:16px;display:-webkit-box;display:flex;justify-content:center;align-items:center;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;width:auto;margin:0 2px 0 12px;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;outline:none;transition:all .2s ease-out 0s;padding:0 12px;border-radius:100px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn img{margin:1px 0 3px 6px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn:hover{transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body{display:-webkit-box;display:flex;flex-direction:column;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder{display:-webkit-box;display:flex;justify-content:space-between;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder td{position:relative;display:-webkit-box;display:flex;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original{white-space:nowrap;overflow:hidden;flex:2 2 0px;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened{white-space:nowrap;flex:1 1 23px;overflow:hidden;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table_body--flashCopy{position:absolute;left:0;top:0;color:green;font-size:11px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody{display:-webkit-box;display:flex;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder{display:-webkit-box;display:flex;justify-content:flex-end;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode{display:-webkit-box;display:flex;justify-content:center;align-items:center;width:26px;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;margin:0 12px 0 2px;padding:0;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;outline:none;border-radius:100%;transition:all .2s ease-out 0s}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy:hover,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode:hover{transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div{position:fixed;width:100%;height:100%;top:0;left:0;display:-webkit-box;display:flex;justify-content:center;align-items:center;background-color:rgba(50,50,50,.8);z-index:1000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup{text-align:center;background-color:#fff;padding:48px 64px;border-radius:8px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__qrcode--holder #table__qrcode{height:196px;width:196px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder{display:-webkit-box;display:flex;justify-content:center;margin-top:40px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder .table__closebtn--inner{margin:0 16px;position:relative;height:40px;display:-webkit-box;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:400;text-align:center;line-height:1;word-break:keep-all;cursor:pointer;color:#000;box-shadow:0 5px 6px hsla(0,0%,62.7%,.5);padding:0 32px;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;border-radius:100px;transition:all .4s ease-out 0s;overflow:hidden;background:-webkit-gradient(linear,left top,right top,from(#e0e0e0),to(#bdbdbd));background:linear-gradient(90deg,#e0e0e0,#bdbdbd)} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}button>*{pointer-events:none}#history .history__content--holder{min-height:100vh;width:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;box-sizing:border-box;-webkit-box-flex:0;flex:0 0 auto}#history .history__content--holder .table__content--holder{width:1200px;max-width:95%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:40px 0 120px}#history .history__content--holder .table__content--holder .history__head--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between}#history .history__content--holder .table__content--holder .history__head--holder h2{font-size:24px;margin:.83em 0}#history .history__content--holder .table__content--holder .history__head--holder a{border-bottom:1px solid;margin-right:10px;padding-bottom:1px;font-size:18px}#history .history__content--holder .table__content--holder .table__content--wrapper{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background-color:#fff;box-shadow:0 6px 30px rgba(50,50,50,.2);-webkit-box-flex:1;flex:1 1 auto;border-radius:12px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background-color:#f1f1f1;border-top-right-radius:12px;border-top-left-radius:12px;-webkit-box-flex:1;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-flex:1;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder th{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--longURL{-webkit-box-pack:start;justify-content:flex-start;-webkit-box-align:center;align-items:center;-webkit-box-flex:2;flex:2 2 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--shortURL{display:-webkit-box;display:flex;-webkit-box-pack:start;justify-content:flex-start;-webkit-box-align:center;align-items:center;-webkit-box-flex:1;flex:1 1 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll{display:-webkit-box;display:flex;position:relative;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn{color:#111;font-size:16px;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;width:auto;margin:0 2px 0 12px;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;outline:none;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;padding:0 12px;border-radius:100px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn img{margin:1px 0 3px 6px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn:hover{-webkit-transform:translateY(-3px);transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-flex:1;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-flex:1;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder td{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original{white-space:nowrap;overflow:hidden;-webkit-box-flex:2;flex:2 2 0px;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened{white-space:nowrap;-webkit-box-flex:1;flex:1 1 23px;overflow:hidden;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table_body--flashCopy{position:absolute;left:0;top:0;color:green;font-size:11px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder{display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;-webkit-box-align:center;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:26px;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;margin:0 12px 0 2px;padding:0;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;outline:none;border-radius:100%;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy:hover,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode:hover{-webkit-transform:translateY(-3px);transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div{position:fixed;width:100%;height:100%;top:0;left:0;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;background-color:rgba(50,50,50,.8);z-index:1000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup{text-align:center;background-color:#fff;padding:48px 64px;border-radius:8px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__qrcode--holder #table__qrcode{height:196px;width:196px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;margin-top:40px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder .table__closebtn--inner{margin:0 16px;position:relative;height:40px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:13px;font-weight:400;text-align:center;line-height:1;word-break:keep-all;cursor:pointer;color:#000;box-shadow:0 5px 6px hsla(0,0%,62.7%,.5);padding:0 32px;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;border-radius:100px;-webkit-transition:all .4s ease-out 0s;transition:all .4s ease-out 0s;overflow:hidden;background:-webkit-gradient(linear,left top,right top,from(#e0e0e0),to(#bdbdbd));background:linear-gradient(90deg,#e0e0e0,#bdbdbd)} \ No newline at end of file diff --git a/firefox/css/options.css b/firefox/css/options.css index fe86539..0f2d0b9 100644 --- a/firefox/css/options.css +++ b/firefox/css/options.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}#options{display:-webkit-box;display:flex;justify-content:center;height:100vh}#options .options__content--holder{padding-top:5em;display:-webkit-box;display:flex;flex-direction:column;align-items:center}#options .options__content--holder .head__content--holder{display:-webkit-box;display:flex;align-items:center;margin-bottom:24px}#options .options__content--holder .head__content--holder .head__content--logo{width:38px;height:38px}#options .options__content--holder .head__content--holder .head__content--title{color:#111;font-weight:600;padding:0;margin:0 0 0 .4em;font-size:34px}#options .options__content--holder .form__content--holder{margin-top:3em}#options .options__content--holder .form__content--holder .form__content{padding:0 100px 40px;width:600px}#options .options__content--holder .form__content--holder .form__content .api__key--label,#options .options__content--holder .form__content--holder .form__content .copy--label,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label,#options .options__content--holder .form__content--holder .form__content .password--label{font-size:16px;display:inline-block;margin-bottom:.8em}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional{font-size:13px;letter-spacing:1px;cursor:default;position:relative;display:inline-block;border-bottom:1px dotted #000}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .password__label--tooltiptext{visibility:visible;opacity:1}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext{cursor:pointer;visibility:hidden;font-size:13px;width:180px;line-height:1.5;letter-spacing:1px;background-color:#555;color:#fff;padding:5px 0;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-90px;opacity:0;transition:opacity .3s}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-top-color:#555}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text{cursor:pointer}#options .options__content--holder .form__content--holder .form__content .api__key--holder,#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-family:Nunito,sans-serif;width:100%;border-radius:100px;background-color:#fff;box-shadow:0 10px 35px rgba(50,50,50,.1);color:#444;box-sizing:border-box;border:none;border-bottom:4px solid #f5f5f5;-o-border-image:none 100%/1/0 stretch;border-image:none 100%/1/0 stretch;height:54px}#options .options__content--holder .form__content--holder .form__content .api__key--holder{margin-bottom:3em;padding:12px 25px;font-size:16px}#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-size:20px;padding:8px 25px}#options .options__content--holder .form__content--holder .form__content .view__password--eye{text-transform:uppercase;cursor:pointer;position:relative;float:right;margin-right:20px;margin-top:-36px;z-index:2}#options .options__content--holder .form__content--holder .form__content .saved__alert{margin-top:2em;padding-left:.5em}#options .options__content--holder .form__content--holder .form__content .button__submit{font-family:Nunito,sans-serif;font-size:18px;display:block;color:#fff;width:100%;background:transparent -webkit-gradient(linear,left top,right top,from(#42a5f5),to(#2979ff)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#42a5f5,#2979ff) repeat scroll 0 0;box-shadow:0 5px 6px rgba(66,165,245,.5);border:none;border-radius:100px;padding:12px;margin:2em 0 1em}#options .options__content--holder .form__content--holder .form__content .button__submit:hover{cursor:pointer;background:transparent -webkit-gradient(linear,left top,right top,from(#2979ff),to(#4d5bfa)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#2979ff,#4d5bfa) repeat scroll 0 0}#options .options__content--holder .footer__text--holder{font-size:12px;padding-top:20px;padding-bottom:20px;letter-spacing:1px}#options .options__content--holder .footer__text--holder .github__repo--link{border-bottom:1px dotted #111;text-decoration:none} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}#options{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;height:100vh}#options .options__content--holder{padding-top:5em;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center}#options .options__content--holder .head__content--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:24px}#options .options__content--holder .head__content--holder .head__content--logo{width:38px;height:38px}#options .options__content--holder .head__content--holder .head__content--title{color:#111;font-weight:600;padding:0;margin:0 0 0 .4em;font-size:34px}#options .options__content--holder .form__content--holder{margin-top:3em}#options .options__content--holder .form__content--holder .form__content{padding:0 100px 40px;width:600px}#options .options__content--holder .form__content--holder .form__content .api__key--label,#options .options__content--holder .form__content--holder .form__content .copy--label,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label,#options .options__content--holder .form__content--holder .form__content .password--label{font-size:16px;display:inline-block;margin-bottom:.8em}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional{font-size:13px;letter-spacing:1px;cursor:default;position:relative;display:inline-block;border-bottom:1px dotted #000}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .password__label--tooltiptext{visibility:visible;opacity:1}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext{cursor:pointer;visibility:hidden;font-size:13px;width:180px;line-height:1.5;letter-spacing:1px;background-color:#555;color:#fff;padding:5px 0;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-90px;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-top-color:#555}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text{cursor:pointer}#options .options__content--holder .form__content--holder .form__content .api__key--holder,#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-family:Nunito,sans-serif;width:100%;border-radius:100px;background-color:#fff;box-shadow:0 10px 35px rgba(50,50,50,.1);color:#444;box-sizing:border-box;border:none;border-bottom:4px solid #f5f5f5;-webkit-border-image:none 100%/1/0 stretch;-o-border-image:none 100%/1/0 stretch;border-image:none 100%/1/0 stretch;height:54px}#options .options__content--holder .form__content--holder .form__content .api__key--holder{margin-bottom:3em;padding:12px 25px;font-size:16px}#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-size:20px;padding:8px 25px}#options .options__content--holder .form__content--holder .form__content .view__password--eye{text-transform:uppercase;cursor:pointer;position:relative;float:right;margin-right:20px;margin-top:-36px;z-index:2}#options .options__content--holder .form__content--holder .form__content .saved__alert{margin-top:2em;padding-left:.5em}#options .options__content--holder .form__content--holder .form__content .button__submit{font-family:Nunito,sans-serif;font-size:18px;display:block;color:#fff;width:100%;background:transparent -webkit-gradient(linear,left top,right top,from(#42a5f5),to(#2979ff)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#42a5f5,#2979ff) repeat scroll 0 0;box-shadow:0 5px 6px rgba(66,165,245,.5);border:none;border-radius:100px;padding:12px;margin:2em 0 1em}#options .options__content--holder .form__content--holder .form__content .button__submit:hover{cursor:pointer;background:transparent -webkit-gradient(linear,left top,right top,from(#2979ff),to(#4d5bfa)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#2979ff,#4d5bfa) repeat scroll 0 0}#options .options__content--holder .footer__text--holder{font-size:12px;padding-top:20px;padding-bottom:20px;letter-spacing:1px}#options .options__content--holder .footer__text--holder .github__repo--link{border-bottom:1px dotted #111;text-decoration:none} \ No newline at end of file diff --git a/firefox/css/popup.css b/firefox/css/popup.css index f913e83..df2cf46 100644 --- a/firefox/css/popup.css +++ b/firefox/css/popup.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:-webkit-box;display:flex;align-items:center;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{display:-webkit-box;display:flex;align-items:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder .url__content--url{display:-webkit-box;display:flex;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:-webkit-box;display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:-webkit-box;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{-webkit-box-pack:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder,#home .container .content__holder .url__content--holder .url__content--url{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px} \ No newline at end of file diff --git a/firefox/js/background.js b/firefox/js/background.js index e376aa2..14850a3 100644 --- a/firefox/js/background.js +++ b/firefox/js/background.js @@ -1,4 +1,4 @@ -!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=51)}([,function(e,r,t){e.exports=t(8)},function(e,r,t){var n,o,s;o=[e],void 0===(s="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},s=e=>1==e?"argument":"arguments",a=(e,r,t)=>new Proxy(r,{apply:(r,n,o)=>t.call(n,e,...o)});let i=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,r={},t={})=>{let n=Object.create(null),u={has:(r,t)=>t in e||t in n,get(u,l,g){if(l in n)return n[l];if(!(l in e))return;let m=e[l];if("function"==typeof m)if("function"==typeof r[l])m=a(e,e[l],r[l]);else if(i(t,l)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${s(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((s,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,o({resolve:s,reject:a},r))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,s()}else r.noCallback?(t[e](...n),s()):t[e](...n,o({resolve:s,reject:a},r))})}))(l,t[l]);m=a(e,e[l],r)}else m=m.bind(e);else{if("object"!=typeof m||null===m||!i(r,l)&&!i(t,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(r){e[l]=r}}),m;m=c(m,r[l],t[l])}return n[l]=m,m},set:(r,t,o,s)=>(t in n?n[t]=o:e[t]=o,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},l=Object.create(e);return new Proxy(l,u)},u=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let l=!1;const g=new class extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(r,n,o){let s,a,i=!1,c=new Promise(e=>{s=function(r){l||(console.warn(t,(new Error).stack),l=!0),i=!0,e(r)}});try{a=e(r,n,s)}catch(e){a=Promise.reject(e)}const u=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!u&&!i)return!1;const g=e=>{e.then(e=>{o(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return g(u?a:c),!0}),m=({reject:t,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?t(new Error(o.message)):n(o)},f=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${s(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const o=m.bind(null,{resolve:e,reject:r});n.push(o),t.sendMessage(...n)})},p={runtime:{onMessage:u(g),onMessageExternal:u(g),sendMessage:f.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:f.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},h={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:h,webRTCIPHandlingPolicy:h},services:{passwordSavingEnabled:h},websites:{hyperlinkAuditingEnabled:h,referrersEnabled:h}},c(e,p,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(r,o):n)||(e.exports=s)},function(e,r){function t(e,r,t,n,o,s,a){try{var i=e[s](a),c=i.value}catch(e){return void t(e)}i.done?r(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,s){var a=e.apply(r,n);function i(e){t(a,o,s,i,c,"next",e)}function c(e){t(a,o,s,i,c,"throw",e)}i(void 0)}))}}},,,,function(e,r,t){"use strict";var n=t(36),o=t(54),s=Object.prototype.toString;function a(e){return"[object Array]"===s.call(e)}function i(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===s.call(e)}function u(e,r){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var t=0,n=e.length;t=0;--s){var a=this.tryEntries[s],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--t){var o=this.tryEntries[t];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),p}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var o=n.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,r,t){"use strict";e.exports=function(e,r){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c}).call(this,t(59))},function(e,r,t){"use strict";var n=t(7),o=t(61),s=t(37),a=t(63),i=t(64),c=t(41);e.exports=function(e){return new Promise((function(r,u){var l=e.data,g=e.headers;n.isFormData(l)&&delete g["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";g.Authorization="Basic "+btoa(f+":"+p)}if(m.open(e.method.toUpperCase(),s(e.url,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in m?a(m.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:t,config:e,request:m};o(r,u,n),m=null}},m.onabort=function(){m&&(u(c("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){u(c("Network Error",e,null,m)),m=null},m.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var h=t(65),d=(e.withCredentials||i(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;d&&(g[e.xsrfHeaderName]=d)}if("setRequestHeader"in m&&n.forEach(g,(function(e,r){void 0===l&&"content-type"===r.toLowerCase()?delete g[r]:m.setRequestHeader(r,e)})),e.withCredentials&&(m.withCredentials=!0),e.responseType)try{m.responseType=e.responseType}catch(r){if("json"!==e.responseType)throw r}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){m&&(m.abort(),u(e),m=null)})),void 0===l&&(l=null),m.send(l)}))}},function(e,r,t){"use strict";var n=t(62);e.exports=function(e,r,t,o,s){var a=new Error(e);return n(a,r,t,o,s)}},function(e,r,t){"use strict";var n=t(7);e.exports=function(e,r){r=r||{};var t={};return n.forEach(["url","method","params","data"],(function(e){void 0!==r[e]&&(t[e]=r[e])})),n.forEach(["headers","auth","proxy"],(function(o){n.isObject(r[o])?t[o]=n.deepMerge(e[o],r[o]):void 0!==r[o]?t[o]=r[o]:n.isObject(e[o])?t[o]=n.deepMerge(e[o]):void 0!==e[o]&&(t[o]=e[o])})),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(n){void 0!==r[n]?t[n]=r[n]:void 0!==e[n]&&(t[n]=e[n])})),t}},function(e,r,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,r,t){e.exports=t(53)},,,,,,,function(e,r,t){e.exports=t(52)},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t.n(n),s=t(3),a=t.n(s),i=t(44),c=t.n(i),u=t(2),l=t.n(u);const g=function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i,u,g,m;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s="https://kutt.it",e.prev=1,e.next=4,l.a.storage.local.get(["host","userOptions"]);case 4:a=e.sent,i=a.host,(u=a.userOptions).hasOwnProperty("devMode")&&u.devMode&&(s=i),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),s="https://kutt.it";case 13:return e.prev=13,e.next=16,c()({method:"POST",timeout:2e4,url:`${s}/api/url/submit`,headers:{"X-API-Key":r},data:{target:t,password:n}});case 16:return g=e.sent,m=g.data.shortUrl,e.abrupt("return",m);case 21:if(e.prev=21,e.t1=e.catch(13),"ECONNABORTED"!==e.t1.code){e.next=25;break}return e.abrupt("return",504);case 25:if(!e.t1.response){e.next=27;break}return e.abrupt("return",e.t1.response.status);case 27:case"end":return e.stop()}}),e,null,[[1,10],[13,21]])})));return function(r,t,n){return e.apply(this,arguments)}}();l.a.runtime.onMessage.addListener(function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("start"!==r.msg){e.next=2;break}return e.abrupt("return",g(r.API_key,r.pageUrl,r.password));case 2:if("store"!==r.msg){e.next=11;break}return s=r.curURLCollection,a=r.curURLPair,i=s.filter(e=>e.longUrl!==a.longUrl),i.length>=15&&i.shift(),i.push(a),e.next=11,l.a.storage.local.set({URL_array:i});case 11:case"end":return e.stop()}}),e)})));return function(r,t,n){return e.apply(this,arguments)}}())},function(e,r,t){"use strict";var n=t(7),o=t(36),s=t(55),a=t(42);function i(e){var r=new s(e),t=o(s.prototype.request,r);return n.extend(t,s.prototype,r),n.extend(t,r),t}var c=i(t(39));c.Axios=s,c.create=function(e){return i(a(c.defaults,e))},c.Cancel=t(43),c.CancelToken=t(68),c.isCancel=t(38),c.all=function(e){return Promise.all(e)},c.spread=t(69),e.exports=c,e.exports.default=c},function(e,r){ +!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=51)}([,function(e,r,t){e.exports=t(8)},function(e,r,t){var n,o,s;o=[e],void 0===(s="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const s=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},a=e=>1==e?"argument":"arguments",i=(e,r,t)=>new Proxy(r,{apply:(r,n,o)=>t.call(n,e,...o)});let c=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,r={},t={})=>{let n=Object.create(null),o={has:(r,t)=>t in e||t in n,get(o,l,g){if(l in n)return n[l];if(!(l in e))return;let m=e[l];if("function"==typeof m)if("function"==typeof r[l])m=i(e,e[l],r[l]);else if(c(t,l)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,s({resolve:o,reject:a},r))}catch(s){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",s),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,o()}else r.noCallback?(t[e](...n),o()):t[e](...n,s({resolve:o,reject:a},r))})}))(l,t[l]);m=i(e,e[l],r)}else m=m.bind(e);else{if("object"!=typeof m||null===m||!c(r,l)&&!c(t,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(r){e[l]=r}}),m;m=u(m,r[l],t[l])}return n[l]=m,m},set:(r,t,o,s)=>(t in n?n[t]=o:e[t]=o,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},l=Object.create(e);return new Proxy(l,o)},l=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let g=!1;const m=new o(e=>"function"!=typeof e?e:function(r,n,o){let s,a,i=!1,c=new Promise(e=>{s=function(r){g||(console.warn(t,(new Error).stack),g=!0),i=!0,e(r)}});try{a=e(r,n,s)}catch(e){a=Promise.reject(e)}const u=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!u&&!i)return!1;const l=e=>{e.then(e=>{o(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(u?a:c),!0}),f=({reject:t,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?t(new Error(o.message)):n(o)},p=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const o=f.bind(null,{resolve:e,reject:r});n.push(o),t.sendMessage(...n)})},h={runtime:{onMessage:l(m),onMessageExternal:l(m),sendMessage:p.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:p.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},d={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:d,webRTCIPHandlingPolicy:d},services:{passwordSavingEnabled:d},websites:{hyperlinkAuditingEnabled:d,referrersEnabled:d}},u(e,h,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(r,o):n)||(e.exports=s)},function(e,r){function t(e,r,t,n,o,s,a){try{var i=e[s](a),c=i.value}catch(e){return void t(e)}i.done?r(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,s){var a=e.apply(r,n);function i(e){t(a,o,s,i,c,"next",e)}function c(e){t(a,o,s,i,c,"throw",e)}i(void 0)}))}}},,,,function(e,r,t){"use strict";var n=t(36),o=t(54),s=Object.prototype.toString;function a(e){return"[object Array]"===s.call(e)}function i(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===s.call(e)}function u(e,r){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var t=0,n=e.length;t=0;--s){var a=this.tryEntries[s],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--t){var o=this.tryEntries[t];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),p}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var o=n.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,r,t){"use strict";e.exports=function(e,r){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c}).call(this,t(59))},function(e,r,t){"use strict";var n=t(7),o=t(61),s=t(37),a=t(63),i=t(64),c=t(41);e.exports=function(e){return new Promise((function(r,u){var l=e.data,g=e.headers;n.isFormData(l)&&delete g["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";g.Authorization="Basic "+btoa(f+":"+p)}if(m.open(e.method.toUpperCase(),s(e.url,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in m?a(m.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:t,config:e,request:m};o(r,u,n),m=null}},m.onabort=function(){m&&(u(c("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){u(c("Network Error",e,null,m)),m=null},m.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var h=t(65),d=(e.withCredentials||i(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;d&&(g[e.xsrfHeaderName]=d)}if("setRequestHeader"in m&&n.forEach(g,(function(e,r){void 0===l&&"content-type"===r.toLowerCase()?delete g[r]:m.setRequestHeader(r,e)})),e.withCredentials&&(m.withCredentials=!0),e.responseType)try{m.responseType=e.responseType}catch(r){if("json"!==e.responseType)throw r}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){m&&(m.abort(),u(e),m=null)})),void 0===l&&(l=null),m.send(l)}))}},function(e,r,t){"use strict";var n=t(62);e.exports=function(e,r,t,o,s){var a=new Error(e);return n(a,r,t,o,s)}},function(e,r,t){"use strict";var n=t(7);e.exports=function(e,r){r=r||{};var t={};return n.forEach(["url","method","params","data"],(function(e){void 0!==r[e]&&(t[e]=r[e])})),n.forEach(["headers","auth","proxy"],(function(o){n.isObject(r[o])?t[o]=n.deepMerge(e[o],r[o]):void 0!==r[o]?t[o]=r[o]:n.isObject(e[o])?t[o]=n.deepMerge(e[o]):void 0!==e[o]&&(t[o]=e[o])})),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(n){void 0!==r[n]?t[n]=r[n]:void 0!==e[n]&&(t[n]=e[n])})),t}},function(e,r,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,r,t){e.exports=t(53)},,,,,,,function(e,r,t){e.exports=t(52)},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t.n(n),s=t(3),a=t.n(s),i=t(44),c=t.n(i),u=t(2),l=t.n(u);const g=function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i,u,g,m;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s="https://kutt.it",e.prev=1,e.next=4,l.a.storage.local.get(["host","userOptions"]);case 4:a=e.sent,i=a.host,(u=a.userOptions).hasOwnProperty("devMode")&&u.devMode&&(s=i),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),s="https://kutt.it";case 13:return e.prev=13,e.next=16,c()({method:"POST",timeout:2e4,url:`${s}/api/url/submit`,headers:{"X-API-Key":r},data:{target:t,password:n}});case 16:return g=e.sent,m=g.data.shortUrl,e.abrupt("return",m);case 21:if(e.prev=21,e.t1=e.catch(13),"ECONNABORTED"!==e.t1.code){e.next=25;break}return e.abrupt("return",504);case 25:if(!e.t1.response){e.next=27;break}return e.abrupt("return",e.t1.response.status);case 27:case"end":return e.stop()}}),e,null,[[1,10],[13,21]])})));return function(r,t,n){return e.apply(this,arguments)}}();l.a.runtime.onMessage.addListener(function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("start"!==r.msg){e.next=2;break}return e.abrupt("return",g(r.API_key,r.pageUrl,r.password));case 2:if("store"!==r.msg){e.next=11;break}return s=r.curURLCollection,a=r.curURLPair,i=s.filter(e=>e.longUrl!==a.longUrl),i.length>=15&&i.shift(),i.push(a),e.next=11,l.a.storage.local.set({URL_array:i});case 11:case"end":return e.stop()}}),e)})));return function(r,t,n){return e.apply(this,arguments)}}())},function(e,r,t){"use strict";var n=t(7),o=t(36),s=t(55),a=t(42);function i(e){var r=new s(e),t=o(s.prototype.request,r);return n.extend(t,s.prototype,r),n.extend(t,r),t}var c=i(t(39));c.Axios=s,c.create=function(e){return i(a(c.defaults,e))},c.Cancel=t(43),c.CancelToken=t(68),c.isCancel=t(38),c.all=function(e){return Promise.all(e)},c.spread=t(69),e.exports=c,e.exports.default=c},function(e,r){ /*! * Determine if an object is a Buffer * diff --git a/firefox/js/history.js b/firefox/js/history.js index 8c555f1..2a9d0bc 100644 --- a/firefox/js/history.js +++ b/firefox/js/history.js @@ -1 +1 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=49)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,t){this.addEventListener(e,t)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,t){this.forEach((function(r,n){r.on(e,t)}))}},function(e,t,r){e.exports=r(8)},function(e,t,r){var n,o,i;o=[e],void 0===(i="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(e.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},i=e=>1==e?"argument":"arguments",a=(e,t,r)=>new Proxy(t,{apply:(t,n,o)=>r.call(n,e,...o)});let s=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,t={},r={})=>{let n=Object.create(null),c={has:(t,r)=>r in e||r in n,get(c,l,g){if(l in n)return n[l];if(!(l in e))return;let f=e[l];if("function"==typeof f)if("function"==typeof t[l])f=a(e,e[l],t[l]);else if(s(r,l)){let t=((e,t)=>(function(r,...n){if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${i(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((i,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,o({resolve:i,reject:a},t))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,i()}else t.noCallback?(r[e](...n),i()):r[e](...n,o({resolve:i,reject:a},t))})}))(l,r[l]);f=a(e,e[l],t)}else f=f.bind(e);else{if("object"!=typeof f||null===f||!s(t,l)&&!s(r,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(t){e[l]=t}}),f;f=u(f,t[l],r[l])}return n[l]=f,f},set:(t,r,o,i)=>(r in n?n[r]=o:e[r]=o,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},l=Object.create(e);return new Proxy(l,c)},c=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}});let l=!1;const g=new class extends WeakMap{constructor(e,t){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(t,n,o){let i,a,s=!1,u=new Promise(e=>{i=function(t){l||(console.warn(r,(new Error).stack),l=!0),s=!0,e(t)}});try{a=e(t,n,i)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!s)return!1;const g=e=>{e.then(e=>{o(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return g(c?a:u),!0}),f=({reject:r,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},h=(e,t,r,...n)=>{if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${i(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{const o=f.bind(null,{resolve:e,reject:t});n.push(o),r.sendMessage(...n)})},d={runtime:{onMessage:c(g),onMessageExternal:c(g),sendMessage:h.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:h.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},m={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:m,webRTCIPHandlingPolicy:m},services:{passwordSavingEnabled:m},websites:{hyperlinkAuditingEnabled:m,referrersEnabled:m}},u(e,d,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(t,o):n)||(e.exports=i)},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)}))}}},function(e,t){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},function(e,t,r){var n=r(12),o=r(13);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return r}}},function(e,t,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(e,t,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof e?u(this,e):function(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return function(e,t,r,n){if(r<0||t.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function s(e,t){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=i.prototype:(null===(r=e)&&(r=new i(t)),r.length=t),r}function u(e,t){var r=s(e,t<0?0:0|a(t));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function g(e){return i.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:l(e).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(e,t,r){void 0===t?(r=this.length,t=0):void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,n){return function(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}(l(t,e.length-r),e,r,n)}(this,e,t,r)},i.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return r}}},function(e,t,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return o[4*(e-1)+0];case n.M:return o[4*(e-1)+1];case n.Q:return o[4*(e-1)+2];case n.H:return o[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}}},function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},function(e,t){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(n,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return i.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},function(e,t){function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:n,scale:n?4:o,margin:t,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){var n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){for(var o=r.modules.size,i=r.modules.data,a=t.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],l=0;l=u&&g>=u&&l>n&1),n<6?e.set(n,8,o,!0):n<8?e.set(n+1,8,o,!0):e.set(i-15+n,8,o,!0),n<8?e.set(8,i-n-1,o,!0):n<9?e.set(8,15-n-1+1,o,!0):e.set(8,15-n-1,o,!0);e.set(i-8,8,1,!0)}function y(e,t,r){var i=new a;r.forEach((function(t){i.put(t.mode.bit,4),i.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(i)}));var s=8*(o.getSymbolTotalCodewords(e)-g.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0))}(b,t),function(e){for(var t=e.size,r=8;r=7&&function(e,t){for(var r,n,o,i=e.size,a=h.getEncodedBits(t),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),e.set(r,n,o,!0),e.set(n,r,o,!0)}(b,t),function(e,t){for(var r=e.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!e.isReserved(o,s-u)){var c=!1;a>>i&1)),e.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(b,d),isNaN(n)&&(n=l.getBestMask(b,v.bind(null,b,r))),l.applyMask(n,b),v(b,r,n),{modules:b,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,n,a=i.M;return void 0!==t&&(a=i.from(t.errorCorrectionLevel,i.M),r=h.from(t.version),n=l.from(t.maskPattern),t.toSJISFunc&&o.setToSJISFunction(t.toSJISFunc)),b(e,r,a,n)}},function(e,t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},function(e,t,r){var n=r(6);function o(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}o.prototype.set=function(e,t,r,n){var o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(e,t){return this.data[e*this.size+t]},o.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},o.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=o},function(e,t,r){var n=r(4).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,r=n(e),o=145===r?26:2*Math.ceil((r-13)/(2*t-2)),i=[r-7],a=1;a=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=l,o=1),(l=e.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=l,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},t.getPenaltyN2=function(e){for(var t=e.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},t.getPenaltyN4=function(e){for(var t=0,r=e.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},e.exports=i},function(e,t,r){var n=r(6),o=r(25);t.mul=function(e,t){var r=new n(e.length+t.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(e,r){for(var n=1;n<=40;n++){if(g(e,n)<=t.getCapacity(n,r,a.MIXED))return n}}(e,o);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(var o=1;o<=40;o++)if(r<=t.getCapacity(o,n,e))return o}(n.mode,n.getLength(),o)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-c>=0;)t^=7973<=0;)i^=1335<=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(a))},t.rawSplit=function(e){return t.fromArray(h(e,c.isKanjiModeEnabled()))}},function(e,t,r){var n=r(5);function o(e){this.mode=n.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){var t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);var o=this.data.length-t;o>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*o+1))},e.exports=o},function(e,t,r){var n=r(5),o=["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 i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*o.indexOf(this.data[t]);r+=o.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},function(e,t,r){var n=r(6),o=r(5);function i(e){this.mode=o.BYTE,this.data=new n(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(var t=0,r=this.data.length;t=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}},e.exports=i},function(e,t,r){"use strict";var n={single_source_shortest_paths:function(e,t,r){var o={},i={};i[t]=0;var a,s,u,c,l,g,f,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,l=e[s]||{})l.hasOwnProperty(u)&&(g=c+l[u],f=i[u],(void 0===i[u]||f>g)&&(i[u]=g,h.push(u,g),o[u]=s));if(void 0!==r&&void 0===i[r]){var d=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(d)}return o},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),e[n],n=e[n];return r.reverse(),r},find_path:function(e,t,r){var o=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var t,r=n.PriorityQueue,o={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(o[t]=r[t]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var r={value:e,cost:t};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},function(e,t,r){var n=r(14);t.render=function(e,t,r){var o=r,i=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(e.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,e,o),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},t.renderToDataURL=function(e,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=t.render(e,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(e,t,r){var n=r(14);function o(e,t){var r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(e,t,r){var n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){var a=n.getOptions(t),s=e.modules.size,u=e.modules.data,c=s+2*a.margin,l=a.color.light.a?"':"",g="0&&c>0&&e[u-1]||(n+=a?i("M",c+r,.5+l+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+l+g+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,,,function(e,t,r){e.exports=r(50)},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),l=r.n(c),g=r(0);const f="#table__clearAll--btn",h="#delegation__element",d='\n \n \n %longLink%\n \n \n \n \n \n
\n \n \n
\n \n ',m=()=>{switch((()=>{const e=!(!window.chrome||!window.chrome.webstore&&!window.chrome.runtime),t="undefined"!=typeof InstallTrigger,r=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0;return t?"firefox":r?"opera":e?"chrome":void 0})()){case"chrome":case"opera":Object(g.a)("#rate__button").setAttribute("href","https://chrome.google.com/webstore/detail/kutt/pklakpjfiegjacoppcodencchehlfnpd/reviews");break;case"firefox":Object(g.a)("#rate__button").setAttribute("href","https://addons.mozilla.org/en-US/firefox/addon/kutt/reviews/")}};document.on("DOMContentLoaded",a()(o.a.mark((function e(){var t,r,n,i,a,s,c,l,p;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.get(["userOptions","URL_array"]);case 2:if(!(r=e.sent).userOptions.keepHistory){e.next=33;break}if(!(r.URL_array.length>0)){e.next=28;break}for(n=0,i=!0,a=!1,s=void 0,e.prev=10,c=r.URL_array[Symbol.iterator]();!(i=(l=c.next()).done);i=!0)p=l.value,t=d.replace(/%longLink%/g,p.longUrl),n+=1,t=(t=t.replace(/%num%/g,n)).replace(/%shortLink%/g,p.shortUrl),Object(g.a)(h).insertAdjacentHTML("afterbegin",t);e.next=18;break;case 14:e.prev=14,e.t0=e.catch(10),a=!0,s=e.t0;case 18:e.prev=18,e.prev=19,i||null==c.return||c.return();case 21:if(e.prev=21,!a){e.next=24;break}throw s;case 24:return e.finish(21);case 25:return e.finish(18);case 26:e.next=30;break;case 28:Object(g.a)(f).style.display="none",Object(g.a)(h).insertAdjacentHTML("afterbegin",'

Empty List

');case 30:m(),e.next=35;break;case 33:alert("Enable History from Options Page"),u.a.runtime.openOptionsPage();case 35:case"end":return e.stop()}}),e,null,[[10,14,18,26],[19,,21,25]])})))),Object(g.a)(f).on("click",a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.set({URL_array:[]});case 2:Object(g.a)(h).parentNode.removeChild(Object(g.a)(h)),Object(g.a)(f).style.display="none",Object(g.a)(".table__content--holder").insertAdjacentHTML("beforeend",'

Empty List

');case 5:case"end":return e.stop()}}),e)}))));const p=function(){var e=a()(o.a.mark((function e(t,r){var n,i,a,s,u,c,f,h;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=e=>{Object(g.a)(`#table__shortened-${r}`).insertAdjacentHTML("afterbegin",e),setTimeout(()=>{Object(g.a)("#flash_copy").parentNode.removeChild(Object(g.a)("#flash_copy"))},1300)},"copy"!==t){e.next=6;break}i=Object(g.a)(`#shortUrl-${r}`).textContent;try{(a=document.createElement("textarea")).value=i,a.setAttribute("readonly",""),a.style.position="absolute",a.style.left="-9999px",document.body.appendChild(a),s=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0),a.select(),document.execCommand("copy"),document.body.removeChild(a),s&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(s)),n('
Copied to clipboard!
')}catch(e){n('
Error while Copying!!
')}e.next=26;break;case 6:if("qrcode"!==t){e.next=25;break}return c='
QRCode
',f=Object(g.a)(`#shortUrl-${r}`).textContent,e.prev=9,e.next=12,l.a.toDataURL(f);case 12:h=e.sent,u=(u=c.replace("%qrcodeLink%",h)).replace("%num%",r),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u),e.next=23;break;case 18:e.prev=18,e.t0=e.catch(9),"https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=",u=c.replace("%qrcodeLink%",`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${f}`),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u);case 23:e.next=26;break;case 25:"close__btn"===t&&Object(g.a)("#qrcode__template").parentNode.removeChild(Object(g.a)("#qrcode__template"));case 26:case"end":return e.stop()}}),e,null,[[9,18]])})));return function(t,r){return e.apply(this,arguments)}}();Object(g.a)(h).on("click",e=>{let t,r,n;const o=e.target.id;o&&(r=(t=o.split("-"))[0],n=parseInt(t[1]),p(r,n))}),document.on("keypress",e=>{13===(e.which||e.keyCode)&&e.preventDefault()})}]); \ No newline at end of file +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=49)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,t){this.addEventListener(e,t)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,t){this.forEach((function(r,n){r.on(e,t)}))}},function(e,t,r){e.exports=r(8)},function(e,t,r){var n,o,i;o=[e],void 0===(i="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,t){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const i=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(e.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},a=e=>1==e?"argument":"arguments",s=(e,t,r)=>new Proxy(t,{apply:(t,n,o)=>r.call(n,e,...o)});let u=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,t={},r={})=>{let n=Object.create(null),o={has:(t,r)=>r in e||r in n,get(o,l,g){if(l in n)return n[l];if(!(l in e))return;let f=e[l];if("function"==typeof f)if("function"==typeof t[l])f=s(e,e[l],t[l]);else if(u(r,l)){let t=((e,t)=>(function(r,...n){if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,i({resolve:o,reject:a},t))}catch(i){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",i),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,o()}else t.noCallback?(r[e](...n),o()):r[e](...n,i({resolve:o,reject:a},t))})}))(l,r[l]);f=s(e,e[l],t)}else f=f.bind(e);else{if("object"!=typeof f||null===f||!u(t,l)&&!u(r,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(t){e[l]=t}}),f;f=c(f,t[l],r[l])}return n[l]=f,f},set:(t,r,o,i)=>(r in n?n[r]=o:e[r]=o,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},l=Object.create(e);return new Proxy(l,o)},l=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}});let g=!1;const f=new o(e=>"function"!=typeof e?e:function(t,n,o){let i,a,s=!1,u=new Promise(e=>{i=function(t){g||(console.warn(r,(new Error).stack),g=!0),s=!0,e(t)}});try{a=e(t,n,i)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!s)return!1;const l=e=>{e.then(e=>{o(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(c?a:u),!0}),h=({reject:r,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},d=(e,t,r,...n)=>{if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{const o=h.bind(null,{resolve:e,reject:t});n.push(o),r.sendMessage(...n)})},m={runtime:{onMessage:l(f),onMessageExternal:l(f),sendMessage:d.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:d.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},p={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:p,webRTCIPHandlingPolicy:p},services:{passwordSavingEnabled:p},websites:{hyperlinkAuditingEnabled:p,referrersEnabled:p}},c(e,m,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(t,o):n)||(e.exports=i)},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)}))}}},function(e,t){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},function(e,t,r){var n=r(12),o=r(13);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return r}}},function(e,t,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(e,t,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof e?u(this,e):function(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return function(e,t,r,n){if(r<0||t.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function s(e,t){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=i.prototype:(null===(r=e)&&(r=new i(t)),r.length=t),r}function u(e,t){var r=s(e,t<0?0:0|a(t));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function g(e){return i.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:l(e).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(e,t,r){void 0===t?(r=this.length,t=0):void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,n){return function(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}(l(t,e.length-r),e,r,n)}(this,e,t,r)},i.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return r}}},function(e,t,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return o[4*(e-1)+0];case n.M:return o[4*(e-1)+1];case n.Q:return o[4*(e-1)+2];case n.H:return o[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}}},function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},function(e,t){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(n,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return i.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},function(e,t){function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:n,scale:n?4:o,margin:t,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){var n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){for(var o=r.modules.size,i=r.modules.data,a=t.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],l=0;l=u&&g>=u&&l>n&1),n<6?e.set(n,8,o,!0):n<8?e.set(n+1,8,o,!0):e.set(i-15+n,8,o,!0),n<8?e.set(8,i-n-1,o,!0):n<9?e.set(8,15-n-1+1,o,!0):e.set(8,15-n-1,o,!0);e.set(i-8,8,1,!0)}function y(e,t,r){var i=new a;r.forEach((function(t){i.put(t.mode.bit,4),i.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(i)}));var s=8*(o.getSymbolTotalCodewords(e)-g.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0))}(b,t),function(e){for(var t=e.size,r=8;r=7&&function(e,t){for(var r,n,o,i=e.size,a=h.getEncodedBits(t),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),e.set(r,n,o,!0),e.set(n,r,o,!0)}(b,t),function(e,t){for(var r=e.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!e.isReserved(o,s-u)){var c=!1;a>>i&1)),e.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(b,d),isNaN(n)&&(n=l.getBestMask(b,v.bind(null,b,r))),l.applyMask(n,b),v(b,r,n),{modules:b,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,n,a=i.M;return void 0!==t&&(a=i.from(t.errorCorrectionLevel,i.M),r=h.from(t.version),n=l.from(t.maskPattern),t.toSJISFunc&&o.setToSJISFunction(t.toSJISFunc)),b(e,r,a,n)}},function(e,t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},function(e,t,r){var n=r(6);function o(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}o.prototype.set=function(e,t,r,n){var o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(e,t){return this.data[e*this.size+t]},o.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},o.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=o},function(e,t,r){var n=r(4).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,r=n(e),o=145===r?26:2*Math.ceil((r-13)/(2*t-2)),i=[r-7],a=1;a=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=l,o=1),(l=e.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=l,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},t.getPenaltyN2=function(e){for(var t=e.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},t.getPenaltyN4=function(e){for(var t=0,r=e.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},e.exports=i},function(e,t,r){var n=r(6),o=r(25);t.mul=function(e,t){var r=new n(e.length+t.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(e,r){for(var n=1;n<=40;n++){if(g(e,n)<=t.getCapacity(n,r,a.MIXED))return n}}(e,o);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(var o=1;o<=40;o++)if(r<=t.getCapacity(o,n,e))return o}(n.mode,n.getLength(),o)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-c>=0;)t^=7973<=0;)i^=1335<=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(a))},t.rawSplit=function(e){return t.fromArray(h(e,c.isKanjiModeEnabled()))}},function(e,t,r){var n=r(5);function o(e){this.mode=n.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){var t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);var o=this.data.length-t;o>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*o+1))},e.exports=o},function(e,t,r){var n=r(5),o=["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 i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*o.indexOf(this.data[t]);r+=o.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},function(e,t,r){var n=r(6),o=r(5);function i(e){this.mode=o.BYTE,this.data=new n(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(var t=0,r=this.data.length;t=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}},e.exports=i},function(e,t,r){"use strict";var n={single_source_shortest_paths:function(e,t,r){var o={},i={};i[t]=0;var a,s,u,c,l,g,f,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,l=e[s]||{})l.hasOwnProperty(u)&&(g=c+l[u],f=i[u],(void 0===i[u]||f>g)&&(i[u]=g,h.push(u,g),o[u]=s));if(void 0!==r&&void 0===i[r]){var d=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(d)}return o},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),e[n],n=e[n];return r.reverse(),r},find_path:function(e,t,r){var o=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var t,r=n.PriorityQueue,o={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(o[t]=r[t]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var r={value:e,cost:t};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},function(e,t,r){var n=r(14);t.render=function(e,t,r){var o=r,i=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(e.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,e,o),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},t.renderToDataURL=function(e,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=t.render(e,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(e,t,r){var n=r(14);function o(e,t){var r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(e,t,r){var n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){var a=n.getOptions(t),s=e.modules.size,u=e.modules.data,c=s+2*a.margin,l=a.color.light.a?"':"",g="0&&c>0&&e[u-1]||(n+=a?i("M",c+r,.5+l+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+l+g+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,,,function(e,t,r){e.exports=r(50)},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),l=r.n(c),g=r(0);const f="#table__clearAll--btn",h="#delegation__element",d='\n \n \n %longLink%\n \n \n \n \n \n
\n \n \n
\n \n ',m=()=>{switch((()=>{const e=!(!window.chrome||!window.chrome.webstore&&!window.chrome.runtime),t="undefined"!=typeof InstallTrigger,r=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0;return t?"firefox":r?"opera":e?"chrome":void 0})()){case"chrome":case"opera":Object(g.a)("#rate__button").setAttribute("href","https://chrome.google.com/webstore/detail/kutt/pklakpjfiegjacoppcodencchehlfnpd/reviews");break;case"firefox":Object(g.a)("#rate__button").setAttribute("href","https://addons.mozilla.org/en-US/firefox/addon/kutt/reviews/")}};document.on("DOMContentLoaded",a()(o.a.mark((function e(){var t,r,n,i,a,s,c,l,p;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.get(["userOptions","URL_array"]);case 2:if(!(r=e.sent).userOptions.keepHistory){e.next=33;break}if(!(r.URL_array.length>0)){e.next=28;break}for(n=0,i=!0,a=!1,s=void 0,e.prev=10,c=r.URL_array[Symbol.iterator]();!(i=(l=c.next()).done);i=!0)p=l.value,t=d.replace(/%longLink%/g,p.longUrl),n+=1,t=(t=t.replace(/%num%/g,n)).replace(/%shortLink%/g,p.shortUrl),Object(g.a)(h).insertAdjacentHTML("afterbegin",t);e.next=18;break;case 14:e.prev=14,e.t0=e.catch(10),a=!0,s=e.t0;case 18:e.prev=18,e.prev=19,i||null==c.return||c.return();case 21:if(e.prev=21,!a){e.next=24;break}throw s;case 24:return e.finish(21);case 25:return e.finish(18);case 26:e.next=30;break;case 28:Object(g.a)(f).style.display="none",Object(g.a)(h).insertAdjacentHTML("afterbegin",'

Empty List

');case 30:m(),e.next=35;break;case 33:alert("Enable History from Options Page"),u.a.runtime.openOptionsPage();case 35:case"end":return e.stop()}}),e,null,[[10,14,18,26],[19,,21,25]])})))),Object(g.a)(f).on("click",a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.set({URL_array:[]});case 2:Object(g.a)(h).parentNode.removeChild(Object(g.a)(h)),Object(g.a)(f).style.display="none",Object(g.a)(".table__content--holder").insertAdjacentHTML("beforeend",'

Empty List

');case 5:case"end":return e.stop()}}),e)}))));const p=function(){var e=a()(o.a.mark((function e(t,r){var n,i,a,s,u,c,f,h;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=e=>{Object(g.a)(`#table__shortened-${r}`).insertAdjacentHTML("afterbegin",e),setTimeout(()=>{Object(g.a)("#flash_copy").parentNode.removeChild(Object(g.a)("#flash_copy"))},1300)},"copy"!==t){e.next=6;break}i=Object(g.a)(`#shortUrl-${r}`).textContent;try{(a=document.createElement("textarea")).value=i,a.setAttribute("readonly",""),a.style.position="absolute",a.style.left="-9999px",document.body.appendChild(a),s=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0),a.select(),document.execCommand("copy"),document.body.removeChild(a),s&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(s)),n('
Copied to clipboard!
')}catch(e){n('
Error while Copying!!
')}e.next=26;break;case 6:if("qrcode"!==t){e.next=25;break}return c='
QRCode
',f=Object(g.a)(`#shortUrl-${r}`).textContent,e.prev=9,e.next=12,l.a.toDataURL(f);case 12:h=e.sent,u=(u=c.replace("%qrcodeLink%",h)).replace("%num%",r),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u),e.next=23;break;case 18:e.prev=18,e.t0=e.catch(9),"https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=",u=c.replace("%qrcodeLink%",`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${f}`),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u);case 23:e.next=26;break;case 25:"close__btn"===t&&Object(g.a)("#qrcode__template").parentNode.removeChild(Object(g.a)("#qrcode__template"));case 26:case"end":return e.stop()}}),e,null,[[9,18]])})));return function(t,r){return e.apply(this,arguments)}}();Object(g.a)(h).on("click",e=>{let t,r,n;const o=e.target.id;o&&(r=(t=o.split("-"))[0],n=parseInt(t[1]),p(r,n))}),document.on("keypress",e=>{13===(e.which||e.keyCode)&&e.preventDefault()})}]); \ No newline at end of file diff --git a/firefox/js/options.js b/firefox/js/options.js index fbce720..0f4e948 100644 --- a/firefox/js/options.js +++ b/firefox/js/options.js @@ -1 +1 @@ -!function(e){var r={};function t(n){if(r[n])return r[n].exports;var s=r[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var s in e)t.d(n,s,function(r){return e[r]}.bind(null,s));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=45)}({0:function(e,r,t){"use strict";t.d(r,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,r){this.addEventListener(e,r)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,r){this.forEach((function(t,n){t.on(e,r)}))}},1:function(e,r,t){e.exports=t(8)},2:function(e,r,t){var n,s,o;s=[e],void 0===(o="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const s=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},o=e=>1==e?"argument":"arguments",a=(e,r,t)=>new Proxy(r,{apply:(r,n,s)=>t.call(n,e,...s)});let i=Function.call.bind(Object.prototype.hasOwnProperty);const g=(e,r={},t={})=>{let n=Object.create(null),c={has:(r,t)=>t in e||t in n,get(c,m,l){if(m in n)return n[m];if(!(m in e))return;let u=e[m];if("function"==typeof u)if("function"==typeof r[m])u=a(e,e[m],r[m]);else if(i(t,m)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${o(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,s({resolve:o,reject:a},r))}catch(s){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",s),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,o()}else r.noCallback?(t[e](...n),o()):t[e](...n,s({resolve:o,reject:a},r))})}))(m,t[m]);u=a(e,e[m],r)}else u=u.bind(e);else{if("object"!=typeof u||null===u||!i(r,m)&&!i(t,m))return Object.defineProperty(n,m,{configurable:!0,enumerable:!0,get:()=>e[m],set(r){e[m]=r}}),u;u=g(u,r[m],t[m])}return n[m]=u,u},set:(r,t,s,o)=>(t in n?n[t]=s:e[t]=s,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},m=Object.create(e);return new Proxy(m,c)},c=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let m=!1;const l=new class extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(r,n,s){let o,a,i=!1,g=new Promise(e=>{o=function(r){m||(console.warn(t,(new Error).stack),m=!0),i=!0,e(r)}});try{a=e(r,n,o)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!i)return!1;const l=e=>{e.then(e=>{s(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",s({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(c?a:g),!0}),u=({reject:t,resolve:n},s)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):s&&s.__mozWebExtensionPolyfillReject__?t(new Error(s.message)):n(s)},A=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${o(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const s=u.bind(null,{resolve:e,reject:r});n.push(s),t.sendMessage(...n)})},d={runtime:{onMessage:c(l),onMessageExternal:c(l),sendMessage:A.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:A.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},f={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:f,webRTCIPHandlingPolicy:f},services:{passwordSavingEnabled:f},websites:{hyperlinkAuditingEnabled:f,referrersEnabled:f}},g(e,d,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(r,s):n)||(e.exports=o)},3:function(e,r){function t(e,r,t,n,s,o,a){try{var i=e[o](a),g=i.value}catch(e){return void t(e)}i.done?r(g):Promise.resolve(g).then(n,s)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(s,o){var a=e.apply(r,n);function i(e){t(a,s,o,i,g,"next",e)}function g(e){t(a,s,o,i,g,"throw",e)}i(void 0)}))}}},45:function(e,r,t){e.exports=t(46)},46:function(e,r,t){"use strict";t.r(r);var n=t(1),s=t.n(n),o=t(3),a=t.n(o),i=t(2),g=t.n(i),c=t(0);const m="#view__password--eye",l="#password__label--checkbox",u="#customhost__label--checkbox";document.on("DOMContentLoaded",a()(s.a.mark((function e(){var r,t,n,o,a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.storage.local.get(["key","pwd","userOptions","host"]);case 2:r=e.sent,t=r.key,n=r.pwd,o=r.userOptions,a=r.host,"undefined"===(i=`${t}`)?Object(c.a)("#api__key--value").value="":(Object(c.a)("#api__key--value").value=i,Object(c.a)(l).checked=o.pwdForUrls,o.pwdForUrls||(n=""),Object(c.a)("#password--value").value=n,d(o.pwdForUrls,"#pwd__holder"),Object(c.a)(u).checked=o.devMode,o.devMode||(a=""),Object(c.a)("#customhost__mode--value").value=a,d(o.devMode,"#customhost__holder")),Object(c.a)("#autocopy__label--checkbox").checked=o.autoCopy,Object(c.a)("#history__label--checkbox").checked=o.keepHistory;case 11:case"end":return e.stop()}}),e)}))));const A=function(){var e=a()(s.a.mark((function e(){var r,t,n,o,i,m,A,d;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(c.a)("#password--value").value,t=Object(c.a)("#customhost__mode--value").value,n=Object(c.a)("#api__key--value").value,o=Object(c.a)(u).checked,i=Object(c.a)(l).checked,m=Object(c.a)("#autocopy__label--checkbox").checked,A=Object(c.a)("#history__label--checkbox").checked,""===r&&(i=!1),i||(r=""),""===t?o=!1:t.endsWith("/")&&(t=t.slice(0,-1)),o||(t=""),d={pwdForUrls:i,autoCopy:m,devMode:o,keepHistory:A},e.next=14,g.a.storage.local.set({key:n,pwd:r,host:t,URL_array:[],userOptions:d});case 14:Object(c.a)("#button__submit").textContent="Saved",setTimeout(a()(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(c.a)("#button__submit").textContent="Save",e.next=3,g.a.tabs.getCurrent();case 3:r=e.sent,g.a.tabs.remove(r.id);case 5:case"end":return e.stop()}}),e)}))),1250);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function d(e,r){e?Object(c.a)(r).classList.remove("d-none"):Object(c.a)(r).classList.add("d-none")}Object(c.a)("#button__submit").on("click",A),document.on("keypress",e=>{13===e.keyCode&&A()}),Object(c.a)(m).on("click",()=>{const e=Object(c.a)("#password--value");"password"===e.type?(e.type="text",Object(c.a)(m).textContent="HIDE"):(e.type="password",Object(c.a)(m).textContent="SHOW")}),Object(c.a)("#password__label--switch").on("click",()=>{d(Object(c.a)(l).checked,"#pwd__holder")}),Object(c.a)("#customhost__label--switch").on("click",()=>{d(Object(c.a)(u).checked,"#customhost__holder")})},8:function(e,r,t){var n=function(e){"use strict";var r,t=Object.prototype,n=t.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",i=s.toStringTag||"@@toStringTag";function g(e,r,t,n){var s=r&&r.prototype instanceof f?r:f,o=Object.create(s.prototype),a=new E(n||[]);return o._invoke=function(e,r,t){var n=m;return function(s,o){if(n===u)throw new Error("Generator is already running");if(n===A){if("throw"===s)throw o;return P()}for(t.method=s,t.arg=o;;){var a=t.delegate;if(a){var i=_(a,t);if(i){if(i===d)continue;return i}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(n===m)throw n=A,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);n=u;var g=c(e,r,t);if("normal"===g.type){if(n=t.done?A:l,g.arg===d)continue;return{value:g.arg,done:t.done}}"throw"===g.type&&(n=A,t.method="throw",t.arg=g.arg)}}}(e,t,a),o}function c(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=g;var m="suspendedStart",l="suspendedYield",u="executing",A="completed",d={};function f(){}function p(){}function h(){}var x={};x[o]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(L([])));b&&b!==t&&n.call(b,o)&&(x=b);var v=h.prototype=f.prototype=Object.create(x);function w(e){["next","throw","return"].forEach((function(r){e[r]=function(e){return this._invoke(r,e)}}))}function k(e){var r;this._invoke=function(t,s){function o(){return new Promise((function(r,o){!function r(t,s,o,a){var i=c(e[t],e,s);if("throw"!==i.type){var g=i.arg,m=g.value;return m&&"object"==typeof m&&n.call(m,"__await")?Promise.resolve(m.__await).then((function(e){r("next",e,o,a)}),(function(e){r("throw",e,o,a)})):Promise.resolve(m).then((function(e){g.value=e,o(g)}),(function(e){return r("throw",e,o,a)}))}a(i.arg)}(t,s,r,o)}))}return r=r?r.then(o,o):o()}}function _(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,_(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var s=c(n,e.iterator,t.arg);if("throw"===s.type)return t.method="throw",t.arg=s.arg,t.delegate=null,d;var o=s.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function O(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function L(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,a=function t(){for(;++s=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return s("end");if(a.tryLoc<=this.prev){var g=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(g&&c){if(this.prev=0;--t){var s=this.tryEntries[t];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),O(t),d}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var s=n.arg;O(t)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}}); \ No newline at end of file +!function(e){var r={};function t(n){if(r[n])return r[n].exports;var s=r[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var s in e)t.d(n,s,function(r){return e[r]}.bind(null,s));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=45)}({0:function(e,r,t){"use strict";t.d(r,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,r){this.addEventListener(e,r)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,r){this.forEach((function(t,n){t.on(e,r)}))}},1:function(e,r,t){e.exports=t(8)},2:function(e,r,t){var n,s,o;s=[e],void 0===(o="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class s extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const o=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},a=e=>1==e?"argument":"arguments",i=(e,r,t)=>new Proxy(r,{apply:(r,n,s)=>t.call(n,e,...s)});let g=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,r={},t={})=>{let n=Object.create(null),s={has:(r,t)=>t in e||t in n,get(s,m,l){if(m in n)return n[m];if(!(m in e))return;let u=e[m];if("function"==typeof u)if("function"==typeof r[m])u=i(e,e[m],r[m]);else if(g(t,m)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((s,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,o({resolve:s,reject:a},r))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,s()}else r.noCallback?(t[e](...n),s()):t[e](...n,o({resolve:s,reject:a},r))})}))(m,t[m]);u=i(e,e[m],r)}else u=u.bind(e);else{if("object"!=typeof u||null===u||!g(r,m)&&!g(t,m))return Object.defineProperty(n,m,{configurable:!0,enumerable:!0,get:()=>e[m],set(r){e[m]=r}}),u;u=c(u,r[m],t[m])}return n[m]=u,u},set:(r,t,s,o)=>(t in n?n[t]=s:e[t]=s,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},m=Object.create(e);return new Proxy(m,s)},m=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let l=!1;const u=new s(e=>"function"!=typeof e?e:function(r,n,s){let o,a,i=!1,g=new Promise(e=>{o=function(r){l||(console.warn(t,(new Error).stack),l=!0),i=!0,e(r)}});try{a=e(r,n,o)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!i)return!1;const m=e=>{e.then(e=>{s(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",s({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return m(c?a:g),!0}),A=({reject:t,resolve:n},s)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):s&&s.__mozWebExtensionPolyfillReject__?t(new Error(s.message)):n(s)},d=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const s=A.bind(null,{resolve:e,reject:r});n.push(s),t.sendMessage(...n)})},f={runtime:{onMessage:m(u),onMessageExternal:m(u),sendMessage:d.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:d.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},h={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:h,webRTCIPHandlingPolicy:h},services:{passwordSavingEnabled:h},websites:{hyperlinkAuditingEnabled:h,referrersEnabled:h}},c(e,f,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(r,s):n)||(e.exports=o)},3:function(e,r){function t(e,r,t,n,s,o,a){try{var i=e[o](a),g=i.value}catch(e){return void t(e)}i.done?r(g):Promise.resolve(g).then(n,s)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(s,o){var a=e.apply(r,n);function i(e){t(a,s,o,i,g,"next",e)}function g(e){t(a,s,o,i,g,"throw",e)}i(void 0)}))}}},45:function(e,r,t){e.exports=t(46)},46:function(e,r,t){"use strict";t.r(r);var n=t(1),s=t.n(n),o=t(3),a=t.n(o),i=t(2),g=t.n(i),c=t(0);const m="#view__password--eye",l="#password__label--checkbox",u="#customhost__label--checkbox";document.on("DOMContentLoaded",a()(s.a.mark((function e(){var r,t,n,o,a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.storage.local.get(["key","pwd","userOptions","host"]);case 2:r=e.sent,t=r.key,n=r.pwd,o=r.userOptions,a=r.host,"undefined"===(i=`${t}`)?Object(c.a)("#api__key--value").value="":(Object(c.a)("#api__key--value").value=i,Object(c.a)(l).checked=o.pwdForUrls,o.pwdForUrls||(n=""),Object(c.a)("#password--value").value=n,d(o.pwdForUrls,"#pwd__holder"),Object(c.a)(u).checked=o.devMode,o.devMode||(a=""),Object(c.a)("#customhost__mode--value").value=a,d(o.devMode,"#customhost__holder")),Object(c.a)("#autocopy__label--checkbox").checked=o.autoCopy,Object(c.a)("#history__label--checkbox").checked=o.keepHistory;case 11:case"end":return e.stop()}}),e)}))));const A=function(){var e=a()(s.a.mark((function e(){var r,t,n,o,i,m,A,d;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(c.a)("#password--value").value,t=Object(c.a)("#customhost__mode--value").value,n=Object(c.a)("#api__key--value").value,o=Object(c.a)(u).checked,i=Object(c.a)(l).checked,m=Object(c.a)("#autocopy__label--checkbox").checked,A=Object(c.a)("#history__label--checkbox").checked,""===r&&(i=!1),i||(r=""),""===t?o=!1:t.endsWith("/")&&(t=t.slice(0,-1)),o||(t=""),d={pwdForUrls:i,autoCopy:m,devMode:o,keepHistory:A},e.next=14,g.a.storage.local.set({key:n,pwd:r,host:t,URL_array:[],userOptions:d});case 14:Object(c.a)("#button__submit").textContent="Saved",setTimeout(a()(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(c.a)("#button__submit").textContent="Save",e.next=3,g.a.tabs.getCurrent();case 3:r=e.sent,g.a.tabs.remove(r.id);case 5:case"end":return e.stop()}}),e)}))),1250);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function d(e,r){e?Object(c.a)(r).classList.remove("d-none"):Object(c.a)(r).classList.add("d-none")}Object(c.a)("#button__submit").on("click",A),document.on("keypress",e=>{13===e.keyCode&&A()}),Object(c.a)(m).on("click",()=>{const e=Object(c.a)("#password--value");"password"===e.type?(e.type="text",Object(c.a)(m).textContent="HIDE"):(e.type="password",Object(c.a)(m).textContent="SHOW")}),Object(c.a)("#password__label--switch").on("click",()=>{d(Object(c.a)(l).checked,"#pwd__holder")}),Object(c.a)("#customhost__label--switch").on("click",()=>{d(Object(c.a)(u).checked,"#customhost__holder")})},8:function(e,r,t){var n=function(e){"use strict";var r,t=Object.prototype,n=t.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",i=s.toStringTag||"@@toStringTag";function g(e,r,t,n){var s=r&&r.prototype instanceof f?r:f,o=Object.create(s.prototype),a=new E(n||[]);return o._invoke=function(e,r,t){var n=m;return function(s,o){if(n===u)throw new Error("Generator is already running");if(n===A){if("throw"===s)throw o;return P()}for(t.method=s,t.arg=o;;){var a=t.delegate;if(a){var i=_(a,t);if(i){if(i===d)continue;return i}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(n===m)throw n=A,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);n=u;var g=c(e,r,t);if("normal"===g.type){if(n=t.done?A:l,g.arg===d)continue;return{value:g.arg,done:t.done}}"throw"===g.type&&(n=A,t.method="throw",t.arg=g.arg)}}}(e,t,a),o}function c(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=g;var m="suspendedStart",l="suspendedYield",u="executing",A="completed",d={};function f(){}function h(){}function p(){}var x={};x[o]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(L([])));b&&b!==t&&n.call(b,o)&&(x=b);var v=p.prototype=f.prototype=Object.create(x);function w(e){["next","throw","return"].forEach((function(r){e[r]=function(e){return this._invoke(r,e)}}))}function k(e){var r;this._invoke=function(t,s){function o(){return new Promise((function(r,o){!function r(t,s,o,a){var i=c(e[t],e,s);if("throw"!==i.type){var g=i.arg,m=g.value;return m&&"object"==typeof m&&n.call(m,"__await")?Promise.resolve(m.__await).then((function(e){r("next",e,o,a)}),(function(e){r("throw",e,o,a)})):Promise.resolve(m).then((function(e){g.value=e,o(g)}),(function(e){return r("throw",e,o,a)}))}a(i.arg)}(t,s,r,o)}))}return r=r?r.then(o,o):o()}}function _(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,_(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var s=c(n,e.iterator,t.arg);if("throw"===s.type)return t.method="throw",t.arg=s.arg,t.delegate=null,d;var o=s.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function O(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function L(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,a=function t(){for(;++s=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return s("end");if(a.tryLoc<=this.prev){var g=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(g&&c){if(this.prev=0;--t){var s=this.tryEntries[t];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),O(t),d}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var s=n.arg;O(t)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}}); \ No newline at end of file diff --git a/firefox/js/popup.js b/firefox/js/popup.js index c8127e3..89d8552 100644 --- a/firefox/js/popup.js +++ b/firefox/js/popup.js @@ -1 +1 @@ -!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=47)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(t,e){this.addEventListener(t,e)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(t,e){this.forEach((function(r,n){r.on(t,e)}))}},function(t,e,r){t.exports=r(8)},function(t,e,r){var n,o,i;o=[t],void 0===(i="function"==typeof(n=function(t){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const e="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=t=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(e,r)=>(...n)=>{t.runtime.lastError?e.reject(t.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?e.resolve(n[0]):e.resolve(n)},i=t=>1==t?"argument":"arguments",a=(t,e,r)=>new Proxy(e,{apply:(e,n,o)=>r.call(n,t,...o)});let s=Function.call.bind(Object.prototype.hasOwnProperty);const u=(t,e={},r={})=>{let n=Object.create(null),g={has:(e,r)=>r in t||r in n,get(g,c,l){if(c in n)return n[c];if(!(c in t))return;let f=t[c];if("function"==typeof f)if("function"==typeof e[c])f=a(t,t[c],e[c]);else if(s(r,c)){let e=((t,e)=>(function(r,...n){if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${i(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((i,a)=>{if(e.fallbackToNoCallback)try{r[t](...n,o({resolve:i,reject:a},e))}catch(o){console.warn(`${t} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),r[t](...n),e.fallbackToNoCallback=!1,e.noCallback=!0,i()}else e.noCallback?(r[t](...n),i()):r[t](...n,o({resolve:i,reject:a},e))})}))(c,r[c]);f=a(t,t[c],e)}else f=f.bind(t);else{if("object"!=typeof f||null===f||!s(e,c)&&!s(r,c))return Object.defineProperty(n,c,{configurable:!0,enumerable:!0,get:()=>t[c],set(e){t[c]=e}}),f;f=u(f,e[c],r[c])}return n[c]=f,f},set:(e,r,o,i)=>(r in n?n[r]=o:t[r]=o,!0),defineProperty:(t,e,r)=>Reflect.defineProperty(n,e,r),deleteProperty:(t,e)=>Reflect.deleteProperty(n,e)},c=Object.create(t);return new Proxy(c,g)},g=t=>({addListener(e,r,...n){e.addListener(t.get(r),...n)},hasListener:(e,r)=>e.hasListener(t.get(r)),removeListener(e,r){e.removeListener(t.get(r))}});let c=!1;const l=new class extends WeakMap{constructor(t,e){super(e),this.createItem=t}get(t){return this.has(t)||this.set(t,this.createItem(t)),super.get(t)}}(t=>"function"!=typeof t?t:function(e,n,o){let i,a,s=!1,u=new Promise(t=>{i=function(e){c||(console.warn(r,(new Error).stack),c=!0),s=!0,t(e)}});try{a=t(e,n,i)}catch(t){a=Promise.reject(t)}const g=!0!==a&&(t=>t&&"object"==typeof t&&"function"==typeof t.then)(a);if(!0!==a&&!g&&!s)return!1;const l=t=>{t.then(t=>{o(t)},t=>{let e;e=t&&(t instanceof Error||"string"==typeof t.message)?t.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:e})}).catch(t=>{console.error("Failed to send onMessage rejected reply",t)})};return l(g?a:u),!0}),f=({reject:r,resolve:n},o)=>{t.runtime.lastError?t.runtime.lastError.message===e?n():r(t.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},h=(t,e,r,...n)=>{if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${i(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((t,e)=>{const o=f.bind(null,{resolve:t,reject:e});n.push(o),r.sendMessage(...n)})},m={runtime:{onMessage:g(l),onMessageExternal:g(l),sendMessage:h.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:h.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},d={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:d,webRTCIPHandlingPolicy:d},services:{passwordSavingEnabled:d},websites:{hyperlinkAuditingEnabled:d,referrersEnabled:d}},u(t,m,n)};t.exports=n(chrome)}else t.exports=browser})?n.apply(e,o):n)||(t.exports=i)},function(t,e){function r(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,u,"next",t)}function u(t){r(a,o,i,s,u,"throw",t)}s(void 0)}))}}},function(t,e){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return n[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');r=t},e.isKanjiModeEnabled=function(){return void 0!==r},e.toSJIS=function(t){return r(t)}},function(t,e,r){var n=r(12),o=r(13);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return o.testNumeric(t)?e.NUMERIC:o.testAlphanumeric(t)?e.ALPHANUMERIC:o.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(t){return r}}},function(t,e,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(t,e,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof t?u(this,t):function(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return function(t,e,r,n){if(r<0||e.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function s(t,e){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=i.prototype:(null===(r=t)&&(r=new i(e)),r.length=e),r}function u(t,e){var r=s(t,e<0?0:0|a(e));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function l(t){return i.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:c(t).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(t,e,r){void 0===e?(r=this.length,e=0):void 0===r&&"string"==typeof e?(r=this.length,e=0):isFinite(e)&&(e|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,r,n){return function(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}(c(e,t.length-r),t,r,n)}(this,t,e,r)},i.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--o)t[o+e]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),g=n.call(a,"finallyLoc");if(u&&g){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(t){return r}}},function(t,e,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return i[4*(t-1)+0];case n.M:return i[4*(t-1)+1];case n.Q:return i[4*(t-1)+2];case n.H:return i[4*(t-1)+3];default:return}}},function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},function(t,e){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=new RegExp(r,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(n,"g"),e.NUMERIC=new RegExp("[0-9]+","g"),e.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return o.test(t)},e.testNumeric=function(t){return i.test(t)},e.testAlphanumeric=function(t){return a.test(t)}},function(t,e){function r(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)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=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:n,scale:n?4:o,margin:e,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 o=r.modules.size,i=r.modules.data,a=e.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,g=[n.color.light,n.color.dark],c=0;c=u&&l>=u&&c>n&1),n<6?t.set(n,8,o,!0):n<8?t.set(n+1,8,o,!0):t.set(i-15+n,8,o,!0),n<8?t.set(8,i-n-1,o,!0):n<9?t.set(8,15-n-1+1,o,!0):t.set(8,15-n-1,o,!0);t.set(i-8,8,1,!0)}function y(t,e,r){var i=new a;r.forEach((function(e){i.put(e.mode.bit,4),i.put(e.getLength(),d.getCharCountIndicator(e.mode,t)),e.write(i)}));var s=8*(o.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,g=0;g=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(i+s,a+u,!0,!0):t.set(i+s,a+u,!1,!0))}(w,e),function(t){for(var e=t.size,r=8;r=7&&function(t,e){for(var r,n,o,i=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),t.set(r,n,o,!0),t.set(n,r,o,!0)}(w,e),function(t,e){for(var r=t.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(o,s-u)){var g=!1;a>>i&1)),t.set(o,s-u,g),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(w,m),isNaN(n)&&(n=c.getBestMask(w,v.bind(null,w,r))),c.applyMask(n,w),v(w,r,n),{modules:w,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}e.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var r,n,a=i.M;return void 0!==e&&(a=i.from(e.errorCorrectionLevel,i.M),r=h.from(e.version),n=c.from(e.maskPattern),e.toSJISFunc&&o.setToSJISFunction(e.toSJISFunc)),w(t,r,a,n)}},function(t,e){function r(){this.buffer=[],this.length=0}r.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>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},function(t,e,r){var n=r(6);function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new n(t*t),this.data.fill(0),this.reservedBit=new n(t*t),this.reservedBit.fill(0)}o.prototype.set=function(t,e,r,n){var o=t*this.size+e;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,e){return this.data[t*this.size+e]},o.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},o.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=o},function(t,e,r){var n=r(4).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),o=145===r?26:2*Math.ceil((r-13)/(2*e-2)),i=[r-7],a=1;a=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=c,o=1),(c=t.get(g,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=c,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},e.getPenaltyN2=function(t){for(var e=t.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|t.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},e.getPenaltyN4=function(t){for(var e=0,r=t.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},t.exports=i},function(t,e,r){var n=r(6),o=r(25);e.mul=function(t,e){var r=new n(t.length+e.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(t,r){for(var n=1;n<=40;n++){if(l(t,n)<=e.getCapacity(n,r,a.MIXED))return n}}(t,o);if(0===t.length)return 1;n=t[0]}else n=t;return function(t,r,n){for(var o=1;o<=40;o++)if(r<=e.getCapacity(o,n,t))return o}(n.mode,n.getLength(),o)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;n.getBCHDigit(e)-g>=0;)e^=7973<=0;)i^=1335<=0?t[t.length-1]:null;return r&&r.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(a))},e.rawSplit=function(t){return e.fromArray(h(t,g.isKanjiModeEnabled()))}},function(t,e,r){var n=r(5);function o(t){this.mode=n.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,r,n;for(e=0;e+3<=this.data.length;e+=3)r=this.data.substr(e,3),n=parseInt(r,10),t.put(n,10);var o=this.data.length-e;o>0&&(r=this.data.substr(e),n=parseInt(r,10),t.put(n,3*o+1))},t.exports=o},function(t,e,r){var n=r(5),o=["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 i(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*o.indexOf(this.data[e]);r+=o.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},t.exports=i},function(t,e,r){var n=r(6),o=r(5);function i(t){this.mode=o.BYTE,this.data=new n(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,r=this.data.length;e=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},t.exports=i},function(t,e,r){"use strict";var n={single_source_shortest_paths:function(t,e,r){var o={},i={};i[e]=0;var a,s,u,g,c,l,f,h=n.PriorityQueue.make();for(h.push(e,0);!h.empty();)for(u in s=(a=h.pop()).value,g=a.cost,c=t[s]||{})c.hasOwnProperty(u)&&(l=g+c[u],f=i[u],(void 0===i[u]||f>l)&&(i[u]=l,h.push(u,l),o[u]=s));if(void 0!==r&&void 0===i[r]){var m=["Could not find a path from ",e," to ",r,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var o=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,o={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(o[e]=r[e]);return o.queue=[],o.sorter=t.sorter||r.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=n},function(t,e,r){var n=r(14);e.render=function(t,e,r){var o=r,i=e;void 0!==o||e&&e.getContext||(o=e,e=void 0),e||(i=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(t.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,t,o),function(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},e.renderToDataURL=function(t,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=e.render(t,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(t,e,r){var n=r(14);function o(t,e){var r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(t,e,r){var n=t+e;return void 0!==r&&(n+=" "+r),n}e.render=function(t,e,r){var a=n.getOptions(e),s=t.modules.size,u=t.modules.data,g=s+2*a.margin,c=a.color.light.a?"':"",l="0&&g>0&&t[u-1]||(n+=a?i("M",g+r,.5+c+r):i("m",o,0),o=0,a=!1),g+1',f='viewBox="0 0 '+g+" "+g+'"',h=''+c+l+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,function(t,e,r){t.exports=r(48)},function(t,e,r){"use strict";r.r(e);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),g=r(15),c=r.n(g),l=r(0);let f,h,m,d,p="";const A=t=>{Object(l.a)("#url__content-inner").textContent=t},v=()=>{setTimeout(()=>{u.a.runtime.openOptionsPage()},900)},y=t=>{Object(l.a)(t).classList.toggle("d-none")},w=()=>{Object(l.a)("#copy__alert").classList.toggle("v-none")},x=function(){var t=a()(o.a.mark((function t(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,c.a.toDataURL(e);case 3:Object(l.a)("#qr_code").src=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),Object(l.a)("#qr_code").src=`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${e}`;case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),b=()=>{try{Object(l.a)("#copy__alert").textContent="Copied to clipboard!";const t=document.createElement("textarea");t.value=f,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);const e=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e)),w(),setTimeout(()=>{w()},1300)}catch(t){Object(l.a)("#copy__alert").textContent="Error while Copying!",w(),setTimeout(()=>{w()},1300)}},E=function(){var t=a()(o.a.mark((function t(e){var r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["URL_array"]);case 2:return r=t.sent,n=r.URL_array,t.next=6,u.a.runtime.sendMessage({msg:"store",curURLPair:e,curURLCollection:n});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),P=function(){var t=a()(o.a.mark((function t(){var e,r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["userOptions"]);case 2:e=t.sent,r=e.userOptions,n=r.keepHistory,r.autoCopy&&setTimeout(()=>{b()},500),n&&E({longUrl:h,shortUrl:f});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();Object(l.a)("#button__copy--holder").on("click",()=>b()),Object(l.a)("#button__qrcode--holder").on("click",()=>{y(".qrcode__content--holder")}),document.on("DOMContentLoaded",a()(o.a.mark((function t(){var e,r,n,i,a,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.tabs.query({active:!0,lastFocusedWindow:!0});case 2:return e=t.sent,(h=e.length&&e[0].url)&&(p=h.startsWith("http")),t.next=7,u.a.storage.local.get(["key","pwd"]);case 7:if(r=t.sent,n=r.key,i=r.pwd,m=n,d=i,!p||""===m||void 0===m){t.next=34;break}return t.next=15,u.a.runtime.sendMessage({msg:"start",API_key:m,pageUrl:h,password:d});case 15:if(a=t.sent,isNaN(a)){t.next=31;break}t.t0=a,t.next=429===t.t0?20:401===t.t0?22:504===t.t0?25:27;break;case 20:return A("API Limit Exceeded!"),t.abrupt("break",29);case 22:return A("Invalid API Key"),v(),t.abrupt("break",29);case 25:return A("Time-out!"),t.abrupt("break",29);case 27:return A("Some error occured"),t.abrupt("break",29);case 29:t.next=32;break;case 31:a?(A(f=a),y(".buttons__content--holder"),x(f),P()):A("Invalid Response!");case 32:t.next=43;break;case 34:if(""!==m&&void 0!==m){t.next=42;break}return A("Set API Key in Options!"),s={pwdForUrls:!1,autoCopy:!1,keepHistory:!0,devMode:!1},t.next=39,u.a.storage.local.set({userOptions:s,URL_array:[]});case 39:v(),t.next=43;break;case 42:p||A("Not a Valid URL!!");case 43:case"end":return t.stop()}}),t)}))))}]); \ No newline at end of file +!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=47)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(t,e){this.addEventListener(t,e)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(t,e){this.forEach((function(r,n){r.on(t,e)}))}},function(t,e,r){t.exports=r(8)},function(t,e,r){var n,o,i;o=[t],void 0===(i="function"==typeof(n=function(t){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const e="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=t=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(t,e){super(e),this.createItem=t}get(t){return this.has(t)||this.set(t,this.createItem(t)),super.get(t)}}const i=(e,r)=>(...n)=>{t.runtime.lastError?e.reject(t.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?e.resolve(n[0]):e.resolve(n)},a=t=>1==t?"argument":"arguments",s=(t,e,r)=>new Proxy(e,{apply:(e,n,o)=>r.call(n,t,...o)});let u=Function.call.bind(Object.prototype.hasOwnProperty);const c=(t,e={},r={})=>{let n=Object.create(null),o={has:(e,r)=>r in t||r in n,get(o,g,l){if(g in n)return n[g];if(!(g in t))return;let f=t[g];if("function"==typeof f)if("function"==typeof e[g])f=s(t,t[g],e[g]);else if(u(r,g)){let e=((t,e)=>(function(r,...n){if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${a(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((o,a)=>{if(e.fallbackToNoCallback)try{r[t](...n,i({resolve:o,reject:a},e))}catch(i){console.warn(`${t} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",i),r[t](...n),e.fallbackToNoCallback=!1,e.noCallback=!0,o()}else e.noCallback?(r[t](...n),o()):r[t](...n,i({resolve:o,reject:a},e))})}))(g,r[g]);f=s(t,t[g],e)}else f=f.bind(t);else{if("object"!=typeof f||null===f||!u(e,g)&&!u(r,g))return Object.defineProperty(n,g,{configurable:!0,enumerable:!0,get:()=>t[g],set(e){t[g]=e}}),f;f=c(f,e[g],r[g])}return n[g]=f,f},set:(e,r,o,i)=>(r in n?n[r]=o:t[r]=o,!0),defineProperty:(t,e,r)=>Reflect.defineProperty(n,e,r),deleteProperty:(t,e)=>Reflect.deleteProperty(n,e)},g=Object.create(t);return new Proxy(g,o)},g=t=>({addListener(e,r,...n){e.addListener(t.get(r),...n)},hasListener:(e,r)=>e.hasListener(t.get(r)),removeListener(e,r){e.removeListener(t.get(r))}});let l=!1;const f=new o(t=>"function"!=typeof t?t:function(e,n,o){let i,a,s=!1,u=new Promise(t=>{i=function(e){l||(console.warn(r,(new Error).stack),l=!0),s=!0,t(e)}});try{a=t(e,n,i)}catch(t){a=Promise.reject(t)}const c=!0!==a&&(t=>t&&"object"==typeof t&&"function"==typeof t.then)(a);if(!0!==a&&!c&&!s)return!1;const g=t=>{t.then(t=>{o(t)},t=>{let e;e=t&&(t instanceof Error||"string"==typeof t.message)?t.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:e})}).catch(t=>{console.error("Failed to send onMessage rejected reply",t)})};return g(c?a:u),!0}),h=({reject:r,resolve:n},o)=>{t.runtime.lastError?t.runtime.lastError.message===e?n():r(t.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},m=(t,e,r,...n)=>{if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${a(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((t,e)=>{const o=h.bind(null,{resolve:t,reject:e});n.push(o),r.sendMessage(...n)})},d={runtime:{onMessage:g(f),onMessageExternal:g(f),sendMessage:m.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:m.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},p={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:p,webRTCIPHandlingPolicy:p},services:{passwordSavingEnabled:p},websites:{hyperlinkAuditingEnabled:p,referrersEnabled:p}},c(t,d,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");t.exports=n(chrome)}else t.exports=browser})?n.apply(e,o):n)||(t.exports=i)},function(t,e){function r(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,u,"next",t)}function u(t){r(a,o,i,s,u,"throw",t)}s(void 0)}))}}},function(t,e){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return n[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');r=t},e.isKanjiModeEnabled=function(){return void 0!==r},e.toSJIS=function(t){return r(t)}},function(t,e,r){var n=r(12),o=r(13);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return o.testNumeric(t)?e.NUMERIC:o.testAlphanumeric(t)?e.ALPHANUMERIC:o.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(t){return r}}},function(t,e,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(t,e,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof t?u(this,t):function(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return function(t,e,r,n){if(r<0||e.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function s(t,e){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=i.prototype:(null===(r=t)&&(r=new i(e)),r.length=e),r}function u(t,e){var r=s(t,e<0?0:0|a(e));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function l(t){return i.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:g(t).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(t,e,r){void 0===e?(r=this.length,e=0):void 0===r&&"string"==typeof e?(r=this.length,e=0):isFinite(e)&&(e|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,r,n){return function(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}(g(e,t.length-r),t,r,n)}(this,t,e,r)},i.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--o)t[o+e]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(t){return r}}},function(t,e,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return i[4*(t-1)+0];case n.M:return i[4*(t-1)+1];case n.Q:return i[4*(t-1)+2];case n.H:return i[4*(t-1)+3];default:return}}},function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},function(t,e){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=new RegExp(r,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(n,"g"),e.NUMERIC=new RegExp("[0-9]+","g"),e.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return o.test(t)},e.testNumeric=function(t){return i.test(t)},e.testAlphanumeric=function(t){return a.test(t)}},function(t,e){function r(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)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=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:n,scale:n?4:o,margin:e,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 o=r.modules.size,i=r.modules.data,a=e.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],g=0;g=u&&l>=u&&g>n&1),n<6?t.set(n,8,o,!0):n<8?t.set(n+1,8,o,!0):t.set(i-15+n,8,o,!0),n<8?t.set(8,i-n-1,o,!0):n<9?t.set(8,15-n-1+1,o,!0):t.set(8,15-n-1,o,!0);t.set(i-8,8,1,!0)}function y(t,e,r){var i=new a;r.forEach((function(e){i.put(e.mode.bit,4),i.put(e.getLength(),d.getCharCountIndicator(e.mode,t)),e.write(i)}));var s=8*(o.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(i+s,a+u,!0,!0):t.set(i+s,a+u,!1,!0))}(w,e),function(t){for(var e=t.size,r=8;r=7&&function(t,e){for(var r,n,o,i=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),t.set(r,n,o,!0),t.set(n,r,o,!0)}(w,e),function(t,e){for(var r=t.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(o,s-u)){var c=!1;a>>i&1)),t.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(w,m),isNaN(n)&&(n=g.getBestMask(w,v.bind(null,w,r))),g.applyMask(n,w),v(w,r,n),{modules:w,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}e.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var r,n,a=i.M;return void 0!==e&&(a=i.from(e.errorCorrectionLevel,i.M),r=h.from(e.version),n=g.from(e.maskPattern),e.toSJISFunc&&o.setToSJISFunction(e.toSJISFunc)),w(t,r,a,n)}},function(t,e){function r(){this.buffer=[],this.length=0}r.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>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},function(t,e,r){var n=r(6);function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new n(t*t),this.data.fill(0),this.reservedBit=new n(t*t),this.reservedBit.fill(0)}o.prototype.set=function(t,e,r,n){var o=t*this.size+e;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,e){return this.data[t*this.size+e]},o.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},o.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=o},function(t,e,r){var n=r(4).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),o=145===r?26:2*Math.ceil((r-13)/(2*e-2)),i=[r-7],a=1;a=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=g,o=1),(g=t.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=g,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},e.getPenaltyN2=function(t){for(var e=t.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|t.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},e.getPenaltyN4=function(t){for(var e=0,r=t.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},t.exports=i},function(t,e,r){var n=r(6),o=r(25);e.mul=function(t,e){var r=new n(t.length+e.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(t,r){for(var n=1;n<=40;n++){if(l(t,n)<=e.getCapacity(n,r,a.MIXED))return n}}(t,o);if(0===t.length)return 1;n=t[0]}else n=t;return function(t,r,n){for(var o=1;o<=40;o++)if(r<=e.getCapacity(o,n,t))return o}(n.mode,n.getLength(),o)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;n.getBCHDigit(e)-c>=0;)e^=7973<=0;)i^=1335<=0?t[t.length-1]:null;return r&&r.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(a))},e.rawSplit=function(t){return e.fromArray(h(t,c.isKanjiModeEnabled()))}},function(t,e,r){var n=r(5);function o(t){this.mode=n.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,r,n;for(e=0;e+3<=this.data.length;e+=3)r=this.data.substr(e,3),n=parseInt(r,10),t.put(n,10);var o=this.data.length-e;o>0&&(r=this.data.substr(e),n=parseInt(r,10),t.put(n,3*o+1))},t.exports=o},function(t,e,r){var n=r(5),o=["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 i(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*o.indexOf(this.data[e]);r+=o.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},t.exports=i},function(t,e,r){var n=r(6),o=r(5);function i(t){this.mode=o.BYTE,this.data=new n(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,r=this.data.length;e=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},t.exports=i},function(t,e,r){"use strict";var n={single_source_shortest_paths:function(t,e,r){var o={},i={};i[e]=0;var a,s,u,c,g,l,f,h=n.PriorityQueue.make();for(h.push(e,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,g=t[s]||{})g.hasOwnProperty(u)&&(l=c+g[u],f=i[u],(void 0===i[u]||f>l)&&(i[u]=l,h.push(u,l),o[u]=s));if(void 0!==r&&void 0===i[r]){var m=["Could not find a path from ",e," to ",r,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var o=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,o={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(o[e]=r[e]);return o.queue=[],o.sorter=t.sorter||r.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=n},function(t,e,r){var n=r(14);e.render=function(t,e,r){var o=r,i=e;void 0!==o||e&&e.getContext||(o=e,e=void 0),e||(i=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(t.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,t,o),function(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},e.renderToDataURL=function(t,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=e.render(t,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(t,e,r){var n=r(14);function o(t,e){var r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(t,e,r){var n=t+e;return void 0!==r&&(n+=" "+r),n}e.render=function(t,e,r){var a=n.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*a.margin,g=a.color.light.a?"':"",l="0&&c>0&&t[u-1]||(n+=a?i("M",c+r,.5+g+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+g+l+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,function(t,e,r){t.exports=r(48)},function(t,e,r){"use strict";r.r(e);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),g=r.n(c),l=r(0);let f,h,m,d,p="";const A=t=>{Object(l.a)("#url__content-inner").textContent=t},v=()=>{setTimeout(()=>{u.a.runtime.openOptionsPage()},900)},y=t=>{Object(l.a)(t).classList.toggle("d-none")},w=()=>{Object(l.a)("#copy__alert").classList.toggle("v-none")},x=function(){var t=a()(o.a.mark((function t(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g.a.toDataURL(e);case 3:Object(l.a)("#qr_code").src=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),Object(l.a)("#qr_code").src=`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${e}`;case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),b=()=>{try{Object(l.a)("#copy__alert").textContent="Copied to clipboard!";const t=document.createElement("textarea");t.value=f,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);const e=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e)),w(),setTimeout(()=>{w()},1300)}catch(t){Object(l.a)("#copy__alert").textContent="Error while Copying!",w(),setTimeout(()=>{w()},1300)}},E=function(){var t=a()(o.a.mark((function t(e){var r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["URL_array"]);case 2:return r=t.sent,n=r.URL_array,t.next=6,u.a.runtime.sendMessage({msg:"store",curURLPair:e,curURLCollection:n});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),P=function(){var t=a()(o.a.mark((function t(){var e,r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["userOptions"]);case 2:e=t.sent,r=e.userOptions,n=r.keepHistory,r.autoCopy&&setTimeout(()=>{b()},500),n&&E({longUrl:h,shortUrl:f});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();Object(l.a)("#button__copy--holder").on("click",()=>b()),Object(l.a)("#button__qrcode--holder").on("click",()=>{y(".qrcode__content--holder")}),document.on("DOMContentLoaded",a()(o.a.mark((function t(){var e,r,n,i,a,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.tabs.query({active:!0,lastFocusedWindow:!0});case 2:return e=t.sent,(h=e.length&&e[0].url)&&(p=h.startsWith("http")),t.next=7,u.a.storage.local.get(["key","pwd"]);case 7:if(r=t.sent,n=r.key,i=r.pwd,m=n,d=i,!p||""===m||void 0===m){t.next=34;break}return t.next=15,u.a.runtime.sendMessage({msg:"start",API_key:m,pageUrl:h,password:d});case 15:if(a=t.sent,isNaN(a)){t.next=31;break}t.t0=a,t.next=429===t.t0?20:401===t.t0?22:504===t.t0?25:27;break;case 20:return A("API Limit Exceeded!"),t.abrupt("break",29);case 22:return A("Invalid API Key"),v(),t.abrupt("break",29);case 25:return A("Time-out!"),t.abrupt("break",29);case 27:return A("Some error occured"),t.abrupt("break",29);case 29:t.next=32;break;case 31:a?(A(f=a),y(".buttons__content--holder"),x(f),P()):A("Invalid Response!");case 32:t.next=43;break;case 34:if(""!==m&&void 0!==m){t.next=42;break}return A("Set API Key in Options!"),s={pwdForUrls:!1,autoCopy:!1,keepHistory:!0,devMode:!1},t.next=39,u.a.storage.local.set({userOptions:s,URL_array:[]});case 39:v(),t.next=43;break;case 42:p||A("Not a Valid URL!!");case 43:case"end":return t.stop()}}),t)}))))}]); \ No newline at end of file diff --git a/firefox/manifest.json b/firefox/manifest.json index c61e7f1..911661b 100644 --- a/firefox/manifest.json +++ b/firefox/manifest.json @@ -1,47 +1 @@ -{ - "manifest_version": 2, - "name": "Kutt", - "version": "3.0.2", - "browser_specific_settings": { - "gecko": { - "id": "support@kutt.it" - } - }, - "description": "Shorten long URLs with just one click.", - "icons": { - "16": "assets/favicon-16.png", - "32": "assets/favicon-32.png", - "48": "assets/favicon-48.png", - "128": "assets/favicon-128.png" - }, - "browser_action": { - "default_popup": "popup.html", - "default_icon": { - "16": "assets/favicon-16.png", - "32": "assets/favicon-32.png", - "48": "assets/favicon-48.png", - "128": "assets/favicon-128.png" - }, - "default_title": "Shorten this URL", - "browser_style": false - }, - "author": "abhijithvijayan", - "background": { - "scripts": ["js/background.js"] - }, - "homepage_url": "https://github.com/abhijithvijayan/kutt-extension", - "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", - "options_ui": { - "page": "options.html", - "open_in_tab": true - }, - "permissions": [ - "tabs", - "storage", - "clipboardWrite", - "clipboardRead", - "http://*/*", - "https://*/*" - ], - "short_name": "Kutt" -} +{"version":"3.1.0","name":"Kutt","browser_specific_settings":{"gecko":{"id":"support@kutt.it"}},"description":"Shorten long URLs with just one click.","icons":{"16":"assets/favicon-16.png","32":"assets/favicon-32.png","48":"assets/favicon-48.png","128":"assets/favicon-128.png"},"browser_action":{"default_popup":"popup.html","default_icon":{"16":"assets/favicon-16.png","32":"assets/favicon-32.png","48":"assets/favicon-48.png","128":"assets/favicon-128.png"},"default_title":"Shorten this URL","browser_style":false},"manifest_version":2,"author":"abhijithvijayan","background":{"scripts":["js/background.js"]},"homepage_url":"https://github.com/abhijithvijayan/kutt-extension","content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self'","options_ui":{"page":"options.html","open_in_tab":true},"permissions":["tabs","storage","clipboardWrite","clipboardRead","http://*/*","https://*/*"],"short_name":"Kutt"} \ No newline at end of file diff --git a/opera.zip b/opera.zip index d59c577..f4d5ebd 100644 Binary files a/opera.zip and b/opera.zip differ diff --git a/opera/css/history.css b/opera/css/history.css index ee0f896..666aeb7 100644 --- a/opera/css/history.css +++ b/opera/css/history.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}button>*{pointer-events:none}#history .history__content--holder{min-height:100vh;width:100%;display:-webkit-box;display:flex;align-items:center;flex-direction:column;box-sizing:border-box;flex:0 0 auto}#history .history__content--holder .table__content--holder{width:1200px;max-width:95%;display:-webkit-box;display:flex;flex-direction:column;margin:40px 0 120px}#history .history__content--holder .table__content--holder .history__head--holder{display:-webkit-box;display:flex;align-items:center;justify-content:space-between}#history .history__content--holder .table__content--holder .history__head--holder h2{font-size:24px;margin:.83em 0}#history .history__content--holder .table__content--holder .history__head--holder a{border-bottom:1px solid;margin-right:10px;padding-bottom:1px;font-size:18px}#history .history__content--holder .table__content--holder .table__content--wrapper{display:-webkit-box;display:flex;flex-direction:column;background-color:#fff;box-shadow:0 6px 30px rgba(50,50,50,.2);flex:1 1 auto;border-radius:12px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head{display:-webkit-box;display:flex;flex-direction:column;background-color:#f1f1f1;border-top-right-radius:12px;border-top-left-radius:12px;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder{display:-webkit-box;display:flex;justify-content:space-between;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder th{position:relative;display:-webkit-box;display:flex;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--longURL{justify-content:flex-start;align-items:center;flex:2 2 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--shortURL{display:-webkit-box;display:flex;justify-content:flex-start;align-items:center;flex:1 1 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll{display:-webkit-box;display:flex;position:relative;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn{color:#111;font-size:16px;display:-webkit-box;display:flex;justify-content:center;align-items:center;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;width:auto;margin:0 2px 0 12px;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;outline:none;transition:all .2s ease-out 0s;padding:0 12px;border-radius:100px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn img{margin:1px 0 3px 6px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn:hover{transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body{display:-webkit-box;display:flex;flex-direction:column;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder{display:-webkit-box;display:flex;justify-content:space-between;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder td{position:relative;display:-webkit-box;display:flex;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original{white-space:nowrap;overflow:hidden;flex:2 2 0px;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened{white-space:nowrap;flex:1 1 23px;overflow:hidden;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table_body--flashCopy{position:absolute;left:0;top:0;color:green;font-size:11px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody{display:-webkit-box;display:flex;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder{display:-webkit-box;display:flex;justify-content:flex-end;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode{display:-webkit-box;display:flex;justify-content:center;align-items:center;width:26px;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;margin:0 12px 0 2px;padding:0;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;outline:none;border-radius:100%;transition:all .2s ease-out 0s}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy:hover,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode:hover{transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div{position:fixed;width:100%;height:100%;top:0;left:0;display:-webkit-box;display:flex;justify-content:center;align-items:center;background-color:rgba(50,50,50,.8);z-index:1000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup{text-align:center;background-color:#fff;padding:48px 64px;border-radius:8px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__qrcode--holder #table__qrcode{height:196px;width:196px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder{display:-webkit-box;display:flex;justify-content:center;margin-top:40px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder .table__closebtn--inner{margin:0 16px;position:relative;height:40px;display:-webkit-box;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:400;text-align:center;line-height:1;word-break:keep-all;cursor:pointer;color:#000;box-shadow:0 5px 6px hsla(0,0%,62.7%,.5);padding:0 32px;border:none;border-color:initial;-o-border-image:none;border-image:none;-o-border-image:initial;border-image:initial;border-radius:100px;transition:all .4s ease-out 0s;overflow:hidden;background:-webkit-gradient(linear,left top,right top,from(#e0e0e0),to(#bdbdbd));background:linear-gradient(90deg,#e0e0e0,#bdbdbd)} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}button>*{pointer-events:none}#history .history__content--holder{min-height:100vh;width:100%;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;box-sizing:border-box;-webkit-box-flex:0;flex:0 0 auto}#history .history__content--holder .table__content--holder{width:1200px;max-width:95%;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;margin:40px 0 120px}#history .history__content--holder .table__content--holder .history__head--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between}#history .history__content--holder .table__content--holder .history__head--holder h2{font-size:24px;margin:.83em 0}#history .history__content--holder .table__content--holder .history__head--holder a{border-bottom:1px solid;margin-right:10px;padding-bottom:1px;font-size:18px}#history .history__content--holder .table__content--holder .table__content--wrapper{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background-color:#fff;box-shadow:0 6px 30px rgba(50,50,50,.2);-webkit-box-flex:1;flex:1 1 auto;border-radius:12px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;background-color:#f1f1f1;border-top-right-radius:12px;border-top-left-radius:12px;-webkit-box-flex:1;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-flex:1;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder th{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--longURL{-webkit-box-pack:start;justify-content:flex-start;-webkit-box-align:center;align-items:center;-webkit-box-flex:2;flex:2 2 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--shortURL{display:-webkit-box;display:flex;-webkit-box-pack:start;justify-content:flex-start;-webkit-box-align:center;align-items:center;-webkit-box-flex:1;flex:1 1 0px;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll{display:-webkit-box;display:flex;position:relative;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn{color:#111;font-size:16px;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;width:auto;margin:0 2px 0 12px;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;outline:none;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;padding:0 12px;border-radius:100px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn img{margin:1px 0 3px 6px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--head .table__head--holder .table__head--clearAll .table__list--clearAll .table__listItem--clear .table__clearAll--btn:hover{-webkit-transform:translateY(-3px);transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-flex:1;flex:1 1 auto}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder{display:-webkit-box;display:flex;-webkit-box-pack:justify;justify-content:space-between;-webkit-box-flex:1;flex:1 1 auto;padding:0 24px;border-bottom:1px solid #eaeaea}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder td{position:relative;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:16px 0}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original{white-space:nowrap;overflow:hidden;-webkit-box-flex:2;flex:2 2 0px;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original .table__body--originalURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--original:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened{white-space:nowrap;-webkit-box-flex:1;flex:1 1 23px;overflow:hidden;position:relative}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened:after{content:"";position:absolute;right:0;top:0;height:100%;width:56px;background:-webkit-gradient(linear,right top,left top,from(#fff),color-stop(#fff),to(transparent));background:linear-gradient(270deg,#fff,#fff,transparent)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table_body--flashCopy{position:absolute;left:0;top:0;color:green;font-size:11px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL{color:#2196f3;box-sizing:border-box;text-decoration:none;border-bottom:1px dotted transparent;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s;font-size:16px;line-height:1.45}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--shortened .table__body--shortenBody .table__body--shortenURL:hover{border-bottom:1px dotted #000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder{display:-webkit-box;display:flex;-webkit-box-pack:end;justify-content:flex-end;-webkit-box-align:center;align-items:center}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;width:26px;height:26px;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede;cursor:pointer;margin:0 12px 0 2px;padding:0;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;outline:none;border-radius:100%;-webkit-transition:all .2s ease-out 0s;transition:all .2s ease-out 0s}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--copy:hover,#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__body--btnHolder .table__body--qrcode:hover{-webkit-transform:translateY(-3px);transform:translateY(-3px)}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div{position:fixed;width:100%;height:100%;top:0;left:0;display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;-webkit-box-align:center;align-items:center;background-color:rgba(50,50,50,.8);z-index:1000}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup{text-align:center;background-color:#fff;padding:48px 64px;border-radius:8px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__qrcode--holder #table__qrcode{height:196px;width:196px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;margin-top:40px}#history .history__content--holder .table__content--holder .table__content--wrapper .table__content--body .table__body--holder .table__body--functionBtns .table__qrcodePopup--div .table__qrcode--popup .table__closebtn--holder .table__closebtn--inner{margin:0 16px;position:relative;height:40px;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;font-size:13px;font-weight:400;text-align:center;line-height:1;word-break:keep-all;cursor:pointer;color:#000;box-shadow:0 5px 6px hsla(0,0%,62.7%,.5);padding:0 32px;border:none;border-color:initial;-webkit-border-image:none;-o-border-image:none;border-image:none;-webkit-border-image:initial;-o-border-image:initial;border-image:initial;border-radius:100px;-webkit-transition:all .4s ease-out 0s;transition:all .4s ease-out 0s;overflow:hidden;background:-webkit-gradient(linear,left top,right top,from(#e0e0e0),to(#bdbdbd));background:linear-gradient(90deg,#e0e0e0,#bdbdbd)} \ No newline at end of file diff --git a/opera/css/options.css b/opera/css/options.css index fe86539..0f2d0b9 100644 --- a/opera/css/options.css +++ b/opera/css/options.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}#options{display:-webkit-box;display:flex;justify-content:center;height:100vh}#options .options__content--holder{padding-top:5em;display:-webkit-box;display:flex;flex-direction:column;align-items:center}#options .options__content--holder .head__content--holder{display:-webkit-box;display:flex;align-items:center;margin-bottom:24px}#options .options__content--holder .head__content--holder .head__content--logo{width:38px;height:38px}#options .options__content--holder .head__content--holder .head__content--title{color:#111;font-weight:600;padding:0;margin:0 0 0 .4em;font-size:34px}#options .options__content--holder .form__content--holder{margin-top:3em}#options .options__content--holder .form__content--holder .form__content{padding:0 100px 40px;width:600px}#options .options__content--holder .form__content--holder .form__content .api__key--label,#options .options__content--holder .form__content--holder .form__content .copy--label,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label,#options .options__content--holder .form__content--holder .form__content .password--label{font-size:16px;display:inline-block;margin-bottom:.8em}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional{font-size:13px;letter-spacing:1px;cursor:default;position:relative;display:inline-block;border-bottom:1px dotted #000}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .password__label--tooltiptext{visibility:visible;opacity:1}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext{cursor:pointer;visibility:hidden;font-size:13px;width:180px;line-height:1.5;letter-spacing:1px;background-color:#555;color:#fff;padding:5px 0;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-90px;opacity:0;transition:opacity .3s}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-top-color:#555}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text{cursor:pointer}#options .options__content--holder .form__content--holder .form__content .api__key--holder,#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-family:Nunito,sans-serif;width:100%;border-radius:100px;background-color:#fff;box-shadow:0 10px 35px rgba(50,50,50,.1);color:#444;box-sizing:border-box;border:none;border-bottom:4px solid #f5f5f5;-o-border-image:none 100%/1/0 stretch;border-image:none 100%/1/0 stretch;height:54px}#options .options__content--holder .form__content--holder .form__content .api__key--holder{margin-bottom:3em;padding:12px 25px;font-size:16px}#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-size:20px;padding:8px 25px}#options .options__content--holder .form__content--holder .form__content .view__password--eye{text-transform:uppercase;cursor:pointer;position:relative;float:right;margin-right:20px;margin-top:-36px;z-index:2}#options .options__content--holder .form__content--holder .form__content .saved__alert{margin-top:2em;padding-left:.5em}#options .options__content--holder .form__content--holder .form__content .button__submit{font-family:Nunito,sans-serif;font-size:18px;display:block;color:#fff;width:100%;background:transparent -webkit-gradient(linear,left top,right top,from(#42a5f5),to(#2979ff)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#42a5f5,#2979ff) repeat scroll 0 0;box-shadow:0 5px 6px rgba(66,165,245,.5);border:none;border-radius:100px;padding:12px;margin:2em 0 1em}#options .options__content--holder .form__content--holder .form__content .button__submit:hover{cursor:pointer;background:transparent -webkit-gradient(linear,left top,right top,from(#2979ff),to(#4d5bfa)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#2979ff,#4d5bfa) repeat scroll 0 0}#options .options__content--holder .footer__text--holder{font-size:12px;padding-top:20px;padding-bottom:20px;letter-spacing:1px}#options .options__content--holder .footer__text--holder .github__repo--link{border-bottom:1px dotted #111;text-decoration:none} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111;background-color:#f3f3f3}#options{display:-webkit-box;display:flex;-webkit-box-pack:center;justify-content:center;height:100vh}#options .options__content--holder{padding-top:5em;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:center;align-items:center}#options .options__content--holder .head__content--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;margin-bottom:24px}#options .options__content--holder .head__content--holder .head__content--logo{width:38px;height:38px}#options .options__content--holder .head__content--holder .head__content--title{color:#111;font-weight:600;padding:0;margin:0 0 0 .4em;font-size:34px}#options .options__content--holder .form__content--holder{margin-top:3em}#options .options__content--holder .form__content--holder .form__content{padding:0 100px 40px;width:600px}#options .options__content--holder .form__content--holder .form__content .api__key--label,#options .options__content--holder .form__content--holder .form__content .copy--label,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label,#options .options__content--holder .form__content--holder .form__content .password--label{font-size:16px;display:inline-block;margin-bottom:.8em}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional{font-size:13px;letter-spacing:1px;cursor:default;position:relative;display:inline-block;border-bottom:1px dotted #000}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional:hover .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional:hover .password__label--tooltiptext{visibility:visible;opacity:1}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext{cursor:pointer;visibility:hidden;font-size:13px;width:180px;line-height:1.5;letter-spacing:1px;background-color:#555;color:#fff;padding:5px 0;border-radius:6px;position:absolute;z-index:1;bottom:125%;left:50%;margin-left:-90px;opacity:0;-webkit-transition:opacity .3s;transition:opacity .3s}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .api__key--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .password__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .customhost__label--optional .password__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .api__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .customhost__label--tooltiptext:after,#options .options__content--holder .form__content--holder .form__content .password--label .password__label--optional .password__label--tooltiptext:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border:5px solid transparent;border-top-color:#555}#options .options__content--holder .form__content--holder .form__content .api__key--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .customhost__mode--label .api__label--text,#options .options__content--holder .form__content--holder .form__content .password--label .api__label--text{cursor:pointer}#options .options__content--holder .form__content--holder .form__content .api__key--holder,#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-family:Nunito,sans-serif;width:100%;border-radius:100px;background-color:#fff;box-shadow:0 10px 35px rgba(50,50,50,.1);color:#444;box-sizing:border-box;border:none;border-bottom:4px solid #f5f5f5;-webkit-border-image:none 100%/1/0 stretch;-o-border-image:none 100%/1/0 stretch;border-image:none 100%/1/0 stretch;height:54px}#options .options__content--holder .form__content--holder .form__content .api__key--holder{margin-bottom:3em;padding:12px 25px;font-size:16px}#options .options__content--holder .form__content--holder .form__content .customhost__mode--holder,#options .options__content--holder .form__content--holder .form__content .password--holder{font-size:20px;padding:8px 25px}#options .options__content--holder .form__content--holder .form__content .view__password--eye{text-transform:uppercase;cursor:pointer;position:relative;float:right;margin-right:20px;margin-top:-36px;z-index:2}#options .options__content--holder .form__content--holder .form__content .saved__alert{margin-top:2em;padding-left:.5em}#options .options__content--holder .form__content--holder .form__content .button__submit{font-family:Nunito,sans-serif;font-size:18px;display:block;color:#fff;width:100%;background:transparent -webkit-gradient(linear,left top,right top,from(#42a5f5),to(#2979ff)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#42a5f5,#2979ff) repeat scroll 0 0;box-shadow:0 5px 6px rgba(66,165,245,.5);border:none;border-radius:100px;padding:12px;margin:2em 0 1em}#options .options__content--holder .form__content--holder .form__content .button__submit:hover{cursor:pointer;background:transparent -webkit-gradient(linear,left top,right top,from(#2979ff),to(#4d5bfa)) repeat scroll 0 0;background:transparent linear-gradient(90deg,#2979ff,#4d5bfa) repeat scroll 0 0}#options .options__content--holder .footer__text--holder{font-size:12px;padding-top:20px;padding-bottom:20px;letter-spacing:1px}#options .options__content--holder .footer__text--holder .github__repo--link{border-bottom:1px dotted #111;text-decoration:none} \ No newline at end of file diff --git a/opera/css/popup.css b/opera/css/popup.css index f913e83..df2cf46 100644 --- a/opera/css/popup.css +++ b/opera/css/popup.css @@ -1 +1 @@ -@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px;position:absolute;transition:.4s}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:-webkit-box;display:flex;align-items:center;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{display:-webkit-box;display:flex;align-items:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder .url__content--url{display:-webkit-box;display:flex;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:-webkit-box;display:flex;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:-webkit-box;display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px} \ No newline at end of file +@import url(https://fonts.googleapis.com/css?family=Nunito:400,600);*,:after,:before{box-sizing:border-box}:focus{outline:0}ol,ul{list-style-type:none}*{margin:0;padding:0;border:0;outline:0}body{overflow-x:hidden}a:link{text-decoration:none}.d-none{display:none!important}.v-none{visibility:hidden!important}.text-center{text-align:center}.mt-3{margin-top:3em}.mb-2,.my-2{margin-bottom:2em}.my-2{margin-top:1em}.py-2{padding:1em 24px}.table-inner{border-radius:0 0 12px 12px;box-shadow:0 6px 30px rgba(50,50,50,.2);background-color:#fff}.selectDisable{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{font-family:Nunito,sans-serif}.icon__img{width:12px;height:12px}.switch{height:23px;width:49px;margin-right:10px;float:right;position:relative}.switch input{display:none}.switch input:checked+.slider{background-color:#2979ff}.switch input:checked+.slider:before{-webkit-transform:translateX(26px);transform:translateX(26px)}.switch .slider{background-color:#ccc;bottom:0;cursor:pointer;left:0;right:0;top:0}.switch .slider,.switch .slider:before{position:absolute;-webkit-transition:.4s;transition:.4s}.switch .slider:before{height:15px;width:15px;background-color:#fff;bottom:4px;content:"";left:4px}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}body{color:#111}#home{min-width:340px}#home .container{padding:10px}#home .container .header{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:justify;justify-content:space-between;line-height:1}#home .container .header .main__list--holder .list__button{display:inline-block;margin-right:11px}#home .container .content__holder .url__content--holder{-webkit-box-pack:center;justify-content:center;margin:1.5em 0}#home .container .content__holder .url__content--holder,#home .container .content__holder .url__content--holder .url__content--url{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center}#home .container .content__holder .url__content--holder .url__content--url #url__content-inner{margin:0;font-size:20px;line-height:1;color:#333;font-weight:600;letter-spacing:.03em}#home .container .content__holder .url__content--holder .url__content--url #copy__alert{position:absolute;margin-top:3.6em;top:0;color:green;font-size:11px}#home .container .content__holder .url__content--holder .buttons__content--holder{display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;padding:0;margin:0 0 0 16px}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder{cursor:pointer;display:-webkit-box;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;width:28px;height:28px;margin:0 6px;border-radius:100%;box-shadow:0 2px 4px hsla(0,0%,39.2%,.1);background-color:#dedede}#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .copy__content--holder #button__qrcode,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__copy,#home .container .content__holder .url__content--holder .buttons__content--holder .qrbtn__content--holder #button__qrcode{width:13px;height:13px} \ No newline at end of file diff --git a/opera/js/background.js b/opera/js/background.js index e376aa2..14850a3 100644 --- a/opera/js/background.js +++ b/opera/js/background.js @@ -1,4 +1,4 @@ -!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=51)}([,function(e,r,t){e.exports=t(8)},function(e,r,t){var n,o,s;o=[e],void 0===(s="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},s=e=>1==e?"argument":"arguments",a=(e,r,t)=>new Proxy(r,{apply:(r,n,o)=>t.call(n,e,...o)});let i=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,r={},t={})=>{let n=Object.create(null),u={has:(r,t)=>t in e||t in n,get(u,l,g){if(l in n)return n[l];if(!(l in e))return;let m=e[l];if("function"==typeof m)if("function"==typeof r[l])m=a(e,e[l],r[l]);else if(i(t,l)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${s(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((s,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,o({resolve:s,reject:a},r))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,s()}else r.noCallback?(t[e](...n),s()):t[e](...n,o({resolve:s,reject:a},r))})}))(l,t[l]);m=a(e,e[l],r)}else m=m.bind(e);else{if("object"!=typeof m||null===m||!i(r,l)&&!i(t,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(r){e[l]=r}}),m;m=c(m,r[l],t[l])}return n[l]=m,m},set:(r,t,o,s)=>(t in n?n[t]=o:e[t]=o,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},l=Object.create(e);return new Proxy(l,u)},u=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let l=!1;const g=new class extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(r,n,o){let s,a,i=!1,c=new Promise(e=>{s=function(r){l||(console.warn(t,(new Error).stack),l=!0),i=!0,e(r)}});try{a=e(r,n,s)}catch(e){a=Promise.reject(e)}const u=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!u&&!i)return!1;const g=e=>{e.then(e=>{o(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return g(u?a:c),!0}),m=({reject:t,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?t(new Error(o.message)):n(o)},f=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${s(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const o=m.bind(null,{resolve:e,reject:r});n.push(o),t.sendMessage(...n)})},p={runtime:{onMessage:u(g),onMessageExternal:u(g),sendMessage:f.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:f.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},h={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:h,webRTCIPHandlingPolicy:h},services:{passwordSavingEnabled:h},websites:{hyperlinkAuditingEnabled:h,referrersEnabled:h}},c(e,p,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(r,o):n)||(e.exports=s)},function(e,r){function t(e,r,t,n,o,s,a){try{var i=e[s](a),c=i.value}catch(e){return void t(e)}i.done?r(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,s){var a=e.apply(r,n);function i(e){t(a,o,s,i,c,"next",e)}function c(e){t(a,o,s,i,c,"throw",e)}i(void 0)}))}}},,,,function(e,r,t){"use strict";var n=t(36),o=t(54),s=Object.prototype.toString;function a(e){return"[object Array]"===s.call(e)}function i(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===s.call(e)}function u(e,r){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var t=0,n=e.length;t=0;--s){var a=this.tryEntries[s],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--t){var o=this.tryEntries[t];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),p}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var o=n.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,r,t){"use strict";e.exports=function(e,r){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c}).call(this,t(59))},function(e,r,t){"use strict";var n=t(7),o=t(61),s=t(37),a=t(63),i=t(64),c=t(41);e.exports=function(e){return new Promise((function(r,u){var l=e.data,g=e.headers;n.isFormData(l)&&delete g["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";g.Authorization="Basic "+btoa(f+":"+p)}if(m.open(e.method.toUpperCase(),s(e.url,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in m?a(m.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:t,config:e,request:m};o(r,u,n),m=null}},m.onabort=function(){m&&(u(c("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){u(c("Network Error",e,null,m)),m=null},m.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var h=t(65),d=(e.withCredentials||i(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;d&&(g[e.xsrfHeaderName]=d)}if("setRequestHeader"in m&&n.forEach(g,(function(e,r){void 0===l&&"content-type"===r.toLowerCase()?delete g[r]:m.setRequestHeader(r,e)})),e.withCredentials&&(m.withCredentials=!0),e.responseType)try{m.responseType=e.responseType}catch(r){if("json"!==e.responseType)throw r}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){m&&(m.abort(),u(e),m=null)})),void 0===l&&(l=null),m.send(l)}))}},function(e,r,t){"use strict";var n=t(62);e.exports=function(e,r,t,o,s){var a=new Error(e);return n(a,r,t,o,s)}},function(e,r,t){"use strict";var n=t(7);e.exports=function(e,r){r=r||{};var t={};return n.forEach(["url","method","params","data"],(function(e){void 0!==r[e]&&(t[e]=r[e])})),n.forEach(["headers","auth","proxy"],(function(o){n.isObject(r[o])?t[o]=n.deepMerge(e[o],r[o]):void 0!==r[o]?t[o]=r[o]:n.isObject(e[o])?t[o]=n.deepMerge(e[o]):void 0!==e[o]&&(t[o]=e[o])})),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(n){void 0!==r[n]?t[n]=r[n]:void 0!==e[n]&&(t[n]=e[n])})),t}},function(e,r,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,r,t){e.exports=t(53)},,,,,,,function(e,r,t){e.exports=t(52)},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t.n(n),s=t(3),a=t.n(s),i=t(44),c=t.n(i),u=t(2),l=t.n(u);const g=function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i,u,g,m;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s="https://kutt.it",e.prev=1,e.next=4,l.a.storage.local.get(["host","userOptions"]);case 4:a=e.sent,i=a.host,(u=a.userOptions).hasOwnProperty("devMode")&&u.devMode&&(s=i),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),s="https://kutt.it";case 13:return e.prev=13,e.next=16,c()({method:"POST",timeout:2e4,url:`${s}/api/url/submit`,headers:{"X-API-Key":r},data:{target:t,password:n}});case 16:return g=e.sent,m=g.data.shortUrl,e.abrupt("return",m);case 21:if(e.prev=21,e.t1=e.catch(13),"ECONNABORTED"!==e.t1.code){e.next=25;break}return e.abrupt("return",504);case 25:if(!e.t1.response){e.next=27;break}return e.abrupt("return",e.t1.response.status);case 27:case"end":return e.stop()}}),e,null,[[1,10],[13,21]])})));return function(r,t,n){return e.apply(this,arguments)}}();l.a.runtime.onMessage.addListener(function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("start"!==r.msg){e.next=2;break}return e.abrupt("return",g(r.API_key,r.pageUrl,r.password));case 2:if("store"!==r.msg){e.next=11;break}return s=r.curURLCollection,a=r.curURLPair,i=s.filter(e=>e.longUrl!==a.longUrl),i.length>=15&&i.shift(),i.push(a),e.next=11,l.a.storage.local.set({URL_array:i});case 11:case"end":return e.stop()}}),e)})));return function(r,t,n){return e.apply(this,arguments)}}())},function(e,r,t){"use strict";var n=t(7),o=t(36),s=t(55),a=t(42);function i(e){var r=new s(e),t=o(s.prototype.request,r);return n.extend(t,s.prototype,r),n.extend(t,r),t}var c=i(t(39));c.Axios=s,c.create=function(e){return i(a(c.defaults,e))},c.Cancel=t(43),c.CancelToken=t(68),c.isCancel=t(38),c.all=function(e){return Promise.all(e)},c.spread=t(69),e.exports=c,e.exports.default=c},function(e,r){ +!function(e){var r={};function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var o in e)t.d(n,o,function(r){return e[r]}.bind(null,o));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=51)}([,function(e,r,t){e.exports=t(8)},function(e,r,t){var n,o,s;o=[e],void 0===(s="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const s=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},a=e=>1==e?"argument":"arguments",i=(e,r,t)=>new Proxy(r,{apply:(r,n,o)=>t.call(n,e,...o)});let c=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,r={},t={})=>{let n=Object.create(null),o={has:(r,t)=>t in e||t in n,get(o,l,g){if(l in n)return n[l];if(!(l in e))return;let m=e[l];if("function"==typeof m)if("function"==typeof r[l])m=i(e,e[l],r[l]);else if(c(t,l)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,s({resolve:o,reject:a},r))}catch(s){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",s),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,o()}else r.noCallback?(t[e](...n),o()):t[e](...n,s({resolve:o,reject:a},r))})}))(l,t[l]);m=i(e,e[l],r)}else m=m.bind(e);else{if("object"!=typeof m||null===m||!c(r,l)&&!c(t,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(r){e[l]=r}}),m;m=u(m,r[l],t[l])}return n[l]=m,m},set:(r,t,o,s)=>(t in n?n[t]=o:e[t]=o,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},l=Object.create(e);return new Proxy(l,o)},l=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let g=!1;const m=new o(e=>"function"!=typeof e?e:function(r,n,o){let s,a,i=!1,c=new Promise(e=>{s=function(r){g||(console.warn(t,(new Error).stack),g=!0),i=!0,e(r)}});try{a=e(r,n,s)}catch(e){a=Promise.reject(e)}const u=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!u&&!i)return!1;const l=e=>{e.then(e=>{o(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(u?a:c),!0}),f=({reject:t,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?t(new Error(o.message)):n(o)},p=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const o=f.bind(null,{resolve:e,reject:r});n.push(o),t.sendMessage(...n)})},h={runtime:{onMessage:l(m),onMessageExternal:l(m),sendMessage:p.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:p.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},d={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:d,webRTCIPHandlingPolicy:d},services:{passwordSavingEnabled:d},websites:{hyperlinkAuditingEnabled:d,referrersEnabled:d}},u(e,h,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(r,o):n)||(e.exports=s)},function(e,r){function t(e,r,t,n,o,s,a){try{var i=e[s](a),c=i.value}catch(e){return void t(e)}i.done?r(c):Promise.resolve(c).then(n,o)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(o,s){var a=e.apply(r,n);function i(e){t(a,o,s,i,c,"next",e)}function c(e){t(a,o,s,i,c,"throw",e)}i(void 0)}))}}},,,,function(e,r,t){"use strict";var n=t(36),o=t(54),s=Object.prototype.toString;function a(e){return"[object Array]"===s.call(e)}function i(e){return null!==e&&"object"==typeof e}function c(e){return"[object Function]"===s.call(e)}function u(e,r){if(null!=e)if("object"!=typeof e&&(e=[e]),a(e))for(var t=0,n=e.length;t=0;--s){var a=this.tryEntries[s],i=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--t){var o=this.tryEntries[t];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),p}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var o=n.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),p}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,r,t){"use strict";e.exports=function(e,r){return function(){for(var t=new Array(arguments.length),n=0;n=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c}).call(this,t(59))},function(e,r,t){"use strict";var n=t(7),o=t(61),s=t(37),a=t(63),i=t(64),c=t(41);e.exports=function(e){return new Promise((function(r,u){var l=e.data,g=e.headers;n.isFormData(l)&&delete g["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",p=e.auth.password||"";g.Authorization="Basic "+btoa(f+":"+p)}if(m.open(e.method.toUpperCase(),s(e.url,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,m.onreadystatechange=function(){if(m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in m?a(m.getAllResponseHeaders()):null,n={data:e.responseType&&"text"!==e.responseType?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:t,config:e,request:m};o(r,u,n),m=null}},m.onabort=function(){m&&(u(c("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function(){u(c("Network Error",e,null,m)),m=null},m.ontimeout=function(){u(c("timeout of "+e.timeout+"ms exceeded",e,"ECONNABORTED",m)),m=null},n.isStandardBrowserEnv()){var h=t(65),d=(e.withCredentials||i(e.url))&&e.xsrfCookieName?h.read(e.xsrfCookieName):void 0;d&&(g[e.xsrfHeaderName]=d)}if("setRequestHeader"in m&&n.forEach(g,(function(e,r){void 0===l&&"content-type"===r.toLowerCase()?delete g[r]:m.setRequestHeader(r,e)})),e.withCredentials&&(m.withCredentials=!0),e.responseType)try{m.responseType=e.responseType}catch(r){if("json"!==e.responseType)throw r}"function"==typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){m&&(m.abort(),u(e),m=null)})),void 0===l&&(l=null),m.send(l)}))}},function(e,r,t){"use strict";var n=t(62);e.exports=function(e,r,t,o,s){var a=new Error(e);return n(a,r,t,o,s)}},function(e,r,t){"use strict";var n=t(7);e.exports=function(e,r){r=r||{};var t={};return n.forEach(["url","method","params","data"],(function(e){void 0!==r[e]&&(t[e]=r[e])})),n.forEach(["headers","auth","proxy"],(function(o){n.isObject(r[o])?t[o]=n.deepMerge(e[o],r[o]):void 0!==r[o]?t[o]=r[o]:n.isObject(e[o])?t[o]=n.deepMerge(e[o]):void 0!==e[o]&&(t[o]=e[o])})),n.forEach(["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"],(function(n){void 0!==r[n]?t[n]=r[n]:void 0!==e[n]&&(t[n]=e[n])})),t}},function(e,r,t){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},function(e,r,t){e.exports=t(53)},,,,,,,function(e,r,t){e.exports=t(52)},function(e,r,t){"use strict";t.r(r);var n=t(1),o=t.n(n),s=t(3),a=t.n(s),i=t(44),c=t.n(i),u=t(2),l=t.n(u);const g=function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i,u,g,m;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s="https://kutt.it",e.prev=1,e.next=4,l.a.storage.local.get(["host","userOptions"]);case 4:a=e.sent,i=a.host,(u=a.userOptions).hasOwnProperty("devMode")&&u.devMode&&(s=i),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),s="https://kutt.it";case 13:return e.prev=13,e.next=16,c()({method:"POST",timeout:2e4,url:`${s}/api/url/submit`,headers:{"X-API-Key":r},data:{target:t,password:n}});case 16:return g=e.sent,m=g.data.shortUrl,e.abrupt("return",m);case 21:if(e.prev=21,e.t1=e.catch(13),"ECONNABORTED"!==e.t1.code){e.next=25;break}return e.abrupt("return",504);case 25:if(!e.t1.response){e.next=27;break}return e.abrupt("return",e.t1.response.status);case 27:case"end":return e.stop()}}),e,null,[[1,10],[13,21]])})));return function(r,t,n){return e.apply(this,arguments)}}();l.a.runtime.onMessage.addListener(function(){var e=a()(o.a.mark((function e(r,t,n){var s,a,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("start"!==r.msg){e.next=2;break}return e.abrupt("return",g(r.API_key,r.pageUrl,r.password));case 2:if("store"!==r.msg){e.next=11;break}return s=r.curURLCollection,a=r.curURLPair,i=s.filter(e=>e.longUrl!==a.longUrl),i.length>=15&&i.shift(),i.push(a),e.next=11,l.a.storage.local.set({URL_array:i});case 11:case"end":return e.stop()}}),e)})));return function(r,t,n){return e.apply(this,arguments)}}())},function(e,r,t){"use strict";var n=t(7),o=t(36),s=t(55),a=t(42);function i(e){var r=new s(e),t=o(s.prototype.request,r);return n.extend(t,s.prototype,r),n.extend(t,r),t}var c=i(t(39));c.Axios=s,c.create=function(e){return i(a(c.defaults,e))},c.Cancel=t(43),c.CancelToken=t(68),c.isCancel=t(38),c.all=function(e){return Promise.all(e)},c.spread=t(69),e.exports=c,e.exports.default=c},function(e,r){ /*! * Determine if an object is a Buffer * diff --git a/opera/js/history.js b/opera/js/history.js index 8c555f1..2a9d0bc 100644 --- a/opera/js/history.js +++ b/opera/js/history.js @@ -1 +1 @@ -!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=49)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,t){this.addEventListener(e,t)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,t){this.forEach((function(r,n){r.on(e,t)}))}},function(e,t,r){e.exports=r(8)},function(e,t,r){var n,o,i;o=[e],void 0===(i="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(e.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},i=e=>1==e?"argument":"arguments",a=(e,t,r)=>new Proxy(t,{apply:(t,n,o)=>r.call(n,e,...o)});let s=Function.call.bind(Object.prototype.hasOwnProperty);const u=(e,t={},r={})=>{let n=Object.create(null),c={has:(t,r)=>r in e||r in n,get(c,l,g){if(l in n)return n[l];if(!(l in e))return;let f=e[l];if("function"==typeof f)if("function"==typeof t[l])f=a(e,e[l],t[l]);else if(s(r,l)){let t=((e,t)=>(function(r,...n){if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${i(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((i,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,o({resolve:i,reject:a},t))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,i()}else t.noCallback?(r[e](...n),i()):r[e](...n,o({resolve:i,reject:a},t))})}))(l,r[l]);f=a(e,e[l],t)}else f=f.bind(e);else{if("object"!=typeof f||null===f||!s(t,l)&&!s(r,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(t){e[l]=t}}),f;f=u(f,t[l],r[l])}return n[l]=f,f},set:(t,r,o,i)=>(r in n?n[r]=o:e[r]=o,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},l=Object.create(e);return new Proxy(l,c)},c=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}});let l=!1;const g=new class extends WeakMap{constructor(e,t){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(t,n,o){let i,a,s=!1,u=new Promise(e=>{i=function(t){l||(console.warn(r,(new Error).stack),l=!0),s=!0,e(t)}});try{a=e(t,n,i)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!s)return!1;const g=e=>{e.then(e=>{o(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return g(c?a:u),!0}),f=({reject:r,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},h=(e,t,r,...n)=>{if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${i(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{const o=f.bind(null,{resolve:e,reject:t});n.push(o),r.sendMessage(...n)})},d={runtime:{onMessage:c(g),onMessageExternal:c(g),sendMessage:h.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:h.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},m={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:m,webRTCIPHandlingPolicy:m},services:{passwordSavingEnabled:m},websites:{hyperlinkAuditingEnabled:m,referrersEnabled:m}},u(e,d,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(t,o):n)||(e.exports=i)},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)}))}}},function(e,t){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},function(e,t,r){var n=r(12),o=r(13);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return r}}},function(e,t,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(e,t,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof e?u(this,e):function(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return function(e,t,r,n){if(r<0||t.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function s(e,t){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=i.prototype:(null===(r=e)&&(r=new i(t)),r.length=t),r}function u(e,t){var r=s(e,t<0?0:0|a(t));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function g(e){return i.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:l(e).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(e,t,r){void 0===t?(r=this.length,t=0):void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,n){return function(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}(l(t,e.length-r),e,r,n)}(this,e,t,r)},i.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return r}}},function(e,t,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return o[4*(e-1)+0];case n.M:return o[4*(e-1)+1];case n.Q:return o[4*(e-1)+2];case n.H:return o[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}}},function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},function(e,t){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(n,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return i.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},function(e,t){function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:n,scale:n?4:o,margin:t,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){var n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){for(var o=r.modules.size,i=r.modules.data,a=t.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],l=0;l=u&&g>=u&&l>n&1),n<6?e.set(n,8,o,!0):n<8?e.set(n+1,8,o,!0):e.set(i-15+n,8,o,!0),n<8?e.set(8,i-n-1,o,!0):n<9?e.set(8,15-n-1+1,o,!0):e.set(8,15-n-1,o,!0);e.set(i-8,8,1,!0)}function y(e,t,r){var i=new a;r.forEach((function(t){i.put(t.mode.bit,4),i.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(i)}));var s=8*(o.getSymbolTotalCodewords(e)-g.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0))}(b,t),function(e){for(var t=e.size,r=8;r=7&&function(e,t){for(var r,n,o,i=e.size,a=h.getEncodedBits(t),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),e.set(r,n,o,!0),e.set(n,r,o,!0)}(b,t),function(e,t){for(var r=e.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!e.isReserved(o,s-u)){var c=!1;a>>i&1)),e.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(b,d),isNaN(n)&&(n=l.getBestMask(b,v.bind(null,b,r))),l.applyMask(n,b),v(b,r,n),{modules:b,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,n,a=i.M;return void 0!==t&&(a=i.from(t.errorCorrectionLevel,i.M),r=h.from(t.version),n=l.from(t.maskPattern),t.toSJISFunc&&o.setToSJISFunction(t.toSJISFunc)),b(e,r,a,n)}},function(e,t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},function(e,t,r){var n=r(6);function o(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}o.prototype.set=function(e,t,r,n){var o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(e,t){return this.data[e*this.size+t]},o.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},o.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=o},function(e,t,r){var n=r(4).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,r=n(e),o=145===r?26:2*Math.ceil((r-13)/(2*t-2)),i=[r-7],a=1;a=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=l,o=1),(l=e.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=l,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},t.getPenaltyN2=function(e){for(var t=e.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},t.getPenaltyN4=function(e){for(var t=0,r=e.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},e.exports=i},function(e,t,r){var n=r(6),o=r(25);t.mul=function(e,t){var r=new n(e.length+t.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(e,r){for(var n=1;n<=40;n++){if(g(e,n)<=t.getCapacity(n,r,a.MIXED))return n}}(e,o);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(var o=1;o<=40;o++)if(r<=t.getCapacity(o,n,e))return o}(n.mode,n.getLength(),o)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-c>=0;)t^=7973<=0;)i^=1335<=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(a))},t.rawSplit=function(e){return t.fromArray(h(e,c.isKanjiModeEnabled()))}},function(e,t,r){var n=r(5);function o(e){this.mode=n.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){var t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);var o=this.data.length-t;o>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*o+1))},e.exports=o},function(e,t,r){var n=r(5),o=["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 i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*o.indexOf(this.data[t]);r+=o.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},function(e,t,r){var n=r(6),o=r(5);function i(e){this.mode=o.BYTE,this.data=new n(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(var t=0,r=this.data.length;t=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}},e.exports=i},function(e,t,r){"use strict";var n={single_source_shortest_paths:function(e,t,r){var o={},i={};i[t]=0;var a,s,u,c,l,g,f,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,l=e[s]||{})l.hasOwnProperty(u)&&(g=c+l[u],f=i[u],(void 0===i[u]||f>g)&&(i[u]=g,h.push(u,g),o[u]=s));if(void 0!==r&&void 0===i[r]){var d=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(d)}return o},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),e[n],n=e[n];return r.reverse(),r},find_path:function(e,t,r){var o=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var t,r=n.PriorityQueue,o={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(o[t]=r[t]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var r={value:e,cost:t};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},function(e,t,r){var n=r(14);t.render=function(e,t,r){var o=r,i=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(e.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,e,o),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},t.renderToDataURL=function(e,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=t.render(e,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(e,t,r){var n=r(14);function o(e,t){var r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(e,t,r){var n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){var a=n.getOptions(t),s=e.modules.size,u=e.modules.data,c=s+2*a.margin,l=a.color.light.a?"':"",g="0&&c>0&&e[u-1]||(n+=a?i("M",c+r,.5+l+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+l+g+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,,,function(e,t,r){e.exports=r(50)},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),l=r.n(c),g=r(0);const f="#table__clearAll--btn",h="#delegation__element",d='\n \n \n %longLink%\n \n \n \n \n \n
\n \n \n
\n \n ',m=()=>{switch((()=>{const e=!(!window.chrome||!window.chrome.webstore&&!window.chrome.runtime),t="undefined"!=typeof InstallTrigger,r=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0;return t?"firefox":r?"opera":e?"chrome":void 0})()){case"chrome":case"opera":Object(g.a)("#rate__button").setAttribute("href","https://chrome.google.com/webstore/detail/kutt/pklakpjfiegjacoppcodencchehlfnpd/reviews");break;case"firefox":Object(g.a)("#rate__button").setAttribute("href","https://addons.mozilla.org/en-US/firefox/addon/kutt/reviews/")}};document.on("DOMContentLoaded",a()(o.a.mark((function e(){var t,r,n,i,a,s,c,l,p;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.get(["userOptions","URL_array"]);case 2:if(!(r=e.sent).userOptions.keepHistory){e.next=33;break}if(!(r.URL_array.length>0)){e.next=28;break}for(n=0,i=!0,a=!1,s=void 0,e.prev=10,c=r.URL_array[Symbol.iterator]();!(i=(l=c.next()).done);i=!0)p=l.value,t=d.replace(/%longLink%/g,p.longUrl),n+=1,t=(t=t.replace(/%num%/g,n)).replace(/%shortLink%/g,p.shortUrl),Object(g.a)(h).insertAdjacentHTML("afterbegin",t);e.next=18;break;case 14:e.prev=14,e.t0=e.catch(10),a=!0,s=e.t0;case 18:e.prev=18,e.prev=19,i||null==c.return||c.return();case 21:if(e.prev=21,!a){e.next=24;break}throw s;case 24:return e.finish(21);case 25:return e.finish(18);case 26:e.next=30;break;case 28:Object(g.a)(f).style.display="none",Object(g.a)(h).insertAdjacentHTML("afterbegin",'

Empty List

');case 30:m(),e.next=35;break;case 33:alert("Enable History from Options Page"),u.a.runtime.openOptionsPage();case 35:case"end":return e.stop()}}),e,null,[[10,14,18,26],[19,,21,25]])})))),Object(g.a)(f).on("click",a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.set({URL_array:[]});case 2:Object(g.a)(h).parentNode.removeChild(Object(g.a)(h)),Object(g.a)(f).style.display="none",Object(g.a)(".table__content--holder").insertAdjacentHTML("beforeend",'

Empty List

');case 5:case"end":return e.stop()}}),e)}))));const p=function(){var e=a()(o.a.mark((function e(t,r){var n,i,a,s,u,c,f,h;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=e=>{Object(g.a)(`#table__shortened-${r}`).insertAdjacentHTML("afterbegin",e),setTimeout(()=>{Object(g.a)("#flash_copy").parentNode.removeChild(Object(g.a)("#flash_copy"))},1300)},"copy"!==t){e.next=6;break}i=Object(g.a)(`#shortUrl-${r}`).textContent;try{(a=document.createElement("textarea")).value=i,a.setAttribute("readonly",""),a.style.position="absolute",a.style.left="-9999px",document.body.appendChild(a),s=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0),a.select(),document.execCommand("copy"),document.body.removeChild(a),s&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(s)),n('
Copied to clipboard!
')}catch(e){n('
Error while Copying!!
')}e.next=26;break;case 6:if("qrcode"!==t){e.next=25;break}return c='
QRCode
',f=Object(g.a)(`#shortUrl-${r}`).textContent,e.prev=9,e.next=12,l.a.toDataURL(f);case 12:h=e.sent,u=(u=c.replace("%qrcodeLink%",h)).replace("%num%",r),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u),e.next=23;break;case 18:e.prev=18,e.t0=e.catch(9),"https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=",u=c.replace("%qrcodeLink%",`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${f}`),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u);case 23:e.next=26;break;case 25:"close__btn"===t&&Object(g.a)("#qrcode__template").parentNode.removeChild(Object(g.a)("#qrcode__template"));case 26:case"end":return e.stop()}}),e,null,[[9,18]])})));return function(t,r){return e.apply(this,arguments)}}();Object(g.a)(h).on("click",e=>{let t,r,n;const o=e.target.id;o&&(r=(t=o.split("-"))[0],n=parseInt(t[1]),p(r,n))}),document.on("keypress",e=>{13===(e.which||e.keyCode)&&e.preventDefault()})}]); \ No newline at end of file +!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=49)}([function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,t){this.addEventListener(e,t)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,t){this.forEach((function(r,n){r.on(e,t)}))}},function(e,t,r){e.exports=r(8)},function(e,t,r){var n,o,i;o=[e],void 0===(i="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const t="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(e,t){super(t),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const i=(t,r)=>(...n)=>{e.runtime.lastError?t.reject(e.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?t.resolve(n[0]):t.resolve(n)},a=e=>1==e?"argument":"arguments",s=(e,t,r)=>new Proxy(t,{apply:(t,n,o)=>r.call(n,e,...o)});let u=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,t={},r={})=>{let n=Object.create(null),o={has:(t,r)=>r in e||r in n,get(o,l,g){if(l in n)return n[l];if(!(l in e))return;let f=e[l];if("function"==typeof f)if("function"==typeof t[l])f=s(e,e[l],t[l]);else if(u(r,l)){let t=((e,t)=>(function(r,...n){if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(t.fallbackToNoCallback)try{r[e](...n,i({resolve:o,reject:a},t))}catch(i){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",i),r[e](...n),t.fallbackToNoCallback=!1,t.noCallback=!0,o()}else t.noCallback?(r[e](...n),o()):r[e](...n,i({resolve:o,reject:a},t))})}))(l,r[l]);f=s(e,e[l],t)}else f=f.bind(e);else{if("object"!=typeof f||null===f||!u(t,l)&&!u(r,l))return Object.defineProperty(n,l,{configurable:!0,enumerable:!0,get:()=>e[l],set(t){e[l]=t}}),f;f=c(f,t[l],r[l])}return n[l]=f,f},set:(t,r,o,i)=>(r in n?n[r]=o:e[r]=o,!0),defineProperty:(e,t,r)=>Reflect.defineProperty(n,t,r),deleteProperty:(e,t)=>Reflect.deleteProperty(n,t)},l=Object.create(e);return new Proxy(l,o)},l=e=>({addListener(t,r,...n){t.addListener(e.get(r),...n)},hasListener:(t,r)=>t.hasListener(e.get(r)),removeListener(t,r){t.removeListener(e.get(r))}});let g=!1;const f=new o(e=>"function"!=typeof e?e:function(t,n,o){let i,a,s=!1,u=new Promise(e=>{i=function(t){g||(console.warn(r,(new Error).stack),g=!0),s=!0,e(t)}});try{a=e(t,n,i)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!s)return!1;const l=e=>{e.then(e=>{o(e)},e=>{let t;t=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:t})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(c?a:u),!0}),h=({reject:r,resolve:n},o)=>{e.runtime.lastError?e.runtime.lastError.message===t?n():r(e.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},d=(e,t,r,...n)=>{if(n.lengtht.maxArgs)throw new Error(`Expected at most ${t.maxArgs} ${a(t.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,t)=>{const o=h.bind(null,{resolve:e,reject:t});n.push(o),r.sendMessage(...n)})},m={runtime:{onMessage:l(f),onMessageExternal:l(f),sendMessage:d.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:d.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},p={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:p,webRTCIPHandlingPolicy:p},services:{passwordSavingEnabled:p},websites:{hyperlinkAuditingEnabled:p,referrersEnabled:p}},c(e,m,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(t,o):n)||(e.exports=i)},function(e,t){function r(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}e.exports=function(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,u,"next",e)}function u(e){r(a,o,i,s,u,"throw",e)}s(void 0)}))}}},function(e,t){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){for(var t=0;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},function(e,t,r){var n=r(12),o=r(13);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return o.testNumeric(e)?t.NUMERIC:o.testAlphanumeric(e)?t.ALPHANUMERIC:o.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return r}}},function(e,t,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(e,t,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof e?u(this,e):function(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return function(e,t,r,n){if(r<0||t.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|e}function s(e,t){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(t)).__proto__=i.prototype:(null===(r=e)&&(r=new i(t)),r.length=t),r}function u(e,t){var r=s(e,t<0?0:0|a(t));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function g(e){return i.isBuffer(e)?e.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer)?e.byteLength:("string"!=typeof e&&(e=""+e),0===e.length?0:l(e).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(e,t,r){void 0===t?(r=this.length,t=0):void 0===r&&"string"==typeof t?(r=this.length,t=0):isFinite(t)&&(t|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-t;if((void 0===r||r>n)&&(r=n),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(e,t,r,n){return function(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}(l(t,e.length-r),e,r,n)}(this,e,t,r)},i.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--o)e[o+t]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:k(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return r}}},function(e,t,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return o[4*(e-1)+0];case n.M:return o[4*(e-1)+1];case n.Q:return o[4*(e-1)+2];case n.H:return o[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}}},function(e,t){t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},function(e,t){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";t.KANJI=new RegExp(r,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(n,"g"),t.NUMERIC=new RegExp("[0-9]+","g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return i.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},function(e,t){function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");var t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map((function(e){return[e,e]})))),6===t.length&&t.push("F","F");var r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});var t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,o=e.scale||4;return{width:n,scale:n?4:o,margin:t,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){var n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){for(var o=r.modules.size,i=r.modules.data,a=t.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],l=0;l=u&&g>=u&&l>n&1),n<6?e.set(n,8,o,!0):n<8?e.set(n+1,8,o,!0):e.set(i-15+n,8,o,!0),n<8?e.set(8,i-n-1,o,!0):n<9?e.set(8,15-n-1+1,o,!0):e.set(8,15-n-1,o,!0);e.set(i-8,8,1,!0)}function y(e,t,r){var i=new a;r.forEach((function(t){i.put(t.mode.bit,4),i.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(i)}));var s=8*(o.getSymbolTotalCodewords(e)-g.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0))}(b,t),function(e){for(var t=e.size,r=8;r=7&&function(e,t){for(var r,n,o,i=e.size,a=h.getEncodedBits(t),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),e.set(r,n,o,!0),e.set(n,r,o,!0)}(b,t),function(e,t){for(var r=e.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!e.isReserved(o,s-u)){var c=!1;a>>i&1)),e.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(b,d),isNaN(n)&&(n=l.getBestMask(b,v.bind(null,b,r))),l.applyMask(n,b),v(b,r,n),{modules:b,version:t,errorCorrectionLevel:r,maskPattern:n,segments:i}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");var r,n,a=i.M;return void 0!==t&&(a=i.from(t.errorCorrectionLevel,i.M),r=h.from(t.version),n=l.from(t.maskPattern),t.toSJISFunc&&o.setToSJISFunction(t.toSJISFunc)),b(e,r,a,n)}},function(e,t){function r(){this.buffer=[],this.length=0}r.prototype={get:function(e){var t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(var r=0;r>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=r},function(e,t,r){var n=r(6);function o(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new n(e*e),this.data.fill(0),this.reservedBit=new n(e*e),this.reservedBit.fill(0)}o.prototype.set=function(e,t,r,n){var o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(e,t){return this.data[e*this.size+t]},o.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},o.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=o},function(e,t,r){var n=r(4).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];for(var t=Math.floor(e/7)+2,r=n(e),o=145===r?26:2*Math.ceil((r-13)/(2*t-2)),i=[r-7],a=1;a=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){for(var t=e.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=l,o=1),(l=e.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=l,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},t.getPenaltyN2=function(e){for(var t=e.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|e.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},t.getPenaltyN4=function(e){for(var t=0,r=e.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},e.exports=i},function(e,t,r){var n=r(6),o=r(25);t.mul=function(e,t){var r=new n(e.length+t.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(e,r){for(var n=1;n<=40;n++){if(g(e,n)<=t.getCapacity(n,r,a.MIXED))return n}}(e,o);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(var o=1;o<=40;o++)if(r<=t.getCapacity(o,n,e))return o}(n.mode,n.getLength(),o)},t.getEncodedBits=function(e){if(!s.isValid(e)||e<7)throw new Error("Invalid QR Code version");for(var t=e<<12;n.getBCHDigit(t)-c>=0;)t^=7973<=0;)i^=1335<=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)}),[])}(a))},t.rawSplit=function(e){return t.fromArray(h(e,c.isKanjiModeEnabled()))}},function(e,t,r){var n=r(5);function o(e){this.mode=n.NUMERIC,this.data=e.toString()}o.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){var t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);var o=this.data.length-t;o>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*o+1))},e.exports=o},function(e,t,r){var n=r(5),o=["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 i(e){this.mode=n.ALPHANUMERIC,this.data=e}i.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){var t;for(t=0;t+2<=this.data.length;t+=2){var r=45*o.indexOf(this.data[t]);r+=o.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(o.indexOf(this.data[t]),6)},e.exports=i},function(e,t,r){var n=r(6),o=r(5);function i(e){this.mode=o.BYTE,this.data=new n(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(var t=0,r=this.data.length;t=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}},e.exports=i},function(e,t,r){"use strict";var n={single_source_shortest_paths:function(e,t,r){var o={},i={};i[t]=0;var a,s,u,c,l,g,f,h=n.PriorityQueue.make();for(h.push(t,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,l=e[s]||{})l.hasOwnProperty(u)&&(g=c+l[u],f=i[u],(void 0===i[u]||f>g)&&(i[u]=g,h.push(u,g),o[u]=s));if(void 0!==r&&void 0===i[r]){var d=["Could not find a path from ",t," to ",r,"."].join("");throw new Error(d)}return o},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),e[n],n=e[n];return r.reverse(),r},find_path:function(e,t,r){var o=n.single_source_shortest_paths(e,t,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(e){var t,r=n.PriorityQueue,o={};for(t in e=e||{},r)r.hasOwnProperty(t)&&(o[t]=r[t]);return o.queue=[],o.sorter=e.sorter||r.default_sorter,o},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var r={value:e,cost:t};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=n},function(e,t,r){var n=r(14);t.render=function(e,t,r){var o=r,i=t;void 0!==o||t&&t.getContext||(o=t,t=void 0),t||(i=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(e.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,e,o),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},t.renderToDataURL=function(e,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=t.render(e,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(e,t,r){var n=r(14);function o(e,t){var r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(e,t,r){var n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){var a=n.getOptions(t),s=e.modules.size,u=e.modules.data,c=s+2*a.margin,l=a.color.light.a?"':"",g="0&&c>0&&e[u-1]||(n+=a?i("M",c+r,.5+l+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+l+g+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,,,function(e,t,r){e.exports=r(50)},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),l=r.n(c),g=r(0);const f="#table__clearAll--btn",h="#delegation__element",d='\n \n \n %longLink%\n \n \n \n \n \n
\n \n \n
\n \n ',m=()=>{switch((()=>{const e=!(!window.chrome||!window.chrome.webstore&&!window.chrome.runtime),t="undefined"!=typeof InstallTrigger,r=!!window.opr&&!!opr.addons||!!window.opera||navigator.userAgent.indexOf(" OPR/")>=0;return t?"firefox":r?"opera":e?"chrome":void 0})()){case"chrome":case"opera":Object(g.a)("#rate__button").setAttribute("href","https://chrome.google.com/webstore/detail/kutt/pklakpjfiegjacoppcodencchehlfnpd/reviews");break;case"firefox":Object(g.a)("#rate__button").setAttribute("href","https://addons.mozilla.org/en-US/firefox/addon/kutt/reviews/")}};document.on("DOMContentLoaded",a()(o.a.mark((function e(){var t,r,n,i,a,s,c,l,p;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.get(["userOptions","URL_array"]);case 2:if(!(r=e.sent).userOptions.keepHistory){e.next=33;break}if(!(r.URL_array.length>0)){e.next=28;break}for(n=0,i=!0,a=!1,s=void 0,e.prev=10,c=r.URL_array[Symbol.iterator]();!(i=(l=c.next()).done);i=!0)p=l.value,t=d.replace(/%longLink%/g,p.longUrl),n+=1,t=(t=t.replace(/%num%/g,n)).replace(/%shortLink%/g,p.shortUrl),Object(g.a)(h).insertAdjacentHTML("afterbegin",t);e.next=18;break;case 14:e.prev=14,e.t0=e.catch(10),a=!0,s=e.t0;case 18:e.prev=18,e.prev=19,i||null==c.return||c.return();case 21:if(e.prev=21,!a){e.next=24;break}throw s;case 24:return e.finish(21);case 25:return e.finish(18);case 26:e.next=30;break;case 28:Object(g.a)(f).style.display="none",Object(g.a)(h).insertAdjacentHTML("afterbegin",'

Empty List

');case 30:m(),e.next=35;break;case 33:alert("Enable History from Options Page"),u.a.runtime.openOptionsPage();case 35:case"end":return e.stop()}}),e,null,[[10,14,18,26],[19,,21,25]])})))),Object(g.a)(f).on("click",a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.a.storage.local.set({URL_array:[]});case 2:Object(g.a)(h).parentNode.removeChild(Object(g.a)(h)),Object(g.a)(f).style.display="none",Object(g.a)(".table__content--holder").insertAdjacentHTML("beforeend",'

Empty List

');case 5:case"end":return e.stop()}}),e)}))));const p=function(){var e=a()(o.a.mark((function e(t,r){var n,i,a,s,u,c,f,h;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=e=>{Object(g.a)(`#table__shortened-${r}`).insertAdjacentHTML("afterbegin",e),setTimeout(()=>{Object(g.a)("#flash_copy").parentNode.removeChild(Object(g.a)("#flash_copy"))},1300)},"copy"!==t){e.next=6;break}i=Object(g.a)(`#shortUrl-${r}`).textContent;try{(a=document.createElement("textarea")).value=i,a.setAttribute("readonly",""),a.style.position="absolute",a.style.left="-9999px",document.body.appendChild(a),s=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0),a.select(),document.execCommand("copy"),document.body.removeChild(a),s&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(s)),n('
Copied to clipboard!
')}catch(e){n('
Error while Copying!!
')}e.next=26;break;case 6:if("qrcode"!==t){e.next=25;break}return c='
QRCode
',f=Object(g.a)(`#shortUrl-${r}`).textContent,e.prev=9,e.next=12,l.a.toDataURL(f);case 12:h=e.sent,u=(u=c.replace("%qrcodeLink%",h)).replace("%num%",r),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u),e.next=23;break;case 18:e.prev=18,e.t0=e.catch(9),"https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=",u=c.replace("%qrcodeLink%",`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${f}`),Object(g.a)(`#btns-${r}`).insertAdjacentHTML("afterend",u);case 23:e.next=26;break;case 25:"close__btn"===t&&Object(g.a)("#qrcode__template").parentNode.removeChild(Object(g.a)("#qrcode__template"));case 26:case"end":return e.stop()}}),e,null,[[9,18]])})));return function(t,r){return e.apply(this,arguments)}}();Object(g.a)(h).on("click",e=>{let t,r,n;const o=e.target.id;o&&(r=(t=o.split("-"))[0],n=parseInt(t[1]),p(r,n))}),document.on("keypress",e=>{13===(e.which||e.keyCode)&&e.preventDefault()})}]); \ No newline at end of file diff --git a/opera/js/options.js b/opera/js/options.js index fbce720..0f4e948 100644 --- a/opera/js/options.js +++ b/opera/js/options.js @@ -1 +1 @@ -!function(e){var r={};function t(n){if(r[n])return r[n].exports;var s=r[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var s in e)t.d(n,s,function(r){return e[r]}.bind(null,s));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=45)}({0:function(e,r,t){"use strict";t.d(r,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,r){this.addEventListener(e,r)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,r){this.forEach((function(t,n){t.on(e,r)}))}},1:function(e,r,t){e.exports=t(8)},2:function(e,r,t){var n,s,o;s=[e],void 0===(o="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const s=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},o=e=>1==e?"argument":"arguments",a=(e,r,t)=>new Proxy(r,{apply:(r,n,s)=>t.call(n,e,...s)});let i=Function.call.bind(Object.prototype.hasOwnProperty);const g=(e,r={},t={})=>{let n=Object.create(null),c={has:(r,t)=>t in e||t in n,get(c,m,l){if(m in n)return n[m];if(!(m in e))return;let u=e[m];if("function"==typeof u)if("function"==typeof r[m])u=a(e,e[m],r[m]);else if(i(t,m)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${o(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((o,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,s({resolve:o,reject:a},r))}catch(s){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",s),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,o()}else r.noCallback?(t[e](...n),o()):t[e](...n,s({resolve:o,reject:a},r))})}))(m,t[m]);u=a(e,e[m],r)}else u=u.bind(e);else{if("object"!=typeof u||null===u||!i(r,m)&&!i(t,m))return Object.defineProperty(n,m,{configurable:!0,enumerable:!0,get:()=>e[m],set(r){e[m]=r}}),u;u=g(u,r[m],t[m])}return n[m]=u,u},set:(r,t,s,o)=>(t in n?n[t]=s:e[t]=s,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},m=Object.create(e);return new Proxy(m,c)},c=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let m=!1;const l=new class extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}(e=>"function"!=typeof e?e:function(r,n,s){let o,a,i=!1,g=new Promise(e=>{o=function(r){m||(console.warn(t,(new Error).stack),m=!0),i=!0,e(r)}});try{a=e(r,n,o)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!i)return!1;const l=e=>{e.then(e=>{s(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",s({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return l(c?a:g),!0}),u=({reject:t,resolve:n},s)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):s&&s.__mozWebExtensionPolyfillReject__?t(new Error(s.message)):n(s)},A=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${o(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const s=u.bind(null,{resolve:e,reject:r});n.push(s),t.sendMessage(...n)})},d={runtime:{onMessage:c(l),onMessageExternal:c(l),sendMessage:A.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:A.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},f={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:f,webRTCIPHandlingPolicy:f},services:{passwordSavingEnabled:f},websites:{hyperlinkAuditingEnabled:f,referrersEnabled:f}},g(e,d,n)};e.exports=n(chrome)}else e.exports=browser})?n.apply(r,s):n)||(e.exports=o)},3:function(e,r){function t(e,r,t,n,s,o,a){try{var i=e[o](a),g=i.value}catch(e){return void t(e)}i.done?r(g):Promise.resolve(g).then(n,s)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(s,o){var a=e.apply(r,n);function i(e){t(a,s,o,i,g,"next",e)}function g(e){t(a,s,o,i,g,"throw",e)}i(void 0)}))}}},45:function(e,r,t){e.exports=t(46)},46:function(e,r,t){"use strict";t.r(r);var n=t(1),s=t.n(n),o=t(3),a=t.n(o),i=t(2),g=t.n(i),c=t(0);const m="#view__password--eye",l="#password__label--checkbox",u="#customhost__label--checkbox";document.on("DOMContentLoaded",a()(s.a.mark((function e(){var r,t,n,o,a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.storage.local.get(["key","pwd","userOptions","host"]);case 2:r=e.sent,t=r.key,n=r.pwd,o=r.userOptions,a=r.host,"undefined"===(i=`${t}`)?Object(c.a)("#api__key--value").value="":(Object(c.a)("#api__key--value").value=i,Object(c.a)(l).checked=o.pwdForUrls,o.pwdForUrls||(n=""),Object(c.a)("#password--value").value=n,d(o.pwdForUrls,"#pwd__holder"),Object(c.a)(u).checked=o.devMode,o.devMode||(a=""),Object(c.a)("#customhost__mode--value").value=a,d(o.devMode,"#customhost__holder")),Object(c.a)("#autocopy__label--checkbox").checked=o.autoCopy,Object(c.a)("#history__label--checkbox").checked=o.keepHistory;case 11:case"end":return e.stop()}}),e)}))));const A=function(){var e=a()(s.a.mark((function e(){var r,t,n,o,i,m,A,d;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(c.a)("#password--value").value,t=Object(c.a)("#customhost__mode--value").value,n=Object(c.a)("#api__key--value").value,o=Object(c.a)(u).checked,i=Object(c.a)(l).checked,m=Object(c.a)("#autocopy__label--checkbox").checked,A=Object(c.a)("#history__label--checkbox").checked,""===r&&(i=!1),i||(r=""),""===t?o=!1:t.endsWith("/")&&(t=t.slice(0,-1)),o||(t=""),d={pwdForUrls:i,autoCopy:m,devMode:o,keepHistory:A},e.next=14,g.a.storage.local.set({key:n,pwd:r,host:t,URL_array:[],userOptions:d});case 14:Object(c.a)("#button__submit").textContent="Saved",setTimeout(a()(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(c.a)("#button__submit").textContent="Save",e.next=3,g.a.tabs.getCurrent();case 3:r=e.sent,g.a.tabs.remove(r.id);case 5:case"end":return e.stop()}}),e)}))),1250);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function d(e,r){e?Object(c.a)(r).classList.remove("d-none"):Object(c.a)(r).classList.add("d-none")}Object(c.a)("#button__submit").on("click",A),document.on("keypress",e=>{13===e.keyCode&&A()}),Object(c.a)(m).on("click",()=>{const e=Object(c.a)("#password--value");"password"===e.type?(e.type="text",Object(c.a)(m).textContent="HIDE"):(e.type="password",Object(c.a)(m).textContent="SHOW")}),Object(c.a)("#password__label--switch").on("click",()=>{d(Object(c.a)(l).checked,"#pwd__holder")}),Object(c.a)("#customhost__label--switch").on("click",()=>{d(Object(c.a)(u).checked,"#customhost__holder")})},8:function(e,r,t){var n=function(e){"use strict";var r,t=Object.prototype,n=t.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",i=s.toStringTag||"@@toStringTag";function g(e,r,t,n){var s=r&&r.prototype instanceof f?r:f,o=Object.create(s.prototype),a=new E(n||[]);return o._invoke=function(e,r,t){var n=m;return function(s,o){if(n===u)throw new Error("Generator is already running");if(n===A){if("throw"===s)throw o;return P()}for(t.method=s,t.arg=o;;){var a=t.delegate;if(a){var i=_(a,t);if(i){if(i===d)continue;return i}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(n===m)throw n=A,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);n=u;var g=c(e,r,t);if("normal"===g.type){if(n=t.done?A:l,g.arg===d)continue;return{value:g.arg,done:t.done}}"throw"===g.type&&(n=A,t.method="throw",t.arg=g.arg)}}}(e,t,a),o}function c(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=g;var m="suspendedStart",l="suspendedYield",u="executing",A="completed",d={};function f(){}function p(){}function h(){}var x={};x[o]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(L([])));b&&b!==t&&n.call(b,o)&&(x=b);var v=h.prototype=f.prototype=Object.create(x);function w(e){["next","throw","return"].forEach((function(r){e[r]=function(e){return this._invoke(r,e)}}))}function k(e){var r;this._invoke=function(t,s){function o(){return new Promise((function(r,o){!function r(t,s,o,a){var i=c(e[t],e,s);if("throw"!==i.type){var g=i.arg,m=g.value;return m&&"object"==typeof m&&n.call(m,"__await")?Promise.resolve(m.__await).then((function(e){r("next",e,o,a)}),(function(e){r("throw",e,o,a)})):Promise.resolve(m).then((function(e){g.value=e,o(g)}),(function(e){return r("throw",e,o,a)}))}a(i.arg)}(t,s,r,o)}))}return r=r?r.then(o,o):o()}}function _(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,_(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var s=c(n,e.iterator,t.arg);if("throw"===s.type)return t.method="throw",t.arg=s.arg,t.delegate=null,d;var o=s.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function O(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function L(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,a=function t(){for(;++s=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return s("end");if(a.tryLoc<=this.prev){var g=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(g&&c){if(this.prev=0;--t){var s=this.tryEntries[t];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),O(t),d}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var s=n.arg;O(t)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}}); \ No newline at end of file +!function(e){var r={};function t(n){if(r[n])return r[n].exports;var s=r[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var s in e)t.d(n,s,function(r){return e[r]}.bind(null,s));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=45)}({0:function(e,r,t){"use strict";t.d(r,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(e,r){this.addEventListener(e,r)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(e,r){this.forEach((function(t,n){t.on(e,r)}))}},1:function(e,r,t){e.exports=t(8)},2:function(e,r,t){var n,s,o;s=[e],void 0===(o="function"==typeof(n=function(e){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const r="The message port closed before a response was received.",t="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=e=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class s extends WeakMap{constructor(e,r){super(r),this.createItem=e}get(e){return this.has(e)||this.set(e,this.createItem(e)),super.get(e)}}const o=(r,t)=>(...n)=>{e.runtime.lastError?r.reject(e.runtime.lastError):t.singleCallbackArg||n.length<=1&&!1!==t.singleCallbackArg?r.resolve(n[0]):r.resolve(n)},a=e=>1==e?"argument":"arguments",i=(e,r,t)=>new Proxy(r,{apply:(r,n,s)=>t.call(n,e,...s)});let g=Function.call.bind(Object.prototype.hasOwnProperty);const c=(e,r={},t={})=>{let n=Object.create(null),s={has:(r,t)=>t in e||t in n,get(s,m,l){if(m in n)return n[m];if(!(m in e))return;let u=e[m];if("function"==typeof u)if("function"==typeof r[m])u=i(e,e[m],r[m]);else if(g(t,m)){let r=((e,r)=>(function(t,...n){if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((s,a)=>{if(r.fallbackToNoCallback)try{t[e](...n,o({resolve:s,reject:a},r))}catch(o){console.warn(`${e} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),t[e](...n),r.fallbackToNoCallback=!1,r.noCallback=!0,s()}else r.noCallback?(t[e](...n),s()):t[e](...n,o({resolve:s,reject:a},r))})}))(m,t[m]);u=i(e,e[m],r)}else u=u.bind(e);else{if("object"!=typeof u||null===u||!g(r,m)&&!g(t,m))return Object.defineProperty(n,m,{configurable:!0,enumerable:!0,get:()=>e[m],set(r){e[m]=r}}),u;u=c(u,r[m],t[m])}return n[m]=u,u},set:(r,t,s,o)=>(t in n?n[t]=s:e[t]=s,!0),defineProperty:(e,r,t)=>Reflect.defineProperty(n,r,t),deleteProperty:(e,r)=>Reflect.deleteProperty(n,r)},m=Object.create(e);return new Proxy(m,s)},m=e=>({addListener(r,t,...n){r.addListener(e.get(t),...n)},hasListener:(r,t)=>r.hasListener(e.get(t)),removeListener(r,t){r.removeListener(e.get(t))}});let l=!1;const u=new s(e=>"function"!=typeof e?e:function(r,n,s){let o,a,i=!1,g=new Promise(e=>{o=function(r){l||(console.warn(t,(new Error).stack),l=!0),i=!0,e(r)}});try{a=e(r,n,o)}catch(e){a=Promise.reject(e)}const c=!0!==a&&(e=>e&&"object"==typeof e&&"function"==typeof e.then)(a);if(!0!==a&&!c&&!i)return!1;const m=e=>{e.then(e=>{s(e)},e=>{let r;r=e&&(e instanceof Error||"string"==typeof e.message)?e.message:"An unexpected error occurred",s({__mozWebExtensionPolyfillReject__:!0,message:r})}).catch(e=>{console.error("Failed to send onMessage rejected reply",e)})};return m(c?a:g),!0}),A=({reject:t,resolve:n},s)=>{e.runtime.lastError?e.runtime.lastError.message===r?n():t(e.runtime.lastError):s&&s.__mozWebExtensionPolyfillReject__?t(new Error(s.message)):n(s)},d=(e,r,t,...n)=>{if(n.lengthr.maxArgs)throw new Error(`Expected at most ${r.maxArgs} ${a(r.maxArgs)} for ${e}(), got ${n.length}`);return new Promise((e,r)=>{const s=A.bind(null,{resolve:e,reject:r});n.push(s),t.sendMessage(...n)})},f={runtime:{onMessage:m(u),onMessageExternal:m(u),sendMessage:d.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:d.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},h={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:h,webRTCIPHandlingPolicy:h},services:{passwordSavingEnabled:h},websites:{hyperlinkAuditingEnabled:h,referrersEnabled:h}},c(e,f,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");e.exports=n(chrome)}else e.exports=browser})?n.apply(r,s):n)||(e.exports=o)},3:function(e,r){function t(e,r,t,n,s,o,a){try{var i=e[o](a),g=i.value}catch(e){return void t(e)}i.done?r(g):Promise.resolve(g).then(n,s)}e.exports=function(e){return function(){var r=this,n=arguments;return new Promise((function(s,o){var a=e.apply(r,n);function i(e){t(a,s,o,i,g,"next",e)}function g(e){t(a,s,o,i,g,"throw",e)}i(void 0)}))}}},45:function(e,r,t){e.exports=t(46)},46:function(e,r,t){"use strict";t.r(r);var n=t(1),s=t.n(n),o=t(3),a=t.n(o),i=t(2),g=t.n(i),c=t(0);const m="#view__password--eye",l="#password__label--checkbox",u="#customhost__label--checkbox";document.on("DOMContentLoaded",a()(s.a.mark((function e(){var r,t,n,o,a,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.a.storage.local.get(["key","pwd","userOptions","host"]);case 2:r=e.sent,t=r.key,n=r.pwd,o=r.userOptions,a=r.host,"undefined"===(i=`${t}`)?Object(c.a)("#api__key--value").value="":(Object(c.a)("#api__key--value").value=i,Object(c.a)(l).checked=o.pwdForUrls,o.pwdForUrls||(n=""),Object(c.a)("#password--value").value=n,d(o.pwdForUrls,"#pwd__holder"),Object(c.a)(u).checked=o.devMode,o.devMode||(a=""),Object(c.a)("#customhost__mode--value").value=a,d(o.devMode,"#customhost__holder")),Object(c.a)("#autocopy__label--checkbox").checked=o.autoCopy,Object(c.a)("#history__label--checkbox").checked=o.keepHistory;case 11:case"end":return e.stop()}}),e)}))));const A=function(){var e=a()(s.a.mark((function e(){var r,t,n,o,i,m,A,d;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=Object(c.a)("#password--value").value,t=Object(c.a)("#customhost__mode--value").value,n=Object(c.a)("#api__key--value").value,o=Object(c.a)(u).checked,i=Object(c.a)(l).checked,m=Object(c.a)("#autocopy__label--checkbox").checked,A=Object(c.a)("#history__label--checkbox").checked,""===r&&(i=!1),i||(r=""),""===t?o=!1:t.endsWith("/")&&(t=t.slice(0,-1)),o||(t=""),d={pwdForUrls:i,autoCopy:m,devMode:o,keepHistory:A},e.next=14,g.a.storage.local.set({key:n,pwd:r,host:t,URL_array:[],userOptions:d});case 14:Object(c.a)("#button__submit").textContent="Saved",setTimeout(a()(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(c.a)("#button__submit").textContent="Save",e.next=3,g.a.tabs.getCurrent();case 3:r=e.sent,g.a.tabs.remove(r.id);case 5:case"end":return e.stop()}}),e)}))),1250);case 16:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();function d(e,r){e?Object(c.a)(r).classList.remove("d-none"):Object(c.a)(r).classList.add("d-none")}Object(c.a)("#button__submit").on("click",A),document.on("keypress",e=>{13===e.keyCode&&A()}),Object(c.a)(m).on("click",()=>{const e=Object(c.a)("#password--value");"password"===e.type?(e.type="text",Object(c.a)(m).textContent="HIDE"):(e.type="password",Object(c.a)(m).textContent="SHOW")}),Object(c.a)("#password__label--switch").on("click",()=>{d(Object(c.a)(l).checked,"#pwd__holder")}),Object(c.a)("#customhost__label--switch").on("click",()=>{d(Object(c.a)(u).checked,"#customhost__holder")})},8:function(e,r,t){var n=function(e){"use strict";var r,t=Object.prototype,n=t.hasOwnProperty,s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",a=s.asyncIterator||"@@asyncIterator",i=s.toStringTag||"@@toStringTag";function g(e,r,t,n){var s=r&&r.prototype instanceof f?r:f,o=Object.create(s.prototype),a=new E(n||[]);return o._invoke=function(e,r,t){var n=m;return function(s,o){if(n===u)throw new Error("Generator is already running");if(n===A){if("throw"===s)throw o;return P()}for(t.method=s,t.arg=o;;){var a=t.delegate;if(a){var i=_(a,t);if(i){if(i===d)continue;return i}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(n===m)throw n=A,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);n=u;var g=c(e,r,t);if("normal"===g.type){if(n=t.done?A:l,g.arg===d)continue;return{value:g.arg,done:t.done}}"throw"===g.type&&(n=A,t.method="throw",t.arg=g.arg)}}}(e,t,a),o}function c(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=g;var m="suspendedStart",l="suspendedYield",u="executing",A="completed",d={};function f(){}function h(){}function p(){}var x={};x[o]=function(){return this};var y=Object.getPrototypeOf,b=y&&y(y(L([])));b&&b!==t&&n.call(b,o)&&(x=b);var v=p.prototype=f.prototype=Object.create(x);function w(e){["next","throw","return"].forEach((function(r){e[r]=function(e){return this._invoke(r,e)}}))}function k(e){var r;this._invoke=function(t,s){function o(){return new Promise((function(r,o){!function r(t,s,o,a){var i=c(e[t],e,s);if("throw"!==i.type){var g=i.arg,m=g.value;return m&&"object"==typeof m&&n.call(m,"__await")?Promise.resolve(m.__await).then((function(e){r("next",e,o,a)}),(function(e){r("throw",e,o,a)})):Promise.resolve(m).then((function(e){g.value=e,o(g)}),(function(e){return r("throw",e,o,a)}))}a(i.arg)}(t,s,r,o)}))}return r=r?r.then(o,o):o()}}function _(e,t){var n=e.iterator[t.method];if(n===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,_(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var s=c(n,e.iterator,t.arg);if("throw"===s.type)return t.method="throw",t.arg=s.arg,t.delegate=null,d;var o=s.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function j(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function O(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function L(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var s=-1,a=function t(){for(;++s=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return s("end");if(a.tryLoc<=this.prev){var g=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(g&&c){if(this.prev=0;--t){var s=this.tryEntries[t];if(s.tryLoc<=this.prev&&n.call(s,"finallyLoc")&&this.prev=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),O(t),d}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var s=n.arg;O(t)}return s}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:L(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=r),d}},e}(e.exports);try{regeneratorRuntime=n}catch(e){Function("r","regeneratorRuntime = r")(n)}}}); \ No newline at end of file diff --git a/opera/js/popup.js b/opera/js/popup.js index c8127e3..89d8552 100644 --- a/opera/js/popup.js +++ b/opera/js/popup.js @@ -1 +1 @@ -!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=47)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(t,e){this.addEventListener(t,e)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(t,e){this.forEach((function(r,n){r.on(t,e)}))}},function(t,e,r){t.exports=r(8)},function(t,e,r){var n,o,i;o=[t],void 0===(i="function"==typeof(n=function(t){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const e="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=t=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getBrowserInfo:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");const o=(e,r)=>(...n)=>{t.runtime.lastError?e.reject(t.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?e.resolve(n[0]):e.resolve(n)},i=t=>1==t?"argument":"arguments",a=(t,e,r)=>new Proxy(e,{apply:(e,n,o)=>r.call(n,t,...o)});let s=Function.call.bind(Object.prototype.hasOwnProperty);const u=(t,e={},r={})=>{let n=Object.create(null),g={has:(e,r)=>r in t||r in n,get(g,c,l){if(c in n)return n[c];if(!(c in t))return;let f=t[c];if("function"==typeof f)if("function"==typeof e[c])f=a(t,t[c],e[c]);else if(s(r,c)){let e=((t,e)=>(function(r,...n){if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${i(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((i,a)=>{if(e.fallbackToNoCallback)try{r[t](...n,o({resolve:i,reject:a},e))}catch(o){console.warn(`${t} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",o),r[t](...n),e.fallbackToNoCallback=!1,e.noCallback=!0,i()}else e.noCallback?(r[t](...n),i()):r[t](...n,o({resolve:i,reject:a},e))})}))(c,r[c]);f=a(t,t[c],e)}else f=f.bind(t);else{if("object"!=typeof f||null===f||!s(e,c)&&!s(r,c))return Object.defineProperty(n,c,{configurable:!0,enumerable:!0,get:()=>t[c],set(e){t[c]=e}}),f;f=u(f,e[c],r[c])}return n[c]=f,f},set:(e,r,o,i)=>(r in n?n[r]=o:t[r]=o,!0),defineProperty:(t,e,r)=>Reflect.defineProperty(n,e,r),deleteProperty:(t,e)=>Reflect.deleteProperty(n,e)},c=Object.create(t);return new Proxy(c,g)},g=t=>({addListener(e,r,...n){e.addListener(t.get(r),...n)},hasListener:(e,r)=>e.hasListener(t.get(r)),removeListener(e,r){e.removeListener(t.get(r))}});let c=!1;const l=new class extends WeakMap{constructor(t,e){super(e),this.createItem=t}get(t){return this.has(t)||this.set(t,this.createItem(t)),super.get(t)}}(t=>"function"!=typeof t?t:function(e,n,o){let i,a,s=!1,u=new Promise(t=>{i=function(e){c||(console.warn(r,(new Error).stack),c=!0),s=!0,t(e)}});try{a=t(e,n,i)}catch(t){a=Promise.reject(t)}const g=!0!==a&&(t=>t&&"object"==typeof t&&"function"==typeof t.then)(a);if(!0!==a&&!g&&!s)return!1;const l=t=>{t.then(t=>{o(t)},t=>{let e;e=t&&(t instanceof Error||"string"==typeof t.message)?t.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:e})}).catch(t=>{console.error("Failed to send onMessage rejected reply",t)})};return l(g?a:u),!0}),f=({reject:r,resolve:n},o)=>{t.runtime.lastError?t.runtime.lastError.message===e?n():r(t.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},h=(t,e,r,...n)=>{if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${i(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((t,e)=>{const o=f.bind(null,{resolve:t,reject:e});n.push(o),r.sendMessage(...n)})},m={runtime:{onMessage:g(l),onMessageExternal:g(l),sendMessage:h.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:h.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},d={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:d,webRTCIPHandlingPolicy:d},services:{passwordSavingEnabled:d},websites:{hyperlinkAuditingEnabled:d,referrersEnabled:d}},u(t,m,n)};t.exports=n(chrome)}else t.exports=browser})?n.apply(e,o):n)||(t.exports=i)},function(t,e){function r(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,u,"next",t)}function u(t){r(a,o,i,s,u,"throw",t)}s(void 0)}))}}},function(t,e){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return n[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');r=t},e.isKanjiModeEnabled=function(){return void 0!==r},e.toSJIS=function(t){return r(t)}},function(t,e,r){var n=r(12),o=r(13);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return o.testNumeric(t)?e.NUMERIC:o.testAlphanumeric(t)?e.ALPHANUMERIC:o.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(t){return r}}},function(t,e,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(t,e,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof t?u(this,t):function(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return function(t,e,r,n){if(r<0||e.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function s(t,e){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=i.prototype:(null===(r=t)&&(r=new i(e)),r.length=e),r}function u(t,e){var r=s(t,e<0?0:0|a(e));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function l(t){return i.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:c(t).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(t,e,r){void 0===e?(r=this.length,e=0):void 0===r&&"string"==typeof e?(r=this.length,e=0):isFinite(e)&&(e|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,r,n){return function(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}(c(e,t.length-r),t,r,n)}(this,t,e,r)},i.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--o)t[o+e]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),g=n.call(a,"finallyLoc");if(u&&g){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(t){return r}}},function(t,e,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return i[4*(t-1)+0];case n.M:return i[4*(t-1)+1];case n.Q:return i[4*(t-1)+2];case n.H:return i[4*(t-1)+3];default:return}}},function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},function(t,e){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=new RegExp(r,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(n,"g"),e.NUMERIC=new RegExp("[0-9]+","g"),e.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return o.test(t)},e.testNumeric=function(t){return i.test(t)},e.testAlphanumeric=function(t){return a.test(t)}},function(t,e){function r(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)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=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:n,scale:n?4:o,margin:e,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 o=r.modules.size,i=r.modules.data,a=e.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,g=[n.color.light,n.color.dark],c=0;c=u&&l>=u&&c>n&1),n<6?t.set(n,8,o,!0):n<8?t.set(n+1,8,o,!0):t.set(i-15+n,8,o,!0),n<8?t.set(8,i-n-1,o,!0):n<9?t.set(8,15-n-1+1,o,!0):t.set(8,15-n-1,o,!0);t.set(i-8,8,1,!0)}function y(t,e,r){var i=new a;r.forEach((function(e){i.put(e.mode.bit,4),i.put(e.getLength(),d.getCharCountIndicator(e.mode,t)),e.write(i)}));var s=8*(o.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,g=0;g=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(i+s,a+u,!0,!0):t.set(i+s,a+u,!1,!0))}(w,e),function(t){for(var e=t.size,r=8;r=7&&function(t,e){for(var r,n,o,i=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),t.set(r,n,o,!0),t.set(n,r,o,!0)}(w,e),function(t,e){for(var r=t.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(o,s-u)){var g=!1;a>>i&1)),t.set(o,s-u,g),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(w,m),isNaN(n)&&(n=c.getBestMask(w,v.bind(null,w,r))),c.applyMask(n,w),v(w,r,n),{modules:w,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}e.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var r,n,a=i.M;return void 0!==e&&(a=i.from(e.errorCorrectionLevel,i.M),r=h.from(e.version),n=c.from(e.maskPattern),e.toSJISFunc&&o.setToSJISFunction(e.toSJISFunc)),w(t,r,a,n)}},function(t,e){function r(){this.buffer=[],this.length=0}r.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>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},function(t,e,r){var n=r(6);function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new n(t*t),this.data.fill(0),this.reservedBit=new n(t*t),this.reservedBit.fill(0)}o.prototype.set=function(t,e,r,n){var o=t*this.size+e;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,e){return this.data[t*this.size+e]},o.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},o.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=o},function(t,e,r){var n=r(4).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),o=145===r?26:2*Math.ceil((r-13)/(2*e-2)),i=[r-7],a=1;a=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=c,o=1),(c=t.get(g,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=c,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},e.getPenaltyN2=function(t){for(var e=t.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|t.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},e.getPenaltyN4=function(t){for(var e=0,r=t.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},t.exports=i},function(t,e,r){var n=r(6),o=r(25);e.mul=function(t,e){var r=new n(t.length+e.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(t,r){for(var n=1;n<=40;n++){if(l(t,n)<=e.getCapacity(n,r,a.MIXED))return n}}(t,o);if(0===t.length)return 1;n=t[0]}else n=t;return function(t,r,n){for(var o=1;o<=40;o++)if(r<=e.getCapacity(o,n,t))return o}(n.mode,n.getLength(),o)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;n.getBCHDigit(e)-g>=0;)e^=7973<=0;)i^=1335<=0?t[t.length-1]:null;return r&&r.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(a))},e.rawSplit=function(t){return e.fromArray(h(t,g.isKanjiModeEnabled()))}},function(t,e,r){var n=r(5);function o(t){this.mode=n.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,r,n;for(e=0;e+3<=this.data.length;e+=3)r=this.data.substr(e,3),n=parseInt(r,10),t.put(n,10);var o=this.data.length-e;o>0&&(r=this.data.substr(e),n=parseInt(r,10),t.put(n,3*o+1))},t.exports=o},function(t,e,r){var n=r(5),o=["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 i(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*o.indexOf(this.data[e]);r+=o.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},t.exports=i},function(t,e,r){var n=r(6),o=r(5);function i(t){this.mode=o.BYTE,this.data=new n(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,r=this.data.length;e=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},t.exports=i},function(t,e,r){"use strict";var n={single_source_shortest_paths:function(t,e,r){var o={},i={};i[e]=0;var a,s,u,g,c,l,f,h=n.PriorityQueue.make();for(h.push(e,0);!h.empty();)for(u in s=(a=h.pop()).value,g=a.cost,c=t[s]||{})c.hasOwnProperty(u)&&(l=g+c[u],f=i[u],(void 0===i[u]||f>l)&&(i[u]=l,h.push(u,l),o[u]=s));if(void 0!==r&&void 0===i[r]){var m=["Could not find a path from ",e," to ",r,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var o=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,o={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(o[e]=r[e]);return o.queue=[],o.sorter=t.sorter||r.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=n},function(t,e,r){var n=r(14);e.render=function(t,e,r){var o=r,i=e;void 0!==o||e&&e.getContext||(o=e,e=void 0),e||(i=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(t.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,t,o),function(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},e.renderToDataURL=function(t,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=e.render(t,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(t,e,r){var n=r(14);function o(t,e){var r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(t,e,r){var n=t+e;return void 0!==r&&(n+=" "+r),n}e.render=function(t,e,r){var a=n.getOptions(e),s=t.modules.size,u=t.modules.data,g=s+2*a.margin,c=a.color.light.a?"':"",l="0&&g>0&&t[u-1]||(n+=a?i("M",g+r,.5+c+r):i("m",o,0),o=0,a=!1),g+1',f='viewBox="0 0 '+g+" "+g+'"',h=''+c+l+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,function(t,e,r){t.exports=r(48)},function(t,e,r){"use strict";r.r(e);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),g=r(15),c=r.n(g),l=r(0);let f,h,m,d,p="";const A=t=>{Object(l.a)("#url__content-inner").textContent=t},v=()=>{setTimeout(()=>{u.a.runtime.openOptionsPage()},900)},y=t=>{Object(l.a)(t).classList.toggle("d-none")},w=()=>{Object(l.a)("#copy__alert").classList.toggle("v-none")},x=function(){var t=a()(o.a.mark((function t(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,c.a.toDataURL(e);case 3:Object(l.a)("#qr_code").src=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),Object(l.a)("#qr_code").src=`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${e}`;case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),b=()=>{try{Object(l.a)("#copy__alert").textContent="Copied to clipboard!";const t=document.createElement("textarea");t.value=f,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);const e=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e)),w(),setTimeout(()=>{w()},1300)}catch(t){Object(l.a)("#copy__alert").textContent="Error while Copying!",w(),setTimeout(()=>{w()},1300)}},E=function(){var t=a()(o.a.mark((function t(e){var r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["URL_array"]);case 2:return r=t.sent,n=r.URL_array,t.next=6,u.a.runtime.sendMessage({msg:"store",curURLPair:e,curURLCollection:n});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),P=function(){var t=a()(o.a.mark((function t(){var e,r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["userOptions"]);case 2:e=t.sent,r=e.userOptions,n=r.keepHistory,r.autoCopy&&setTimeout(()=>{b()},500),n&&E({longUrl:h,shortUrl:f});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();Object(l.a)("#button__copy--holder").on("click",()=>b()),Object(l.a)("#button__qrcode--holder").on("click",()=>{y(".qrcode__content--holder")}),document.on("DOMContentLoaded",a()(o.a.mark((function t(){var e,r,n,i,a,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.tabs.query({active:!0,lastFocusedWindow:!0});case 2:return e=t.sent,(h=e.length&&e[0].url)&&(p=h.startsWith("http")),t.next=7,u.a.storage.local.get(["key","pwd"]);case 7:if(r=t.sent,n=r.key,i=r.pwd,m=n,d=i,!p||""===m||void 0===m){t.next=34;break}return t.next=15,u.a.runtime.sendMessage({msg:"start",API_key:m,pageUrl:h,password:d});case 15:if(a=t.sent,isNaN(a)){t.next=31;break}t.t0=a,t.next=429===t.t0?20:401===t.t0?22:504===t.t0?25:27;break;case 20:return A("API Limit Exceeded!"),t.abrupt("break",29);case 22:return A("Invalid API Key"),v(),t.abrupt("break",29);case 25:return A("Time-out!"),t.abrupt("break",29);case 27:return A("Some error occured"),t.abrupt("break",29);case 29:t.next=32;break;case 31:a?(A(f=a),y(".buttons__content--holder"),x(f),P()):A("Invalid Response!");case 32:t.next=43;break;case 34:if(""!==m&&void 0!==m){t.next=42;break}return A("Set API Key in Options!"),s={pwdForUrls:!1,autoCopy:!1,keepHistory:!0,devMode:!1},t.next=39,u.a.storage.local.set({userOptions:s,URL_array:[]});case 39:v(),t.next=43;break;case 42:p||A("Not a Valid URL!!");case 43:case"end":return t.stop()}}),t)}))))}]); \ No newline at end of file +!function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=47)}([function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));const n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(t,e){this.addEventListener(t,e)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(t,e){this.forEach((function(r,n){r.on(t,e)}))}},function(t,e,r){t.exports=r(8)},function(t,e,r){var n,o,i;o=[t],void 0===(i="function"==typeof(n=function(t){"use strict";if("undefined"==typeof browser||Object.getPrototypeOf(browser)!==Object.prototype){const e="The message port closed before a response was received.",r="Returning a Promise is the preferred way to send a reply from an onMessage/onMessageExternal listener, as the sendResponse will be removed from the specs (See https://developer.mozilla.org/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onMessage)",n=t=>{const n={alarms:{clear:{minArgs:0,maxArgs:1},clearAll:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getAll:{minArgs:0,maxArgs:0}},bookmarks:{create:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},getChildren:{minArgs:1,maxArgs:1},getRecent:{minArgs:1,maxArgs:1},getSubTree:{minArgs:1,maxArgs:1},getTree:{minArgs:0,maxArgs:0},move:{minArgs:2,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeTree:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}},browserAction:{disable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},enable:{minArgs:0,maxArgs:1,fallbackToNoCallback:!0},getBadgeBackgroundColor:{minArgs:1,maxArgs:1},getBadgeText:{minArgs:1,maxArgs:1},getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},openPopup:{minArgs:0,maxArgs:0},setBadgeBackgroundColor:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setBadgeText:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},browsingData:{remove:{minArgs:2,maxArgs:2},removeCache:{minArgs:1,maxArgs:1},removeCookies:{minArgs:1,maxArgs:1},removeDownloads:{minArgs:1,maxArgs:1},removeFormData:{minArgs:1,maxArgs:1},removeHistory:{minArgs:1,maxArgs:1},removeLocalStorage:{minArgs:1,maxArgs:1},removePasswords:{minArgs:1,maxArgs:1},removePluginData:{minArgs:1,maxArgs:1},settings:{minArgs:0,maxArgs:0}},commands:{getAll:{minArgs:0,maxArgs:0}},contextMenus:{remove:{minArgs:1,maxArgs:1},removeAll:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},cookies:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:1,maxArgs:1},getAllCookieStores:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},devtools:{inspectedWindow:{eval:{minArgs:1,maxArgs:2,singleCallbackArg:!1}},panels:{create:{minArgs:3,maxArgs:3,singleCallbackArg:!0}}},downloads:{cancel:{minArgs:1,maxArgs:1},download:{minArgs:1,maxArgs:1},erase:{minArgs:1,maxArgs:1},getFileIcon:{minArgs:1,maxArgs:2},open:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},pause:{minArgs:1,maxArgs:1},removeFile:{minArgs:1,maxArgs:1},resume:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},extension:{isAllowedFileSchemeAccess:{minArgs:0,maxArgs:0},isAllowedIncognitoAccess:{minArgs:0,maxArgs:0}},history:{addUrl:{minArgs:1,maxArgs:1},deleteAll:{minArgs:0,maxArgs:0},deleteRange:{minArgs:1,maxArgs:1},deleteUrl:{minArgs:1,maxArgs:1},getVisits:{minArgs:1,maxArgs:1},search:{minArgs:1,maxArgs:1}},i18n:{detectLanguage:{minArgs:1,maxArgs:1},getAcceptLanguages:{minArgs:0,maxArgs:0}},identity:{launchWebAuthFlow:{minArgs:1,maxArgs:1}},idle:{queryState:{minArgs:1,maxArgs:1}},management:{get:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},getSelf:{minArgs:0,maxArgs:0},setEnabled:{minArgs:2,maxArgs:2},uninstallSelf:{minArgs:0,maxArgs:1}},notifications:{clear:{minArgs:1,maxArgs:1},create:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:0},getPermissionLevel:{minArgs:0,maxArgs:0},update:{minArgs:2,maxArgs:2}},pageAction:{getPopup:{minArgs:1,maxArgs:1},getTitle:{minArgs:1,maxArgs:1},hide:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setIcon:{minArgs:1,maxArgs:1},setPopup:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},setTitle:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0},show:{minArgs:1,maxArgs:1,fallbackToNoCallback:!0}},permissions:{contains:{minArgs:1,maxArgs:1},getAll:{minArgs:0,maxArgs:0},remove:{minArgs:1,maxArgs:1},request:{minArgs:1,maxArgs:1}},runtime:{getBackgroundPage:{minArgs:0,maxArgs:0},getPlatformInfo:{minArgs:0,maxArgs:0},openOptionsPage:{minArgs:0,maxArgs:0},requestUpdateCheck:{minArgs:0,maxArgs:0},sendMessage:{minArgs:1,maxArgs:3},sendNativeMessage:{minArgs:2,maxArgs:2},setUninstallURL:{minArgs:1,maxArgs:1}},sessions:{getDevices:{minArgs:0,maxArgs:1},getRecentlyClosed:{minArgs:0,maxArgs:1},restore:{minArgs:0,maxArgs:1}},storage:{local:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}},managed:{get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1}},sync:{clear:{minArgs:0,maxArgs:0},get:{minArgs:0,maxArgs:1},getBytesInUse:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}}},tabs:{captureVisibleTab:{minArgs:0,maxArgs:2},create:{minArgs:1,maxArgs:1},detectLanguage:{minArgs:0,maxArgs:1},discard:{minArgs:0,maxArgs:1},duplicate:{minArgs:1,maxArgs:1},executeScript:{minArgs:1,maxArgs:2},get:{minArgs:1,maxArgs:1},getCurrent:{minArgs:0,maxArgs:0},getZoom:{minArgs:0,maxArgs:1},getZoomSettings:{minArgs:0,maxArgs:1},highlight:{minArgs:1,maxArgs:1},insertCSS:{minArgs:1,maxArgs:2},move:{minArgs:2,maxArgs:2},query:{minArgs:1,maxArgs:1},reload:{minArgs:0,maxArgs:2},remove:{minArgs:1,maxArgs:1},removeCSS:{minArgs:1,maxArgs:2},sendMessage:{minArgs:2,maxArgs:3},setZoom:{minArgs:1,maxArgs:2},setZoomSettings:{minArgs:1,maxArgs:2},update:{minArgs:1,maxArgs:2}},topSites:{get:{minArgs:0,maxArgs:0}},webNavigation:{getAllFrames:{minArgs:1,maxArgs:1},getFrame:{minArgs:1,maxArgs:1}},webRequest:{handlerBehaviorChanged:{minArgs:0,maxArgs:0}},windows:{create:{minArgs:0,maxArgs:1},get:{minArgs:1,maxArgs:2},getAll:{minArgs:0,maxArgs:1},getCurrent:{minArgs:0,maxArgs:1},getLastFocused:{minArgs:0,maxArgs:1},remove:{minArgs:1,maxArgs:1},update:{minArgs:2,maxArgs:2}}};if(0===Object.keys(n).length)throw new Error("api-metadata.json has not been included in browser-polyfill");class o extends WeakMap{constructor(t,e){super(e),this.createItem=t}get(t){return this.has(t)||this.set(t,this.createItem(t)),super.get(t)}}const i=(e,r)=>(...n)=>{t.runtime.lastError?e.reject(t.runtime.lastError):r.singleCallbackArg||n.length<=1&&!1!==r.singleCallbackArg?e.resolve(n[0]):e.resolve(n)},a=t=>1==t?"argument":"arguments",s=(t,e,r)=>new Proxy(e,{apply:(e,n,o)=>r.call(n,t,...o)});let u=Function.call.bind(Object.prototype.hasOwnProperty);const c=(t,e={},r={})=>{let n=Object.create(null),o={has:(e,r)=>r in t||r in n,get(o,g,l){if(g in n)return n[g];if(!(g in t))return;let f=t[g];if("function"==typeof f)if("function"==typeof e[g])f=s(t,t[g],e[g]);else if(u(r,g)){let e=((t,e)=>(function(r,...n){if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${a(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((o,a)=>{if(e.fallbackToNoCallback)try{r[t](...n,i({resolve:o,reject:a},e))}catch(i){console.warn(`${t} API method doesn't seem to support the callback parameter, `+"falling back to call it without a callback: ",i),r[t](...n),e.fallbackToNoCallback=!1,e.noCallback=!0,o()}else e.noCallback?(r[t](...n),o()):r[t](...n,i({resolve:o,reject:a},e))})}))(g,r[g]);f=s(t,t[g],e)}else f=f.bind(t);else{if("object"!=typeof f||null===f||!u(e,g)&&!u(r,g))return Object.defineProperty(n,g,{configurable:!0,enumerable:!0,get:()=>t[g],set(e){t[g]=e}}),f;f=c(f,e[g],r[g])}return n[g]=f,f},set:(e,r,o,i)=>(r in n?n[r]=o:t[r]=o,!0),defineProperty:(t,e,r)=>Reflect.defineProperty(n,e,r),deleteProperty:(t,e)=>Reflect.deleteProperty(n,e)},g=Object.create(t);return new Proxy(g,o)},g=t=>({addListener(e,r,...n){e.addListener(t.get(r),...n)},hasListener:(e,r)=>e.hasListener(t.get(r)),removeListener(e,r){e.removeListener(t.get(r))}});let l=!1;const f=new o(t=>"function"!=typeof t?t:function(e,n,o){let i,a,s=!1,u=new Promise(t=>{i=function(e){l||(console.warn(r,(new Error).stack),l=!0),s=!0,t(e)}});try{a=t(e,n,i)}catch(t){a=Promise.reject(t)}const c=!0!==a&&(t=>t&&"object"==typeof t&&"function"==typeof t.then)(a);if(!0!==a&&!c&&!s)return!1;const g=t=>{t.then(t=>{o(t)},t=>{let e;e=t&&(t instanceof Error||"string"==typeof t.message)?t.message:"An unexpected error occurred",o({__mozWebExtensionPolyfillReject__:!0,message:e})}).catch(t=>{console.error("Failed to send onMessage rejected reply",t)})};return g(c?a:u),!0}),h=({reject:r,resolve:n},o)=>{t.runtime.lastError?t.runtime.lastError.message===e?n():r(t.runtime.lastError):o&&o.__mozWebExtensionPolyfillReject__?r(new Error(o.message)):n(o)},m=(t,e,r,...n)=>{if(n.lengthe.maxArgs)throw new Error(`Expected at most ${e.maxArgs} ${a(e.maxArgs)} for ${t}(), got ${n.length}`);return new Promise((t,e)=>{const o=h.bind(null,{resolve:t,reject:e});n.push(o),r.sendMessage(...n)})},d={runtime:{onMessage:g(f),onMessageExternal:g(f),sendMessage:m.bind(null,"sendMessage",{minArgs:1,maxArgs:3})},tabs:{sendMessage:m.bind(null,"sendMessage",{minArgs:2,maxArgs:3})}},p={clear:{minArgs:1,maxArgs:1},get:{minArgs:1,maxArgs:1},set:{minArgs:1,maxArgs:1}};return n.privacy={network:{networkPredictionEnabled:p,webRTCIPHandlingPolicy:p},services:{passwordSavingEnabled:p},websites:{hyperlinkAuditingEnabled:p,referrersEnabled:p}},c(t,d,n)};if("object"!=typeof chrome||!chrome||!chrome.runtime||!chrome.runtime.id)throw new Error("This script should only be loaded in a browser extension.");t.exports=n(chrome)}else t.exports=browser})?n.apply(e,o):n)||(t.exports=i)},function(t,e){function r(t,e,r,n,o,i,a){try{var s=t[i](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,u,"next",t)}function u(t){r(a,o,i,s,u,"throw",t)}s(void 0)}))}}},function(t,e){var r,n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return 4*t+17},e.getSymbolTotalCodewords=function(t){return n[t]},e.getBCHDigit=function(t){for(var e=0;0!==t;)e++,t>>>=1;return e},e.setToSJISFunction=function(t){if("function"!=typeof t)throw new Error('"toSJISFunc" is not a valid function.');r=t},e.isKanjiModeEnabled=function(){return void 0!==r},e.toSJIS=function(t){return r(t)}},function(t,e,r){var n=r(12),o=r(13);e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(t,e){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!n.isValid(e))throw new Error("Invalid version: "+e);return e>=1&&e<10?t.ccBits[0]:e<27?t.ccBits[1]:t.ccBits[2]},e.getBestModeForData=function(t){return o.testNumeric(t)?e.NUMERIC:o.testAlphanumeric(t)?e.ALPHANUMERIC:o.testKanji(t)?e.KANJI:e.BYTE},e.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")},e.isValid=function(t){return t&&t.bit&&t.ccBits},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+t)}}(t)}catch(t){return r}}},function(t,e,r){"use strict";var n=r(9);i.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()}catch(t){return!1}}();var o=i.TYPED_ARRAY_SUPPORT?2147483647:1073741823;function i(t,e,r){return i.TYPED_ARRAY_SUPPORT||this instanceof i?"number"==typeof t?u(this,t):function(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return function(t,e,r,n){if(r<0||e.byteLength=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|t}function s(t,e){var r;return i.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e)).__proto__=i.prototype:(null===(r=t)&&(r=new i(e)),r.length=e),r}function u(t,e){var r=s(t,e<0?0:0|a(e));if(!i.TYPED_ARRAY_SUPPORT)for(var n=0;n55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function l(t){return i.isBuffer(t)?t.length:"undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer)?t.byteLength:("string"!=typeof t&&(t=""+t),0===t.length?0:g(t).length)}i.TYPED_ARRAY_SUPPORT&&(i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1})),i.prototype.write=function(t,e,r){void 0===e?(r=this.length,e=0):void 0===r&&"string"==typeof e?(r=this.length,e=0):isFinite(e)&&(e|=0,isFinite(r)?r|=0:r=void 0);var n=this.length-e;if((void 0===r||r>n)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");return function(t,e,r,n){return function(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}(g(e,t.length-r),t,r,n)}(this,t,e,r)},i.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--o)t[o+e]=this[o+r];else if(a<1e3||!i.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),m}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:R(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2},e.isValid=function(t){return t&&void 0!==t.bit&&t.bit>=0&&t.bit<4},e.from=function(t,r){if(e.isValid(t))return t;try{return function(t){if("string"!=typeof t)throw new Error("Param is not a string");switch(t.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+t)}}(t)}catch(t){return r}}},function(t,e,r){var n=r(10),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){case n.L:return o[4*(t-1)+0];case n.M:return o[4*(t-1)+1];case n.Q:return o[4*(t-1)+2];case n.H:return o[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){case n.L:return i[4*(t-1)+0];case n.M:return i[4*(t-1)+1];case n.Q:return i[4*(t-1)+2];case n.H:return i[4*(t-1)+3];default:return}}},function(t,e){e.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}},function(t,e){var r="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+",n="(?:(?![A-Z0-9 $%*+\\-./:]|"+(r=r.replace(/u/g,"\\u"))+")(?:.|[\r\n]))+";e.KANJI=new RegExp(r,"g"),e.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),e.BYTE=new RegExp(n,"g"),e.NUMERIC=new RegExp("[0-9]+","g"),e.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");var o=new RegExp("^"+r+"$"),i=new RegExp("^[0-9]+$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");e.testKanji=function(t){return o.test(t)},e.testNumeric=function(t){return i.test(t)},e.testAlphanumeric=function(t){return a.test(t)}},function(t,e){function r(t){if("number"==typeof t&&(t=t.toString()),"string"!=typeof t)throw new Error("Color should be defined as hex string");var e=t.slice().replace("#","").split("");if(e.length<3||5===e.length||e.length>8)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=void 0===t.margin||null===t.margin||t.margin<0?4:t.margin,n=t.width&&t.width>=21?t.width:void 0,o=t.scale||4;return{width:n,scale:n?4:o,margin:e,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 o=r.modules.size,i=r.modules.data,a=e.getScale(o,n),s=Math.floor((o+2*n.margin)*a),u=n.margin*a,c=[n.color.light,n.color.dark],g=0;g=u&&l>=u&&g>n&1),n<6?t.set(n,8,o,!0):n<8?t.set(n+1,8,o,!0):t.set(i-15+n,8,o,!0),n<8?t.set(8,i-n-1,o,!0):n<9?t.set(8,15-n-1+1,o,!0):t.set(8,15-n-1,o,!0);t.set(i-8,8,1,!0)}function y(t,e,r){var i=new a;r.forEach((function(e){i.put(e.mode.bit,4),i.put(e.getLength(),d.getCharCountIndicator(e.mode,t)),e.write(i)}));var s=8*(o.getSymbolTotalCodewords(t)-l.getTotalCodewordsCount(t,e));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);for(var u=(s-i.getLengthInBits())/8,c=0;c=0&&s<=6&&(0===u||6===u)||u>=0&&u<=6&&(0===s||6===s)||s>=2&&s<=4&&u>=2&&u<=4?t.set(i+s,a+u,!0,!0):t.set(i+s,a+u,!1,!0))}(w,e),function(t){for(var e=t.size,r=8;r=7&&function(t,e){for(var r,n,o,i=t.size,a=h.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+i-8-3,o=1==(a>>s&1),t.set(r,n,o,!0),t.set(n,r,o,!0)}(w,e),function(t,e){for(var r=t.size,n=-1,o=r-1,i=7,a=0,s=r-1;s>0;s-=2)for(6===s&&s--;;){for(var u=0;u<2;u++)if(!t.isReserved(o,s-u)){var c=!1;a>>i&1)),t.set(o,s-u,c),-1===--i&&(a++,i=7)}if((o+=n)<0||r<=o){o-=n,n=-n;break}}}(w,m),isNaN(n)&&(n=g.getBestMask(w,v.bind(null,w,r))),g.applyMask(n,w),v(w,r,n),{modules:w,version:e,errorCorrectionLevel:r,maskPattern:n,segments:i}}e.create=function(t,e){if(void 0===t||""===t)throw new Error("No input text");var r,n,a=i.M;return void 0!==e&&(a=i.from(e.errorCorrectionLevel,i.M),r=h.from(e.version),n=g.from(e.maskPattern),e.toSJISFunc&&o.setToSJISFunction(e.toSJISFunc)),w(t,r,a,n)}},function(t,e){function r(){this.buffer=[],this.length=0}r.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>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},function(t,e,r){var n=r(6);function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new n(t*t),this.data.fill(0),this.reservedBit=new n(t*t),this.reservedBit.fill(0)}o.prototype.set=function(t,e,r,n){var o=t*this.size+e;this.data[o]=r,n&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,e){return this.data[t*this.size+e]},o.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},o.prototype.isReserved=function(t,e){return this.reservedBit[t*this.size+e]},t.exports=o},function(t,e,r){var n=r(4).getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var e=Math.floor(t/7)+2,r=n(t),o=145===r?26:2*Math.ceil((r-13)/(2*e-2)),i=[r-7],a=1;a=0&&t<=7},e.from=function(t){return e.isValid(t)?parseInt(t,10):void 0},e.getPenaltyN1=function(t){for(var e=t.size,n=0,o=0,i=0,a=null,s=null,u=0;u=5&&(n+=r+(o-5)),a=g,o=1),(g=t.get(c,u))===s?i++:(i>=5&&(n+=r+(i-5)),s=g,i=1)}o>=5&&(n+=r+(o-5)),i>=5&&(n+=r+(i-5))}return n},e.getPenaltyN2=function(t){for(var e=t.size,r=0,o=0;o=10&&(1488===n||93===n)&&r++,i=i<<1&2047|t.get(s,a),s>=10&&(1488===i||93===i)&&r++}return r*o},e.getPenaltyN4=function(t){for(var e=0,r=t.data.length,n=0;n0){var s=new n(this.degree);return s.fill(0),i.copy(s,a),s}return i},t.exports=i},function(t,e,r){var n=r(6),o=r(25);e.mul=function(t,e){var r=new n(t.length+e.length-1);r.fill(0);for(var i=0;i=0;){for(var i=r[0],a=0;a1)return function(t,r){for(var n=1;n<=40;n++){if(l(t,n)<=e.getCapacity(n,r,a.MIXED))return n}}(t,o);if(0===t.length)return 1;n=t[0]}else n=t;return function(t,r,n){for(var o=1;o<=40;o++)if(r<=e.getCapacity(o,n,t))return o}(n.mode,n.getLength(),o)},e.getEncodedBits=function(t){if(!s.isValid(t)||t<7)throw new Error("Invalid QR Code version");for(var e=t<<12;n.getBCHDigit(e)-c>=0;)e^=7973<=0;)i^=1335<=0?t[t.length-1]:null;return r&&r.mode===e.mode?(t[t.length-1].data+=e.data,t):(t.push(e),t)}),[])}(a))},e.rawSplit=function(t){return e.fromArray(h(t,c.isKanjiModeEnabled()))}},function(t,e,r){var n=r(5);function o(t){this.mode=n.NUMERIC,this.data=t.toString()}o.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(t){var e,r,n;for(e=0;e+3<=this.data.length;e+=3)r=this.data.substr(e,3),n=parseInt(r,10),t.put(n,10);var o=this.data.length-e;o>0&&(r=this.data.substr(e),n=parseInt(r,10),t.put(n,3*o+1))},t.exports=o},function(t,e,r){var n=r(5),o=["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 i(t){this.mode=n.ALPHANUMERIC,this.data=t}i.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){var e;for(e=0;e+2<=this.data.length;e+=2){var r=45*o.indexOf(this.data[e]);r+=o.indexOf(this.data[e+1]),t.put(r,11)}this.data.length%2&&t.put(o.indexOf(this.data[e]),6)},t.exports=i},function(t,e,r){var n=r(6),o=r(5);function i(t){this.mode=o.BYTE,this.data=new n(t)}i.getBitsLength=function(t){return 8*t},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(t){for(var e=0,r=this.data.length;e=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[e]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),t.put(r,13)}},t.exports=i},function(t,e,r){"use strict";var n={single_source_shortest_paths:function(t,e,r){var o={},i={};i[e]=0;var a,s,u,c,g,l,f,h=n.PriorityQueue.make();for(h.push(e,0);!h.empty();)for(u in s=(a=h.pop()).value,c=a.cost,g=t[s]||{})g.hasOwnProperty(u)&&(l=c+g[u],f=i[u],(void 0===i[u]||f>l)&&(i[u]=l,h.push(u,l),o[u]=s));if(void 0!==r&&void 0===i[r]){var m=["Could not find a path from ",e," to ",r,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(t,e){for(var r=[],n=e;n;)r.push(n),t[n],n=t[n];return r.reverse(),r},find_path:function(t,e,r){var o=n.single_source_shortest_paths(t,e,r);return n.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(t){var e,r=n.PriorityQueue,o={};for(e in t=t||{},r)r.hasOwnProperty(e)&&(o[e]=r[e]);return o.queue=[],o.sorter=t.sorter||r.default_sorter,o},default_sorter:function(t,e){return t.cost-e.cost},push:function(t,e){var r={value:t,cost:e};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};t.exports=n},function(t,e,r){var n=r(14);e.render=function(t,e,r){var o=r,i=e;void 0!==o||e&&e.getContext||(o=e,e=void 0),e||(i=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),o=n.getOptions(o);var a=n.getImageWidth(t.modules.size,o),s=i.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,t,o),function(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}(s,i,a),s.putImageData(u,0,0),i},e.renderToDataURL=function(t,r,n){var o=n;void 0!==o||r&&r.getContext||(o=r,r=void 0),o||(o={});var i=e.render(t,r,o),a=o.type||"image/png",s=o.rendererOpts||{};return i.toDataURL(a,s.quality)}},function(t,e,r){var n=r(14);function o(t,e){var r=t.a/255,n=e+'="'+t.hex+'"';return r<1?n+" "+e+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function i(t,e,r){var n=t+e;return void 0!==r&&(n+=" "+r),n}e.render=function(t,e,r){var a=n.getOptions(e),s=t.modules.size,u=t.modules.data,c=s+2*a.margin,g=a.color.light.a?"':"",l="0&&c>0&&t[u-1]||(n+=a?i("M",c+r,.5+g+r):i("m",o,0),o=0,a=!1),c+1',f='viewBox="0 0 '+c+" "+c+'"',h=''+g+l+"\n";return"function"==typeof r&&r(null,h),h}},,,,,,,,,,,,function(t,e,r){t.exports=r(48)},function(t,e,r){"use strict";r.r(e);var n=r(1),o=r.n(n),i=r(3),a=r.n(i),s=r(2),u=r.n(s),c=r(15),g=r.n(c),l=r(0);let f,h,m,d,p="";const A=t=>{Object(l.a)("#url__content-inner").textContent=t},v=()=>{setTimeout(()=>{u.a.runtime.openOptionsPage()},900)},y=t=>{Object(l.a)(t).classList.toggle("d-none")},w=()=>{Object(l.a)("#copy__alert").classList.toggle("v-none")},x=function(){var t=a()(o.a.mark((function t(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g.a.toDataURL(e);case 3:Object(l.a)("#qr_code").src=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),Object(l.a)("#qr_code").src=`https://api.qrserver.com/v1/create-qr-code/?size=120x120&data=${e}`;case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}(),b=()=>{try{Object(l.a)("#copy__alert").textContent="Copied to clipboard!";const t=document.createElement("textarea");t.value=f,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t);const e=document.getSelection().rangeCount>0&&document.getSelection().getRangeAt(0);t.select(),document.execCommand("copy"),document.body.removeChild(t),e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e)),w(),setTimeout(()=>{w()},1300)}catch(t){Object(l.a)("#copy__alert").textContent="Error while Copying!",w(),setTimeout(()=>{w()},1300)}},E=function(){var t=a()(o.a.mark((function t(e){var r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["URL_array"]);case 2:return r=t.sent,n=r.URL_array,t.next=6,u.a.runtime.sendMessage({msg:"store",curURLPair:e,curURLCollection:n});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),P=function(){var t=a()(o.a.mark((function t(){var e,r,n;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.storage.local.get(["userOptions"]);case 2:e=t.sent,r=e.userOptions,n=r.keepHistory,r.autoCopy&&setTimeout(()=>{b()},500),n&&E({longUrl:h,shortUrl:f});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();Object(l.a)("#button__copy--holder").on("click",()=>b()),Object(l.a)("#button__qrcode--holder").on("click",()=>{y(".qrcode__content--holder")}),document.on("DOMContentLoaded",a()(o.a.mark((function t(){var e,r,n,i,a,s;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u.a.tabs.query({active:!0,lastFocusedWindow:!0});case 2:return e=t.sent,(h=e.length&&e[0].url)&&(p=h.startsWith("http")),t.next=7,u.a.storage.local.get(["key","pwd"]);case 7:if(r=t.sent,n=r.key,i=r.pwd,m=n,d=i,!p||""===m||void 0===m){t.next=34;break}return t.next=15,u.a.runtime.sendMessage({msg:"start",API_key:m,pageUrl:h,password:d});case 15:if(a=t.sent,isNaN(a)){t.next=31;break}t.t0=a,t.next=429===t.t0?20:401===t.t0?22:504===t.t0?25:27;break;case 20:return A("API Limit Exceeded!"),t.abrupt("break",29);case 22:return A("Invalid API Key"),v(),t.abrupt("break",29);case 25:return A("Time-out!"),t.abrupt("break",29);case 27:return A("Some error occured"),t.abrupt("break",29);case 29:t.next=32;break;case 31:a?(A(f=a),y(".buttons__content--holder"),x(f),P()):A("Invalid Response!");case 32:t.next=43;break;case 34:if(""!==m&&void 0!==m){t.next=42;break}return A("Set API Key in Options!"),s={pwdForUrls:!1,autoCopy:!1,keepHistory:!0,devMode:!1},t.next=39,u.a.storage.local.set({userOptions:s,URL_array:[]});case 39:v(),t.next=43;break;case 42:p||A("Not a Valid URL!!");case 43:case"end":return t.stop()}}),t)}))))}]); \ No newline at end of file diff --git a/opera/manifest.json b/opera/manifest.json index e4fe3f5..187f401 100644 --- a/opera/manifest.json +++ b/opera/manifest.json @@ -1,46 +1 @@ -{ - "manifest_version": 2, - "name": "Kutt", - "version": "3.0.2", - "description": "Shorten long URLs with just one click.", - "developer": { - "name": "abhijithvijayan" - }, - "icons": { - "16": "assets/favicon-16.png", - "32": "assets/favicon-32.png", - "48": "assets/favicon-48.png", - "128": "assets/favicon-128.png" - }, - "browser_action": { - "default_popup": "popup.html", - "default_icon": { - "16": "assets/favicon-16.png", - "32": "assets/favicon-32.png", - "48": "assets/favicon-48.png", - "128": "assets/favicon-128.png" - }, - "default_title": "Shorten this URL", - "chrome_style": false - }, - "background": { - "persistent": false, - "scripts": ["js/background.js"] - }, - "homepage_url": "https://github.com/abhijithvijayan/kutt-extension", - "minimum_opera_version": "36", - "content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'", - "options_page": "options.html", - "options_ui": { - "page": "options.html", - "open_in_tab": true - }, - "permissions": [ - "tabs", - "storage", - "clipboardRead", - "http://*/*", - "https://*/*" - ], - "short_name": "Kutt" -} +{"version":"3.1.0","name":"Kutt","description":"Shorten long URLs with just one click.","icons":{"16":"assets/favicon-16.png","32":"assets/favicon-32.png","48":"assets/favicon-48.png","128":"assets/favicon-128.png"},"browser_action":{"default_popup":"popup.html","default_icon":{"16":"assets/favicon-16.png","32":"assets/favicon-32.png","48":"assets/favicon-48.png","128":"assets/favicon-128.png"},"default_title":"Shorten this URL","chrome_style":false},"manifest_version":2,"developer":{"name":"abhijithvijayan"},"background":{"persistent":false,"scripts":["js/background.js"]},"homepage_url":"https://github.com/abhijithvijayan/kutt-extension","minimum_opera_version":"36","content_security_policy":"script-src 'self' 'unsafe-eval'; object-src 'self'","options_page":"options.html","options_ui":{"page":"options.html","open_in_tab":true},"permissions":["tabs","storage","clipboardRead","http://*/*","https://*/*"],"short_name":"Kutt"} \ No newline at end of file