1
0
mirror of https://github.com/bitwarden/web synced 2026-01-06 02:24:02 +00:00

Staging deploy 2.24.3 (#1286)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2021-11-10 14:26:56 -05:00
committed by GitHub
parent 7bdc06eb9f
commit 7911dc3997
45 changed files with 735 additions and 17 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,3 @@
html,body{margin:0;padding:0}body{background:#efeff4 url(../images/loading.svg) 0 0 no-repeat}iframe{display:block;width:100%;height:400px;border:none;margin:0;padding:0}
/*# sourceMappingURL=duo.41a23c012be29f9872b4.css.map*/

View File

@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./src/connectors/duo.scss"],"names":[],"mappings":"AAAA,UACI,SACA,UAGJ,KACI,yEAGJ,OACI,cACA,WACA,aACA,YACA,M","file":"connectors/duo.41a23c012be29f9872b4.css","sourcesContent":["html, body {\n margin: 0;\n padding: 0;\n}\n\nbody {\n background: #efeff4 url('../images/loading.svg') 0 0 no-repeat;\n}\n\niframe {\n display: block;\n width: 100%;\n height: 400px;\n border: none;\n margin: 0;\n padding: 0;\n}\n"],"sourceRoot":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1335)}({1335:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(162);n(1336),document.addEventListener("DOMContentLoaded",(function(e){var t=o.getQsParam("code"),n=o.getQsParam("state");if(null!=n&&n.includes(":clientId=browser"))!function(e,t){window.postMessage({command:"authResult",code:e,state:t},"*");var n=("; "+document.cookie).split("; ssoHandOffMessage=").pop().split(";").shift();document.cookie="ssoHandOffMessage=;SameSite=strict;max-age=0",document.getElementById("content").innerHTML="<p>"+n+"</p>"}(t,n);else{window.location.href=window.location.origin+"/#/sso?code="+t+"&state="+n;var r=function(e,t){var n=new RegExp(t).exec(e);if(!n)return null;return n[0]}(n,"(?<=_returnUri=')(.*)(?=')");window.location.href=r?window.location.origin+"/#"+r:window.location.origin+"/#/sso?code="+t+"&state="+n}}))},1336:function(e,t,n){"use strict";n.r(t)},162:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.b64Decode=t.getQsParam=void 0,t.getQsParam=function(e){var t=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},t.b64Decode=function(e){return decodeURIComponent(Array.prototype.map.call(atob(e),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}}});
//# sourceMappingURL=sso.41a23c012be29f9872b4.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
!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=1330)}({1330:function(e,r,t){"use strict";t.r(r);var n=t(449);document.addEventListener("DOMContentLoaded",(function(e){var r;s(),window.addEventListener("message",(function(e){e.origin&&""!==e.origin&&e.origin===a&&("stop"===e.data?i=!0:"start"===e.data&&i&&s())}),!1),r="ready",parent.postMessage("info|"+r,o)}));var o=null,a=null,i=!1,u=!1;function s(){if(u=!1,n.isSupported){var e=f("data");if(e)if(o=f("parent")){var r=document.createElement("a");r.href=o,a=r.origin;var t=f("v");if(t){try{parseInt(t);var s=(p=e,decodeURIComponent(Array.prototype.map.call(atob(p),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))),l=JSON.parse(s)}catch(v){return void d("Cannot parse data.")}var p;l.appId&&l.challenge&&l.keys&&l.keys.length?(i=!1,c(l)):d("Invalid data parameters.")}else d("No version.")}else d("No parent.");else d("No data.")}else d("U2F is not supported in this browser.")}function c(e){i||n.sign(e.appId,e.challenge,e.keys,(function(r){r.errorCode?5!==r.errorCode?(d("U2F Error: "+r.errorCode),setTimeout((function(){c(e)}),1e3)):c(e):function(e){if(u)return;var r=JSON.stringify(e);parent.postMessage("success|"+r,o),u=!0}(r)}),10)}function d(e){parent.postMessage("error|"+e,o)}function f(e){var r=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var t=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(r);return t?t[2]?decodeURIComponent(t[2].replace(/\+/g," ")):"":null}},449:function(e,r){e.exports=u2f}});
//# sourceMappingURL=u2f.41a23c012be29f9872b4.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1331)}({1331:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(162),a=n(440);n(441);var o,i=!1,c=null,u=null,d=null,l=null,s=null,f=null,p=!1,g=!1,b=null;function y(){i||((l=r.getQsParam("parent"))?(l=decodeURIComponent(l),s=new URL(l).origin,"1"===r.getQsParam("v")?function(){var e=r.getQsParam("data");if(!e)return void h("No data.");o=r.b64Decode(e),c=r.getQsParam("headerText"),u=r.getQsParam("btnText"),d=r.getQsParam("btnReturnText")}():function(){var e=null;try{e=JSON.parse(r.b64Decode(r.getQsParam("data")))}catch(t){return void h("Cannot parse data.")}f=e.callbackUri,o=e.data,c=e.headerText,u=e.btnText,d=e.btnReturnText}(),i=!0):h("No parent."))}function m(){if(g=!1,"credentials"in navigator)if(y(),o){try{b=a.parseWebauthnJson(o)}catch(e){return void h("Cannot parse webauthn data.")}p=!1,null!=f||-1!==navigator.userAgent.indexOf(" Safari/")&&-1===navigator.userAgent.indexOf("Chrome")||v()}else h("No data.");else h("WebAuthn is not supported in this browser.")}function v(){p||navigator.credentials.get({publicKey:b}).then(w).catch(h)}function h(e){f?(document.location.replace(f+"?error="+encodeURIComponent(e)),U(f+"?error="+encodeURIComponent(e))):parent.postMessage("error|"+e,l)}function w(e){if(!g){var t=a.buildDataString(e);f?(document.location.replace(f+"?data="+encodeURIComponent(t)),U(f+"?data="+encodeURIComponent(t))):(parent.postMessage("success|"+t,l),g=!0)}}function U(e){var t=document.getElementById("webauthn-button");t.innerText=decodeURI(d),t.onclick=function(){document.location.replace(e)}}document.addEventListener("DOMContentLoaded",(function(){var e;(m(),window.addEventListener("message",(function(e){e.origin&&""!==e.origin&&e.origin===s&&("stop"===e.data?p=!0:"start"===e.data&&p&&m())}),!1),e="ready",f||parent.postMessage("info|"+e,l),y(),c)&&(document.getElementById("webauthn-header").innerText=decodeURI(c));if(u){var t=document.getElementById("webauthn-button");t.innerText=decodeURI(u),t.onclick=v}}))},162:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.b64Decode=t.getQsParam=void 0,t.getQsParam=function(e){var t=window.location.href;e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null},t.b64Decode=function(e){return decodeURIComponent(Array.prototype.map.call(atob(e),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))}},440:function(e,t,n){"use strict";function r(e){if(Array.isArray(e)&&(e=Uint8Array.from(e)),e instanceof ArrayBuffer&&(e=new Uint8Array(e)),e instanceof Uint8Array){for(var t="",n=e.byteLength,r=0;r<n;r++)t+=String.fromCharCode(e[r]);e=window.btoa(t)}if("string"!=typeof e)throw new Error("could not coerce to string");return e=e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=*$/g,"")}Object.defineProperty(t,"__esModule",{value:!0}),t.parseWebauthnJson=t.buildDataString=void 0,t.buildDataString=function(e){var t=e.response,n=new Uint8Array(t.authenticatorData),a=new Uint8Array(t.clientDataJSON),o=new Uint8Array(e.rawId),i=new Uint8Array(t.signature),c={id:e.id,rawId:r(o),type:e.type,extensions:e.getClientExtensionResults(),response:{authenticatorData:r(n),clientDataJson:r(a),signature:r(i)}};return JSON.stringify(c)},t.parseWebauthnJson=function(e){var t=JSON.parse(e),n=t.challenge.replace(/-/g,"+").replace(/_/g,"/");return t.challenge=Uint8Array.from(atob(n),(function(e){return e.charCodeAt(0)})),t.allowCredentials.forEach((function(e){var t=e.id.replace(/\_/g,"/").replace(/\-/g,"+");e.id=Uint8Array.from(atob(t),(function(e){return e.charCodeAt(0)}))})),t}},441:function(e,t,n){"use strict";n.r(t)}});
//# sourceMappingURL=webauthn.41a23c012be29f9872b4.js.map

File diff suppressed because one or more lines are too long