Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hellosign-embedded

Package Overview
Dependencies
Maintainers
4
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hellosign-embedded - npm Package Compare versions

Comparing version 1.5.2 to 1.6.0-0

2

package.json
{
"name": "hellosign-embedded",
"version": "1.5.2",
"version": "1.6.0-0",
"description": "Embed HelloSign signature requests and templates from within your web application.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/HelloFax/hellosign-embedded",

@@ -27,4 +27,2 @@ # hellosign-embedded [![Build Status](https://travis-ci.org/HelloFax/hellosign-embedded.svg?branch=master)](https://travis-ci.org/HelloFax/hellosign-embedded)

## Installation
**npm**

@@ -86,4 +84,3 @@

debug: true,
skipDomainVerification: true,
uxVersion: 2
skipDomainVerification: true
});

@@ -90,0 +87,0 @@ ```

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.HelloSign=t():e.HelloSign=t()}(window,function(){return function(e){var t={};function i(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,i),o.l=!0,o.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=1)}([function(e){e.exports={name:"hellosign-embedded",version:"1.5.2",description:"Embed HelloSign signature requests and templates from within your web application.",homepage:"https://github.com/HelloFax/hellosign-embedded",main:"index.js",license:"ISC",scripts:{build:"webpack",demo:"npm run build && npm start --prefix=demo",prerelease:"node scripts/pre-release.js",setup:"npm install && npm run build && npm run setup --prefix=demo",test:"mocha test"},repository:{type:"git",url:"https://github.com/HelloFax/hellosign-embedded.git"},author:{name:"HelloSign",email:"api@hellosign.com",url:"https://hellosign.com"},devDependencies:{"@babel/core":"^7.0.0-beta.42","@babel/plugin-proposal-object-rest-spread":"^7.0.0-beta.42","@babel/plugin-transform-object-assign":"^7.0.0-beta.42","@babel/preset-env":"^7.0.0-beta.42","babel-loader":"^8.0.0-beta.2",chai:"^4.1.2",jsdom:"^11.6.2","jsdom-global":"^3.0.2",mocha:"^5.0.4",webpack:"^4.2.0","webpack-cli":"^2.0.13"},files:["umd","index.js"]}},function(e,t,i){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(){var t,r=(t={},window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(e,i,n){t[i]=n}),t);window.isDebugEnabled=!!r.debug&&"true"===r.debug;var a=navigator.userAgent.toLowerCase(),s={cacheBust:0,lastHash:0,intervalId:0,rmCallback:null,defaultDelay:500,hasPostMessage:void 0!==window.postMessage,_serializeMessageValue:function(e){return"object"===o(e)&&(e=JSON.stringify(e)),encodeURIComponent(e)},send:function(e,t,i){h("XWM Send: Sending Message."),h(" targetUrl: "+t);var n=s;if(t){if("string"!=typeof e){var o=[];for(var r in e)o.push(r+"="+this._serializeMessageValue(e[r]));e=o.join("&")}if(h(" message: "+e),n.hasPostMessage)(i=i||parent).postMessage(e,t.replace(/([^:]+:\/\/[^\/]+).*/,"$1"));else if(t){var a=(new Date).getTime(),l=++n.cacheBust,c=document.getElementById(i);c?c.setAttribute("src",t.replace(/#.*$/,"")+"#"+a+l+"&"+e):parent.location=t.replace(/#.*$/,"")+"#"+a+l+"&"+e}h("XWM Send: Message sent.")}},receive:function(e,t,i){"function"!=typeof e&&d("callback must be a function"),"string"!=typeof t&&d("sourceOrigin must be a string"),h("XWM Receive: Initialize receiver."),h(" callback: "+(e.name?e.name:"Anonymous function")),h(" sourceOrigin: "+t);var n=s;n.hasPostMessage?(e&&(n.rmCallback&&(window.addEventListener?window.removeEventListener("message",n.rmCallback,!1):window.detachEvent("onmessage",n.rmCallback)),n.rmCallback=function(i){if(i.origin!==t&&!new RegExp("[/|.]"+t+"$","i").test(i.origin))return!1;h("XWM Receive: Message received!"),h(" data: "+i.data),h(" sourceOrigin: "+t),e(i)}),window.addEventListener?window.addEventListener("message",n.rmCallback,!1):window.attachEvent("onmessage",n.rmCallback)):(h("XWM Receive: Starting poll..."),n.intervalId&&(clearInterval(n.intervalId),n.intervalId=null),void 0===i&&(i=n.defaultDelay),e&&(i=void 0!==i?i:200,n.intervalId=setInterval(function(){var i=document.location.hash,o=/^#?\d+&/;if(i!==n.lastHash&&o.test(i)){n.lastHash=i;var r=i.replace(o,"");h("XWM Receive: Message received!"),h(" data: "+r),h(" sourceOrigin: "+t),e({data:r})}},i)))}},l={savedViewportContent:"",set:function(){h("Optimizing viewport meta tag for mobile"),this.savedViewportContent=this._getElement().getAttribute("content");var e=this._explodePairs(this.savedViewportContent);e.width="device-width",e["maximum-scale"]="1.0",e["user-scalable"]="no",this._getElement().setAttribute("content",this._joinPairs(e))},restore:function(){h("Restoring viewport meta tag"),this._getElement().setAttribute("content",this.savedViewportContent)},_getElement:function(){var e=document.querySelector("meta[name=viewport]");return e||((e=document.createElement("meta")).setAttribute("name","viewport"),e.setAttribute("content","initial-scale=1.0"),document.head.appendChild(e)),e},_joinPairs:function(e){var t=[];for(var i in e)t.push(i+"="+e[i]);return t.join(", ")},_explodePairs:function(e){var t={};return e.split(",").forEach(function(e){var i=(e=e.trim()).split("=");t[i[0]]=i[1]}),t}},c={VERSION:i(0).version,DEFAULT_UX_VERSION:1,IFRAME_WIDTH_RATIO:.8,DEFAULT_WIDTH:900,DEFAULT_HEIGHT:900,MIN_HEIGHT:480,wrapper:null,iframe:null,overlay:null,cancelButton:null,clientId:null,isOldIE:/msie (8|7|6|5)/gi.test(a),isFF:/firefox/gi.test(a),isOpera:/opera/gi.test(a),isMobile:/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(a),baseUrl:"https://www.hellosign.com",cdnBaseUrl:"https://s3.amazonaws.com/cdn.hellofax.com",XWM:s,CULTURES:{EN_US:"en_US",FR_FR:"fr_FR",DE_DE:"de_DE",SV_SE:"sv_SE",ZH_CN:"zh_CN",DA_DK:"da_DK",NL_NL:"nl_NL",ES_ES:"es_ES",ES_MX:"es_MX",PT_BR:"pt_BR",PL_PL:"pl_PL",init:function(){return this.supportedCultures=[this.EN_US,this.FR_FR,this.DE_DE,this.SV_SE,this.ZH_CN,this.DA_DK,this.NL_NL,this.ES_ES,this.ES_MX,this.PT_BR,this.PL_PL],this}}.init(),isDebugEnabled:window.isDebugEnabled,EVENT_SIGNED:"signature_request_signed",EVENT_DECLINED:"signature_request_declined",EVENT_CANCELED:"signature_request_canceled",EVENT_REASSIGNED:"signature_request_reassigned",EVENT_SENT:"signature_request_sent",EVENT_TEMPLATE_CREATED:"template_created",EVENT_ERROR:"error",init:function(e){this.clientId=e},open:function(e){var t=this,i=this.safeUrl(e.redirectUrl),r=e.messageListener,a=this.safeUrl(e.url);if(this.uxVersion=e.uxVersion||this.DEFAULT_UX_VERSION,this.isDefaultUX=this.uxVersion===this.DEFAULT_UX_VERSION,this.healthCheckTimeoutMs=e.healthCheckTimeoutMs,this.uxVersion&&(a+=(a.indexOf("?")>0?"&":"?")+"ux_version="+this.uxVersion),void 0!==e.debug&&(this.isDebugEnabled=!0===e.debug||"true"==e.debug),void 0!==e.skipDomainVerification&&(this.skipDomainVerification=!0===e.skipDomainVerification||"true"==e.skipDomainVerification),void 0!==e.hideHeader&&(this.hideHeader=!0===e.hideHeader||"true"==e.hideHeader),void 0!==e.finalButtonText&&(this.finalButtonText=e.finalButtonText),"object"===o(e.whiteLabelingOptions)?(this.whiteLabelingOptions=JSON.stringify(e.whiteLabelingOptions),this.whiteLabelingOptions=this.whiteLabelingOptions.replace(/#/g,"")):void 0!==e.whiteLabelingOptions&&h("Invalid white labeling options supplied, option will be ignored: "+e.whiteLabelingOptions),this.isInPage=void 0!==e.container,this.container=e.container||document.body,this.isInPage&&void 0!==e.height&&(isNaN(parseInt(e.height,10))||e.height<=0))throw new Error("Invalid iFrame height ("+e.height+") it must be a valid positive number");if(h("Opening HelloSign embedded iFrame with the following params:"),h(e),!a)throw new Error("No url specified");var d=void 0===e.userCulture?this.CULTURES.EN_US:e.userCulture;if(-1===this.inArray(d,this.CULTURES.supportedCultures))throw new Error("Invalid userCulture specified: "+d);a+=a.indexOf("?")>0?"&":"?",i&&(a+="redirect_url="+encodeURIComponent(i)+"&"),a+="parent_url="+encodeURIComponent(document.location.href.replace(/\?.*/,""))+"&",a+=!0===this.skipDomainVerification?"skip_domain_verification=1&":"",a+="client_id="+this.clientId+"&",a+=void 0!==e.requester?"requester="+encodeURIComponent(e.requester)+"&":"",a+="user_culture="+d,this.isDebugEnabled&&(a+="&debug=true"),this.hideHeader&&(a+="&hideHeader=true"),this.whiteLabelingOptions&&(a+="&white_labeling_options="+encodeURI(this.whiteLabelingOptions)),this.finalButtonText&&(a+="&final_button_text="+this.finalButtonText);var u,p,f,m,g=(a+="&js_version="+this.VERSION).replace(/([^:]+:\/\/[^\/]+).*/,"$1"),b=this.getWindowDimensions(e.height),w={overlay:{position:"fixed",top:"0px",left:"0px",bottom:"0px",right:"0px","z-index":9997,display:"block","background-color":"#222",opacity:.4,"-khtml-opacity":.4,"-moz-opacity":.4,filter:"alpha(opacity=40)","-ms-filter":"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)"},wrapper:this.isInPage?{}:{position:"absolute",top:b.top,left:b.left,"z-index":9998},iframe:this.isInPage?{}:{margin:"1px","background-color":"#FFF","z-index":9998},cancelButton:{position:"absolute",top:"-13px",right:"-13px",width:"30px",height:"30px","background-image":"url("+this.cdnBaseUrl+"/css/fancybox/fancybox.png)","background-position":"-40px 0px",cursor:"pointer","z-index":9999}},v=function(){if(t.iframe){var e={};e=t.isMobile?t.getMobileDimensions():t.getWindowDimensions(),t.wrapper.style.top=e.top,t.wrapper.style.left=e.left,t.wrapper.style.width=e.widthString,t.iframe.style.height=e.heightString,t.iframe.style.width=e.widthString}};if(this.uxVersion>1)if(this.isInPage)w.wrapper.width="100%",w.wrapper.height=b.heightString,w.iframe.width="100%",w.iframe.height=b.heightString,w.iframe.border="none",w.iframe["box-shadow"]="none",w.cancelButton.display="none",this.isMobile&&(w.iframe.width="1px",w.iframe["min-width"]="100%");else if(this.isMobile){var E=this.getMobileDimensions();w.wrapper.position="absolute",w.wrapper.top="0",w.wrapper.left="0",w.wrapper.width=E.widthString,w.wrapper.height=E.heightString,w.iframe.position="absolute",w.iframe.top=0,w.iframe.left=0,w.iframe.width=E.widthString,w.iframe.height=E.heightString,w.iframe.border="none",w.iframe["box-shadow"]="none",w.cancelButton.display="none"}if(this.isInPage||(this.overlay||(this.overlay=document.createElement("div"),this.overlay.setAttribute("id","hsEmbeddedOverlay"),document.body.appendChild(this.overlay)),this.overlay.setAttribute("style","display: block;")),this.wrapper||(this.wrapper=document.createElement("div"),this.wrapper.setAttribute("id","hsEmbeddedWrapper"),this.isMobile&&window.scrollTo(0,0),this.container.appendChild(this.wrapper)),!this.isInPage)if(this.isMobile&&this.isDefaultUX){var y=document.body.clientWidth/window.innerWidth;window.onscroll=function(){var e=document.body.clientWidth/window.innerWidth;y!==e&&(y=e,v())}}else window.onresize=v;for(var _ in this.iframe||(this.iframe=document.createElement("iframe"),this.iframe.setAttribute("id","hsEmbeddedFrame"),this.wrapper.appendChild(this.iframe)),this.iframe.setAttribute("src",a),this.iframe.setAttribute("scrolling","no"),this.iframe.setAttribute("frameborder","0"),this.isDefaultUX&&this.iframe.setAttribute("width",this.DEFAULT_WIDTH),this.iframe.setAttribute("height",b.heightRaw),(-1===a.indexOf("embeddedSign")||null!=e.uxVersion&&e.uxVersion<2)&&(this.isInPage||!0!==e.allowCancel&&void 0!==e.allowCancel||this.cancelButton?!e.allowCancel&&this.cancelButton&&this.wrapper.removeChild(this.cancelButton):(this.cancelButton=document.createElement("a"),this.cancelButton.setAttribute("id","hsEmbeddedCancel"),this.cancelButton.setAttribute("href","javascript:;"),this.cancelButton.onclick=function(){c.close(),r&&(h("Reporting cancelation"),r({event:c.EVENT_CANCELED}))},this.wrapper.appendChild(this.cancelButton))),w){var x=this[_];if(x)for(var I in w[_])try{x.style[I]=w[_][I]}catch(e){h(e)}}if(this.cancelButton&&(this.isFF||this.isOpera)){var S=this.cancelButton.getAttribute("style");S+=S?"; ":"",S+="background-image: "+w.cancelButton["background-image"]+"; ",S+="background-position: "+w.cancelButton["background-position"]+";",this.cancelButton.setAttribute("style",S)}this.isInPage||this.isMobile&&!this.isDefaultUX||v(),this.isMobile&&!this.isDefaultUX&&window===window.top&&l.set(),this.isMobile&&!this.isInPage&&(this.fixIframe=(u=function(){window.scrollTo(0,0)},p=1e3,function(){var e=this,t=arguments,i=f&&!m;clearTimeout(m),m=setTimeout(function(){m=null,f||u.apply(e,t)},p),i&&u.apply(e,t)}),this.fixIframe(),window.addEventListener("scroll",this.fixIframe)),this.healthCheckTimeoutMs&&(this._healthCheckTimeoutHandle=setTimeout(function(){var e="Signer page failed to initialize within "+t.healthCheckTimeoutMs+" milliseconds.";t.reportError(e,document.location.href),t.close()},this.healthCheckTimeoutMs)),s.receive(function(i){var l=i.source||"hsEmbeddedFrame";if("initialize"===i.data&&e.uxVersion>1){t.healthCheckTimeoutMs&&clearTimeout(t._healthCheckTimeoutHandle);var d=n({},e);delete d.container,s.send(JSON.stringify({type:"embeddedConfig",payload:d}),i.origin,l)}else if("close"==i.data)c.close(),r&&e.uxVersion>1&&r({event:c.EVENT_CANCELED});else if("decline"==i.data)c.close(),r({event:c.EVENT_DECLINED});else if("reassign"==i.data)r({event:c.EVENT_REASSIGNED});else if("user-done"==i.data)c.close();else if("string"==typeof i.data&&0===i.data.indexOf("hello:")){var h=i.data.split(":")[1];s.send("helloback:"+h,a,l)}else if(r&&i.data&&"string"==typeof i.data){for(var u,p={},f=i.data.split("&"),m=function(e){var t=e;try{if("object"===o(t=JSON.parse(e)))for(var i in t)t[i]=parseJson(t[i])}catch(e){}return t},g=0;g<f.length;g++)2===(u=f[g].split("=")).length&&(p[u[0]]=m(decodeURIComponent(u[1])));r(p)}},g)},close:function(){if(this.isMobile&&!this.isDefaultUX&&window===window.top&&l.restore(),h("Closing HelloSign embedded iFrame"),this.iframe){this.cancelButton&&(this.wrapper.removeChild(this.cancelButton),this.cancelButton=null),this._fadeOutIFrame()}this.isMobile&&window.removeEventListener("scroll",this.fixIframe)},_fadeOutIFrame:function(e){var t=this;if(t.iframe){if(e?e-=.1:e=1,t.iframe.style.opacity=e,t.iframe.style.filter="alpha(opacity="+parseInt(100*e,10)+")",e<=0)return t.iframe.style.opacity=0,t.iframe.style.filter="alpha(opacity=0)",t.iframe.style.display="none",clearTimeout(i),t.overlay&&t.container.removeChild(t.overlay),t.container.removeChild(t.wrapper),t.wrapper.removeChild(t.iframe),t.overlay=null,t.iframe=null,t.wrapper=null,!1;var i=setTimeout(function(e){return function(){t._fadeOutIFrame(e)}}(e),10)}},reportError:function(e,t){s.send({event:c.EVENT_ERROR,description:e},t)},ensureParentDomain:function(e,t,i,n,o){if(window.top!=window)if("string"==typeof i)if("function"==typeof o){if(!0===n){var r="Domain verification has been skipped. Before requesting approval for your app, please be sure to test domain verification by setting skipDomainVerification to false.";h(r),alert(r),o(!0)}else s.receive(function(e){if(0===e.data.indexOf("helloback:")){var t=e.data.split(":")[1]==i;o(t)}},e);s.send("hello:"+i,t)}else d("Callback not supplied by HelloSign. Please contact support.");else d("Token not supplied by HelloSign. Please contact support.");else o(!0)},getWindowDimensions:function(e){var t,i,n=p()?window.pageXOffset:u()?document.documentElement.scrollLeft:document.body.scrollLeft,o=p()?window.pageYOffset:u()?document.documentElement.scrollTop:document.body.scrollTop;this.isOldIE?(t=document.body.clientWidth,i=document.body.clientHeight):(t=window.innerWidth,i=window.innerHeight);var r=this.isInPage&&e?e:Math.max(this.MIN_HEIGHT,i-60);return{widthString:(this.uxVersion>1?Math.min(this.DEFAULT_WIDTH,t*this.IFRAME_WIDTH_RATIO):this.DEFAULT_WIDTH)+"px",heightString:r+"px",heightRaw:r,scrollX:n,scrollY:o,top:Math.max(0,o+parseInt((i-r)/2,10))+"px",left:Math.max(0,parseInt((t-this.DEFAULT_WIDTH)/2,10))+"px"}},getMobileDimensions:function(){var e,t=screen.width,i=(screen.height,window.innerWidth);return(e=window.innerHeight>i?{widthString:this.isDefaultUX?"100vw":t+"px",heightString:this.isDefaultUX?"100vh":"100%"}:{widthString:i+"px",heightString:this.isDefaultUX?"100vh":"100%"}).top="0",e.left="0",e},inArray:function(e,t){if(this.hasJQuery)return $.inArray(e,t);if(t)for(var i=0;i<t.length;i++)if(t[i]==e)return i;return-1},safeUrl:function(e){if(e)try{e=(e=e.replace(/</g,"&lt;")).replace(/>/g,"&gt;");var t=document.createElement("div");t.innerHTML=e;var i=t.innerText;e=i||e.replace(/\&amp\;/g,"&")}catch(e){h("Could not decode url: "+e)}return e}};function d(e){void 0!==e&&(window.console&&console.log?console.log(e):alert(e))}function h(e){c.isDebugEnabled&&void 0!==e&&window.console&&console.log&&console.log(e)}function u(){return"CSS1Compat"===(document.compatMode||"")}function p(){return void 0!==window.pageXOffset}window.HelloSign=c,e.exports=c}()}])});
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.HelloSign=n():e.HelloSign=n()}(window,function(){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},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,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(n){return e[n]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=18)}([function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={classNames:{BASE:"x-hellosign-embedded",BASE_IN_MODAL:"x-hellosign-embedded--in-modal",IFRAME:"x-hellosign-embedded__iframe",MODAL_CLOSE:"x-hellosign-embedded__modal-close",MODAL_CLOSE_BTN:"x-hellosign-embedded__modal-close-button",MODAL_CONTENT:"x-hellosign-embedded__modal-content",MODAL_SCREEN:"x-hellosign-embedded__modal-screen"},events:{ERROR:"error",INITIALIZE:"initialize",SEND:"send",CLOSE:"close",CREATE_TEMPLATE:"createTemplate",DECLINE:"decline",OPEN:"open",REASSIGN:"reassign",SIGN:"sign"},iframe:{NAME:"x-hellosign-embedded"},locales:{DA_DK:"da_DK",DE_DE:"de_DE",EN_US:"en_US",ES_ES:"es_ES",ES_MX:"es_MX",FR_FR:"fr_FR",NL_NL:"nl_NL",PL_PL:"pl_PL",PT_BR:"pt_BR",SV_SE:"sv_SE",ZH_CN:"zh_CN"},messages:{APP_CONFIGURE:"hellosign:configure",APP_ERROR:"hellosign:error",APP_INITIALIZE:"hellosign:initialize",APP_VERIFY_DOMAIN_REQUEST:"hellosign:verifyDomainRequest",APP_VERIFY_DOMAIN_RESPONSE:"hellosign:verifyDomainResponse",USER_CLOSE_REQUEST:"hellosign:userCloseRequest",USER_CREATE_TEMPLATE:"hellosign:userCreateTemplate",USER_DECLINE_REQUEST:"hellosign:userDeclineRequest",USER_REASSIGN_REQUEST:"hellosign:userReassignRequest",USER_SEND_REQUEST:"hellosign:userSendRequest",USER_SIGN_REQUEST:"hellosign:userSignRequest"}};n.default=r},function(e,n){var t;t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(t=window)}e.exports=t},function(e,n,t){"use strict";t.r(n);var r=function(){function e(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(n,t,r){return t&&e(n.prototype,t),r&&e(n,r),n}}(),i=function(e,n){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}(["",""],["",""]);var o=function(){function e(){for(var n=this,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.tag=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return"function"==typeof e?n.interimTag.bind(n,e):"string"==typeof e?n.transformEndResult(e):(e=e.map(n.transformString.bind(n)),n.transformEndResult(e.reduce(n.processSubstitutions.bind(n,r))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map(function(e){return"function"==typeof e?e():e}),this.tag}return r(e,[{key:"interimTag",value:function(e,n){for(var t=arguments.length,r=Array(t>2?t-2:0),o=2;o<t;o++)r[o-2]=arguments[o];return this.tag(i,e.apply(void 0,[n].concat(r)))}},{key:"processSubstitutions",value:function(e,n,t){var r=this.transformSubstitution(e.shift(),n);return"".concat(n,r,t)}},{key:"transformString",value:function(e){return this.transformers.reduce(function(e,n){return n.onString?n.onString(e):e},e)}},{key:"transformSubstitution",value:function(e,n){return this.transformers.reduce(function(e,t){return t.onSubstitution?t.onSubstitution(e,n):e},e)}},{key:"transformEndResult",value:function(e){return this.transformers.reduce(function(e,n){return n.onEndResult?n.onEndResult(e):e},e)}}]),e}(),a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(n){if(""===e)return n.trim();if("start"===(e=e.toLowerCase())||"left"===e)return n.replace(/^\s*/,"");if("end"===e||"right"===e)return n.replace(/\s*$/,"");throw new Error("Side not supported: "+e)}}};var s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(n){if("initial"===e){var t=n.match(/^[^\S\n]*(?=\S)/gm),r=t&&Math.min.apply(Math,function(e){if(Array.isArray(e)){for(var n=0,t=Array(e.length);n<e.length;n++)t[n]=e[n];return t}return Array.from(e)}(t.map(function(e){return e.length})));if(r){var i=new RegExp("^.{"+r+"}","gm");return n.replace(i,"")}return n}if("all"===e)return n.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+e)}}},u=function(e,n){return{onEndResult:function(t){if(null==e||null==n)throw new Error("replaceResultTransformer requires at least 2 arguments.");return t.replace(e,n)}}},c=function(e,n){return{onSubstitution:function(t,r){if(null==e||null==n)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==t?t:t.toString().replace(e,n)}}},l=function(e,n){return{onString:function(t){if(null==e||null==n)throw new Error("replaceStringTransformer requires at least 2 arguments.");return t.replace(e,n)}}},f={separator:"",conjunction:"",serial:!1},d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f;return{onSubstitution:function(n,t){if(Array.isArray(n)){var r=n.length,i=e.separator,o=e.conjunction,a=e.serial,s=t.match(/(\n?[^\S\n]+)$/);if(n=s?n.join(i+s[1]):n.join(i+" "),o&&r>1){var u=n.lastIndexOf(i);n=n.slice(0,u)+(a?i:"")+" "+o+n.slice(u+1)}}return n}}},h=function(e){return{onSubstitution:function(n,t){if(null==e||"string"!=typeof e)throw new Error("You need to specify a string character to split by.");return"string"==typeof n&&n.includes(e)&&(n=n.split(e)),n}}},p=function(e){return null!=e&&!Number.isNaN(e)&&"boolean"!=typeof e},m=function(){return{onSubstitution:function(e){return Array.isArray(e)?e.filter(p):p(e)?e:""}}},g=new o(d({separator:","}),s,a),v=new o(d({separator:",",conjunction:"and"}),s,a),y=new o(d({separator:",",conjunction:"or"}),s,a),_=new o(h("\n"),m,d,s,a),b=new o(h("\n"),d,s,a,c(/&/g,"&amp;"),c(/</g,"&lt;"),c(/>/g,"&gt;"),c(/"/g,"&quot;"),c(/'/g,"&#x27;"),c(/`/g,"&#x60;")),E=new o(u(/(?:\n(?:\s*))+/g," "),a),w=new o(u(/(?:\n\s*)/g,""),a),C=new o(d({separator:","}),u(/(?:\s+)/g," "),a),S=new o(d({separator:",",conjunction:"or"}),u(/(?:\s+)/g," "),a),R=new o(d({separator:",",conjunction:"and"}),u(/(?:\s+)/g," "),a),T=new o(d,s,a),L=new o(d,u(/(?:\s+)/g," "),a),O=new o(s,a),x=new o(s("all"),a);t.d(n,"TemplateTag",function(){return o}),t.d(n,"trimResultTransformer",function(){return a}),t.d(n,"stripIndentTransformer",function(){return s}),t.d(n,"replaceResultTransformer",function(){return u}),t.d(n,"replaceSubstitutionTransformer",function(){return c}),t.d(n,"replaceStringTransformer",function(){return l}),t.d(n,"inlineArrayTransformer",function(){return d}),t.d(n,"splitStringTransformer",function(){return h}),t.d(n,"removeNonPrintingValuesTransformer",function(){return m}),t.d(n,"commaLists",function(){return g}),t.d(n,"commaListsAnd",function(){return v}),t.d(n,"commaListsOr",function(){return y}),t.d(n,"html",function(){return _}),t.d(n,"codeBlock",function(){return _}),t.d(n,"source",function(){return _}),t.d(n,"safeHtml",function(){return b}),t.d(n,"oneLine",function(){return E}),t.d(n,"oneLineTrim",function(){return w}),t.d(n,"oneLineCommaLists",function(){return C}),t.d(n,"oneLineCommaListsOr",function(){return S}),t.d(n,"oneLineCommaListsAnd",function(){return R}),t.d(n,"inlineLists",function(){return T}),t.d(n,"oneLineInlineLists",function(){return L}),t.d(n,"stripIndent",function(){return O}),t.d(n,"stripIndents",function(){return x})},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={allowCancel:!0,debug:!1,locale:function(e){return e&&e.__esModule?e:{default:e}}(t(0)).default.locales.EN_US,skipDomainVerification:!1,timeout:3e4};n.default=r},function(e,n){var t=1e3,r=60*t,i=60*r,o=24*i,a=365.25*o;function s(e,n,t){if(!(e<n))return e<1.5*n?Math.floor(e/n)+" "+t:Math.ceil(e/n)+" "+t+"s"}e.exports=function(e,n){n=n||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var n=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!n)return;var s=parseFloat(n[1]);switch((n[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*a;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*i;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===u&&!1===isNaN(e))return n.long?function(e){return s(e,o,"day")||s(e,i,"hour")||s(e,r,"minute")||s(e,t,"second")||e+" ms"}(e):function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=i)return Math.round(e/i)+"h";if(e>=r)return Math.round(e/r)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},function(e,n,t){function r(e){var t;function r(){if(r.enabled){var e=r,i=+new Date,o=i-(t||i);e.diff=o,e.prev=t,e.curr=i,t=i;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=n.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var u=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(t,r){if("%%"===t)return t;u++;var i=n.formatters[r];if("function"==typeof i){var o=a[u];t=i.call(e,o),a.splice(u,1),u--}return t}),n.formatArgs.call(e,a),(r.log||n.log||console.log.bind(console)).apply(e,a)}}return r.namespace=e,r.enabled=n.enabled(e),r.useColors=n.useColors(),r.color=function(e){var t,r=0;for(t in e)r=(r<<5)-r+e.charCodeAt(t),r|=0;return n.colors[Math.abs(r)%n.colors.length]}(e),r.destroy=i,"function"==typeof n.init&&n.init(r),n.instances.push(r),r}function i(){var e=n.instances.indexOf(this);return-1!==e&&(n.instances.splice(e,1),!0)}(n=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},n.disable=function(){n.enable("")},n.enable=function(e){var t;n.save(e),n.names=[],n.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(t=0;t<i;t++)r[t]&&("-"===(e=r[t].replace(/\*/g,".*?"))[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")));for(t=0;t<n.instances.length;t++){var o=n.instances[t];o.enabled=n.enabled(o.namespace)}},n.enabled=function(e){if("*"===e[e.length-1])return!0;var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1},n.humanize=t(4),n.instances=[],n.names=[],n.skips=[],n.formatters={}},function(e,n){var t,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&h())}function h(){if(!l){var e=s(d);l=!0;for(var n=c.length;n;){for(u=c,c=[];++f<n;)u&&u[f].run();f=-1,n=c.length}u=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(n){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}(e)}}function p(e,n){this.fun=e,this.array=n}function m(){}i.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];c.push(new p(e,n)),1!==c.length||l||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,n,t){(function(r){function i(){var e;try{e=n.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(n=e.exports=t(5)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},n.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),!t)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var i=0,o=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&"%c"===e&&(o=++i)}),e.splice(o,0,r)},n.save=function(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}},n.load=i,n.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},n.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),n.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(i())}).call(this,t(6))},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(t(7));var i=(0,r.default)("".concat("hellosign-embedded",":info")),o=(0,r.default)("".concat("hellosign-embedded",":warn")),a=(0,r.default)("".concat("hellosign-embedded",":error"));i.log=console.log.bind(console),o.log=console.warn.bind(console);var s={info:i,warn:o,error:a};n.default=s},function(e,n){function t(){}t.prototype={on:function(e,n,t){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:n,ctx:t}),this},once:function(e,n,t){var r=this;function i(){r.off(e,i),n.apply(t,arguments)}return i._=n,this.on(e,i,t)},emit:function(e){for(var n=[].slice.call(arguments,1),t=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=t.length;r<i;r++)t[r].fn.apply(t[r].ctx,n);return this},off:function(e,n){var t=this.e||(this.e={}),r=t[e],i=[];if(r&&n)for(var o=0,a=r.length;o<a;o++)r[o].fn!==n&&r[o].fn._!==n&&i.push(r[o]);return i.length?t[e]=i:delete t[e],this}},e.exports=t},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=u(t(9)),i=t(2),o=u(t(8)),a=u(t(3)),s=u(t(0));function u(e){return e&&e.__esModule?e:{default:e}}function c(){var e=h(['\n <div class="','">\n <iframe class="','" name="','" src="','" />\n </div>\n </div>\n ']);return c=function(){return e},e}function l(){var e=h(["\n <div class=",">\n <button class=",' role="button" title="Close signature request"></button>\n </div>\n ']);return l=function(){return e},e}function f(){var e=h(['\n <div class="'," ",'">\n <div class="','"></div>\n ']);return f=function(){return e},e}function d(){var e=h(['\n <div class="','">\n <iframe class="','" name="','" src="','" />\n </div>\n ']);return d=function(){return e},e}function h(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}function p(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){E(e,n,t[n])})}return e}function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,n,t){return(v="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,n,t){var r=function(e,n){for(;!Object.prototype.hasOwnProperty.call(e,n)&&null!==(e=y(e)););return e}(e,n);if(r){var i=Object.getOwnPropertyDescriptor(r,n);return i.get?i.get.call(t):i.value}})(e,n,t||e)}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _(e,n){return(_=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var w=function(e){function n(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),E(b(b(e=function(e,n){return!n||"object"!==m(n)&&"function"!=typeof n?b(e):n}(this,y(n).call(this)))),"_baseConfig",null),E(b(b(e)),"_baseEl",null),E(b(b(e)),"_config",null),E(b(b(e)),"_iFrameURL",null),E(b(b(e)),"_iFrameEl",null),E(b(b(e)),"_initTimeout",null),E(b(b(e)),"_isOpen",!1),E(b(b(e)),"_onEmbeddedClick",e._onEmbeddedClick.bind(b(b(e)))),E(b(b(e)),"_onInitTimeout",e._onInitTimeout.bind(b(b(e)))),E(b(b(e)),"_onMessage",e._onMessage.bind(b(b(e)))),o.default.info("created new HelloSign instance with options",t),!t||"object"!==m(t))throw new TypeError("Configuration must be an object");return e._baseConfig=p({},t),e}return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&_(e,n)}(n,r.default),function(e,n,t){n&&g(e.prototype,n),t&&g(e,t)}(n,[{key:"_applyClientId",value:function(e){var n=this._config.clientId;if(!n)throw new TypeError('"clientId" is required');if("string"!=typeof n)throw new TypeError('"clientId" must be a string');e.append("client_id",n)}},{key:"_applyDebug",value:function(e){var n=this._config.debug;if("boolean"!=typeof n)throw new TypeError('"debug" must be a boolean');e.append("debug",n?1:0)}},{key:"_applyFinalButtonText",value:function(e){if("finalButtonText"in this._config){var n=this._config.finalButtonText;if("string"!=typeof n)throw new TypeError('"finalButtonText" must be a string');if(!["Send","Continue"].includes(n))throw new TypeError('"finalButtonText" must be either "Send" or "Continue"');e.append("final_button_text",n)}}},{key:"_applyHideHeader",value:function(e){if("hideHeader"in this._config){var n=this._config.hideHeader;if("boolean"!=typeof n)throw new TypeError('"hideHeader" must be a boolean');e.append("hideHeader",n)}}},{key:"_applyLocale",value:function(e){var n=this._config.locale;if("string"!=typeof n)throw new TypeError('"locale" must be a string');if(!Object.values(s.default.locales).includes(n))throw new TypeError('"'.concat(n,'" is not a supported locale'));e.append("user_culture",n)}},{key:"_applyParentURL",value:function(e){e.append("parent_url",document.location.href)}},{key:"_applyRedirectTo",value:function(e){if("redirectTo"in this._config){var n=this._config.redirectTo;if("string"!=typeof n)throw new TypeError('"redirectTo" must be a string');e.append("redirect_url",n)}}},{key:"_applyRequestingEmail",value:function(e){if("requestingEmail"in this._config){var n=this._config.requestingEmail;if("string"!=typeof n)throw new TypeError('"requestingEmail" must be a string');e.append("requester",n)}}},{key:"_applySkipDomainVerification",value:function(e){var n=this._config.skipDomainVerification;if("boolean"!=typeof n)throw new TypeError('"skipDomainVerification" must be a boolean');e.append("skip_domain_verification",n?1:0)}},{key:"_applyWhiteLabeling",value:function(e){if("whiteLabeling"in this._config){var n=this._config.whiteLabeling;if("object"!==m(n))throw new TypeError('"whiteLabeling" must be an object');e.append("white_labeling_options",JSON.stringify(n))}}},{key:"_applyVersion",value:function(e){e.append("js_version","2.0.0")}},{key:"_getFrameParams",value:function(e){var n=new URLSearchParams(e.search);return this._applyClientId(n),this._applyDebug(n),this._applyFinalButtonText(n),this._applyHideHeader(n),this._applyLocale(n),this._applyParentURL(n),this._applyRedirectTo(n),this._applyRequestingEmail(n),this._applySkipDomainVerification(n),this._applyVersion(n),this._applyWhiteLabeling(n),n}},{key:"_updateFrameUrl",value:function(e){var n=new URL(e),t=this._getFrameParams(n);n.search=t.toString(),this._iFrameURL=n}},{key:"_renderMarkup",value:function(){var e=document.createElement("div");return this._config.container?e.innerHTML=(0,i.safeHtml)(d(),s.default.classNames.BASE,s.default.classNames.IFRAME,s.default.iframe.NAME,this._iFrameURL.href):e.innerHTML=(0,i.safeHtml)(f(),s.default.classNames.BASE,s.default.classNames.BASE_IN_MODAL,s.default.classNames.MODAL_SCREEN)+(this._config.allowCancel?(0,i.safeHtml)(l(),s.default.classNames.MODAL_CLOSE,s.default.classNames.MODAL_CLOSE_BTN):"")+(0,i.safeHtml)(c(),s.default.classNames.MODAL_CONTENT,s.default.classNames.IFRAME,s.default.iframe.NAME,this._iFrameURL.href),e.firstChild}},{key:"_appendMarkup",value:function(){this._baseEl=this._renderMarkup(),this._baseEl.addEventListener("click",this._onEmbeddedClick),this._iFrameEl=this._baseEl.getElementsByClassName(s.default.classNames.IFRAME).item(0),this._config.container?this._config.container.appendChild(this._baseEl):document.body.appendChild(this._baseEl)}},{key:"_clearMarkup",value:function(){this._baseEl.parentElement.removeChild(this._baseEl)}},{key:"_sendMessage",value:function(e){o.default.info("posting message",e);var n=this._iFrameURL.href;this._iFrameEl.contentWindow.postMessage(e,n)}},{key:"_sendConfigurationMessage",value:function(){o.default.info("sending app configuration message"),this._sendMessage({type:s.default.messages.APP_CONFIGURE,payload:{allowCancel:this._config.allowCancel}})}},{key:"_sendDomainVerificationMessage",value:function(e){o.default.info("sending domain verification message",e),this._sendMessage({type:s.default.messages.APP_VERIFY_DOMAIN_RESPONSE,payload:{token:e}})}},{key:"_sendInitializationErrorMessage",value:function(){o.default.info("sending initialization error message"),this._sendMessage({type:s.default.messages.APP_ERROR,payload:{message:"App failed to initialize before timeout"}})}},{key:"_startInitTimeout",value:function(){this._clearInitTimeout(),this._initTimeout=setTimeout(this._onInitTimeout,this._config.timeout)}},{key:"_clearInitTimeout",value:function(){this._initTimeout&&(clearTimeout(this._initTimeout),this._initTimeout=null)}},{key:"_appDidError",value:function(e){o.default.error("app encountered an error with code:",e.code),this.emit(s.default.events.ERROR,e)}},{key:"_appDidInitialize",value:function(e){o.default.info("app was initialized"),this.emit(s.default.events.INITIALIZE,e),this._sendConfigurationMessage(),this._clearInitTimeout()}},{key:"_appDidRequestDomainVerification",value:function(e){var n=e.token;o.default.info("app requested domain verification",n),this._sendDomainVerificationMessage(n)}},{key:"_userDidCloseRequest",value:function(){o.default.info("user requested that the window be closed"),this.close()}},{key:"_userDidCreateTemplate",value:function(e){o.default.info("user created the signature request template"),this.emit(s.default.events.CREATE_TEMPLATE,e)}},{key:"_userDidDeclineRequest",value:function(e){o.default.info("user declined the signature request"),this.emit(s.default.events.DECLINE,e)}},{key:"_userDidReassignRequest",value:function(e){o.default.info("user reassigned the signature request with reason:",e.reason),this.emit(s.default.events.REASSIGN,e)}},{key:"_userDidSendRequest",value:function(e){o.default.info("user sent the signature request"),this.emit(s.default.events.SEND,e)}},{key:"_userDidSignRequest",value:function(e){o.default.info("user signed the signature request"),this.emit(s.default.events.SIGN,e)}},{key:"_onEmbeddedClick",value:function(e){e.srcElement.classList.contains(s.default.classNames.MODAL_CLOSE_BTN)&&(e.preventDefault(),this.close())}},{key:"_onInitTimeout",value:function(){o.default.error("app failed to initialize before timeout"),this._sendInitializationErrorMessage(),this._clearInitTimeout(),this.close()}},{key:"_onMessage",value:function(e){var n=e.data,t=e.origin;o.default.info("received message",n,t),t===this._iFrameURL.origin&&"object"===m(n)&&this._delegateMessage(n)}},{key:"_delegateMessage",value:function(e){var n=e.type,t=e.payload;switch(n){case s.default.messages.APP_ERROR:this._appDidError(t);break;case s.default.messages.APP_INITIALIZE:this._appDidInitialize(t);break;case s.default.messages.APP_VERIFY_DOMAIN_REQUEST:this._appDidRequestDomainVerification(t);break;case s.default.messages.USER_CLOSE_REQUEST:this._userDidCloseRequest(t);break;case s.default.messages.USER_CREATE_TEMPLATE:this._userDidCreateTemplate(t);break;case s.default.messages.USER_DECLINE_REQUEST:this._userDidDeclineRequest(t);break;case s.default.messages.USER_REASSIGN_REQUEST:this._userDidReassignRequest(t);break;case s.default.messages.USER_SEND_REQUEST:this._userDidSendRequest(t);break;case s.default.messages.USER_SIGN_REQUEST:this._userDidSignRequest(t);break;default:o.default.warn("unhandled cross-origin window message")}}},{key:"open",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o.default.info("open()",e,n),this._isOpen&&this.close(),this._config=p({},a.default,this._baseConfig,n),this._config.container&&!(this._config.container instanceof HTMLElement))throw new TypeError('"container" must be an element');this._updateFrameUrl(e),this._appendMarkup(),this._startInitTimeout(),this._isOpen=!0,window.addEventListener("message",this._onMessage),this.emit(s.default.events.OPEN,{iFrameUrl:this._iFrameURL.href,url:e})}},{key:"close",value:function(){o.default.info("close()"),this._isOpen&&(this._clearInitTimeout(),this._clearMarkup(),this._baseEl.removeEventListener("click",this._onEmbeddedClick),this._config=null,this._baseEl=null,this._iFrameEl=null,this._iFrameURL=null,this._isOpen=!1,window.removeEventListener("message",this._onMessage),this.emit(s.default.events.CLOSE))}},{key:"emit",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];o.default.info.apply(o.default,["emit()"].concat(r)),(e=v(y(n.prototype),"emit",this)).call.apply(e,[this].concat(r))}},{key:"element",get:function(){return this._baseEl}},{key:"isOpen",get:function(){return this._isOpen}}]),n}();E(w,"classNames",s.default.classNames),E(w,"events",s.default.events),E(w,"locales",s.default.locales);var C=w;n.default=C},function(e,n){e.exports=function(e){var n="undefined"!=typeof window&&window.location;if(!n)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var t=n.protocol+"//"+n.host,r=t+n.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,n){var i,o=n.trim().replace(/^"(.*)"$/,function(e,n){return n}).replace(/^'(.*)'$/,function(e,n){return n});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?t+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")})}},function(e,n,t){var r={},i=function(e){var n;return function(){return void 0===n&&(n=e.apply(this,arguments)),n}}(function(){return window&&document&&document.all&&!window.atob}),o=function(e){var n={};return function(e,t){if("function"==typeof e)return e();if(void 0===n[e]){var r=function(e,n){return n?n.querySelector(e):document.querySelector(e)}.call(this,e,t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}n[e]=r}return n[e]}}(),a=null,s=0,u=[],c=t(11);function l(e,n){for(var t=0;t<e.length;t++){var i=e[t],o=r[i.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(g(i.parts[a],n))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(g(i.parts[a],n));r[i.id]={id:i.id,refs:1,parts:s}}}}function f(e,n){for(var t=[],r={},i=0;i<e.length;i++){var o=e[i],a=n.base?o[0]+n.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):t.push(r[a]={id:a,parts:[s]})}return t}function d(e,n){var t=o(e.insertInto);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=u[u.length-1];if("top"===e.insertAt)r?r.nextSibling?t.insertBefore(n,r.nextSibling):t.appendChild(n):t.insertBefore(n,t.firstChild),u.push(n);else if("bottom"===e.insertAt)t.appendChild(n);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=o(e.insertAt.before,t);t.insertBefore(n,i)}}function h(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var n=u.indexOf(e);n>=0&&u.splice(n,1)}function p(e){var n=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=function(){0;return t.nc}();r&&(e.attrs.nonce=r)}return m(n,e.attrs),d(e,n),n}function m(e,n){Object.keys(n).forEach(function(t){e.setAttribute(t,n[t])})}function g(e,n){var t,r,i,o;if(n.transform&&e.css){if(!(o=n.transform(e.css)))return function(){};e.css=o}if(n.singleton){var u=s++;t=a||(a=p(n)),r=y.bind(null,t,u,!1),i=y.bind(null,t,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(t=function(e){var n=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",m(n,e.attrs),d(e,n),n}(n),r=function(e,n,t){var r=t.css,i=t.sourceMap,o=void 0===n.convertToAbsoluteUrls&&i;(n.convertToAbsoluteUrls||o)&&(r=c(r));i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}.bind(null,t,n),i=function(){h(t),t.href&&URL.revokeObjectURL(t.href)}):(t=p(n),r=function(e,n){var t=n.css,r=n.media;r&&e.setAttribute("media",r);if(e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}.bind(null,t),i=function(){h(t)});return r(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;r(e=n)}else i()}}e.exports=function(e,n){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(n=n||{}).attrs="object"==typeof n.attrs?n.attrs:{},n.singleton||"boolean"==typeof n.singleton||(n.singleton=i()),n.insertInto||(n.insertInto="head"),n.insertAt||(n.insertAt="bottom");var t=f(e,n);return l(t,n),function(e){for(var i=[],o=0;o<t.length;o++){var a=t[o];(s=r[a.id]).refs--,i.push(s)}e&&l(f(e,n),n);for(o=0;o<i.length;o++){var s;if(0===(s=i[o]).refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete r[s.id]}}}};var v=function(){var e=[];return function(n,t){return e[n]=t,e.filter(Boolean).join("\n")}}();function y(e,n,t,r){var i=t?"":r.css;if(e.styleSheet)e.styleSheet.cssText=v(n,i);else{var o=document.createTextNode(i),a=e.childNodes;a[n]&&e.removeChild(a[n]),a.length?e.insertBefore(o,a[n]):e.appendChild(o)}}},function(e,n){e.exports=function(e){var n=[];return n.toString=function(){return this.map(function(n){var t=function(e,n){var t=e[1]||"",r=e[3];if(!r)return t;if(n&&"function"==typeof btoa){var i=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(r),o=r.sources.map(function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"});return[t].concat(o).concat([i]).join("\n")}return[t].join("\n")}(n,e);return n[2]?"@media "+n[2]+"{"+t+"}":t}).join("")},n.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(t&&!a[2]?a[2]=t:t&&(a[2]="("+a[2]+") and ("+t+")"),n.push(a))}},n}},function(e,n,t){(e.exports=t(13)(!1)).push([e.i,".x-hellosign-embedded {\n height: 100%; }\n .x-hellosign-embedded--in-modal {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%; }\n\n.x-hellosign-embedded__modal-screen {\n display: block;\n background-color: rgba(0, 0, 0, 0.5);\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%; }\n @media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-screen {\n display: none; } }\n\n.x-hellosign-embedded__modal-content {\n box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.25);\n position: absolute;\n top: 5vh;\n left: 50%;\n transform: translateX(-50%);\n height: 90vh;\n min-height: 400px;\n width: 80vw;\n min-width: 512px;\n max-width: 1024px; }\n @media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-content {\n overflow: hidden;\n box-shadow: none;\n height: 100%;\n min-height: 0;\n width: 100%;\n min-width: 0;\n transform: none;\n left: 0;\n top: 0; } }\n\n@media screen and (max-width: 767px) {\n .x-hellosign-embedded__modal-close {\n display: none; } }\n\n.x-hellosign-embedded__modal-close-button {\n -webkit-appearance: none;\n position: absolute;\n height: 40px;\n width: 40px;\n top: 10px;\n right: 10px;\n border: none;\n border-radius: 3px;\n background-color: #1a1a1a;\n transition: background-color 0.35s ease;\n will-change: background-color;\n box-shadow: 0px 3px 9px 0px rgba(0, 0, 0, 0.25);\n cursor: pointer; }\n .x-hellosign-embedded__modal-close-button:hover {\n background-color: #00B3E6; }\n .x-hellosign-embedded__modal-close-button::before, .x-hellosign-embedded__modal-close-button::after {\n content: '';\n position: absolute;\n width: 1px;\n background-color: white;\n height: 20px;\n top: 10px; }\n .x-hellosign-embedded__modal-close-button::before {\n transform: rotateZ(45deg); }\n .x-hellosign-embedded__modal-close-button::after {\n transform: rotateZ(-45deg); }\n\n.x-hellosign-embedded__iframe {\n min-height: 400px;\n background-color: #F7F8F9;\n height: 100%;\n width: 100%;\n border: none; }\n",""])},function(e,n,t){var r=t(14);"string"==typeof r&&(r=[[e.i,r,""]]);var i={hmr:!0,transform:void 0,insertInto:void 0};t(12)(r,i);r.locals&&(e.exports=r.locals)},function(e,n,t){(function(e){!function(e){"use strict";var n=e.URLSearchParams?e.URLSearchParams:null,t=n&&"a=1"===new n({a:1}).toString(),r=n&&"+"===new n("s=%2B").get("s"),i="__URLSearchParams__",o=c.prototype,a=!(!e.Symbol||!e.Symbol.iterator);if(!(n&&t&&r)){o.append=function(e,n){p(this[i],e,n)},o.delete=function(e){delete this[i][e]},o.get=function(e){var n=this[i];return e in n?n[e][0]:null},o.getAll=function(e){var n=this[i];return e in n?n[e].slice(0):[]},o.has=function(e){return e in this[i]},o.set=function(e,n){this[i][e]=[""+n]},o.toString=function(){var e,n,t,r,o=this[i],a=[];for(n in o)for(t=l(n),e=0,r=o[n];e<r.length;e++)a.push(t+"="+l(r[e]));return a.join("&")};var s=!!r&&n&&!t&&e.Proxy;e.URLSearchParams=s?new Proxy(n,{construct:function(e,n){return new e(new c(n[0]).toString())}}):c;var u=e.URLSearchParams.prototype;u.polyfill=!0,u.forEach=u.forEach||function(e,n){var t=h(this.toString());Object.getOwnPropertyNames(t).forEach(function(r){t[r].forEach(function(t){e.call(n,t,r,this)},this)},this)},u.sort=u.sort||function(){var e,n,t,r=h(this.toString()),i=[];for(e in r)i.push(e);for(i.sort(),n=0;n<i.length;n++)this.delete(i[n]);for(n=0;n<i.length;n++){var o=i[n],a=r[o];for(t=0;t<a.length;t++)this.append(o,a[t])}},u.keys=u.keys||function(){var e=[];return this.forEach(function(n,t){e.push(t)}),d(e)},u.values=u.values||function(){var e=[];return this.forEach(function(n){e.push(n)}),d(e)},u.entries=u.entries||function(){var e=[];return this.forEach(function(n,t){e.push([t,n])}),d(e)},a&&(u[e.Symbol.iterator]=u[e.Symbol.iterator]||u.entries)}function c(e){((e=e||"")instanceof URLSearchParams||e instanceof c)&&(e=e.toString()),this[i]=h(e)}function l(e){var n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'\(\)~]|%20|%00/g,function(e){return n[e]})}function f(e){return decodeURIComponent(e.replace(/\+/g," "))}function d(n){var t={next:function(){var e=n.shift();return{done:void 0===e,value:e}}};return a&&(t[e.Symbol.iterator]=function(){return t}),t}function h(e){var n={};if("object"==typeof e)for(var t in e)e.hasOwnProperty(t)&&p(n,t,e[t]);else{0===e.indexOf("?")&&(e=e.slice(1));for(var r=e.split("&"),i=0;i<r.length;i++){var o=r[i],a=o.indexOf("=");-1<a?p(n,f(o.slice(0,a)),f(o.slice(a+1))):o&&p(n,f(o),"")}}return n}function p(e,n,t){var r="string"==typeof t?t:null!==t&&void 0!==t&&"function"==typeof t.toString?t.toString():JSON.stringify(t);n in e?e[n].push(r):e[n]=[r]}}(void 0!==e?e:"undefined"!=typeof window?window:this)}).call(this,t(1))},function(e,n,t){(function(e){!function(e){var n=function(){try{return!!Symbol.iterator}catch(e){return!1}}(),t=function(e){var t={next:function(){var n=e.shift();return{done:void 0===n,value:n}}};return n&&(t[Symbol.iterator]=function(){return t}),t},r=function(e){return encodeURIComponent(e).replace(/%20/g,"+")},i=function(e){return decodeURIComponent(e).replace(/\+/g," ")};"URLSearchParams"in e&&"a=1"===new URLSearchParams("?a=1").toString()||function(){var o=function(e){if(Object.defineProperty(this,"_entries",{value:{}}),"string"==typeof e){if(""!==e)for(var n,t=(e=e.replace(/^\?/,"")).split("&"),r=0;r<t.length;r++)n=t[r].split("="),this.append(i(n[0]),n.length>1?i(n[1]):"")}else if(e instanceof o){var a=this;e.forEach(function(e,n){a.append(e,n)})}},a=o.prototype;a.append=function(e,n){e in this._entries?this._entries[e].push(n.toString()):this._entries[e]=[n.toString()]},a.delete=function(e){delete this._entries[e]},a.get=function(e){return e in this._entries?this._entries[e][0]:null},a.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]},a.has=function(e){return e in this._entries},a.set=function(e,n){this._entries[e]=[n.toString()]},a.forEach=function(e,n){var t;for(var r in this._entries)if(this._entries.hasOwnProperty(r)){t=this._entries[r];for(var i=0;i<t.length;i++)e.call(n,t[i],r,this)}},a.keys=function(){var e=[];return this.forEach(function(n,t){e.push(t)}),t(e)},a.values=function(){var e=[];return this.forEach(function(n){e.push(n)}),t(e)},a.entries=function(){var e=[];return this.forEach(function(n,t){e.push([t,n])}),t(e)},n&&(a[Symbol.iterator]=a.entries),a.toString=function(){var e=[];return this.forEach(function(n,t){e.push(r(t)+"="+r(n))}),e.join("&")},e.URLSearchParams=o}()}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this),function(e){if(function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()||function(){var n=e.URL,t=function(n,t){"string"!=typeof n&&(n=String(n));var r,i=document;if(t&&(void 0===e.location||t!==e.location.href)){(r=(i=document.implementation.createHTMLDocument("")).createElement("base")).href=t,i.head.appendChild(r);try{if(0!==r.href.indexOf(t))throw new Error(r.href)}catch(e){throw new Error("URL unable to set base "+t+" due to "+e)}}var o=i.createElement("a");if(o.href=n,r&&(i.body.appendChild(o),o.href=o.href),":"===o.protocol||!/:/.test(o.href))throw new TypeError("Invalid URL");Object.defineProperty(this,"_anchorElement",{value:o})},r=t.prototype;["hash","host","hostname","port","protocol","search"].forEach(function(e){!function(e){Object.defineProperty(r,e,{get:function(){return this._anchorElement[e]},set:function(n){this._anchorElement[e]=n},enumerable:!0})}(e)}),Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e},enumerable:!0},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:!0},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol],n=this._anchorElement.port!=e&&""!==this._anchorElement.port;return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(n?":"+this._anchorElement.port:"")},enumerable:!0},password:{get:function(){return""},set:function(e){},enumerable:!0},username:{get:function(){return""},set:function(e){},enumerable:!0},searchParams:{get:function(){var e=new URLSearchParams(this.search),n=this;return["append","delete","set"].forEach(function(t){var r=e[t];e[t]=function(){r.apply(e,arguments),n.search=e.toString()}}),e},enumerable:!0}}),t.createObjectURL=function(e){return n.createObjectURL.apply(n,arguments)},t.revokeObjectURL=function(e){return n.revokeObjectURL.apply(n,arguments)},e.URL=t}(),void 0!==e.location&&!("origin"in e.location)){var n=function(){return e.location.protocol+"//"+e.location.hostname+(e.location.port?":"+e.location.port:"")};try{Object.defineProperty(e.location,"origin",{get:n,enumerable:!0})}catch(t){setInterval(function(){e.location.origin=n()},100)}}}(void 0!==e?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:this)}).call(this,t(1))},function(e,n,t){t(17),t(16),t(15),e.exports=t(10)}]).default});

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc