/*! @version v4.0.6 @copyright DocuSign Inc. */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.docuSignClick=t():e.docuSignClick=t()}(window,(function(){return function(e){function t(t){for(var n,o,a=t[0],i=t[1],u=0,l=[];u=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},a=n(241);n.d(t,"a",(function(){return v}));var i=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},l=function(e){return null!=e&&"boolean"!=typeof e},s=Object(a.a)((function(e){return c(e)?e:e.replace(i,"-$&").toLowerCase()})),f=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)p={name:o.name,styles:o.styles,next:p},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),y=f("concat"),m=function(e){if(!i(e))return!1;var t=e[h];return void 0!==t?!!t:a(e)};r({target:"Array",proto:!0,forced:!v||!y},{concat:function(e){var t,n,r,o,a,i=u(this),f=s(i,0),d=0;for(t=-1,r=arguments.length;t9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n=9007199254740991)throw TypeError("Maximum allowed index exceeded");l(f,d++,a)}return f.length=d,f}})},function(e,t,n){var r=n(127),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(70);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}}},function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){0;try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=n(445)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){e.exports=n(192)},function(e,t,n){"use strict";n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return f})),n.d(t,"a",(function(){return d}));var r=n(0),o=n(34),a=(n(236),n(237),n(28)),i=n.n(a),u=n(125),c=n.n(u),l=n(239);function s(e){var t;return i()(t="".concat(e,"-")).call(t,Object(l.a)())}function f(){return(new Date).toISOString()}function d(e){var t=e.type,n=e.target,a=n,i={},u={},l={timestamp:+new Date,eventType:t};if(e instanceof KeyboardEvent){var s=e.key||e.code;s&&(l.eventKey=s),e.keyCode&&(l.eventKeyCode=e.keyCode)}if(n instanceof Element){n.id&&(l.elementId=n.id),n.tagName&&(l.tagName=n.tagName),a.computedRole&&(l.role=a.computedRole),a.computedName&&(l.ariaName=a.computedName),Object(o.a)(a.attributes).forEach((function(e){if(/^aria/.test(e.name)){var t=e.name.replace(/aria-/,""),n=t.charAt(0).toUpperCase()+c()(t).call(t,1);i["aria".concat(n)]=e.value}"role"===e.name&&(l.role=e.value)}));var f=Object(r.a)({},a.dataset);for(var d in f){var p=d.charAt(0).toUpperCase()+c()(d).call(d,1);u["data".concat(p)]=f[d]}}return Object(r.a)(Object(r.a)(Object(r.a)({},l),i),u)}},function(e,t,n){e.exports=n(273)},function(e,t){e.exports=!1},function(e,t,n){var r,o,a,i=n(309),u=n(5),c=n(11),l=n(19),s=n(15),f=n(146),d=n(101),p=n(97),h=u.WeakMap;if(i){var v=f.state||(f.state=new h),y=v.get,m=v.has,g=v.set;r=function(e,t){return t.facade=e,g.call(v,e,t),t},o=function(e){return y.call(v,e)||{}},a=function(e){return m.call(v,e)}}else{var b=d("state");p[b]=!0,r=function(e,t){return t.facade=e,l(e,b,t),t},o=function(e){return s(e,b)?e[b]:{}},a=function(e){return s(e,b)}}e.exports={set:r,get:o,has:a,enforce:function(e){return a(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t,n){var r=n(341),o=n(346);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},function(e,t,n){e.exports=n(260)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));n(35);var r=n(79),o=n(122);function a(e){return Object(o.a)(e)&&!!e.agreementUrl}function i(e){return!e||a(e)&&!Object(r.a)(e,!1,"agreementUrl")||!a(e)&&!Object(r.a)(e,!1,"environment","accountId","clickwrapId","clientUserId")?"Expected either format:\n".concat(JSON.stringify({agreementUrl:"https://..."},null," "),"\n\nOr:\n").concat(JSON.stringify({environment:"https://...",accountId:"f60217da-f1ab...",clickwrapId:"b0cce03e-cbff...",clientUserId:"..."},null," "),"\n\nReceived:\n").concat(JSON.stringify(e,null," ")):null}},function(e,t,n){"use strict";n.r(t),n.d(t,"userAction",(function(){return d})),n.d(t,"monitorEvent",(function(){return p})),n.d(t,"customTelemetry",(function(){return h})),n.d(t,"domEvent",(function(){return v})),n.d(t,"apiRequest",(function(){return y})),n.d(t,"session",(function(){return m})),n.d(t,"clientVariables",(function(){return g})),n.d(t,"applicationVariables",(function(){return b})),n.d(t,"error",(function(){return w})),n.d(t,"addInfo",(function(){return x})),n.d(t,"addErrorInfo",(function(){return k})),n.d(t,"makeParent",(function(){return E}));var r=n(57),o=n(0),a=n(28),i=n.n(a),u=n(42),c=["ActionName"],l=["ActionName"],s=["ActionName"];function f(e){return{type:"TELEMETRY_RECORD",payload:Object(o.a)(Object(o.a)({},e),{},{ActionId:Object(u.b)(e.ActionName),ActionNumber:-1,ClientTimestamp:""})}}function d(e){var t=e.ActionName,n=Object(r.a)(e,c);return f(Object(o.a)({ActionName:"USER_ACTION:".concat(t),EventCategory:"USER_ACTION"},n))}function p(e){var t=e.ActionName,n=Object(r.a)(e,l);return f(Object(o.a)({ActionName:"MONITOR:".concat(t),EventCategory:"MONITOR"},n))}function h(e){var t=e.ActionName,n=Object(r.a)(e,s);return f(Object(o.a)({ActionName:t||"CUSTOM_TELEMETRY:Unnamed",EventCategory:"CUSTOM_TELEMETRY"},n))}function v(e,t){var n,r,o=Object(u.a)(e),a=t&&t.componentName?"".concat(t.componentName,":"):"",c=o.dataQa||"MISSING_DATA_QA";return f({ActionName:i()(n=i()(r="USER_ACTION:".concat(e.type,":")).call(r,a)).call(n,c),EventCategory:"USER_ACTION",CustomData:o})}function y(e){return f(Object(o.a)({EventCategory:"API_REQUEST"},e))}function m(){return f({ActionName:"SESSION:inProgress",EventCategory:"SESSION",IsParentAction:!0})}function g(){var e=window.navigator.platform;return f({ActionName:"CLIENT_VARIABLES:set",EventCategory:"CLIENT_VARIABLES",CustomData:Object(o.a)({Host:window.location.host,UserAgent:window.navigator.userAgent},e?{Platform:e}:{})})}function b(e){return f({ActionName:"APPLICATION_VARIABLES:set",EventCategory:"APPLICATION_VARIABLES",CustomData:Object(o.a)({TelemetrySchemaVersion:2,TelemetryApiVersion:2},e)})}function w(e){var t,n=e,r=e,a=r.ActionName,i=r.Error,u=r.CorrelationToken,c=r.CustomData,l=r.ActionStatus;return t=S(i||n),f(Object(o.a)({ActionName:"ERROR:".concat(a||t.ErrorName||t.ErrorMessage),ActionStatus:l||"ERROR",CorrelationToken:u,EventCategory:"ERROR",Error:t},c?{CustomData:c}:{}))}function x(e,t){var n=t.ActionStatus,r=t.Error,a=t.CustomData,i=e.type,u=e.payload;return{type:i,payload:Object(o.a)(Object(o.a)(Object(o.a)({},u),{},{ActionStatus:n},r?{Error:S(r)}:{}),a?{CustomData:a}:{})}}function k(e,t){return x(e,{Error:t,ActionStatus:"ERROR"})}function E(e){return x(e,{IsParentAction:!0})}function S(e){if(void 0===e)return{ErrorMessage:"Error"};if("string"==typeof e)return{ErrorMessage:e};if(e instanceof Error){var t=e.message,n=void 0===t?"Error":t,r=e.name,a=e.stack;return Object(o.a)(Object(o.a)({ErrorMessage:n},r?{ErrorName:r}:{}),a?{ErrorStack:a}:{})}return e}},function(e,t,n){var r=n(448),o=n(179),a=/[&<>"']/g,i=RegExp(a.source);e.exports=function(e){return(e=o(e))&&i.test(e)?e.replace(a,r):e}},function(e,t,n){var r=n(67),o=n(102),a=n(37),i=n(36),u=n(215),c=[].push,l=function(e){var t=1==e,n=2==e,l=3==e,s=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,v,y,m){for(var g,b,w=a(h),x=o(w),k=r(v,y,3),E=i(x.length),S=0,O=m||u,j=t?O(h,E):n||d?O(h,0):void 0;E>S;S++)if((p||S in x)&&(b=k(g=x[S],S,w),e))if(t)j[S]=b;else if(b)switch(e){case 3:return!0;case 5:return g;case 6:return S;case 2:c.call(j,g)}else switch(e){case 4:return!1;case 7:c.call(j,g)}return f?-1:l||s?s:j}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}},function(e,t,n){"use strict";var r=n(155).charAt,o=n(45),a=n(194),i=o.set,u=o.getterFor("String Iterator");a(String,"String",(function(e){i(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r,o=n(10),a=n(154),i=n(151),u=n(97),c=n(212),l=n(148),s=n(101),f=s("IE_PROTO"),d=function(){},p=function(e){return"