From 103560156667c702abbb4f50b30877a7b7413152 Mon Sep 17 00:00:00 2001 From: Sean McQuay Date: Tue, 26 Mar 2019 15:33:30 -0500 Subject: [PATCH] Added legacy support to build plugin into /web directory. --- dist/plugin.js | 2 +- dist/plugin.txt | 2 +- gulp.config.js | 3 ++ tasks/bundle.js | 6 +++- tasks/clean.js | 4 ++- tasks/legacy-support.js | 18 ++++++++++ web/axure-redline-plugin.js | 69 +++++++++++++++++++++++++++++++++++++ 7 files changed, 100 insertions(+), 4 deletions(-) create mode 100644 tasks/legacy-support.js create mode 100644 web/axure-redline-plugin.js diff --git a/dist/plugin.js b/dist/plugin.js index 2d98751..6c91394 100644 --- a/dist/plugin.js +++ b/dist/plugin.js @@ -66,4 +66,4 @@ object-assign * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -Object.defineProperty(t,"__esModule",{value:!0});var n=null,r=!1,o=3,i=-1,a=-1,l=!1,u=!1;function s(){if(!l){var e=n.expirationTime;u?C():u=!0,k(f,e)}}function c(){var e=n,t=n.next;if(n===t)n=null;else{var r=n.previous;n=r.next=t,t.previous=r}e.next=e.previous=null,r=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=o,l=a;o=e,a=t;try{var u=r()}finally{o=i,a=l}if("function"==typeof u)if(u={callback:u,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=u.next=u.previous=u;else{r=null,e=n;do{if(e.expirationTime>=t){r=e;break}e=e.next}while(e!==n);null===r?r=n:r===n&&(n=u,s()),(t=r.previous).next=r.previous=u,u.next=r,u.previous=t}}function d(){if(-1===i&&null!==n&&1===n.priorityLevel){l=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{l=!1,null!==n?s():u=!1}}}function f(e){l=!0;var o=r;r=e;try{if(e)for(;null!==n;){var i=t.unstable_now();if(!(n.expirationTime<=i))break;do{c()}while(null!==n&&n.expirationTime<=i)}else if(null!==n)do{c()}while(null!==n&&!T())}finally{l=!1,r=o,null!==n?s():u=!1,d()}}var p,h,m=Date,g="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,b="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,v="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function x(e){p=b(function(t){y(h),e(t)}),h=g(function(){v(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var w=performance;t.unstable_now=function(){return w.now()}}else t.unstable_now=function(){return m.now()};var k,C,T,S=null;if("undefined"!=typeof window?S=window:void 0!==e&&(S=e),S&&S._schedMock){var E=S._schedMock;k=E[0],C=E[1],T=E[2],t.unstable_now=E[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var _=null,N=function(e){if(null!==_)try{_(e)}finally{_=null}};k=function(e){null!==_?setTimeout(k,0,e):(_=e,setTimeout(N,0,!1))},C=function(){_=null},T=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var P=null,O=!1,L=-1,M=!1,R=!1,A=0,D=33,j=33;T=function(){return A<=t.unstable_now()};var I=new MessageChannel,W=I.port2;I.port1.onmessage=function(){O=!1;var e=P,n=L;P=null,L=-1;var r=t.unstable_now(),o=!1;if(0>=A-r){if(!(-1!==n&&n<=r))return M||(M=!0,x(q)),P=e,void(L=n);o=!0}if(null!==e){R=!0;try{e(o)}finally{R=!1}}};var q=function(e){if(null!==P){x(q);var t=e-A+j;tt&&(t=8),j=tt?W.postMessage(void 0):M||(M=!0,x(q))},C=function(){P=null,O=!1,L=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=o,a=i;o=e,i=t.unstable_now();try{return n()}finally{o=r,i=a,d()}},t.unstable_next=function(e){switch(o){case 1:case 2:case 3:var n=3;break;default:n=o}var r=o,a=i;o=n,i=t.unstable_now();try{return e()}finally{o=r,i=a,d()}},t.unstable_scheduleCallback=function(e,r){var a=-1!==i?i:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=a+r.timeout;else switch(o){case 1:r=a+-1;break;case 2:r=a+250;break;case 5:r=a+1073741823;break;case 4:r=a+1e4;break;default:r=a+5e3}if(e={callback:e,priorityLevel:o,expirationTime:r,next:null,previous:null},null===n)n=e.next=e.previous=e,s();else{a=null;var l=n;do{if(l.expirationTime>r){a=l;break}l=l.next}while(l!==n);null===a?a=n:a===n&&(n=e,s()),(r=a.previous).next=a.previous=e,e.next=a,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var r=e.previous;r.next=t,t.previous=r}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=o;return function(){var r=o,a=i;o=n,i=t.unstable_now();try{return e.apply(this,arguments)}finally{o=r,i=a,d()}}},t.unstable_getCurrentPriorityLevel=function(){return o},t.unstable_shouldYield=function(){return!r&&(null!==n&&n.expirationTime=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:N(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e){return(n="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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(34);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".DimensionLineComponent {\n position: absolute; }\n .DimensionLineComponent--hovered-solid {\n z-index: 99992;\n border-width: 0;\n border-style: solid;\n border-color: #4860ff; }\n .DimensionLineComponent--hovered-dashed {\n z-index: 99993;\n border-width: 0;\n border-style: dashed;\n border-color: #4860ff; }\n .DimensionLineComponent--selected-solid {\n z-index: 99994;\n border-width: 0;\n border-style: solid;\n border-color: #e89a28; }\n .DimensionLineComponent--inter-element-dimension {\n z-index: 99991;\n border-width: 0;\n border-style: solid;\n border-color: #e89a28; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".DimensionMarkerComponent {\n font-size: 10px;\n font-weight: bold;\n position: absolute;\n z-index: 99995;\n display: flex;\n align-items: center;\n justify-content: center;\n letter-spacing: 1px;\n opacity: 0.9;\n color: #fff;\n border-radius: 5px;\n background-color: #e89a28; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(41);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".GridOverlayModule {\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n pointer-events: none; }\n .GridOverlayModule__container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n opacity: 0.2; }\n .GridOverlayModule__container--column {\n height: 100%;\n background-color: #ff5757; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(43);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ArtboardModule {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #333;\n background-image: radial-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 0);\n background-size: 10px 10px; }\n .ArtboardModule__artboard {\n position: absolute; }\n .ArtboardModule #base {\n position: relative;\n width: 100%;\n height: 100%;\n transform-origin: center; }\n .ArtboardModule--enabled .ArtboardModule__artboard *:not(.ui-dialog) {\n cursor: pointer; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){var r=n(48);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.CheckboxComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n cursor: pointer;\n color: #fff; }\n\n.CheckboxComponent__input {\n margin: 0 0 0 10px;\n cursor: pointer;\n border-radius: 5px; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(50);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ColorSwatchComponent {\n position: absolute;\n z-index: 1;\n right: 0;\n bottom: 0;\n width: 25px;\n height: 25px;\n cursor: pointer;\n border-left: solid 1px #111111;\n border-radius: 0 3px 3px 0;\n outline: none; }\n .ColorSwatchComponent__swatch {\n position: absolute;\n z-index: 2;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit; }\n .ColorSwatchComponent__checkerboard {\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit;\n background-image: linear-gradient(45deg, rgba(85, 85, 85, 0.5) 25%, transparent 25%), linear-gradient(-45deg, rgba(85, 85, 85, 0.5) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(85, 85, 85, 0.5) 75%), linear-gradient(-45deg, transparent 75%, rgba(85, 85, 85, 0.5) 75%);\n background-position: 0 0, 0 5px, 5px -5px, -5px 0;\n background-size: 10px 10px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(52);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".TooltipComponent {\n font-size: 12px;\n position: absolute;\n z-index: 1;\n visibility: hidden;\n box-sizing: border-box;\n padding: 3px 5px;\n cursor: default;\n transition: opacity ease-in-out 0.5s, visibility ease-in-out 0.5s;\n opacity: 0;\n color: #fff;\n border-radius: 3px;\n background-color: #e89a28; }\n .TooltipComponent::after {\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n content: '';\n border-width: 5px;\n border-style: solid;\n border-color: #e89a28 transparent transparent; }\n .TooltipComponent--active {\n visibility: visible;\n transition: opacity 0s, visibility 0s;\n opacity: 1; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(54);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.InputComponent {\n position: relative;\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n height: 40px; }\n .InputComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n color: #fff; }\n .InputComponent__input {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n margin-top: 0;\n padding: 4px 5px;\n cursor: text;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .InputComponent .TooltipComponent {\n top: -11px;\n left: 0; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(56);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.SelectComponent {\n position: relative; }\n .SelectComponent--disabled {\n opacity: 0.5; }\n .SelectComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n display: block;\n color: #fff; }\n .SelectComponent__select {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n margin-top: 0;\n padding: 4px 5px;\n cursor: pointer;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .SelectComponent__select--option {\n cursor: pointer; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(58);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.TextAreaComponent {\n position: relative; }\n .TextAreaComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n display: block;\n color: #fff; }\n .TextAreaComponent__textarea {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 50px;\n margin-top: 0;\n padding: 4px 5px;\n resize: none;\n cursor: text;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .TextAreaComponent .TooltipComponent {\n top: -11px;\n left: 0; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(60);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.ElementPropertiesSidebarModule {\n position: fixed;\n z-index: 99999;\n top: 50px;\n right: -265px;\n box-sizing: border-box;\n width: 270px;\n height: calc(100% - 50px);\n transition: right 0.1s ease-in-out;\n opacity: 0.9;\n background-color: #111111; }\n .ElementPropertiesSidebarModule--visible {\n right: 0; }\n .ElementPropertiesSidebarModule--visible .ElementPropertiesSidebarModule__grid-overlay {\n display: inline-block; }\n .ElementPropertiesSidebarModule__side-pull {\n position: absolute;\n top: 65px;\n left: -20px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: space-between;\n box-sizing: border-box;\n width: 20px;\n height: 40px;\n padding: 13px 0 13px 7px;\n cursor: pointer;\n border-radius: 20px 0 0 20px;\n outline: none;\n background-color: inherit; }\n .ElementPropertiesSidebarModule__side-pull > span {\n width: 100%;\n height: 2px;\n border-radius: 1px;\n background-color: #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs {\n width: 100%;\n height: calc(100% - 100px); }\n .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name {\n box-sizing: border-box;\n width: 100%;\n margin-bottom: 41px;\n padding: 0 20px; }\n .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name .InputComponent {\n margin-top: 0 !important; }\n .ElementPropertiesSidebarModule__pseudo-tabs--header {\n display: flex;\n align-items: flex-end;\n flex-direction: row;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n padding: 0 20px; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n z-index: 1;\n display: flex;\n align-items: center;\n flex-basis: 0;\n flex-grow: 1;\n justify-content: center;\n box-sizing: border-box;\n max-width: 50%;\n height: 100%;\n margin: 0 1px;\n padding: 0 5px;\n cursor: pointer;\n color: #555;\n border-radius: 3px 3px 0 0;\n background-color: #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab span {\n overflow: hidden;\n width: 100%;\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab-active {\n color: #fff;\n border-width: 1px 1px 0;\n border-style: solid;\n border-color: #fff;\n background-color: #111111; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab-inactive:hover {\n height: 105%; }\n .ElementPropertiesSidebarModule__pseudo-tabs--body {\n overflow-y: auto;\n box-sizing: border-box;\n width: 100%;\n height: calc(100% - 25px);\n margin-top: -1px;\n padding: 0 20px 20px;\n border-top: solid 1px #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs--body p {\n font-size: 12px;\n font-weight: bold;\n margin-top: 20px;\n text-transform: uppercase;\n color: #fff; }\n .ElementPropertiesSidebarModule .InputComponent,\n .ElementPropertiesSidebarModule .TextAreaComponent {\n margin-top: 10px; }\n .ElementPropertiesSidebarModule__grid-overlay {\n display: none;\n box-sizing: border-box;\n width: 100%;\n height: 100px;\n padding: 20px;\n border-top: solid 1px #fff; }\n .ElementPropertiesSidebarModule__grid-overlay--selector {\n width: 100%; }\n .ElementPropertiesSidebarModule__grid-overlay--selector .CheckboxComponent {\n margin-bottom: 10px; }\n .ElementPropertiesSidebarModule .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name ~ .ElementPropertiesSidebarModule__pseudo-tabs--body {\n height: calc(100% - 105px); }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(62);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".PrimaryControlsModule {\n display: flex;\n align-items: center;\n height: 100%; }\n .PrimaryControlsModule__control {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n height: 100%;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;\n color: #fff;\n border-radius: 5px; }\n .PrimaryControlsModule__control:hover {\n transition: background-color 0.05s ease-in-out, color 0.1s ease-in-out;\n background-color: #555; }\n .PrimaryControlsModule__control--enabled {\n color: #4edec2; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(64);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".modal-open {\n overflow: hidden; }\n\n.ModalComponent {\n position: fixed;\n z-index: 9999999;\n top: 0;\n left: 0;\n display: flex;\n visibility: hidden;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 20px; }\n .ModalComponent__overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(85, 85, 85, 0.7); }\n .ModalComponent__modal {\n position: relative;\n width: 100%;\n max-width: 500px;\n min-height: 200px;\n margin-top: 50px;\n padding: 30px;\n transition: margin-top 0.2s ease-in-out, opacity 0.2s ease-in-out;\n opacity: 0;\n border-radius: 5px;\n background-color: #fff;\n box-shadow: 0 3px 5px #333; }\n .ModalComponent__modal--body {\n width: 100%;\n height: 100%; }\n .ModalComponent__modal-close {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n cursor: pointer;\n transition: background-color 0.05s ease-in-out; }\n .ModalComponent__modal-close:hover div {\n transition: background-color 0.2s ease-in-out;\n background-color: #555; }\n .ModalComponent__modal-close div {\n width: 1px;\n height: 100%;\n transform: rotate(45deg);\n background-color: #333; }\n .ModalComponent__modal-close div::after {\n position: absolute;\n top: 0;\n left: 0;\n width: 1px;\n height: 100%;\n content: '';\n transform: rotate(-90deg);\n background-color: inherit; }\n .ModalComponent--visible {\n visibility: visible; }\n .ModalComponent--visible .ModalComponent__modal {\n margin-top: 0;\n opacity: 1; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(66);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ButtonComponent {\n font-size: 16px;\n font-weight: bold;\n height: 40px;\n padding: 0 30px;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;\n text-transform: uppercase;\n border: none;\n border-radius: 5px;\n outline: none; }\n .ButtonComponent--primary {\n color: #fff;\n background-color: #4edec2; }\n .ButtonComponent--primary:hover {\n background-color: #27d2b1; }\n .ButtonComponent--secondary {\n color: #4edec2;\n border: solid 1px #4edec2;\n background-color: #fff; }\n .ButtonComponent--secondary:hover {\n color: #fff;\n background-color: #4edec2; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(68);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".SharingLinksModule {\n display: none; }\n .SharingLinksModule__modal-block h1 {\n margin: 0;\n color: #333; }\n .SharingLinksModule__modal-block .InputComponent {\n height: 50px;\n margin-top: 20px; }\n .SharingLinksModule__modal-block .InputComponent__label {\n font-size: 16px;\n color: #333; }\n .SharingLinksModule__modal-block .InputComponent__input {\n border: solid 1px #333;\n border-radius: 5px; }\n .SharingLinksModule__modal-block .InputComponent .TooltipComponent {\n top: 0; }\n .SharingLinksModule__modal-block .ButtonComponent {\n float: right;\n margin-top: 30px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(70);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.HeaderModule {\n font-family: "Lato", sans-serif;\n position: fixed;\n z-index: 99998;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n width: 100%;\n height: 50px;\n padding: 0 30px;\n opacity: 0.9;\n background-color: #111111; }\n .HeaderModule__logo {\n font-size: 18px;\n color: #fff; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(72);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".SplashScreenModule {\n color: #333; }\n .SplashScreenModule__header {\n display: flex;\n align-items: center;\n width: 100%;\n margin-bottom: 10px; }\n .SplashScreenModule__header .IconComponent {\n margin-right: 10px;\n color: #4edec2; }\n .SplashScreenModule--disclosure {\n font-size: 14px;\n font-style: italic; }\n .SplashScreenModule h1 {\n margin: 0; }\n .SplashScreenModule h2 {\n margin: 40px 0 0; }\n .SplashScreenModule ul {\n margin: 10px 0 0;\n padding: 0 40px; }\n .SplashScreenModule li {\n margin-bottom: 10px; }\n .SplashScreenModule li:last-of-type {\n margin-bottom: 0; }\n .SplashScreenModule .ButtonComponent {\n float: right;\n margin-top: 30px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(74);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ZoomControlModule {\n position: fixed;\n z-index: 99997;\n bottom: 20px;\n left: 20px;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n opacity: 0.9;\n border-radius: 5px;\n box-shadow: 0 3px 5px #555; }\n .ZoomControlModule__zoom-input {\n font-family: \"Lato\", sans-serif;\n width: 50px;\n height: 23px;\n text-align: center;\n border: none;\n outline: none; }\n .ZoomControlModule__zoom-control {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 23px;\n height: 23px;\n padding: 6px;\n cursor: pointer;\n transition: transform 0.01s ease-in-out;\n background-color: #4edec2; }\n .ZoomControlModule__zoom-control:hover {\n transform: scale(1.05); }\n .ZoomControlModule__zoom-control span {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 2px;\n background-color: #fff; }\n .ZoomControlModule__zoom-control--negative {\n border-right: solid 1px #555;\n border-radius: 5px 0 0 5px; }\n .ZoomControlModule__zoom-control--positive {\n border-left: solid 1px #555;\n border-radius: 0 5px 5px 0; }\n .ZoomControlModule__zoom-control--positive span::before {\n position: absolute;\n top: 0;\n right: 0;\n display: inline-block;\n width: 100%;\n height: 2px;\n content: '';\n transform: rotate(90deg);\n background-color: inherit; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(76);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".LoadingIndicatorComponent {\n position: fixed;\n z-index: 999999;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background-color: #333; }\n .LoadingIndicatorComponent__spinner {\n position: relative;\n width: 40px;\n height: 40px; }\n .LoadingIndicatorComponent__spinner--animation {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n animation: sk-bounce 2s infinite ease-in-out;\n opacity: 0.6;\n border-radius: 50%;\n background-color: #fff; }\n .LoadingIndicatorComponent__spinner--animation:last-of-type {\n animation-delay: -1s; }\n\n@keyframes sk-bounce {\n 0%,\n 100% {\n transform: scale(0); }\n 50% {\n transform: scale(1); } }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(78);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,'body {\n position: static;\n left: auto;\n width: 100vw;\n height: 100vh;\n margin: 0; }\n body #base span {\n display: inline-block; }\n body .annotation {\n box-sizing: border-box;\n width: 14px !important;\n height: 14px !important;\n margin: 0;\n padding: 0;\n cursor: help !important; }\n body .annotation > div {\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: space-around;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 3px;\n border: none;\n border-radius: 3px;\n background-color: #4860ff; }\n body .annotation > div:hover {\n background-color: #1534ff; }\n body .annotation > div > div {\n width: 100%;\n height: 1px;\n margin: 0;\n padding: 0;\n border: none;\n background-color: #fff; }\n body .annotation * {\n cursor: help !important; }\n body .annnote {\n cursor: help !important; }\n body .annnote .annnotelabel {\n margin: 0;\n cursor: help !important;\n color: #fff;\n border-radius: 3px;\n background-color: #4860ff; }\n body .annnote .annnotelabel:hover {\n background-color: #1534ff; }\n body .ui-dialog {\n z-index: 99996 !important;\n padding: 0 !important;\n opacity: 0.9;\n border: solid 1px #555 !important;\n border-radius: 3px !important; }\n body .ui-dialog * {\n color: #555; }\n body .ui-dialog-titlebar {\n border: none !important;\n background-color: #555 !important; }\n body .ui-dialog-titlebar button {\n border-radius: 3px !important;\n outline: none !important; }\n body .ui-dialog-titlebar .ui-icon-closethick {\n border-radius: 3px;\n background-color: #fff; }\n body .ui-dialog-content {\n padding: 10px !important;\n border-radius: 3px; }\n body .ui-button-icon-only .ui-icon {\n top: 0 !important;\n left: 0 !important; }\n body .ui-corner-all {\n border-radius: 0; }\n\nbody {\n font-family: "Lato", sans-serif; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(13),a=n.n(i),l=n(19),u=n.n(l),s=n(14),c=n.n(s),d=n(15),f=n.n(d),p=n(4),h=n.n(p),m=n(8),g=n.n(m),y=n(5),b=n.n(y),v=n(6),x=n.n(v),w=n(3),k=n.n(w),C=n(7),T=n.n(C),S=n(2),E=n.n(S),_=n(1),N=n.n(_),P=(n(35),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.elementMarkerThickness,r=void 0===n?0:n,i=e.height,a=void 0===i?0:i,l=e.left,u=void 0===l?0:l,s=e.lineType,c=void 0===s?"":s,d=e.top,f=void 0===d?0:d,p=e.width,h=void 0===p?0:p,m={borderLeftWidth:h?0:r,borderTopWidth:a?0:r,height:a,left:u,top:f,width:h},g=c?"".concat(t.displayName,"--").concat(c):"";return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(g),style:m})}}]),t}(o.a.PureComponent));E()(P,"displayName","DimensionLineComponent"),P.propTypes={elementMarkerThickness:N.a.number.isRequired,height:N.a.number.isRequired,left:N.a.number.isRequired,lineType:N.a.string.isRequired,top:N.a.number.isRequired,width:N.a.number.isRequired};var O=P,L=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.artboardOffsetLeft,n=e.artboardOffsetTop,r=e.artboardScaledHeight,i=e.artboardScaledWidth,a=e.elementMarkerThickness,l=e.hoveredElement,u=l.height,s=l.offsetLeft,c=l.offsetTop,d=l.width;return o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:a,height:u,left:s-a,lineType:"hovered-solid",top:c,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:u,left:s+d,lineType:"hovered-solid",top:c,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:s-a,lineType:"hovered-solid",top:c,width:d+2*a}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:s-a,lineType:"hovered-solid",top:c+u,width:d+2*a}),o.a.createElement(O,{elementMarkerThickness:a,height:r,left:s-a,lineType:"hovered-dashed",top:n,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:r,left:s+d,lineType:"hovered-dashed",top:n,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:t,lineType:"hovered-dashed",top:c,width:i}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:t,lineType:"hovered-dashed",top:c+u,width:i}))}}]),t}(o.a.PureComponent);L.propTypes={artboardOffsetLeft:N.a.number.isRequired,artboardOffsetTop:N.a.number.isRequired,artboardScaledHeight:N.a.number.isRequired,artboardScaledWidth:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var M=L,R=(n(38),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.dimensionType,r=e.measurement,i=e.offsetLeft,a=e.offsetTop,l=0,u=0;"HORIZONTAL"===n?(u=i-t.width/2,l=a-t.height-t.padding):"VERTICAL"===n&&(u=i+t.padding,l=a-t.height/2);var s={height:t.height,left:u,top:l,width:t.width},c=Math.round(r);return o.a.createElement("div",{className:t.displayName,style:s},o.a.createElement("span",null,c))}}]),t}(o.a.PureComponent));E()(R,"displayName","DimensionMarkerComponent"),E()(R,"height",20),E()(R,"padding",5),E()(R,"width",30),R.propTypes={dimensionType:N.a.string.isRequired,measurement:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired};var A=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.elementMarkerThickness,n=e.hoveredElement,r=n.height,i=n.offsetLeft,a=n.offsetTop,l=n.target,u=n.trueHeight,s=n.trueOffsetLeft,c=n.trueOffsetTop,d=n.trueWidth,f=n.width,p=e.selectedElement,h=p.height,m=p.offsetLeft,g=p.offsetTop,y=p.target,b=p.trueHeight,v=p.trueOffsetLeft,x=p.trueOffsetTop,w=p.trueWidth,k=p.width,C=m-(i+f),T=m-i,S=i+f-(m+k),E=i-(m+k),_=g-(a+r),N=g-a,P=a+r-(g+h),L=a-(g+h),M=v-s,A=s+d-(v+w),D=s-(v+w),j=x-(c+u),I=x-c,W=c+u-(x+b),q=c-(x+b),H=0,z=0,B=0,F=0,U=0,V=0,G=0,$=0,Z=0,K=0,Q=0,Y=0;C>0?(B=C,F=i+f,K=v-(s+d)):T>0?(B=T,F=i,K=M):C<0&&T<0&&E<0&&S<0&&(B=Math.abs(T),F=m,K=Math.abs(M)),E>0?(U=E,V=m+k,Q=D):S>0?(U=S,V=m+k,Q=A):C<0&&T<0&&E<0&&S<0&&(U=Math.abs(S),V=i+f,Q=Math.abs(A)),_>0?(G=_,$=a+r,Y=j):N>0?(G=N,$=a,Y=I):_<0&&N<0&&P<0&&L<0&&(G=Math.abs(N),$=g,Y=Math.abs(I)),L>0?(H=L,z=g+h,Z=q):P>0?(H=P,z=g+h,Z=W):_<0&&N<0&&P<0&&L<0&&(H=Math.abs(P),z=a+r,Z=Math.abs(W));var X=y===l;return o.a.createElement(o.a.Fragment,null,X?o.a.createElement(o.a.Fragment,null,o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:w,offsetLeft:m+k/2,offsetTop:g}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:b,offsetLeft:m+k,offsetTop:g+h/2})):o.a.createElement(o.a.Fragment,null,B&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:0,left:F,lineType:"inter-element-dimension",top:g+h/2,width:B}),o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:K,offsetLeft:F+B/2,offsetTop:g+h/2})),U&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:0,left:V,lineType:"inter-element-dimension",top:g+h/2,width:U}),o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:Q,offsetLeft:V+U/2,offsetTop:g+h/2})),G&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:G,left:m+k/2,lineType:"inter-element-dimension",top:$,width:0}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:Y,offsetLeft:m+k/2,offsetTop:$+G/2})),H&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:H,left:m+k/2,lineType:"inter-element-dimension",top:z,width:0}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:Z,offsetLeft:m+k/2,offsetTop:z+H/2}))))}}]),t}(o.a.PureComponent);A.propTypes={elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired,selectedElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var D=A,j=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.elementMarkerThickness,n=e.selectedElement,r=n.height,i=n.offsetLeft,a=n.offsetTop,l=n.width;return o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:r,left:i-t,lineType:"selected-solid",top:a,width:0}),o.a.createElement(O,{elementMarkerThickness:t,height:r,left:i+l,lineType:"selected-solid",top:a,width:0}),o.a.createElement(O,{elementMarkerThickness:t,height:0,left:i-t,lineType:"selected-solid",top:a,width:l+2*t}),o.a.createElement(O,{elementMarkerThickness:t,height:0,left:i-t,lineType:"selected-solid",top:a+r,width:l+2*t}))}}]),t}(o.a.PureComponent);j.propTypes={elementMarkerThickness:N.a.number.isRequired,selectedElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var I=j,W=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.artboardOffsetLeft,n=e.artboardOffsetTop,r=e.artboardScaledHeight,i=e.artboardScaledWidth,a=e.elementMarkerThickness,l=e.hoveredElement,u=e.selectedElement,s=l.target,c=u.target;return o.a.createElement(o.a.Fragment,null,s&&o.a.createElement(M,{artboardOffsetLeft:t,artboardOffsetTop:n,artboardScaledHeight:r,artboardScaledWidth:i,elementMarkerThickness:a,hoveredElement:l}),c&&o.a.createElement(I,{elementMarkerThickness:a,selectedElement:u}),s&&c&&o.a.createElement(D,{elementMarkerThickness:a,hoveredElement:l,selectedElement:u}))}}]),t}(o.a.PureComponent);W.propTypes={artboardOffsetLeft:N.a.number.isRequired,artboardOffsetTop:N.a.number.isRequired,artboardScaledHeight:N.a.number.isRequired,artboardScaledWidth:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({}).isRequired,selectedElement:N.a.shape({}).isRequired};var q=W,H=["BOOTSTRAP_4"],z=E()({},"BOOTSTRAP_4","Bootstrap 4"),B=E()({},"BOOTSTRAP_4",{breakpoints:[{maxWidth:540,viewportWidth:576},{maxWidth:720,viewportWidth:768},{maxWidth:960,viewportWidth:992},{maxWidth:1140,viewportWidth:1200}],columns:12,gutterWidth:30}),F=(n(40),function(e){var t=e.artboardWidth,n=e.gridLayout,r=B[n],i=(r=void 0===r?{}:r).breakpoints,a=void 0===i?[]:i,l=r.columns,u=r.gutterWidth,s=function(){var e=t;return a.forEach(function(n){var r=n.maxWidth,o=void 0===r?t:r,i=n.viewportWidth;t>=i&&(e=o)}),e},c={maxWidth:s()};return o.a.createElement(o.a.Fragment,null,n&&o.a.createElement("div",{className:"GridOverlayModule"},o.a.createElement("div",{className:"".concat("GridOverlayModule","__container"),style:c},function(){for(var e=[],t=(s()-u*(l-1))/12,n=u/2,r=0;rs&&t.addClass("redline-layer"):s=sp&&!a&&p>0&&(a=!0,n=t),i?t.height()>u&&t.addClass("redline-layer"):u=uo&&!i&&o>0&&(i=!0,r=t)}),("transparent"===G()("#base").css("background-color")||G()("#base").css("background-color").search(/rgba\(\d+,\s\d+,\s\d+,\s0\)/)>=0)&&G()("#base").css("background-color","#FFFFFF"),e({artboardHeight:u,artboardWidth:s})})},Q=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.left,o=t.top,i=t.width,a=window;return{scaledHeight:n,scaledOffsetLeft:r+a.pageXOffset,scaledOffsetTop:o+a.pageYOffset,scaledWidth:i}},Y=(n(42),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).artboardRef=o.a.createRef(),n.updateArtboardMeasurements=n.updateArtboardMeasurements.bind(k()(n)),n.state={artboardOffsetLeft:0,artboardOffsetTop:0,artboardScaledHeight:0,artboardScaledWidth:0},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=this,n=this.props,r=n.setArtboardDimensions,o=n.setAxureLoaded,i=n.zoomWrapperPadding;Z("".concat(t.displayName,"__artboard")).then(function(){K().then(function(t){var n=t.artboardHeight,a=t.artboardWidth;r({artboardHeight:n,artboardWidth:a}),function(e){var t=e.artboardHeight,n=e.artboardWidth,r=e.zoomWrapperPadding,o=r-(G()(window).innerWidth()-n)/2,i=r-(G()(window).innerHeight()-t)/2;$({left:o,top:i})}({artboardHeight:n,artboardWidth:a,zoomWrapperPadding:i}),o(),e.updateArtboardMeasurements()})})}},{key:"componentDidUpdate",value:function(e){var t=e.documentZoom,n=this.props,r=n.artboardHeight,o=n.artboardWidth,i=n.documentZoom;this.updateArtboardMeasurements(),i!==t&&function(e){var t=e.artboardHeight,n=e.artboardWidth,r=e.documentZoom,o=e.previousZoom,i=0===G()("body").scrollTop()?G()("html").scrollTop():G()("body").scrollTop(),a=0===G()("body").scrollLeft()?G()("html").scrollLeft():G()("body").scrollLeft();$({left:a+(n*(r/100)-n*(o/100))/2,top:i+(t*(r/100)-t*(o/100))/2})}({artboardHeight:r,artboardWidth:o,documentZoom:i,previousZoom:t})}},{key:"updateArtboardMeasurements",value:function(){var e=this.artboardRef.current,t=Q(e),n=t.scaledHeight,r=t.scaledOffsetLeft,o=t.scaledOffsetTop,i=t.scaledWidth,a=this.state,l=a.artboardOffsetLeft,u=a.artboardOffsetTop,s=a.artboardScaledHeight,c=a.artboardScaledWidth;l===r&&u===o&&s===n&&c===i||this.setState({artboardOffsetLeft:r,artboardOffsetTop:o,artboardScaledHeight:n,artboardScaledWidth:i})}},{key:"render",value:function(){var e=this.props,n=e.artboardHeight,r=e.artboardWidth,i=e.artboardWrapperHeight,a=e.artboardWrapperWidth,l=e.documentZoom,u=e.elementMarkerThickness,s=e.gridLayout,c=e.handleClickCallback,d=e.hoveredElement,f=e.isToolEnabled,p=e.selectedElement,h=e.zoomWrapperPadding,m=this.state,g=m.artboardOffsetLeft,y=m.artboardOffsetTop,b=m.artboardScaledHeight,v=m.artboardScaledWidth,x={height:i,width:a},w={height:n,transform:"scale(".concat(l/100,")"),width:r},k=f?"".concat(t.displayName,"--enabled"):"";return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(k),onClick:c,style:x},o.a.createElement("div",{className:"".concat(t.displayName,"__artboard"),ref:this.artboardRef,style:w},o.a.createElement(U,{artboardWidth:r,gridLayout:s})),o.a.createElement(q,{artboardOffsetLeft:g,artboardOffsetTop:y,artboardScaledHeight:b,artboardScaledWidth:v,elementMarkerThickness:u,hoveredElement:d,selectedElement:p,zoomWrapperPadding:h}))}}]),t}(o.a.PureComponent));E()(Y,"displayName","ArtboardModule"),Y.propTypes={artboardHeight:N.a.number.isRequired,artboardWidth:N.a.number.isRequired,artboardWrapperHeight:N.a.number.isRequired,artboardWrapperWidth:N.a.number.isRequired,documentZoom:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,gridLayout:N.a.string.isRequired,handleClickCallback:N.a.func.isRequired,hoveredElement:N.a.shape({}).isRequired,isToolEnabled:N.a.bool.isRequired,selectedElement:N.a.shape({}).isRequired,setArtboardDimensions:N.a.func.isRequired,setAxureLoaded:N.a.func.isRequired,zoomWrapperPadding:N.a.number.isRequired};var X=Y,J=n(20),ee=n.n(J),te=n(12),ne=n.n(te),re=(n(47),function(e){var t=e.changeCallback,n=e.label;return o.a.createElement("div",{className:"CheckboxComponent"},o.a.createElement("label",{className:"".concat("CheckboxComponent","__label")},o.a.createElement("span",null,n),o.a.createElement("input",{className:"".concat("CheckboxComponent","__input"),onChange:function(e){t(e)},type:"checkbox"})))});re.propTypes={changeCallback:N.a.func.isRequired,label:N.a.string},re.defaultProps={label:""};var oe=re,ie=(n(49),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.setSwatchValue,r={backgroundColor:e.swatchColor};return o.a.createElement("div",{className:t.displayName,onClick:n,onKeyUp:n,role:"button",tabIndex:0},o.a.createElement("div",{className:"".concat(t.displayName,"__swatch"),style:r}),o.a.createElement("div",{className:"".concat(t.displayName,"__checkerboard")}))}}]),t}(o.a.PureComponent));E()(ie,"displayName","ColorSwatchComponent"),ie.propTypes={setSwatchValue:N.a.func.isRequired,swatchColor:N.a.string.isRequired};var ae=ie,le=(n(51),function(e){var t=e.isVisible?"".concat("TooltipComponent","--active"):"";return o.a.createElement("span",{className:"".concat("TooltipComponent"," ").concat(t)},"copied")});le.propTypes={isVisible:N.a.bool.isRequired};var ue=le,se={AliceBlue:{hex:"#f0f8ff",rgb:"rgb(240, 248, 255)"},AntiqueWhite:{hex:"#faebd7",rgb:"rgb(250, 235, 215)"},Aqua:{hex:"#00ffff",rgb:"rgb(0, 255, 255)"},Aquamarine:{hex:"#7fffd4",rgb:"rgb(127, 255, 212)"},Azure:{hex:"#f0ffff",rgb:"rgb(240, 255, 255)"},Beige:{hex:"#f5f5dc",rgb:"rgb(245, 245, 220)"},Bisque:{hex:"#ffe4c4",rgb:"rgb(255, 228, 196)"},Black:{hex:"#000000",rgb:"rgb(0, 0, 0)"},BlanchedAlmond:{hex:"#ffebcd",rgb:"rgb(255, 235, 205)"},Blue:{hex:"#0000ff",rgb:"rgb(0, 0, 255)"},BlueViolet:{hex:"#8a2be2",rgb:"rgb(138, 43, 226)"},Brown:{hex:"#a52a2a",rgb:"rgb(165, 42, 42)"},BurlyWood:{hex:"#deb887",rgb:"rgb(222, 184, 135)"},CadetBlue:{hex:"#5f9ea0",rgb:"rgb(95, 158, 160)"},Chartreuse:{hex:"#7fff00",rgb:"rgb(127, 255, 0)"},Chocolate:{hex:"#d2691e",rgb:"rgb(210, 105, 30)"},Coral:{hex:"#ff7f50",rgb:"rgb(255, 127, 80)"},CornflowerBlue:{hex:"#6495ed",rgb:"rgb(100, 149, 237)"},Cornsilk:{hex:"#fff8dc",rgb:"rgb(255, 248, 220)"},Crimson:{hex:"#dc143c",rgb:"rgb(220, 20, 60)"},Cyan:{hex:"#00ffff",rgb:"rgb(0, 255, 255)"},DarkBlue:{hex:"#00008b",rgb:"rgb(0, 0, 139)"},DarkCyan:{hex:"#008b8b",rgb:"rgb(0, 139, 139)"},DarkGoldenRod:{hex:"#b8860b",rgb:"rgb(184, 134, 11)"},DarkGray:{hex:"#a9a9a9",rgb:"rgb(169, 169, 169)"},DarkGreen:{hex:"#006400",rgb:"rgb(0, 100, 0)"},DarkGrey:{hex:"#a9a9a9",rgb:"rgb(169, 169, 169)"},DarkKhaki:{hex:"#bdb76b",rgb:"rgb(189, 183, 107)"},DarkMagenta:{hex:"#8b008b",rgb:"rgb(139, 0, 139)"},DarkOliveGreen:{hex:"#556b2f",rgb:"rgb(85, 107, 47)"},DarkOrange:{hex:"#ff8c00",rgb:"rgb(255, 140, 0)"},DarkOrchid:{hex:"#9932cc",rgb:"rgb(153, 50, 204)"},DarkRed:{hex:"#8b0000",rgb:"rgb(139, 0, 0)"},DarkSalmon:{hex:"#e9967a",rgb:"rgb(233, 150, 122)"},DarkSeaGreen:{hex:"#8fbc8f",rgb:"rgb(143, 188, 143)"},DarkSlateBlue:{hex:"#483d8b",rgb:"rgb(72, 61, 139)"},DarkSlateGray:{hex:"#2f4f4f",rgb:"rgb(47, 79, 79)"},DarkSlateGrey:{hex:"#2f4f4f",rgb:"rgb(47, 79, 79)"},DarkTurquoise:{hex:"#00ced1",rgb:"rgb(0, 206, 209)"},DarkViolet:{hex:"#9400d3",rgb:"rgb(148, 0, 211)"},DeepPink:{hex:"#ff1493",rgb:"rgb(255, 20, 147)"},DeepSkyBlue:{hex:"#00bfff",rgb:"rgb(0, 191, 255)"},DimGray:{hex:"#696969",rgb:"rgb(105, 105, 105)"},DimGrey:{hex:"#696969",rgb:"rgb(105, 105, 105)"},DodgerBlue:{hex:"#1e90ff",rgb:"rgb(30, 144, 255)"},FireBrick:{hex:"#b22222",rgb:"rgb(178, 34, 34)"},FloralWhite:{hex:"#fffaf0",rgb:"rgb(255, 250, 240)"},ForestGreen:{hex:"#228b22",rgb:"rgb(34, 139, 34)"},Fuchsia:{hex:"#ff00ff",rgb:"rgb(255, 0, 255)"},Gainsboro:{hex:"#dcdcdc",rgb:"rgb(220, 220, 220)"},GhostWhite:{hex:"#f8f8ff",rgb:"rgb(248, 248, 255)"},Gold:{hex:"#ffd700",rgb:"rgb(255, 215, 0)"},GoldenRod:{hex:"#daa520",rgb:"rgb(218, 165, 32)"},Gray:{hex:"#808080",rgb:"rgb(128, 128, 128)"},Green:{hex:"#008000",rgb:"rgb(0, 128, 0)"},GreenYellow:{hex:"#adff2f",rgb:"rgb(173, 255, 47)"},Grey:{hex:"#808080",rgb:"rgb(128, 128, 128)"},HoneyDew:{hex:"#f0fff0",rgb:"rgb(240, 255, 240)"},HotPink:{hex:"#ff69b4",rgb:"rgb(255, 105, 180)"},IndianRed:{hex:"#cd5c5c",rgb:"rgb(205, 92, 92)"},Indigo:{hex:"#4b0082",rgb:"rgb(75, 0, 130)"},Ivory:{hex:"#fffff0",rgb:"rgb(255, 255, 240)"},Khaki:{hex:"#f0e68c",rgb:"rgb(240, 230, 140)"},Lavender:{hex:"#e6e6fa",rgb:"rgb(230, 230, 250)"},LavenderBlush:{hex:"#fff0f5",rgb:"rgb(255, 240, 245)"},LawnGreen:{hex:"#7cfc00",rgb:"rgb(124, 252, 0)"},LemonChiffon:{hex:"#fffacd",rgb:"rgb(255, 250, 205)"},LightBlue:{hex:"#add8e6",rgb:"rgb(173, 216, 230)"},LightCoral:{hex:"#f08080",rgb:"rgb(240, 128, 128)"},LightCyan:{hex:"#e0ffff",rgb:"rgb(224, 255, 255)"},LightGoldenRodYellow:{hex:"#fafad2",rgb:"rgb(250, 250, 210)"},LightGray:{hex:"#d3d3d3",rgb:"rgb(211, 211, 211)"},LightGreen:{hex:"#90ee90",rgb:"rgb(144, 238, 144)"},LightGrey:{hex:"#d3d3d3",rgb:"rgb(211, 211, 211)"},LightPink:{hex:"#ffb6c1",rgb:"rgb(255, 182, 193)"},LightSalmon:{hex:"#ffa07a",rgb:"rgb(255, 160, 122)"},LightSeaGreen:{hex:"#20b2aa",rgb:"rgb(32, 178, 170)"},LightSkyBlue:{hex:"#87cefa",rgb:"rgb(135, 206, 250)"},LightSlateGray:{hex:"#778899",rgb:"rgb(119, 136, 153)"},LightSlateGrey:{hex:"#778899",rgb:"rgb(119, 136, 153)"},LightSteelBlue:{hex:"#b0c4de",rgb:"rgb(176, 196, 222)"},LightYellow:{hex:"#ffffe0",rgb:"rgb(255, 255, 224)"},Lime:{hex:"#00ff00",rgb:"rgb(0, 255, 0)"},LimeGreen:{hex:"#32cd32",rgb:"rgb(50, 205, 50)"},Linen:{hex:"#faf0e6",rgb:"rgb(250, 240, 230)"},Magenta:{hex:"#ff00ff",rgb:"rgb(255, 0, 255)"},Maroon:{hex:"#800000",rgb:"rgb(128, 0, 0)"},MediumAquaMarine:{hex:"#66cdaa",rgb:"rgb(102, 205, 170)"},MediumBlue:{hex:"#0000cd",rgb:"rgb(0, 0, 205)"},MediumOrchid:{hex:"#ba55d3",rgb:"rgb(186, 85, 211)"},MediumPurple:{hex:"#9370db",rgb:"rgb(147, 112, 219)"},MediumSeaGreen:{hex:"#3cb371",rgb:"rgb(60, 179, 113)"},MediumSlateBlue:{hex:"#7b68ee",rgb:"rgb(123, 104, 238)"},MediumSpringGreen:{hex:"#00fa9a",rgb:"rgb(0, 250, 154)"},MediumTurquoise:{hex:"#48d1cc",rgb:"rgb(72, 209, 204)"},MediumVioletRed:{hex:"#c71585",rgb:"rgb(199, 21, 133)"},MidnightBlue:{hex:"#191970",rgb:"rgb(25, 25, 112)"},MintCream:{hex:"#f5fffa",rgb:"rgb(245, 255, 250)"},MistyRose:{hex:"#ffe4e1",rgb:"rgb(255, 228, 225)"},Moccasin:{hex:"#ffe4b5",rgb:"rgb(255, 228, 181)"},NavajoWhite:{hex:"#ffdead",rgb:"rgb(255, 222, 173)"},Navy:{hex:"#000080",rgb:"rgb(0, 0, 128)"},OldLace:{hex:"#fdf5e6",rgb:"rgb(253, 245, 230)"},Olive:{hex:"#808000",rgb:"rgb(128, 128, 0)"},OliveDrab:{hex:"#6b8e23",rgb:"rgb(107, 142, 35)"},Orange:{hex:"#ffa500",rgb:"rgb(255, 165, 0)"},OrangeRed:{hex:"#ff4500",rgb:"rgb(255, 69, 0)"},Orchid:{hex:"#da70d6",rgb:"rgb(218, 112, 214)"},PaleGoldenRod:{hex:"#eee8aa",rgb:"rgb(238, 232, 170)"},PaleGreen:{hex:"#98fb98",rgb:"rgb(152, 251, 152)"},PaleTurquoise:{hex:"#afeeee",rgb:"rgb(175, 238, 238)"},PaleVioletRed:{hex:"#db7093",rgb:"rgb(219, 112, 147)"},PapayaWhip:{hex:"#ffefd5",rgb:"rgb(255, 239, 213)"},PeachPuff:{hex:"#ffdab9",rgb:"rgb(255, 218, 185)"},Peru:{hex:"#cd853f",rgb:"rgb(205, 133, 63)"},Pink:{hex:"#ffc0cb",rgb:"rgb(255, 192, 203)"},Plum:{hex:"#dda0dd",rgb:"rgb(221, 160, 221)"},PowderBlue:{hex:"#b0e0e6",rgb:"rgb(176, 224, 230)"},Purple:{hex:"#800080",rgb:"rgb(128, 0, 128)"},RebeccaPurple:{hex:"#663399",rgb:"rgb(102, 51, 153)"},Red:{hex:"#ff0000",rgb:"rgb(255, 0, 0)"},RosyBrown:{hex:"#bc8f8f",rgb:"rgb(188, 143, 143)"},RoyalBlue:{hex:"#4169e1",rgb:"rgb(65, 105, 225)"},SaddleBrown:{hex:"#8b4513",rgb:"rgb(139, 69, 19)"},Salmon:{hex:"#fa8072",rgb:"rgb(250, 128, 114)"},SandyBrown:{hex:"#f4a460",rgb:"rgb(244, 164, 96)"},SeaGreen:{hex:"#2e8b57",rgb:"rgb(46, 139, 87)"},SeaShell:{hex:"#fff5ee",rgb:"rgb(255, 245, 238)"},Sienna:{hex:"#a0522d",rgb:"rgb(160, 82, 45)"},Silver:{hex:"#c0c0c0",rgb:"rgb(192, 192, 192)"},SkyBlue:{hex:"#87ceeb",rgb:"rgb(135, 206, 235)"},SlateBlue:{hex:"#6a5acd",rgb:"rgb(106, 90, 205)"},SlateGray:{hex:"#708090",rgb:"rgb(112, 128, 144)"},SlateGrey:{hex:"#708090",rgb:"rgb(112, 128, 144)"},Snow:{hex:"#fffafa",rgb:"rgb(255, 250, 250)"},SpringGreen:{hex:"#00ff7f",rgb:"rgb(0, 255, 127)"},SteelBlue:{hex:"#4682b4",rgb:"rgb(70, 130, 180)"},Tan:{hex:"#d2b48c",rgb:"rgb(210, 180, 140)"},Teal:{hex:"#008080",rgb:"rgb(0, 128, 128)"},Thistle:{hex:"#d8bfd8",rgb:"rgb(216, 191, 216)"},Tomato:{hex:"#ff6347",rgb:"rgb(255, 99, 71)"},Turquoise:{hex:"#40e0d0",rgb:"rgb(64, 224, 208)"},Violet:{hex:"#ee82ee",rgb:"rgb(238, 130, 238)"},Wheat:{hex:"#f5deb3",rgb:"rgb(245, 222, 179)"},White:{hex:"#ffffff",rgb:"rgb(255, 255, 255)"},WhiteSmoke:{hex:"#f5f5f5",rgb:"rgb(245, 245, 245)"},Yellow:{hex:"#ffff00",rgb:"rgb(255, 255, 0)"},YellowGreen:{hex:"#9acd32",rgb:"rgb(154, 205, 50)"}},ce=1,de=[".annnoteimage",".annnoteline",".annotation",".ui-dialog",".ui-dialog *",".annnote",".annnote *"],fe="no-interact",pe=["DimensionLineComponent","DimensionMarkerComponent",fe],he=13,me=27,ge=189,ye=187,be=30,ve=9999,xe="redline-tool-document-zoom",we="redline-tool-splash-screen",ke="redline-tool-enabled",Ce=(n(53),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).checkColorSwatchRequired=n.checkColorSwatchRequired.bind(k()(n)),n.handleCopy=n.handleCopy.bind(k()(n)),n.setSwatchValue=n.setSwatchValue.bind(k()(n)),n.state={inputValue:"",isCopiedTooltipActive:!1,swatchColor:null},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.inputValue;e.noFormat?this.setState({inputValue:t}):this.checkColorSwatchRequired()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.inputValue,r=t.noFormat,o=e.inputValue;r&&n!==o?this.setState({inputValue:n}):n!==o&&this.checkColorSwatchRequired()}},{key:"setSwatchValue",value:function(){var e,n,r=this.state.inputValue,o="",i="",a="";if(t.rgbaRegEx.test(r)){var l=r.match(t.rgbaRegEx);o=ne()(l,1)[0],a=r.replace(t.rgbaRegEx,"!*!")}else if(t.hexRegEx.test(r)){var u=r.match(t.hexRegEx);o=ne()(u,1)[0],a=r.replace(t.hexRegEx,"!*!")}else a=r;if(/rgba/.test(o)){e=o.match(/(\d\.\d+)|\d+/g),i="#";for(var s=0;s<3;s++)i+="0".concat(Number(e[s]).toString(16).toUpperCase()).slice(-2);i+=" ".concat(100*Number(e[3]),"%")}else/%/.test(o)?(e=o.replace("#","").slice(0,6).match(/\w{2}/g),n=Number(o.replace(/#\w{6}\s/,"").replace("%",""))/100,i="rgba(".concat(parseInt(e[0],16),", ").concat(parseInt(e[1],16),", ").concat(parseInt(e[2],16),", ").concat(n,")")):/rgb\(/.test(o)?(e=o.replace(",","").match(/\d+/g),i="#",e.forEach(function(e){i+="0".concat(Number(e).toString(16).toUpperCase()).slice(-2)})):/#/.test(o)&&(e=o.replace("#","").match(/\w{2}/g),i="rgb(".concat(parseInt(e[0],16),", ").concat(parseInt(e[1],16),", ").concat(parseInt(e[2],16),")"));a=a.replace("!*!",i),this.setState({inputValue:a})}},{key:"handleCopy",value:function(e){var t=this;e.target.select(),document.execCommand("Copy"),this.setState({isCopiedTooltipActive:!0},function(){setTimeout(function(){t.setState({isCopiedTooltipActive:!1})},750)})}},{key:"checkColorSwatchRequired",value:function(){var e,n,r,o=this.props.inputValue;if(t.rgbaRegEx.test(o)&&"transparent"!==o)if(/rgba/.test(o)){var i=o.match(t.rgbaRegEx)[0].replace(/\s+/g,"");e=Math.round(100*Number(i.replace(/rgba\(\d+,\d+,\d+,(\d?(\.\d+)?)\)/,"$1")))/100,r=(r=i.replace(/rgba\((\d+),(\d+),(\d+),(\d?(\.\d+)?)\)/,"rgba($1, $2, $3, ".concat("!*!",")"))).replace("!*!",e),1===e&&(r=i.replace(/rgba\((\d+),(\d+),(\d+),(\d?(\.\d+)?)\)/,"rgb($1, $2, $3)")),n=o.replace(t.rgbaRegEx,r)}else{var a=o.match(t.rgbaRegEx),l=ne()(a,1);r=l[0]}else{var u=o.trim().toLowerCase();Object.keys(se).forEach(function(e){if(u.includes(e.toLowerCase())){var t=se[e].rgb;r=t}})}this.setState({inputValue:n||o,swatchColor:r})}},{key:"render",value:function(){var e=this.props.label,n=this.state,r=n.inputValue,i=n.isCopiedTooltipActive,a=n.swatchColor;return o.a.createElement("div",{className:t.displayName},o.a.createElement("label",{className:"".concat(t.displayName,"__label")},e),o.a.createElement("input",{className:"".concat(t.displayName,"__input"),readOnly:!0,value:r,onMouseUp:this.handleCopy}),a&&o.a.createElement(ae,{className:"".concat(t.displayName,"__color-swatch"),setSwatchValue:this.setSwatchValue,swatchColor:a}),o.a.createElement(ue,{isVisible:i}))}}]),t}(o.a.PureComponent));E()(Ce,"displayName","InputComponent"),E()(Ce,"rgbaRegEx",/rgb(a)?\(\d+,(\s+)?\d+,(\s+)?\d+(,(\s+)?\d(\.\d+)?)?\)/),E()(Ce,"hexRegEx",/#([a-fA-F]|\d){6}((\s+)?\d{1,3}%)?/),Ce.propTypes={inputValue:N.a.string.isRequired,label:N.a.string.isRequired,noFormat:N.a.bool},Ce.defaultProps={noFormat:!1};var Te=Ce,Se=(n(55),function(e){var t=e.changeCallback,n=e.isDisabled,r=e.label,i=e.options.map(function(e){var t=e.name,n=e.value;return o.a.createElement("option",{className:"".concat("SelectComponent","__select--option"),key:n,value:n},t)}),a=n&&"".concat("SelectComponent","--disabled");return o.a.createElement("div",{className:"".concat("SelectComponent"," ").concat(a)},o.a.createElement("label",{className:"".concat("SelectComponent","__label")},r,o.a.createElement("select",{className:"".concat("SelectComponent","__select"),disabled:n,onChange:function(e){t(e)}},i)))});Se.propTypes={changeCallback:N.a.func.isRequired,isDisabled:N.a.bool,label:N.a.string,options:N.a.arrayOf(N.a.shape({name:N.a.string,value:N.a.string})).isRequired},Se.defaultProps={isDisabled:!1,label:""};var Ee=Se,_e=(n(57),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).handleCopy=n.handleCopy.bind(k()(n)),n.handleScroll=n.handleScroll.bind(k()(n)),n.state={isCopiedTooltipActive:!1,isScrolling:!1},n}return T()(t,e),g()(t,[{key:"handleCopy",value:function(e){var t=this,n=this.state.isScrolling,r=e.target;n||(r.select(),document.execCommand("Copy"),this.setState({isCopiedTooltipActive:!0},function(){setTimeout(function(){t.setState({isCopiedTooltipActive:!1})},750)})),setTimeout(function(){t.setState({isScrolling:!1})},100)}},{key:"handleScroll",value:function(){this.setState({isScrolling:!0})}},{key:"render",value:function(){var e=this.props,n=e.inputValue,r=e.label,i=this.state.isCopiedTooltipActive;return o.a.createElement("div",{className:t.displayName},o.a.createElement("label",{className:"".concat(t.displayName,"__label")},r,o.a.createElement("textarea",{className:"".concat(t.displayName,"__textarea"),readOnly:!0,onMouseUp:this.handleCopy,onScroll:this.handleScroll,value:n})),o.a.createElement(ue,{isVisible:i}))}}]),t}(o.a.PureComponent));E()(_e,"displayName","TextAreaComponent"),_e.propTypes={inputValue:N.a.string.isRequired,label:N.a.string.isRequired};var Ne=_e;function Pe(e){for(var t=[],n=Object.keys(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:"",n=!1;return!t.trim().length||t.includes("none")||"0px"===t||"medium"===t||t.includes("initial")||"opacity"===e&&1===Number(t)||(n=!0),n}(n,r)){var i=r.replace(/rgba\(\d+,\s\d+,\s\d+,\s0\)/,"transparent");n!==t.COPY_BLOCK_NAME&&me.push("".concat(n,": ").concat(i,";"));le.push(n===t.COPY_BLOCK_NAME?o.a.createElement(Ne,{inputValue:i,key:n,label:"content:"}):o.a.createElement(Te,{inputValue:i,key:n,label:"".concat(n,":")}))}})}),le.push([o.a.createElement("p",{key:"css-block-attributes-header"},"CSS BLOCK ATTRIBUTES"),o.a.createElement(Ne,{inputValue:me.join("\n"),key:"css-block-attributes-body",label:"properties:"})]),le}},{key:"renderPseudoClassTabs",value:function(){var e,n,r,i=this,a=this.state,l=a.activeTab,u=a.defaultCSSAttributes,s=function(){for(var e="",t=i.props.selectedElement,n=t.target,r=t.target.id,o=void 0===r?"":r;"base"!==o&&!e;){var a=n.getAttribute("data-label");if(a)e=a;else{var l=n,u=l.parentElement,s=l.parentElement.id;n=u,o=void 0===s?"":s}}return e}();return o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs")},s&&o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--parent-component-name")},o.a.createElement(Te,{inputValue:s,label:"parent component name:"})),o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--header")},(r=[],t.pseudoClasses.forEach(function(e){var n=e.keyName;if(function(){var e=i.retrieveElementPageCSS(n),t=!1;if(Object.keys(e).length){var r=i.retrieveElementPageCSS(n),o=r.properties,a=r.styles,l=r.text;Le(o).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)}),Le(a).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)}),Le(l).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)})}return t}()||"default"===n){var a="".concat(t.displayName,n===l?"__pseudo-tabs--tab-active":"__pseudo-tabs--tab-inactive");r.push(o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--tab ").concat(a),key:n,onClick:function(){return e=n,void i.setState({activeTab:e});var e}},o.a.createElement("span",null,n)))}}),r)),o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--body")},(e=ne()(t.pseudoClasses,1)[0].keyName,n={},n=i.retrieveElementPageCSS(l),Object.keys(n).length||l!==e||(n=JSON.parse(JSON.stringify(u))),i.renderAttributes(n))))}},{key:"render",value:function(){var e=this,n=this.props,r=n.gridLayout,i=n.isToolEnabled,l=n.selectedElement,u=(l=void 0===l?{}:l).target,s=this.state.isSidebarVisible,c=!!u,d=i&&s&&"".concat(t.displayName,"--visible"),f=H.map(function(e){return{name:z[e],value:e}});return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(d)},o.a.createElement("div",{className:"".concat(t.displayName,"__side-pull"),onClick:this.toggleSidebar,onKeyUp:this.toggleSidebar,role:"button",tabIndex:0},o.a.createElement("span",null),o.a.createElement("span",null),o.a.createElement("span",null)),c&&this.renderPseudoClassTabs(),o.a.createElement("div",{className:"".concat(t.displayName,"__grid-overlay")},o.a.createElement("div",{className:"".concat(t.displayName,"__grid-overlay--selector"),ref:this.gridSelectorRef},o.a.createElement(oe,{changeCallback:function(t){var n=e.props.gridOverlaySet,r=t.target.checked,o=a.a.findDOMNode(e.gridSelectorRef.current).querySelector("select").value;n(r?o:"")},label:"GRID OVERLAY"}),o.a.createElement(Ee,{changeCallback:function(t){var n=e.props.gridOverlaySet,r=t.target.value;n(a.a.findDOMNode(e.gridSelectorRef.current).querySelector("input").checked?r:"")},isDisabled:!r,options:f}))))}}]),t}(o.a.PureComponent);E()(Me,"displayName","ElementPropertiesSidebarModule"),E()(Me,"cssAttributesList",{properties:{width:"",height:""},styles:{opacity:"",border:"","border-width":"","border-style":"","border-color":"","border-top":"","border-top-width":"","border-top-style":"","border-top-color":"","border-right":"","border-right-width":"","border-right-style":"","border-right-color":"","border-bottom":"","border-bottom-width":"","border-bottom-style":"","border-bottom-color":"","border-left":"","border-left-width":"","border-left-style":"","border-left-color":"","border-radius":"","border-top-left-radius":"","border-top-right-radius":"","border-bottom-right-radius":"","border-bottom-left-radius":"",outline:"","background-color":"","box-shadow":""},text:{"font-family":"","font-size":"","font-weight":"","line-height":"","text-align":"",color:"",_content:""}}),E()(Me,"pseudoClasses",[{axureName:"",keyName:"default",pseudoName:"Default"},{axureName:"mouseOver",keyName:"hover",pseudoName:"Hover"},{axureName:"mouseDown",keyName:"mousedown",pseudoName:"MouseDown"},{axureName:"disabled",keyName:"disabled",pseudoName:"Disabled"}]),E()(Me,"COPY_BLOCK_NAME","_content"),Me.propTypes={gridLayout:N.a.string.isRequired,gridOverlaySet:N.a.func.isRequired,isToolEnabled:N.a.bool.isRequired,selectedElement:N.a.shape({})},Me.defaultProps={selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,width:0}};var Re=Me,Ae="0 0 ".concat(50," ").concat(50),De=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.height,i=e.path,a=e.width;return o.a.createElement("svg",{className:"IconComponent",dangerouslySetInnerHTML:{__html:i},fill:n,height:r,viewBox:Ae,width:a})};De.propTypes={fill:N.a.string,height:N.a.number.isRequired,path:N.a.string.isRequired,width:N.a.number.isRequired},De.defaultProps={fill:"currentColor"};var je=De,Ie=(n(61),function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=n.state,r=t.zoomWrapperPadding,o=t.documentZoom,i=t.artboardHeight,a=t.artboardWidth,l=e.artboardHeight,u=void 0===l?i:l,s=e.artboardWidth,c=void 0===s?a:s;n.setState({artboardHeight:u,artboardWidth:c,artboardWrapperHeight:u*(o/100)+2*r,artboardWrapperWidth:c*(o/100)+2*r})}),E()(k()(n),"setToolEnabledStatus",function(e){n.setState({isToolEnabled:e}),mt(ke,e,be)}),E()(k()(n),"toggleToolEnable",function(){var e=n.state.isToolEnabled;n.clearHoveredElement(),n.clearSelectedElement(),n.setToolEnabledStatus(!e)}),E()(k()(n),"initializerListeners",function(){lt(),dt(n.handleDialogOpenCallback),st(n.handleClickCallback),ct(n.handleMouseToggleCallback),ut(n.handleMouseoverCallback),pt(n.handleZoomingCallback),ft(n.handleHotkeyCallback)}),E()(k()(n),"clearHoveredElement",f()(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({hoveredElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0}});case 1:case"end":return e.stop()}},e)}))),E()(k()(n),"clearSelectedElement",f()(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0}});case 1:case"end":return e.stop()}},e)}))),E()(k()(n),"clearToolStatus",function(){n.clearHoveredElement(),n.clearSelectedElement()}),E()(k()(n),"handleScroll",function(e){var t,r=e.target.classList;t=!1,["ElementPropertiesSidebarModule__pseudo-tabs--body","TextAreaComponent__textarea"].forEach(function(e){r.contains(e)&&(t=!0)}),t||n.clearToolStatus()}),E()(k()(n),"handleMouseoverCallback",function(e){var t=n.state,r=t.isToolEnabled,o=t.isHotkeyDepressed,i=e.target,a=e.target.classList,l=function(){return!a.contains(fe)};r&&!o&&l()?(e.stopPropagation(),n.updateHoverSelect(i,null)):r&&!l()&&n.clearHoveredElement()}),E()(k()(n),"handleClickCallback",function(e){console.log("click fired!!!!");var t,r=n.state,o=r.isToolEnabled,i=r.isHotkeyDepressed,a=e.target,l=e.target.classList,u=X.displayName;l.contains(u)?(console.log("were clear!!!!!!"),n.clearSelectedElement()):!o||i||(t=!1,l.length&&pe.forEach(function(e){l.contains(e)&&(t=!0)}),t)?i&&"select"===e.target.nodeName.toLowerCase()&&n.setState({isHotkeyDepressed:!1}):(e.stopPropagation(),e.preventDefault(),n.updateHoverSelect(null,a))}),E()(k()(n),"handleMouseToggleCallback",function(e){var t=n.state,r=t.isToolEnabled,o=t.isHotkeyDepressed;r&&!o&&(e.stopPropagation(),e.preventDefault())}),E()(k()(n),"handleDialogOpenCallback",function(e){for(var t=n.state.lastOpenedDialog,r=e.target;!r.classList.contains("annotation")&&!r.classList.contains("annnote");){r=r.parentElement}var o=Q(r),i=o.scaledOffsetLeft,a=o.scaledOffsetTop,l=o.scaledWidth,s=document.getElementsByClassName("ui-dialog"),c=document.getElementsByClassName("notesDialog"),d=s||c,f=u()(d).pop();f&&f!==t&&(f.style.left="".concat(i,"px"),f.style.top="".concat(a+l+5,"px"),n.setState({lastOpenedDialog:f}))}),E()(k()(n),"handleHotkeyCallback",function(e){e!==n.state.isHotkeyDepressed&&n.setState({isHotkeyDepressed:e},function(){n.clearToolStatus()})}),E()(k()(n),"handleZoomingCallback",function(e){var r=n.state.documentZoom;switch(e.keyCode){case me:n.clearToolStatus();break;case ye:if(e.ctrlKey||e.metaKey){e.preventDefault();var o=r+t.ZOOM_STEP;n.setArtboardZoom(o)}break;case ge:if(e.ctrlKey||e.metaKey){e.preventDefault();var i=r-t.ZOOM_STEP;n.setArtboardZoom(i)}}}),E()(k()(n),"handleSplashScreenClose",function(){mt(we,ce,ve),n.setState({shouldShowSplashScreen:!1})}),E()(k()(n),"gridOverlaySet",function(e){n.setState({gridLayout:e})}),n.state={artboardHeight:0,artboardWidth:0,artboardWrapperHeight:0,artboardWrapperWidth:0,axureLoaded:!1,documentZoom:100,elementMarkerThickness:1,gridLayout:"",hoveredElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0},isHotkeyDepressed:!1,isToolEnabled:!0,isToolPermitted:!1,lastOpenedDialog:"",selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0},shouldShowSplashScreen:!1,zoomWrapperPadding:1e3},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=gt(ke),t=gt(we)||0,n=window.parent.location.href,r=!/redline=business/.test(n),o=Number(t)=t){r=e;break}e=e.next}while(e!==n);null===r?r=n:r===n&&(n=u,s()),(t=r.previous).next=r.previous=u,u.next=r,u.previous=t}}function d(){if(-1===i&&null!==n&&1===n.priorityLevel){l=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{l=!1,null!==n?s():u=!1}}}function f(e){l=!0;var o=r;r=e;try{if(e)for(;null!==n;){var i=t.unstable_now();if(!(n.expirationTime<=i))break;do{c()}while(null!==n&&n.expirationTime<=i)}else if(null!==n)do{c()}while(null!==n&&!T())}finally{l=!1,r=o,null!==n?s():u=!1,d()}}var p,h,m=Date,g="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,b="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,v="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function x(e){p=b(function(t){y(h),e(t)}),h=g(function(){v(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var w=performance;t.unstable_now=function(){return w.now()}}else t.unstable_now=function(){return m.now()};var k,C,T,S=null;if("undefined"!=typeof window?S=window:void 0!==e&&(S=e),S&&S._schedMock){var E=S._schedMock;k=E[0],C=E[1],T=E[2],t.unstable_now=E[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var _=null,N=function(e){if(null!==_)try{_(e)}finally{_=null}};k=function(e){null!==_?setTimeout(k,0,e):(_=e,setTimeout(N,0,!1))},C=function(){_=null},T=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var P=null,O=!1,L=-1,M=!1,R=!1,A=0,D=33,j=33;T=function(){return A<=t.unstable_now()};var I=new MessageChannel,W=I.port2;I.port1.onmessage=function(){O=!1;var e=P,n=L;P=null,L=-1;var r=t.unstable_now(),o=!1;if(0>=A-r){if(!(-1!==n&&n<=r))return M||(M=!0,x(q)),P=e,void(L=n);o=!0}if(null!==e){R=!0;try{e(o)}finally{R=!1}}};var q=function(e){if(null!==P){x(q);var t=e-A+j;tt&&(t=8),j=tt?W.postMessage(void 0):M||(M=!0,x(q))},C=function(){P=null,O=!1,L=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=o,a=i;o=e,i=t.unstable_now();try{return n()}finally{o=r,i=a,d()}},t.unstable_next=function(e){switch(o){case 1:case 2:case 3:var n=3;break;default:n=o}var r=o,a=i;o=n,i=t.unstable_now();try{return e()}finally{o=r,i=a,d()}},t.unstable_scheduleCallback=function(e,r){var a=-1!==i?i:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=a+r.timeout;else switch(o){case 1:r=a+-1;break;case 2:r=a+250;break;case 5:r=a+1073741823;break;case 4:r=a+1e4;break;default:r=a+5e3}if(e={callback:e,priorityLevel:o,expirationTime:r,next:null,previous:null},null===n)n=e.next=e.previous=e,s();else{a=null;var l=n;do{if(l.expirationTime>r){a=l;break}l=l.next}while(l!==n);null===a?a=n:a===n&&(n=e,s()),(r=a.previous).next=a.previous=e,e.next=a,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var r=e.previous;r.next=t,t.previous=r}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=o;return function(){var r=o,a=i;o=n,i=t.unstable_now();try{return e.apply(this,arguments)}finally{o=r,i=a,d()}}},t.unstable_getCurrentPriorityLevel=function(){return o},t.unstable_shouldYield=function(){return!r&&(null!==n&&n.expirationTime=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:N(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e){return(n="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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(34);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".DimensionLineComponent {\n position: absolute; }\n .DimensionLineComponent--hovered-solid {\n z-index: 99992;\n border-width: 0;\n border-style: solid;\n border-color: #4860ff; }\n .DimensionLineComponent--hovered-dashed {\n z-index: 99993;\n border-width: 0;\n border-style: dashed;\n border-color: #4860ff; }\n .DimensionLineComponent--selected-solid {\n z-index: 99994;\n border-width: 0;\n border-style: solid;\n border-color: #e89a28; }\n .DimensionLineComponent--inter-element-dimension {\n z-index: 99991;\n border-width: 0;\n border-style: solid;\n border-color: #e89a28; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".DimensionMarkerComponent {\n font-size: 10px;\n font-weight: bold;\n position: absolute;\n z-index: 99995;\n display: flex;\n align-items: center;\n justify-content: center;\n letter-spacing: 1px;\n opacity: 0.9;\n color: #fff;\n border-radius: 5px;\n background-color: #e89a28; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(41);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".GridOverlayModule {\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n pointer-events: none; }\n .GridOverlayModule__container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n opacity: 0.2; }\n .GridOverlayModule__container--column {\n height: 100%;\n background-color: #ff5757; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(43);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ArtboardModule {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #333;\n background-image: radial-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 0);\n background-size: 10px 10px; }\n .ArtboardModule__artboard {\n position: absolute; }\n .ArtboardModule #base {\n position: relative;\n width: 100%;\n height: 100%;\n transform-origin: center; }\n .ArtboardModule--enabled .ArtboardModule__artboard *:not(.ui-dialog) {\n cursor: pointer; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){var r=n(48);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.CheckboxComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n cursor: pointer;\n color: #fff; }\n\n.CheckboxComponent__input {\n margin: 0 0 0 10px;\n cursor: pointer;\n border-radius: 5px; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(50);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ColorSwatchComponent {\n position: absolute;\n z-index: 1;\n right: 0;\n bottom: 0;\n width: 25px;\n height: 25px;\n cursor: pointer;\n border-left: solid 1px #111111;\n border-radius: 0 3px 3px 0;\n outline: none; }\n .ColorSwatchComponent__swatch {\n position: absolute;\n z-index: 2;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit; }\n .ColorSwatchComponent__checkerboard {\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit;\n background-image: linear-gradient(45deg, rgba(85, 85, 85, 0.5) 25%, transparent 25%), linear-gradient(-45deg, rgba(85, 85, 85, 0.5) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(85, 85, 85, 0.5) 75%), linear-gradient(-45deg, transparent 75%, rgba(85, 85, 85, 0.5) 75%);\n background-position: 0 0, 0 5px, 5px -5px, -5px 0;\n background-size: 10px 10px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(52);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".TooltipComponent {\n font-size: 12px;\n position: absolute;\n z-index: 1;\n visibility: hidden;\n box-sizing: border-box;\n padding: 3px 5px;\n cursor: default;\n transition: opacity ease-in-out 0.5s, visibility ease-in-out 0.5s;\n opacity: 0;\n color: #fff;\n border-radius: 3px;\n background-color: #e89a28; }\n .TooltipComponent::after {\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n content: '';\n border-width: 5px;\n border-style: solid;\n border-color: #e89a28 transparent transparent; }\n .TooltipComponent--active {\n visibility: visible;\n transition: opacity 0s, visibility 0s;\n opacity: 1; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(54);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.InputComponent {\n position: relative;\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n height: 40px; }\n .InputComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n color: #fff; }\n .InputComponent__input {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n margin-top: 0;\n padding: 4px 5px;\n cursor: text;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .InputComponent .TooltipComponent {\n top: -11px;\n left: 0; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(56);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.SelectComponent {\n position: relative; }\n .SelectComponent--disabled {\n opacity: 0.5; }\n .SelectComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n display: block;\n color: #fff; }\n .SelectComponent__select {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n margin-top: 0;\n padding: 4px 5px;\n cursor: pointer;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .SelectComponent__select--option {\n cursor: pointer; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(58);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.TextAreaComponent {\n position: relative; }\n .TextAreaComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n display: block;\n color: #fff; }\n .TextAreaComponent__textarea {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 50px;\n margin-top: 0;\n padding: 4px 5px;\n resize: none;\n cursor: text;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .TextAreaComponent .TooltipComponent {\n top: -11px;\n left: 0; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(60);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.ElementPropertiesSidebarModule {\n position: fixed;\n z-index: 99999;\n top: 50px;\n right: -265px;\n box-sizing: border-box;\n width: 270px;\n height: calc(100% - 50px);\n transition: right 0.1s ease-in-out;\n opacity: 0.9;\n background-color: #111111; }\n .ElementPropertiesSidebarModule--visible {\n right: 0; }\n .ElementPropertiesSidebarModule--visible .ElementPropertiesSidebarModule__grid-overlay {\n display: inline-block; }\n .ElementPropertiesSidebarModule__side-pull {\n position: absolute;\n top: 65px;\n left: -20px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: space-between;\n box-sizing: border-box;\n width: 20px;\n height: 40px;\n padding: 13px 0 13px 7px;\n cursor: pointer;\n border-radius: 20px 0 0 20px;\n outline: none;\n background-color: inherit; }\n .ElementPropertiesSidebarModule__side-pull > span {\n width: 100%;\n height: 2px;\n border-radius: 1px;\n background-color: #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs {\n width: 100%;\n height: calc(100% - 100px); }\n .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name {\n box-sizing: border-box;\n width: 100%;\n margin-bottom: 41px;\n padding: 0 20px; }\n .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name .InputComponent {\n margin-top: 0 !important; }\n .ElementPropertiesSidebarModule__pseudo-tabs--header {\n display: flex;\n align-items: flex-end;\n flex-direction: row;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n padding: 0 20px; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n z-index: 1;\n display: flex;\n align-items: center;\n flex-basis: 0;\n flex-grow: 1;\n justify-content: center;\n box-sizing: border-box;\n max-width: 50%;\n height: 100%;\n margin: 0 1px;\n padding: 0 5px;\n cursor: pointer;\n color: #555;\n border-radius: 3px 3px 0 0;\n background-color: #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab span {\n overflow: hidden;\n width: 100%;\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab-active {\n color: #fff;\n border-width: 1px 1px 0;\n border-style: solid;\n border-color: #fff;\n background-color: #111111; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab-inactive:hover {\n height: 105%; }\n .ElementPropertiesSidebarModule__pseudo-tabs--body {\n overflow-y: auto;\n box-sizing: border-box;\n width: 100%;\n height: calc(100% - 25px);\n margin-top: -1px;\n padding: 0 20px 20px;\n border-top: solid 1px #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs--body p {\n font-size: 12px;\n font-weight: bold;\n margin-top: 20px;\n text-transform: uppercase;\n color: #fff; }\n .ElementPropertiesSidebarModule .InputComponent,\n .ElementPropertiesSidebarModule .TextAreaComponent {\n margin-top: 10px; }\n .ElementPropertiesSidebarModule__grid-overlay {\n display: none;\n box-sizing: border-box;\n width: 100%;\n height: 100px;\n padding: 20px;\n border-top: solid 1px #fff; }\n .ElementPropertiesSidebarModule__grid-overlay--selector {\n width: 100%; }\n .ElementPropertiesSidebarModule__grid-overlay--selector .CheckboxComponent {\n margin-bottom: 10px; }\n .ElementPropertiesSidebarModule .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name ~ .ElementPropertiesSidebarModule__pseudo-tabs--body {\n height: calc(100% - 105px); }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(62);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".PrimaryControlsModule {\n display: flex;\n align-items: center;\n height: 100%; }\n .PrimaryControlsModule__control {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n height: 100%;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;\n color: #fff;\n border-radius: 5px; }\n .PrimaryControlsModule__control:hover {\n transition: background-color 0.05s ease-in-out, color 0.1s ease-in-out;\n background-color: #555; }\n .PrimaryControlsModule__control--enabled {\n color: #4edec2; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(64);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".modal-open {\n overflow: hidden; }\n\n.ModalComponent {\n position: fixed;\n z-index: 9999999;\n top: 0;\n left: 0;\n display: flex;\n visibility: hidden;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 20px; }\n .ModalComponent__overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(85, 85, 85, 0.7); }\n .ModalComponent__modal {\n position: relative;\n width: 100%;\n max-width: 500px;\n min-height: 200px;\n margin-top: 50px;\n padding: 30px;\n transition: margin-top 0.2s ease-in-out, opacity 0.2s ease-in-out;\n opacity: 0;\n border-radius: 5px;\n background-color: #fff;\n box-shadow: 0 3px 5px #333; }\n .ModalComponent__modal--body {\n width: 100%;\n height: 100%; }\n .ModalComponent__modal-close {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n cursor: pointer;\n transition: background-color 0.05s ease-in-out; }\n .ModalComponent__modal-close:hover div {\n transition: background-color 0.2s ease-in-out;\n background-color: #555; }\n .ModalComponent__modal-close div {\n width: 1px;\n height: 100%;\n transform: rotate(45deg);\n background-color: #333; }\n .ModalComponent__modal-close div::after {\n position: absolute;\n top: 0;\n left: 0;\n width: 1px;\n height: 100%;\n content: '';\n transform: rotate(-90deg);\n background-color: inherit; }\n .ModalComponent--visible {\n visibility: visible; }\n .ModalComponent--visible .ModalComponent__modal {\n margin-top: 0;\n opacity: 1; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(66);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ButtonComponent {\n font-size: 16px;\n font-weight: bold;\n height: 40px;\n padding: 0 30px;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;\n text-transform: uppercase;\n border: none;\n border-radius: 5px;\n outline: none; }\n .ButtonComponent--primary {\n color: #fff;\n background-color: #4edec2; }\n .ButtonComponent--primary:hover {\n background-color: #27d2b1; }\n .ButtonComponent--secondary {\n color: #4edec2;\n border: solid 1px #4edec2;\n background-color: #fff; }\n .ButtonComponent--secondary:hover {\n color: #fff;\n background-color: #4edec2; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(68);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".SharingLinksModule {\n display: none; }\n .SharingLinksModule__modal-block h1 {\n margin: 0;\n color: #333; }\n .SharingLinksModule__modal-block .InputComponent {\n height: 50px;\n margin-top: 20px; }\n .SharingLinksModule__modal-block .InputComponent__label {\n font-size: 16px;\n color: #333; }\n .SharingLinksModule__modal-block .InputComponent__input {\n border: solid 1px #333;\n border-radius: 5px; }\n .SharingLinksModule__modal-block .InputComponent .TooltipComponent {\n top: 0; }\n .SharingLinksModule__modal-block .ButtonComponent {\n float: right;\n margin-top: 30px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(70);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.HeaderModule {\n font-family: "Lato", sans-serif;\n position: fixed;\n z-index: 99998;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n width: 100%;\n height: 50px;\n padding: 0 30px;\n opacity: 0.9;\n background-color: #111111; }\n .HeaderModule__logo {\n font-size: 18px;\n color: #fff; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(72);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".SplashScreenModule {\n color: #333; }\n .SplashScreenModule__header {\n display: flex;\n align-items: center;\n width: 100%;\n margin-bottom: 10px; }\n .SplashScreenModule__header .IconComponent {\n margin-right: 10px;\n color: #4edec2; }\n .SplashScreenModule--disclosure {\n font-size: 14px;\n font-style: italic; }\n .SplashScreenModule h1 {\n margin: 0; }\n .SplashScreenModule h2 {\n margin: 40px 0 0; }\n .SplashScreenModule ul {\n margin: 10px 0 0;\n padding: 0 40px; }\n .SplashScreenModule li {\n margin-bottom: 10px; }\n .SplashScreenModule li:last-of-type {\n margin-bottom: 0; }\n .SplashScreenModule .ButtonComponent {\n float: right;\n margin-top: 30px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(74);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ZoomControlModule {\n position: fixed;\n z-index: 99997;\n bottom: 20px;\n left: 20px;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n opacity: 0.9;\n border-radius: 5px;\n box-shadow: 0 3px 5px #555; }\n .ZoomControlModule__zoom-input {\n font-family: \"Lato\", sans-serif;\n width: 50px;\n height: 23px;\n text-align: center;\n border: none;\n outline: none; }\n .ZoomControlModule__zoom-control {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 23px;\n height: 23px;\n padding: 6px;\n cursor: pointer;\n transition: transform 0.01s ease-in-out;\n background-color: #4edec2; }\n .ZoomControlModule__zoom-control:hover {\n transform: scale(1.05); }\n .ZoomControlModule__zoom-control span {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 2px;\n background-color: #fff; }\n .ZoomControlModule__zoom-control--negative {\n border-right: solid 1px #555;\n border-radius: 5px 0 0 5px; }\n .ZoomControlModule__zoom-control--positive {\n border-left: solid 1px #555;\n border-radius: 0 5px 5px 0; }\n .ZoomControlModule__zoom-control--positive span::before {\n position: absolute;\n top: 0;\n right: 0;\n display: inline-block;\n width: 100%;\n height: 2px;\n content: '';\n transform: rotate(90deg);\n background-color: inherit; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(76);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".LoadingIndicatorComponent {\n position: fixed;\n z-index: 999999;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background-color: #333; }\n .LoadingIndicatorComponent__spinner {\n position: relative;\n width: 40px;\n height: 40px; }\n .LoadingIndicatorComponent__spinner--animation {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n animation: sk-bounce 2s infinite ease-in-out;\n opacity: 0.6;\n border-radius: 50%;\n background-color: #fff; }\n .LoadingIndicatorComponent__spinner--animation:last-of-type {\n animation-delay: -1s; }\n\n@keyframes sk-bounce {\n 0%,\n 100% {\n transform: scale(0); }\n 50% {\n transform: scale(1); } }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(78);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,'body {\n position: static;\n left: auto;\n width: 100vw;\n height: 100vh;\n margin: 0; }\n body #base span {\n display: inline-block; }\n body .annotation {\n box-sizing: border-box;\n width: 14px !important;\n height: 14px !important;\n margin: 0;\n padding: 0;\n cursor: help !important; }\n body .annotation > div {\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: space-around;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 3px;\n border: none;\n border-radius: 3px;\n background-color: #4860ff; }\n body .annotation > div:hover {\n background-color: #1534ff; }\n body .annotation > div > div {\n width: 100%;\n height: 1px;\n margin: 0;\n padding: 0;\n border: none;\n background-color: #fff; }\n body .annotation * {\n cursor: help !important; }\n body .annnote {\n cursor: help !important; }\n body .annnote .annnotelabel {\n margin: 0;\n cursor: help !important;\n color: #fff;\n border-radius: 3px;\n background-color: #4860ff; }\n body .annnote .annnotelabel:hover {\n background-color: #1534ff; }\n body .ui-dialog {\n z-index: 99996 !important;\n padding: 0 !important;\n opacity: 0.9;\n border: solid 1px #555 !important;\n border-radius: 3px !important; }\n body .ui-dialog * {\n color: #555; }\n body .ui-dialog-titlebar {\n border: none !important;\n background-color: #555 !important; }\n body .ui-dialog-titlebar button {\n border-radius: 3px !important;\n outline: none !important; }\n body .ui-dialog-titlebar .ui-icon-closethick {\n border-radius: 3px;\n background-color: #fff; }\n body .ui-dialog-content {\n padding: 10px !important;\n border-radius: 3px; }\n body .ui-button-icon-only .ui-icon {\n top: 0 !important;\n left: 0 !important; }\n body .ui-corner-all {\n border-radius: 0; }\n\nbody {\n font-family: "Lato", sans-serif; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(13),a=n.n(i),l=n(19),u=n.n(l),s=n(14),c=n.n(s),d=n(15),f=n.n(d),p=n(4),h=n.n(p),m=n(8),g=n.n(m),y=n(5),b=n.n(y),v=n(6),x=n.n(v),w=n(3),k=n.n(w),C=n(7),T=n.n(C),S=n(2),E=n.n(S),_=n(1),N=n.n(_),P=(n(35),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.elementMarkerThickness,r=void 0===n?0:n,i=e.height,a=void 0===i?0:i,l=e.left,u=void 0===l?0:l,s=e.lineType,c=void 0===s?"":s,d=e.top,f=void 0===d?0:d,p=e.width,h=void 0===p?0:p,m={borderLeftWidth:h?0:r,borderTopWidth:a?0:r,height:a,left:u,top:f,width:h},g=c?"".concat(t.displayName,"--").concat(c):"";return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(g),style:m})}}]),t}(o.a.PureComponent));E()(P,"displayName","DimensionLineComponent"),P.propTypes={elementMarkerThickness:N.a.number.isRequired,height:N.a.number.isRequired,left:N.a.number.isRequired,lineType:N.a.string.isRequired,top:N.a.number.isRequired,width:N.a.number.isRequired};var O=P,L=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.artboardOffsetLeft,n=e.artboardOffsetTop,r=e.artboardScaledHeight,i=e.artboardScaledWidth,a=e.elementMarkerThickness,l=e.hoveredElement,u=l.height,s=l.offsetLeft,c=l.offsetTop,d=l.width;return o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:a,height:u,left:s-a,lineType:"hovered-solid",top:c,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:u,left:s+d,lineType:"hovered-solid",top:c,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:s-a,lineType:"hovered-solid",top:c,width:d+2*a}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:s-a,lineType:"hovered-solid",top:c+u,width:d+2*a}),o.a.createElement(O,{elementMarkerThickness:a,height:r,left:s-a,lineType:"hovered-dashed",top:n,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:r,left:s+d,lineType:"hovered-dashed",top:n,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:t,lineType:"hovered-dashed",top:c,width:i}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:t,lineType:"hovered-dashed",top:c+u,width:i}))}}]),t}(o.a.PureComponent);L.propTypes={artboardOffsetLeft:N.a.number.isRequired,artboardOffsetTop:N.a.number.isRequired,artboardScaledHeight:N.a.number.isRequired,artboardScaledWidth:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var M=L,R=(n(38),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.dimensionType,r=e.measurement,i=e.offsetLeft,a=e.offsetTop,l=0,u=0;"HORIZONTAL"===n?(u=i-t.width/2,l=a-t.height-t.padding):"VERTICAL"===n&&(u=i+t.padding,l=a-t.height/2);var s={height:t.height,left:u,top:l,width:t.width},c=Math.round(r);return o.a.createElement("div",{className:t.displayName,style:s},o.a.createElement("span",null,c))}}]),t}(o.a.PureComponent));E()(R,"displayName","DimensionMarkerComponent"),E()(R,"height",20),E()(R,"padding",5),E()(R,"width",30),R.propTypes={dimensionType:N.a.string.isRequired,measurement:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired};var A=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.elementMarkerThickness,n=e.hoveredElement,r=n.height,i=n.offsetLeft,a=n.offsetTop,l=n.target,u=n.trueHeight,s=n.trueOffsetLeft,c=n.trueOffsetTop,d=n.trueWidth,f=n.width,p=e.selectedElement,h=p.height,m=p.offsetLeft,g=p.offsetTop,y=p.target,b=p.trueHeight,v=p.trueOffsetLeft,x=p.trueOffsetTop,w=p.trueWidth,k=p.width,C=m-(i+f),T=m-i,S=i+f-(m+k),E=i-(m+k),_=g-(a+r),N=g-a,P=a+r-(g+h),L=a-(g+h),M=v-s,A=s+d-(v+w),D=s-(v+w),j=x-(c+u),I=x-c,W=c+u-(x+b),q=c-(x+b),H=0,z=0,B=0,F=0,U=0,V=0,G=0,$=0,Z=0,K=0,Q=0,Y=0;C>0?(B=C,F=i+f,K=v-(s+d)):T>0?(B=T,F=i,K=M):C<0&&T<0&&E<0&&S<0&&(B=Math.abs(T),F=m,K=Math.abs(M)),E>0?(U=E,V=m+k,Q=D):S>0?(U=S,V=m+k,Q=A):C<0&&T<0&&E<0&&S<0&&(U=Math.abs(S),V=i+f,Q=Math.abs(A)),_>0?(G=_,$=a+r,Y=j):N>0?(G=N,$=a,Y=I):_<0&&N<0&&P<0&&L<0&&(G=Math.abs(N),$=g,Y=Math.abs(I)),L>0?(H=L,z=g+h,Z=q):P>0?(H=P,z=g+h,Z=W):_<0&&N<0&&P<0&&L<0&&(H=Math.abs(P),z=a+r,Z=Math.abs(W));var X=y===l;return o.a.createElement(o.a.Fragment,null,X?o.a.createElement(o.a.Fragment,null,o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:w,offsetLeft:m+k/2,offsetTop:g}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:b,offsetLeft:m+k,offsetTop:g+h/2})):o.a.createElement(o.a.Fragment,null,B&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:0,left:F,lineType:"inter-element-dimension",top:g+h/2,width:B}),o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:K,offsetLeft:F+B/2,offsetTop:g+h/2})),U&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:0,left:V,lineType:"inter-element-dimension",top:g+h/2,width:U}),o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:Q,offsetLeft:V+U/2,offsetTop:g+h/2})),G&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:G,left:m+k/2,lineType:"inter-element-dimension",top:$,width:0}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:Y,offsetLeft:m+k/2,offsetTop:$+G/2})),H&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:H,left:m+k/2,lineType:"inter-element-dimension",top:z,width:0}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:Z,offsetLeft:m+k/2,offsetTop:z+H/2}))))}}]),t}(o.a.PureComponent);A.propTypes={elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired,selectedElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var D=A,j=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.elementMarkerThickness,n=e.selectedElement,r=n.height,i=n.offsetLeft,a=n.offsetTop,l=n.width;return o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:r,left:i-t,lineType:"selected-solid",top:a,width:0}),o.a.createElement(O,{elementMarkerThickness:t,height:r,left:i+l,lineType:"selected-solid",top:a,width:0}),o.a.createElement(O,{elementMarkerThickness:t,height:0,left:i-t,lineType:"selected-solid",top:a,width:l+2*t}),o.a.createElement(O,{elementMarkerThickness:t,height:0,left:i-t,lineType:"selected-solid",top:a+r,width:l+2*t}))}}]),t}(o.a.PureComponent);j.propTypes={elementMarkerThickness:N.a.number.isRequired,selectedElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var I=j,W=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.artboardOffsetLeft,n=e.artboardOffsetTop,r=e.artboardScaledHeight,i=e.artboardScaledWidth,a=e.elementMarkerThickness,l=e.hoveredElement,u=e.selectedElement,s=l.target,c=u.target;return o.a.createElement(o.a.Fragment,null,s&&o.a.createElement(M,{artboardOffsetLeft:t,artboardOffsetTop:n,artboardScaledHeight:r,artboardScaledWidth:i,elementMarkerThickness:a,hoveredElement:l}),c&&o.a.createElement(I,{elementMarkerThickness:a,selectedElement:u}),s&&c&&o.a.createElement(D,{elementMarkerThickness:a,hoveredElement:l,selectedElement:u}))}}]),t}(o.a.PureComponent);W.propTypes={artboardOffsetLeft:N.a.number.isRequired,artboardOffsetTop:N.a.number.isRequired,artboardScaledHeight:N.a.number.isRequired,artboardScaledWidth:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({}).isRequired,selectedElement:N.a.shape({}).isRequired};var q=W,H=["BOOTSTRAP_4"],z=E()({},"BOOTSTRAP_4","Bootstrap 4"),B=E()({},"BOOTSTRAP_4",{breakpoints:[{maxWidth:540,viewportWidth:576},{maxWidth:720,viewportWidth:768},{maxWidth:960,viewportWidth:992},{maxWidth:1140,viewportWidth:1200}],columns:12,gutterWidth:30}),F=(n(40),function(e){var t=e.artboardWidth,n=e.gridLayout,r=B[n],i=(r=void 0===r?{}:r).breakpoints,a=void 0===i?[]:i,l=r.columns,u=r.gutterWidth,s=function(){var e=t;return a.forEach(function(n){var r=n.maxWidth,o=void 0===r?t:r,i=n.viewportWidth;t>=i&&(e=o)}),e},c={maxWidth:s()};return o.a.createElement(o.a.Fragment,null,n&&o.a.createElement("div",{className:"GridOverlayModule"},o.a.createElement("div",{className:"".concat("GridOverlayModule","__container"),style:c},function(){for(var e=[],t=(s()-u*(l-1))/12,n=u/2,r=0;rs&&t.addClass("redline-layer"):s=sp&&!a&&p>0&&(a=!0,n=t),i?t.height()>u&&t.addClass("redline-layer"):u=uo&&!i&&o>0&&(i=!0,r=t)}),("transparent"===G()("#base").css("background-color")||G()("#base").css("background-color").search(/rgba\(\d+,\s\d+,\s\d+,\s0\)/)>=0)&&G()("#base").css("background-color","#FFFFFF"),e({artboardHeight:u,artboardWidth:s})})},Q=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.left,o=t.top,i=t.width,a=window;return{scaledHeight:n,scaledOffsetLeft:r+a.pageXOffset,scaledOffsetTop:o+a.pageYOffset,scaledWidth:i}},Y=(n(42),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).artboardRef=o.a.createRef(),n.updateArtboardMeasurements=n.updateArtboardMeasurements.bind(k()(n)),n.state={artboardOffsetLeft:0,artboardOffsetTop:0,artboardScaledHeight:0,artboardScaledWidth:0},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=this,n=this.props,r=n.setArtboardDimensions,o=n.setAxureLoaded,i=n.zoomWrapperPadding;Z("".concat(t.displayName,"__artboard")).then(function(){K().then(function(t){var n=t.artboardHeight,a=t.artboardWidth;r({artboardHeight:n,artboardWidth:a}),function(e){var t=e.artboardHeight,n=e.artboardWidth,r=e.zoomWrapperPadding,o=r-(G()(window).innerWidth()-n)/2,i=r-(G()(window).innerHeight()-t)/2;$({left:o,top:i})}({artboardHeight:n,artboardWidth:a,zoomWrapperPadding:i}),o(),e.updateArtboardMeasurements()})})}},{key:"componentDidUpdate",value:function(e){var t=e.documentZoom,n=this.props,r=n.artboardHeight,o=n.artboardWidth,i=n.documentZoom;this.updateArtboardMeasurements(),i!==t&&function(e){var t=e.artboardHeight,n=e.artboardWidth,r=e.documentZoom,o=e.previousZoom,i=0===G()("body").scrollTop()?G()("html").scrollTop():G()("body").scrollTop(),a=0===G()("body").scrollLeft()?G()("html").scrollLeft():G()("body").scrollLeft();$({left:a+(n*(r/100)-n*(o/100))/2,top:i+(t*(r/100)-t*(o/100))/2})}({artboardHeight:r,artboardWidth:o,documentZoom:i,previousZoom:t})}},{key:"updateArtboardMeasurements",value:function(){var e=this.artboardRef.current,t=Q(e),n=t.scaledHeight,r=t.scaledOffsetLeft,o=t.scaledOffsetTop,i=t.scaledWidth,a=this.state,l=a.artboardOffsetLeft,u=a.artboardOffsetTop,s=a.artboardScaledHeight,c=a.artboardScaledWidth;l===r&&u===o&&s===n&&c===i||this.setState({artboardOffsetLeft:r,artboardOffsetTop:o,artboardScaledHeight:n,artboardScaledWidth:i})}},{key:"render",value:function(){var e=this.props,n=e.artboardHeight,r=e.artboardWidth,i=e.artboardWrapperHeight,a=e.artboardWrapperWidth,l=e.documentZoom,u=e.elementMarkerThickness,s=e.gridLayout,c=e.handleClickCallback,d=e.hoveredElement,f=e.isToolEnabled,p=e.selectedElement,h=e.zoomWrapperPadding,m=this.state,g=m.artboardOffsetLeft,y=m.artboardOffsetTop,b=m.artboardScaledHeight,v=m.artboardScaledWidth,x={height:i,width:a},w={height:n,transform:"scale(".concat(l/100,")"),width:r},k=f?"".concat(t.displayName,"--enabled"):"";return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(k),onClick:c,style:x},o.a.createElement("div",{className:"".concat(t.displayName,"__artboard"),ref:this.artboardRef,style:w},o.a.createElement(U,{artboardWidth:r,gridLayout:s})),o.a.createElement(q,{artboardOffsetLeft:g,artboardOffsetTop:y,artboardScaledHeight:b,artboardScaledWidth:v,elementMarkerThickness:u,hoveredElement:d,selectedElement:p,zoomWrapperPadding:h}))}}]),t}(o.a.PureComponent));E()(Y,"displayName","ArtboardModule"),Y.propTypes={artboardHeight:N.a.number.isRequired,artboardWidth:N.a.number.isRequired,artboardWrapperHeight:N.a.number.isRequired,artboardWrapperWidth:N.a.number.isRequired,documentZoom:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,gridLayout:N.a.string.isRequired,handleClickCallback:N.a.func.isRequired,hoveredElement:N.a.shape({}).isRequired,isToolEnabled:N.a.bool.isRequired,selectedElement:N.a.shape({}).isRequired,setArtboardDimensions:N.a.func.isRequired,setAxureLoaded:N.a.func.isRequired,zoomWrapperPadding:N.a.number.isRequired};var X=Y,J=n(20),ee=n.n(J),te=n(12),ne=n.n(te),re=(n(47),function(e){var t=e.changeCallback,n=e.label;return o.a.createElement("div",{className:"CheckboxComponent"},o.a.createElement("label",{className:"".concat("CheckboxComponent","__label")},o.a.createElement("span",null,n),o.a.createElement("input",{className:"".concat("CheckboxComponent","__input"),onChange:function(e){t(e)},type:"checkbox"})))});re.propTypes={changeCallback:N.a.func.isRequired,label:N.a.string},re.defaultProps={label:""};var oe=re,ie=(n(49),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.setSwatchValue,r={backgroundColor:e.swatchColor};return o.a.createElement("div",{className:t.displayName,onClick:n,onKeyUp:n,role:"button",tabIndex:0},o.a.createElement("div",{className:"".concat(t.displayName,"__swatch"),style:r}),o.a.createElement("div",{className:"".concat(t.displayName,"__checkerboard")}))}}]),t}(o.a.PureComponent));E()(ie,"displayName","ColorSwatchComponent"),ie.propTypes={setSwatchValue:N.a.func.isRequired,swatchColor:N.a.string.isRequired};var ae=ie,le=(n(51),function(e){var t=e.isVisible?"".concat("TooltipComponent","--active"):"";return o.a.createElement("span",{className:"".concat("TooltipComponent"," ").concat(t)},"copied")});le.propTypes={isVisible:N.a.bool.isRequired};var ue=le,se={AliceBlue:{hex:"#f0f8ff",rgb:"rgb(240, 248, 255)"},AntiqueWhite:{hex:"#faebd7",rgb:"rgb(250, 235, 215)"},Aqua:{hex:"#00ffff",rgb:"rgb(0, 255, 255)"},Aquamarine:{hex:"#7fffd4",rgb:"rgb(127, 255, 212)"},Azure:{hex:"#f0ffff",rgb:"rgb(240, 255, 255)"},Beige:{hex:"#f5f5dc",rgb:"rgb(245, 245, 220)"},Bisque:{hex:"#ffe4c4",rgb:"rgb(255, 228, 196)"},Black:{hex:"#000000",rgb:"rgb(0, 0, 0)"},BlanchedAlmond:{hex:"#ffebcd",rgb:"rgb(255, 235, 205)"},Blue:{hex:"#0000ff",rgb:"rgb(0, 0, 255)"},BlueViolet:{hex:"#8a2be2",rgb:"rgb(138, 43, 226)"},Brown:{hex:"#a52a2a",rgb:"rgb(165, 42, 42)"},BurlyWood:{hex:"#deb887",rgb:"rgb(222, 184, 135)"},CadetBlue:{hex:"#5f9ea0",rgb:"rgb(95, 158, 160)"},Chartreuse:{hex:"#7fff00",rgb:"rgb(127, 255, 0)"},Chocolate:{hex:"#d2691e",rgb:"rgb(210, 105, 30)"},Coral:{hex:"#ff7f50",rgb:"rgb(255, 127, 80)"},CornflowerBlue:{hex:"#6495ed",rgb:"rgb(100, 149, 237)"},Cornsilk:{hex:"#fff8dc",rgb:"rgb(255, 248, 220)"},Crimson:{hex:"#dc143c",rgb:"rgb(220, 20, 60)"},Cyan:{hex:"#00ffff",rgb:"rgb(0, 255, 255)"},DarkBlue:{hex:"#00008b",rgb:"rgb(0, 0, 139)"},DarkCyan:{hex:"#008b8b",rgb:"rgb(0, 139, 139)"},DarkGoldenRod:{hex:"#b8860b",rgb:"rgb(184, 134, 11)"},DarkGray:{hex:"#a9a9a9",rgb:"rgb(169, 169, 169)"},DarkGreen:{hex:"#006400",rgb:"rgb(0, 100, 0)"},DarkGrey:{hex:"#a9a9a9",rgb:"rgb(169, 169, 169)"},DarkKhaki:{hex:"#bdb76b",rgb:"rgb(189, 183, 107)"},DarkMagenta:{hex:"#8b008b",rgb:"rgb(139, 0, 139)"},DarkOliveGreen:{hex:"#556b2f",rgb:"rgb(85, 107, 47)"},DarkOrange:{hex:"#ff8c00",rgb:"rgb(255, 140, 0)"},DarkOrchid:{hex:"#9932cc",rgb:"rgb(153, 50, 204)"},DarkRed:{hex:"#8b0000",rgb:"rgb(139, 0, 0)"},DarkSalmon:{hex:"#e9967a",rgb:"rgb(233, 150, 122)"},DarkSeaGreen:{hex:"#8fbc8f",rgb:"rgb(143, 188, 143)"},DarkSlateBlue:{hex:"#483d8b",rgb:"rgb(72, 61, 139)"},DarkSlateGray:{hex:"#2f4f4f",rgb:"rgb(47, 79, 79)"},DarkSlateGrey:{hex:"#2f4f4f",rgb:"rgb(47, 79, 79)"},DarkTurquoise:{hex:"#00ced1",rgb:"rgb(0, 206, 209)"},DarkViolet:{hex:"#9400d3",rgb:"rgb(148, 0, 211)"},DeepPink:{hex:"#ff1493",rgb:"rgb(255, 20, 147)"},DeepSkyBlue:{hex:"#00bfff",rgb:"rgb(0, 191, 255)"},DimGray:{hex:"#696969",rgb:"rgb(105, 105, 105)"},DimGrey:{hex:"#696969",rgb:"rgb(105, 105, 105)"},DodgerBlue:{hex:"#1e90ff",rgb:"rgb(30, 144, 255)"},FireBrick:{hex:"#b22222",rgb:"rgb(178, 34, 34)"},FloralWhite:{hex:"#fffaf0",rgb:"rgb(255, 250, 240)"},ForestGreen:{hex:"#228b22",rgb:"rgb(34, 139, 34)"},Fuchsia:{hex:"#ff00ff",rgb:"rgb(255, 0, 255)"},Gainsboro:{hex:"#dcdcdc",rgb:"rgb(220, 220, 220)"},GhostWhite:{hex:"#f8f8ff",rgb:"rgb(248, 248, 255)"},Gold:{hex:"#ffd700",rgb:"rgb(255, 215, 0)"},GoldenRod:{hex:"#daa520",rgb:"rgb(218, 165, 32)"},Gray:{hex:"#808080",rgb:"rgb(128, 128, 128)"},Green:{hex:"#008000",rgb:"rgb(0, 128, 0)"},GreenYellow:{hex:"#adff2f",rgb:"rgb(173, 255, 47)"},Grey:{hex:"#808080",rgb:"rgb(128, 128, 128)"},HoneyDew:{hex:"#f0fff0",rgb:"rgb(240, 255, 240)"},HotPink:{hex:"#ff69b4",rgb:"rgb(255, 105, 180)"},IndianRed:{hex:"#cd5c5c",rgb:"rgb(205, 92, 92)"},Indigo:{hex:"#4b0082",rgb:"rgb(75, 0, 130)"},Ivory:{hex:"#fffff0",rgb:"rgb(255, 255, 240)"},Khaki:{hex:"#f0e68c",rgb:"rgb(240, 230, 140)"},Lavender:{hex:"#e6e6fa",rgb:"rgb(230, 230, 250)"},LavenderBlush:{hex:"#fff0f5",rgb:"rgb(255, 240, 245)"},LawnGreen:{hex:"#7cfc00",rgb:"rgb(124, 252, 0)"},LemonChiffon:{hex:"#fffacd",rgb:"rgb(255, 250, 205)"},LightBlue:{hex:"#add8e6",rgb:"rgb(173, 216, 230)"},LightCoral:{hex:"#f08080",rgb:"rgb(240, 128, 128)"},LightCyan:{hex:"#e0ffff",rgb:"rgb(224, 255, 255)"},LightGoldenRodYellow:{hex:"#fafad2",rgb:"rgb(250, 250, 210)"},LightGray:{hex:"#d3d3d3",rgb:"rgb(211, 211, 211)"},LightGreen:{hex:"#90ee90",rgb:"rgb(144, 238, 144)"},LightGrey:{hex:"#d3d3d3",rgb:"rgb(211, 211, 211)"},LightPink:{hex:"#ffb6c1",rgb:"rgb(255, 182, 193)"},LightSalmon:{hex:"#ffa07a",rgb:"rgb(255, 160, 122)"},LightSeaGreen:{hex:"#20b2aa",rgb:"rgb(32, 178, 170)"},LightSkyBlue:{hex:"#87cefa",rgb:"rgb(135, 206, 250)"},LightSlateGray:{hex:"#778899",rgb:"rgb(119, 136, 153)"},LightSlateGrey:{hex:"#778899",rgb:"rgb(119, 136, 153)"},LightSteelBlue:{hex:"#b0c4de",rgb:"rgb(176, 196, 222)"},LightYellow:{hex:"#ffffe0",rgb:"rgb(255, 255, 224)"},Lime:{hex:"#00ff00",rgb:"rgb(0, 255, 0)"},LimeGreen:{hex:"#32cd32",rgb:"rgb(50, 205, 50)"},Linen:{hex:"#faf0e6",rgb:"rgb(250, 240, 230)"},Magenta:{hex:"#ff00ff",rgb:"rgb(255, 0, 255)"},Maroon:{hex:"#800000",rgb:"rgb(128, 0, 0)"},MediumAquaMarine:{hex:"#66cdaa",rgb:"rgb(102, 205, 170)"},MediumBlue:{hex:"#0000cd",rgb:"rgb(0, 0, 205)"},MediumOrchid:{hex:"#ba55d3",rgb:"rgb(186, 85, 211)"},MediumPurple:{hex:"#9370db",rgb:"rgb(147, 112, 219)"},MediumSeaGreen:{hex:"#3cb371",rgb:"rgb(60, 179, 113)"},MediumSlateBlue:{hex:"#7b68ee",rgb:"rgb(123, 104, 238)"},MediumSpringGreen:{hex:"#00fa9a",rgb:"rgb(0, 250, 154)"},MediumTurquoise:{hex:"#48d1cc",rgb:"rgb(72, 209, 204)"},MediumVioletRed:{hex:"#c71585",rgb:"rgb(199, 21, 133)"},MidnightBlue:{hex:"#191970",rgb:"rgb(25, 25, 112)"},MintCream:{hex:"#f5fffa",rgb:"rgb(245, 255, 250)"},MistyRose:{hex:"#ffe4e1",rgb:"rgb(255, 228, 225)"},Moccasin:{hex:"#ffe4b5",rgb:"rgb(255, 228, 181)"},NavajoWhite:{hex:"#ffdead",rgb:"rgb(255, 222, 173)"},Navy:{hex:"#000080",rgb:"rgb(0, 0, 128)"},OldLace:{hex:"#fdf5e6",rgb:"rgb(253, 245, 230)"},Olive:{hex:"#808000",rgb:"rgb(128, 128, 0)"},OliveDrab:{hex:"#6b8e23",rgb:"rgb(107, 142, 35)"},Orange:{hex:"#ffa500",rgb:"rgb(255, 165, 0)"},OrangeRed:{hex:"#ff4500",rgb:"rgb(255, 69, 0)"},Orchid:{hex:"#da70d6",rgb:"rgb(218, 112, 214)"},PaleGoldenRod:{hex:"#eee8aa",rgb:"rgb(238, 232, 170)"},PaleGreen:{hex:"#98fb98",rgb:"rgb(152, 251, 152)"},PaleTurquoise:{hex:"#afeeee",rgb:"rgb(175, 238, 238)"},PaleVioletRed:{hex:"#db7093",rgb:"rgb(219, 112, 147)"},PapayaWhip:{hex:"#ffefd5",rgb:"rgb(255, 239, 213)"},PeachPuff:{hex:"#ffdab9",rgb:"rgb(255, 218, 185)"},Peru:{hex:"#cd853f",rgb:"rgb(205, 133, 63)"},Pink:{hex:"#ffc0cb",rgb:"rgb(255, 192, 203)"},Plum:{hex:"#dda0dd",rgb:"rgb(221, 160, 221)"},PowderBlue:{hex:"#b0e0e6",rgb:"rgb(176, 224, 230)"},Purple:{hex:"#800080",rgb:"rgb(128, 0, 128)"},RebeccaPurple:{hex:"#663399",rgb:"rgb(102, 51, 153)"},Red:{hex:"#ff0000",rgb:"rgb(255, 0, 0)"},RosyBrown:{hex:"#bc8f8f",rgb:"rgb(188, 143, 143)"},RoyalBlue:{hex:"#4169e1",rgb:"rgb(65, 105, 225)"},SaddleBrown:{hex:"#8b4513",rgb:"rgb(139, 69, 19)"},Salmon:{hex:"#fa8072",rgb:"rgb(250, 128, 114)"},SandyBrown:{hex:"#f4a460",rgb:"rgb(244, 164, 96)"},SeaGreen:{hex:"#2e8b57",rgb:"rgb(46, 139, 87)"},SeaShell:{hex:"#fff5ee",rgb:"rgb(255, 245, 238)"},Sienna:{hex:"#a0522d",rgb:"rgb(160, 82, 45)"},Silver:{hex:"#c0c0c0",rgb:"rgb(192, 192, 192)"},SkyBlue:{hex:"#87ceeb",rgb:"rgb(135, 206, 235)"},SlateBlue:{hex:"#6a5acd",rgb:"rgb(106, 90, 205)"},SlateGray:{hex:"#708090",rgb:"rgb(112, 128, 144)"},SlateGrey:{hex:"#708090",rgb:"rgb(112, 128, 144)"},Snow:{hex:"#fffafa",rgb:"rgb(255, 250, 250)"},SpringGreen:{hex:"#00ff7f",rgb:"rgb(0, 255, 127)"},SteelBlue:{hex:"#4682b4",rgb:"rgb(70, 130, 180)"},Tan:{hex:"#d2b48c",rgb:"rgb(210, 180, 140)"},Teal:{hex:"#008080",rgb:"rgb(0, 128, 128)"},Thistle:{hex:"#d8bfd8",rgb:"rgb(216, 191, 216)"},Tomato:{hex:"#ff6347",rgb:"rgb(255, 99, 71)"},Turquoise:{hex:"#40e0d0",rgb:"rgb(64, 224, 208)"},Violet:{hex:"#ee82ee",rgb:"rgb(238, 130, 238)"},Wheat:{hex:"#f5deb3",rgb:"rgb(245, 222, 179)"},White:{hex:"#ffffff",rgb:"rgb(255, 255, 255)"},WhiteSmoke:{hex:"#f5f5f5",rgb:"rgb(245, 245, 245)"},Yellow:{hex:"#ffff00",rgb:"rgb(255, 255, 0)"},YellowGreen:{hex:"#9acd32",rgb:"rgb(154, 205, 50)"}},ce=1,de=[".annnoteimage",".annnoteline",".annotation",".ui-dialog",".ui-dialog *",".annnote",".annnote *"],fe="no-interact",pe=["DimensionLineComponent","DimensionMarkerComponent",fe],he=13,me=27,ge=189,ye=187,be=30,ve=9999,xe="redline-tool-document-zoom",we="redline-tool-splash-screen",ke="redline-tool-enabled",Ce=(n(53),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).checkColorSwatchRequired=n.checkColorSwatchRequired.bind(k()(n)),n.handleCopy=n.handleCopy.bind(k()(n)),n.setSwatchValue=n.setSwatchValue.bind(k()(n)),n.state={inputValue:"",isCopiedTooltipActive:!1,swatchColor:null},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.inputValue;e.noFormat?this.setState({inputValue:t}):this.checkColorSwatchRequired()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.inputValue,r=t.noFormat,o=e.inputValue;r&&n!==o?this.setState({inputValue:n}):n!==o&&this.checkColorSwatchRequired()}},{key:"setSwatchValue",value:function(){var e,n,r=this.state.inputValue,o="",i="",a="";if(t.rgbaRegEx.test(r)){var l=r.match(t.rgbaRegEx);o=ne()(l,1)[0],a=r.replace(t.rgbaRegEx,"!*!")}else if(t.hexRegEx.test(r)){var u=r.match(t.hexRegEx);o=ne()(u,1)[0],a=r.replace(t.hexRegEx,"!*!")}else a=r;if(/rgba/.test(o)){e=o.match(/(\d\.\d+)|\d+/g),i="#";for(var s=0;s<3;s++)i+="0".concat(Number(e[s]).toString(16).toUpperCase()).slice(-2);i+=" ".concat(100*Number(e[3]),"%")}else/%/.test(o)?(e=o.replace("#","").slice(0,6).match(/\w{2}/g),n=Number(o.replace(/#\w{6}\s/,"").replace("%",""))/100,i="rgba(".concat(parseInt(e[0],16),", ").concat(parseInt(e[1],16),", ").concat(parseInt(e[2],16),", ").concat(n,")")):/rgb\(/.test(o)?(e=o.replace(",","").match(/\d+/g),i="#",e.forEach(function(e){i+="0".concat(Number(e).toString(16).toUpperCase()).slice(-2)})):/#/.test(o)&&(e=o.replace("#","").match(/\w{2}/g),i="rgb(".concat(parseInt(e[0],16),", ").concat(parseInt(e[1],16),", ").concat(parseInt(e[2],16),")"));a=a.replace("!*!",i),this.setState({inputValue:a})}},{key:"handleCopy",value:function(e){var t=this;e.target.select(),document.execCommand("Copy"),this.setState({isCopiedTooltipActive:!0},function(){setTimeout(function(){t.setState({isCopiedTooltipActive:!1})},750)})}},{key:"checkColorSwatchRequired",value:function(){var e,n,r,o=this.props.inputValue;if(t.rgbaRegEx.test(o)&&"transparent"!==o)if(/rgba/.test(o)){var i=o.match(t.rgbaRegEx)[0].replace(/\s+/g,"");e=Math.round(100*Number(i.replace(/rgba\(\d+,\d+,\d+,(\d?(\.\d+)?)\)/,"$1")))/100,r=(r=i.replace(/rgba\((\d+),(\d+),(\d+),(\d?(\.\d+)?)\)/,"rgba($1, $2, $3, ".concat("!*!",")"))).replace("!*!",e),1===e&&(r=i.replace(/rgba\((\d+),(\d+),(\d+),(\d?(\.\d+)?)\)/,"rgb($1, $2, $3)")),n=o.replace(t.rgbaRegEx,r)}else{var a=o.match(t.rgbaRegEx),l=ne()(a,1);r=l[0]}else{var u=o.trim().toLowerCase();Object.keys(se).forEach(function(e){if(u.includes(e.toLowerCase())){var t=se[e].rgb;r=t}})}this.setState({inputValue:n||o,swatchColor:r})}},{key:"render",value:function(){var e=this.props.label,n=this.state,r=n.inputValue,i=n.isCopiedTooltipActive,a=n.swatchColor;return o.a.createElement("div",{className:t.displayName},o.a.createElement("label",{className:"".concat(t.displayName,"__label")},e),o.a.createElement("input",{className:"".concat(t.displayName,"__input"),readOnly:!0,value:r,onMouseUp:this.handleCopy}),a&&o.a.createElement(ae,{className:"".concat(t.displayName,"__color-swatch"),setSwatchValue:this.setSwatchValue,swatchColor:a}),o.a.createElement(ue,{isVisible:i}))}}]),t}(o.a.PureComponent));E()(Ce,"displayName","InputComponent"),E()(Ce,"rgbaRegEx",/rgb(a)?\(\d+,(\s+)?\d+,(\s+)?\d+(,(\s+)?\d(\.\d+)?)?\)/),E()(Ce,"hexRegEx",/#([a-fA-F]|\d){6}((\s+)?\d{1,3}%)?/),Ce.propTypes={inputValue:N.a.string.isRequired,label:N.a.string.isRequired,noFormat:N.a.bool},Ce.defaultProps={noFormat:!1};var Te=Ce,Se=(n(55),function(e){var t=e.changeCallback,n=e.isDisabled,r=e.label,i=e.options.map(function(e){var t=e.name,n=e.value;return o.a.createElement("option",{className:"".concat("SelectComponent","__select--option"),key:n,value:n},t)}),a=n&&"".concat("SelectComponent","--disabled");return o.a.createElement("div",{className:"".concat("SelectComponent"," ").concat(a)},o.a.createElement("label",{className:"".concat("SelectComponent","__label")},r,o.a.createElement("select",{className:"".concat("SelectComponent","__select"),disabled:n,onChange:function(e){t(e)}},i)))});Se.propTypes={changeCallback:N.a.func.isRequired,isDisabled:N.a.bool,label:N.a.string,options:N.a.arrayOf(N.a.shape({name:N.a.string,value:N.a.string})).isRequired},Se.defaultProps={isDisabled:!1,label:""};var Ee=Se,_e=(n(57),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).handleCopy=n.handleCopy.bind(k()(n)),n.handleScroll=n.handleScroll.bind(k()(n)),n.state={isCopiedTooltipActive:!1,isScrolling:!1},n}return T()(t,e),g()(t,[{key:"handleCopy",value:function(e){var t=this,n=this.state.isScrolling,r=e.target;n||(r.select(),document.execCommand("Copy"),this.setState({isCopiedTooltipActive:!0},function(){setTimeout(function(){t.setState({isCopiedTooltipActive:!1})},750)})),setTimeout(function(){t.setState({isScrolling:!1})},100)}},{key:"handleScroll",value:function(){this.setState({isScrolling:!0})}},{key:"render",value:function(){var e=this.props,n=e.inputValue,r=e.label,i=this.state.isCopiedTooltipActive;return o.a.createElement("div",{className:t.displayName},o.a.createElement("label",{className:"".concat(t.displayName,"__label")},r,o.a.createElement("textarea",{className:"".concat(t.displayName,"__textarea"),readOnly:!0,onMouseUp:this.handleCopy,onScroll:this.handleScroll,value:n})),o.a.createElement(ue,{isVisible:i}))}}]),t}(o.a.PureComponent));E()(_e,"displayName","TextAreaComponent"),_e.propTypes={inputValue:N.a.string.isRequired,label:N.a.string.isRequired};var Ne=_e;function Pe(e){for(var t=[],n=Object.keys(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:"",n=!1;return!t.trim().length||t.includes("none")||"0px"===t||"medium"===t||t.includes("initial")||"opacity"===e&&1===Number(t)||(n=!0),n}(n,r)){var i=r.replace(/rgba\(\d+,\s\d+,\s\d+,\s0\)/,"transparent");n!==t.COPY_BLOCK_NAME&&me.push("".concat(n,": ").concat(i,";"));le.push(n===t.COPY_BLOCK_NAME?o.a.createElement(Ne,{inputValue:i,key:n,label:"content:"}):o.a.createElement(Te,{inputValue:i,key:n,label:"".concat(n,":")}))}})}),le.push([o.a.createElement("p",{key:"css-block-attributes-header"},"CSS BLOCK ATTRIBUTES"),o.a.createElement(Ne,{inputValue:me.join("\n"),key:"css-block-attributes-body",label:"properties:"})]),le}},{key:"renderPseudoClassTabs",value:function(){var e,n,r,i=this,a=this.state,l=a.activeTab,u=a.defaultCSSAttributes,s=function(){for(var e="",t=i.props.selectedElement,n=t.target,r=t.target.id,o=void 0===r?"":r;"base"!==o&&!e;){var a=n.getAttribute("data-label");if(a)e=a;else{var l=n,u=l.parentElement,s=l.parentElement.id;n=u,o=void 0===s?"":s}}return e}();return o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs")},s&&o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--parent-component-name")},o.a.createElement(Te,{inputValue:s,label:"parent component name:"})),o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--header")},(r=[],t.pseudoClasses.forEach(function(e){var n=e.keyName;if(function(){var e=i.retrieveElementPageCSS(n),t=!1;if(Object.keys(e).length){var r=i.retrieveElementPageCSS(n),o=r.properties,a=r.styles,l=r.text;Le(o).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)}),Le(a).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)}),Le(l).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)})}return t}()||"default"===n){var a="".concat(t.displayName,n===l?"__pseudo-tabs--tab-active":"__pseudo-tabs--tab-inactive");r.push(o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--tab ").concat(a),key:n,onClick:function(){return e=n,void i.setState({activeTab:e});var e}},o.a.createElement("span",null,n)))}}),r)),o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--body")},(e=ne()(t.pseudoClasses,1)[0].keyName,n={},n=i.retrieveElementPageCSS(l),Object.keys(n).length||l!==e||(n=JSON.parse(JSON.stringify(u))),i.renderAttributes(n))))}},{key:"render",value:function(){var e=this,n=this.props,r=n.gridLayout,i=n.isToolEnabled,l=n.selectedElement,u=(l=void 0===l?{}:l).target,s=this.state.isSidebarVisible,c=!!u,d=i&&s&&"".concat(t.displayName,"--visible"),f=H.map(function(e){return{name:z[e],value:e}});return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(d)},o.a.createElement("div",{className:"".concat(t.displayName,"__side-pull"),onClick:this.toggleSidebar,onKeyUp:this.toggleSidebar,role:"button",tabIndex:0},o.a.createElement("span",null),o.a.createElement("span",null),o.a.createElement("span",null)),c&&this.renderPseudoClassTabs(),o.a.createElement("div",{className:"".concat(t.displayName,"__grid-overlay")},o.a.createElement("div",{className:"".concat(t.displayName,"__grid-overlay--selector"),ref:this.gridSelectorRef},o.a.createElement(oe,{changeCallback:function(t){var n=e.props.gridOverlaySet,r=t.target.checked,o=a.a.findDOMNode(e.gridSelectorRef.current).querySelector("select").value;n(r?o:"")},label:"GRID OVERLAY"}),o.a.createElement(Ee,{changeCallback:function(t){var n=e.props.gridOverlaySet,r=t.target.value;n(a.a.findDOMNode(e.gridSelectorRef.current).querySelector("input").checked?r:"")},isDisabled:!r,options:f}))))}}]),t}(o.a.PureComponent);E()(Me,"displayName","ElementPropertiesSidebarModule"),E()(Me,"cssAttributesList",{properties:{width:"",height:""},styles:{opacity:"",border:"","border-width":"","border-style":"","border-color":"","border-top":"","border-top-width":"","border-top-style":"","border-top-color":"","border-right":"","border-right-width":"","border-right-style":"","border-right-color":"","border-bottom":"","border-bottom-width":"","border-bottom-style":"","border-bottom-color":"","border-left":"","border-left-width":"","border-left-style":"","border-left-color":"","border-radius":"","border-top-left-radius":"","border-top-right-radius":"","border-bottom-right-radius":"","border-bottom-left-radius":"",outline:"","background-color":"","box-shadow":""},text:{"font-family":"","font-size":"","font-weight":"","line-height":"","text-align":"",color:"",_content:""}}),E()(Me,"pseudoClasses",[{axureName:"",keyName:"default",pseudoName:"Default"},{axureName:"mouseOver",keyName:"hover",pseudoName:"Hover"},{axureName:"mouseDown",keyName:"mousedown",pseudoName:"MouseDown"},{axureName:"disabled",keyName:"disabled",pseudoName:"Disabled"}]),E()(Me,"COPY_BLOCK_NAME","_content"),Me.propTypes={gridLayout:N.a.string.isRequired,gridOverlaySet:N.a.func.isRequired,isToolEnabled:N.a.bool.isRequired,selectedElement:N.a.shape({})},Me.defaultProps={selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,width:0}};var Re=Me,Ae="0 0 ".concat(50," ").concat(50),De=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.height,i=e.path,a=e.width;return o.a.createElement("svg",{className:"IconComponent",dangerouslySetInnerHTML:{__html:i},fill:n,height:r,viewBox:Ae,width:a})};De.propTypes={fill:N.a.string,height:N.a.number.isRequired,path:N.a.string.isRequired,width:N.a.number.isRequired},De.defaultProps={fill:"currentColor"};var je=De,Ie=(n(61),function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=n.state,r=t.zoomWrapperPadding,o=t.documentZoom,i=t.artboardHeight,a=t.artboardWidth,l=e.artboardHeight,u=void 0===l?i:l,s=e.artboardWidth,c=void 0===s?a:s;n.setState({artboardHeight:u,artboardWidth:c,artboardWrapperHeight:u*(o/100)+2*r,artboardWrapperWidth:c*(o/100)+2*r})}),E()(k()(n),"setToolEnabledStatus",function(e){n.setState({isToolEnabled:e}),mt(ke,e,be)}),E()(k()(n),"toggleToolEnable",function(){var e=n.state.isToolEnabled;n.clearHoveredElement(),n.clearSelectedElement(),n.setToolEnabledStatus(!e)}),E()(k()(n),"initializerListeners",function(){lt(),dt(n.handleDialogOpenCallback),st(n.handleClickCallback),ct(n.handleMouseToggleCallback),ut(n.handleMouseoverCallback),pt(n.handleZoomingCallback),ft(n.handleHotkeyCallback)}),E()(k()(n),"clearHoveredElement",f()(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({hoveredElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0}});case 1:case"end":return e.stop()}},e)}))),E()(k()(n),"clearSelectedElement",f()(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0}});case 1:case"end":return e.stop()}},e)}))),E()(k()(n),"clearToolStatus",function(){n.clearHoveredElement(),n.clearSelectedElement()}),E()(k()(n),"handleScroll",function(e){var t,r=e.target.classList;t=!1,["ElementPropertiesSidebarModule__pseudo-tabs--body","TextAreaComponent__textarea"].forEach(function(e){r.contains(e)&&(t=!0)}),t||n.clearToolStatus()}),E()(k()(n),"handleMouseoverCallback",function(e){var t=n.state,r=t.isToolEnabled,o=t.isHotkeyDepressed,i=e.target,a=e.target.classList,l=function(){return!a.contains(fe)};r&&!o&&l()?(e.stopPropagation(),n.updateHoverSelect(i,null)):r&&!l()&&n.clearHoveredElement()}),E()(k()(n),"handleClickCallback",function(e){var t,r=n.state,o=r.isToolEnabled,i=r.isHotkeyDepressed,a=e.target,l=e.target.classList,u=X.displayName;l.contains(u)?n.clearSelectedElement():!o||i||(t=!1,l.length&&pe.forEach(function(e){l.contains(e)&&(t=!0)}),t)?i&&"select"===e.target.nodeName.toLowerCase()&&n.setState({isHotkeyDepressed:!1}):(e.stopPropagation(),e.preventDefault(),n.updateHoverSelect(null,a))}),E()(k()(n),"handleMouseToggleCallback",function(e){var t=n.state,r=t.isToolEnabled,o=t.isHotkeyDepressed;r&&!o&&(e.stopPropagation(),e.preventDefault())}),E()(k()(n),"handleDialogOpenCallback",function(e){for(var t=n.state.lastOpenedDialog,r=e.target;!r.classList.contains("annotation")&&!r.classList.contains("annnote");){r=r.parentElement}var o=Q(r),i=o.scaledOffsetLeft,a=o.scaledOffsetTop,l=o.scaledWidth,s=document.getElementsByClassName("ui-dialog"),c=document.getElementsByClassName("notesDialog"),d=s||c,f=u()(d).pop();f&&f!==t&&(f.style.left="".concat(i,"px"),f.style.top="".concat(a+l+5,"px"),n.setState({lastOpenedDialog:f}))}),E()(k()(n),"handleHotkeyCallback",function(e){e!==n.state.isHotkeyDepressed&&n.setState({isHotkeyDepressed:e},function(){n.clearToolStatus()})}),E()(k()(n),"handleZoomingCallback",function(e){var r=n.state.documentZoom;switch(e.keyCode){case me:n.clearToolStatus();break;case ye:if(e.ctrlKey||e.metaKey){e.preventDefault();var o=r+t.ZOOM_STEP;n.setArtboardZoom(o)}break;case ge:if(e.ctrlKey||e.metaKey){e.preventDefault();var i=r-t.ZOOM_STEP;n.setArtboardZoom(i)}}}),E()(k()(n),"handleSplashScreenClose",function(){mt(we,ce,ve),n.setState({shouldShowSplashScreen:!1})}),E()(k()(n),"gridOverlaySet",function(e){n.setState({gridLayout:e})}),n.state={artboardHeight:0,artboardWidth:0,artboardWrapperHeight:0,artboardWrapperWidth:0,axureLoaded:!1,documentZoom:100,elementMarkerThickness:1,gridLayout:"",hoveredElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0},isHotkeyDepressed:!1,isToolEnabled:!0,isToolPermitted:!1,lastOpenedDialog:"",selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0},shouldShowSplashScreen:!1,zoomWrapperPadding:1e3},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=gt(ke),t=gt(we)||0,n=window.parent.location.href,r=!/redline=business/.test(n),o=Number(t)=t){r=e;break}e=e.next}while(e!==n);null===r?r=n:r===n&&(n=u,s()),(t=r.previous).next=r.previous=u,u.next=r,u.previous=t}}function d(){if(-1===i&&null!==n&&1===n.priorityLevel){l=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{l=!1,null!==n?s():u=!1}}}function f(e){l=!0;var o=r;r=e;try{if(e)for(;null!==n;){var i=t.unstable_now();if(!(n.expirationTime<=i))break;do{c()}while(null!==n&&n.expirationTime<=i)}else if(null!==n)do{c()}while(null!==n&&!T())}finally{l=!1,r=o,null!==n?s():u=!1,d()}}var p,h,m=Date,g="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,b="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,v="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function x(e){p=b(function(t){y(h),e(t)}),h=g(function(){v(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var w=performance;t.unstable_now=function(){return w.now()}}else t.unstable_now=function(){return m.now()};var k,C,T,S=null;if("undefined"!=typeof window?S=window:void 0!==e&&(S=e),S&&S._schedMock){var E=S._schedMock;k=E[0],C=E[1],T=E[2],t.unstable_now=E[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var _=null,N=function(e){if(null!==_)try{_(e)}finally{_=null}};k=function(e){null!==_?setTimeout(k,0,e):(_=e,setTimeout(N,0,!1))},C=function(){_=null},T=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var P=null,O=!1,L=-1,M=!1,R=!1,A=0,D=33,j=33;T=function(){return A<=t.unstable_now()};var I=new MessageChannel,W=I.port2;I.port1.onmessage=function(){O=!1;var e=P,n=L;P=null,L=-1;var r=t.unstable_now(),o=!1;if(0>=A-r){if(!(-1!==n&&n<=r))return M||(M=!0,x(q)),P=e,void(L=n);o=!0}if(null!==e){R=!0;try{e(o)}finally{R=!1}}};var q=function(e){if(null!==P){x(q);var t=e-A+j;tt&&(t=8),j=tt?W.postMessage(void 0):M||(M=!0,x(q))},C=function(){P=null,O=!1,L=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=o,a=i;o=e,i=t.unstable_now();try{return n()}finally{o=r,i=a,d()}},t.unstable_next=function(e){switch(o){case 1:case 2:case 3:var n=3;break;default:n=o}var r=o,a=i;o=n,i=t.unstable_now();try{return e()}finally{o=r,i=a,d()}},t.unstable_scheduleCallback=function(e,r){var a=-1!==i?i:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=a+r.timeout;else switch(o){case 1:r=a+-1;break;case 2:r=a+250;break;case 5:r=a+1073741823;break;case 4:r=a+1e4;break;default:r=a+5e3}if(e={callback:e,priorityLevel:o,expirationTime:r,next:null,previous:null},null===n)n=e.next=e.previous=e,s();else{a=null;var l=n;do{if(l.expirationTime>r){a=l;break}l=l.next}while(l!==n);null===a?a=n:a===n&&(n=e,s()),(r=a.previous).next=a.previous=e,e.next=a,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var r=e.previous;r.next=t,t.previous=r}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=o;return function(){var r=o,a=i;o=n,i=t.unstable_now();try{return e.apply(this,arguments)}finally{o=r,i=a,d()}}},t.unstable_getCurrentPriorityLevel=function(){return o},t.unstable_shouldYield=function(){return!r&&(null!==n&&n.expirationTime=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:N(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e){return(n="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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(34);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".DimensionLineComponent {\n position: absolute; }\n .DimensionLineComponent--hovered-solid {\n z-index: 99992;\n border-width: 0;\n border-style: solid;\n border-color: #4860ff; }\n .DimensionLineComponent--hovered-dashed {\n z-index: 99993;\n border-width: 0;\n border-style: dashed;\n border-color: #4860ff; }\n .DimensionLineComponent--selected-solid {\n z-index: 99994;\n border-width: 0;\n border-style: solid;\n border-color: #e89a28; }\n .DimensionLineComponent--inter-element-dimension {\n z-index: 99991;\n border-width: 0;\n border-style: solid;\n border-color: #e89a28; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".DimensionMarkerComponent {\n font-size: 10px;\n font-weight: bold;\n position: absolute;\n z-index: 99995;\n display: flex;\n align-items: center;\n justify-content: center;\n letter-spacing: 1px;\n opacity: 0.9;\n color: #fff;\n border-radius: 5px;\n background-color: #e89a28; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(41);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".GridOverlayModule {\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n pointer-events: none; }\n .GridOverlayModule__container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n opacity: 0.2; }\n .GridOverlayModule__container--column {\n height: 100%;\n background-color: #ff5757; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(43);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ArtboardModule {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #333;\n background-image: radial-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 0);\n background-size: 10px 10px; }\n .ArtboardModule__artboard {\n position: absolute; }\n .ArtboardModule #base {\n position: relative;\n width: 100%;\n height: 100%;\n transform-origin: center; }\n .ArtboardModule--enabled .ArtboardModule__artboard *:not(.ui-dialog) {\n cursor: pointer; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){var r=n(48);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.CheckboxComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n cursor: pointer;\n color: #fff; }\n\n.CheckboxComponent__input {\n margin: 0 0 0 10px;\n cursor: pointer;\n border-radius: 5px; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(50);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ColorSwatchComponent {\n position: absolute;\n z-index: 1;\n right: 0;\n bottom: 0;\n width: 25px;\n height: 25px;\n cursor: pointer;\n border-left: solid 1px #111111;\n border-radius: 0 3px 3px 0;\n outline: none; }\n .ColorSwatchComponent__swatch {\n position: absolute;\n z-index: 2;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit; }\n .ColorSwatchComponent__checkerboard {\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit;\n background-image: linear-gradient(45deg, rgba(85, 85, 85, 0.5) 25%, transparent 25%), linear-gradient(-45deg, rgba(85, 85, 85, 0.5) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(85, 85, 85, 0.5) 75%), linear-gradient(-45deg, transparent 75%, rgba(85, 85, 85, 0.5) 75%);\n background-position: 0 0, 0 5px, 5px -5px, -5px 0;\n background-size: 10px 10px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(52);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".TooltipComponent {\n font-size: 12px;\n position: absolute;\n z-index: 1;\n visibility: hidden;\n box-sizing: border-box;\n padding: 3px 5px;\n cursor: default;\n transition: opacity ease-in-out 0.5s, visibility ease-in-out 0.5s;\n opacity: 0;\n color: #fff;\n border-radius: 3px;\n background-color: #e89a28; }\n .TooltipComponent::after {\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n content: '';\n border-width: 5px;\n border-style: solid;\n border-color: #e89a28 transparent transparent; }\n .TooltipComponent--active {\n visibility: visible;\n transition: opacity 0s, visibility 0s;\n opacity: 1; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(54);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.InputComponent {\n position: relative;\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n height: 40px; }\n .InputComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n color: #fff; }\n .InputComponent__input {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n margin-top: 0;\n padding: 4px 5px;\n cursor: text;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .InputComponent .TooltipComponent {\n top: -11px;\n left: 0; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(56);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.SelectComponent {\n position: relative; }\n .SelectComponent--disabled {\n opacity: 0.5; }\n .SelectComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n display: block;\n color: #fff; }\n .SelectComponent__select {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n margin-top: 0;\n padding: 4px 5px;\n cursor: pointer;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .SelectComponent__select--option {\n cursor: pointer; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(58);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.TextAreaComponent {\n position: relative; }\n .TextAreaComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n display: block;\n color: #fff; }\n .TextAreaComponent__textarea {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 50px;\n margin-top: 0;\n padding: 4px 5px;\n resize: none;\n cursor: text;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .TextAreaComponent .TooltipComponent {\n top: -11px;\n left: 0; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(60);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.ElementPropertiesSidebarModule {\n position: fixed;\n z-index: 99999;\n top: 50px;\n right: -265px;\n box-sizing: border-box;\n width: 270px;\n height: calc(100% - 50px);\n transition: right 0.1s ease-in-out;\n opacity: 0.9;\n background-color: #111111; }\n .ElementPropertiesSidebarModule--visible {\n right: 0; }\n .ElementPropertiesSidebarModule--visible .ElementPropertiesSidebarModule__grid-overlay {\n display: inline-block; }\n .ElementPropertiesSidebarModule__side-pull {\n position: absolute;\n top: 65px;\n left: -20px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: space-between;\n box-sizing: border-box;\n width: 20px;\n height: 40px;\n padding: 13px 0 13px 7px;\n cursor: pointer;\n border-radius: 20px 0 0 20px;\n outline: none;\n background-color: inherit; }\n .ElementPropertiesSidebarModule__side-pull > span {\n width: 100%;\n height: 2px;\n border-radius: 1px;\n background-color: #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs {\n width: 100%;\n height: calc(100% - 100px); }\n .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name {\n box-sizing: border-box;\n width: 100%;\n margin-bottom: 41px;\n padding: 0 20px; }\n .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name .InputComponent {\n margin-top: 0 !important; }\n .ElementPropertiesSidebarModule__pseudo-tabs--header {\n display: flex;\n align-items: flex-end;\n flex-direction: row;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n padding: 0 20px; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n z-index: 1;\n display: flex;\n align-items: center;\n flex-basis: 0;\n flex-grow: 1;\n justify-content: center;\n box-sizing: border-box;\n max-width: 50%;\n height: 100%;\n margin: 0 1px;\n padding: 0 5px;\n cursor: pointer;\n color: #555;\n border-radius: 3px 3px 0 0;\n background-color: #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab span {\n overflow: hidden;\n width: 100%;\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab-active {\n color: #fff;\n border-width: 1px 1px 0;\n border-style: solid;\n border-color: #fff;\n background-color: #111111; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab-inactive:hover {\n height: 105%; }\n .ElementPropertiesSidebarModule__pseudo-tabs--body {\n overflow-y: auto;\n box-sizing: border-box;\n width: 100%;\n height: calc(100% - 25px);\n margin-top: -1px;\n padding: 0 20px 20px;\n border-top: solid 1px #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs--body p {\n font-size: 12px;\n font-weight: bold;\n margin-top: 20px;\n text-transform: uppercase;\n color: #fff; }\n .ElementPropertiesSidebarModule .InputComponent,\n .ElementPropertiesSidebarModule .TextAreaComponent {\n margin-top: 10px; }\n .ElementPropertiesSidebarModule__grid-overlay {\n display: none;\n box-sizing: border-box;\n width: 100%;\n height: 100px;\n padding: 20px;\n border-top: solid 1px #fff; }\n .ElementPropertiesSidebarModule__grid-overlay--selector {\n width: 100%; }\n .ElementPropertiesSidebarModule__grid-overlay--selector .CheckboxComponent {\n margin-bottom: 10px; }\n .ElementPropertiesSidebarModule .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name ~ .ElementPropertiesSidebarModule__pseudo-tabs--body {\n height: calc(100% - 105px); }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(62);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".PrimaryControlsModule {\n display: flex;\n align-items: center;\n height: 100%; }\n .PrimaryControlsModule__control {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n height: 100%;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;\n color: #fff;\n border-radius: 5px; }\n .PrimaryControlsModule__control:hover {\n transition: background-color 0.05s ease-in-out, color 0.1s ease-in-out;\n background-color: #555; }\n .PrimaryControlsModule__control--enabled {\n color: #4edec2; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(64);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".modal-open {\n overflow: hidden; }\n\n.ModalComponent {\n position: fixed;\n z-index: 9999999;\n top: 0;\n left: 0;\n display: flex;\n visibility: hidden;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 20px; }\n .ModalComponent__overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(85, 85, 85, 0.7); }\n .ModalComponent__modal {\n position: relative;\n width: 100%;\n max-width: 500px;\n min-height: 200px;\n margin-top: 50px;\n padding: 30px;\n transition: margin-top 0.2s ease-in-out, opacity 0.2s ease-in-out;\n opacity: 0;\n border-radius: 5px;\n background-color: #fff;\n box-shadow: 0 3px 5px #333; }\n .ModalComponent__modal--body {\n width: 100%;\n height: 100%; }\n .ModalComponent__modal-close {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n cursor: pointer;\n transition: background-color 0.05s ease-in-out; }\n .ModalComponent__modal-close:hover div {\n transition: background-color 0.2s ease-in-out;\n background-color: #555; }\n .ModalComponent__modal-close div {\n width: 1px;\n height: 100%;\n transform: rotate(45deg);\n background-color: #333; }\n .ModalComponent__modal-close div::after {\n position: absolute;\n top: 0;\n left: 0;\n width: 1px;\n height: 100%;\n content: '';\n transform: rotate(-90deg);\n background-color: inherit; }\n .ModalComponent--visible {\n visibility: visible; }\n .ModalComponent--visible .ModalComponent__modal {\n margin-top: 0;\n opacity: 1; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(66);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ButtonComponent {\n font-size: 16px;\n font-weight: bold;\n height: 40px;\n padding: 0 30px;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;\n text-transform: uppercase;\n border: none;\n border-radius: 5px;\n outline: none; }\n .ButtonComponent--primary {\n color: #fff;\n background-color: #4edec2; }\n .ButtonComponent--primary:hover {\n background-color: #27d2b1; }\n .ButtonComponent--secondary {\n color: #4edec2;\n border: solid 1px #4edec2;\n background-color: #fff; }\n .ButtonComponent--secondary:hover {\n color: #fff;\n background-color: #4edec2; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(68);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".SharingLinksModule {\n display: none; }\n .SharingLinksModule__modal-block h1 {\n margin: 0;\n color: #333; }\n .SharingLinksModule__modal-block .InputComponent {\n height: 50px;\n margin-top: 20px; }\n .SharingLinksModule__modal-block .InputComponent__label {\n font-size: 16px;\n color: #333; }\n .SharingLinksModule__modal-block .InputComponent__input {\n border: solid 1px #333;\n border-radius: 5px; }\n .SharingLinksModule__modal-block .InputComponent .TooltipComponent {\n top: 0; }\n .SharingLinksModule__modal-block .ButtonComponent {\n float: right;\n margin-top: 30px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(70);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.HeaderModule {\n font-family: "Lato", sans-serif;\n position: fixed;\n z-index: 99998;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n width: 100%;\n height: 50px;\n padding: 0 30px;\n opacity: 0.9;\n background-color: #111111; }\n .HeaderModule__logo {\n font-size: 18px;\n color: #fff; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(72);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".SplashScreenModule {\n color: #333; }\n .SplashScreenModule__header {\n display: flex;\n align-items: center;\n width: 100%;\n margin-bottom: 10px; }\n .SplashScreenModule__header .IconComponent {\n margin-right: 10px;\n color: #4edec2; }\n .SplashScreenModule--disclosure {\n font-size: 14px;\n font-style: italic; }\n .SplashScreenModule h1 {\n margin: 0; }\n .SplashScreenModule h2 {\n margin: 40px 0 0; }\n .SplashScreenModule ul {\n margin: 10px 0 0;\n padding: 0 40px; }\n .SplashScreenModule li {\n margin-bottom: 10px; }\n .SplashScreenModule li:last-of-type {\n margin-bottom: 0; }\n .SplashScreenModule .ButtonComponent {\n float: right;\n margin-top: 30px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(74);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ZoomControlModule {\n position: fixed;\n z-index: 99997;\n bottom: 20px;\n left: 20px;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n opacity: 0.9;\n border-radius: 5px;\n box-shadow: 0 3px 5px #555; }\n .ZoomControlModule__zoom-input {\n font-family: \"Lato\", sans-serif;\n width: 50px;\n height: 23px;\n text-align: center;\n border: none;\n outline: none; }\n .ZoomControlModule__zoom-control {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 23px;\n height: 23px;\n padding: 6px;\n cursor: pointer;\n transition: transform 0.01s ease-in-out;\n background-color: #4edec2; }\n .ZoomControlModule__zoom-control:hover {\n transform: scale(1.05); }\n .ZoomControlModule__zoom-control span {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 2px;\n background-color: #fff; }\n .ZoomControlModule__zoom-control--negative {\n border-right: solid 1px #555;\n border-radius: 5px 0 0 5px; }\n .ZoomControlModule__zoom-control--positive {\n border-left: solid 1px #555;\n border-radius: 0 5px 5px 0; }\n .ZoomControlModule__zoom-control--positive span::before {\n position: absolute;\n top: 0;\n right: 0;\n display: inline-block;\n width: 100%;\n height: 2px;\n content: '';\n transform: rotate(90deg);\n background-color: inherit; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(76);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".LoadingIndicatorComponent {\n position: fixed;\n z-index: 999999;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background-color: #333; }\n .LoadingIndicatorComponent__spinner {\n position: relative;\n width: 40px;\n height: 40px; }\n .LoadingIndicatorComponent__spinner--animation {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n animation: sk-bounce 2s infinite ease-in-out;\n opacity: 0.6;\n border-radius: 50%;\n background-color: #fff; }\n .LoadingIndicatorComponent__spinner--animation:last-of-type {\n animation-delay: -1s; }\n\n@keyframes sk-bounce {\n 0%,\n 100% {\n transform: scale(0); }\n 50% {\n transform: scale(1); } }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(78);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,'body {\n position: static;\n left: auto;\n width: 100vw;\n height: 100vh;\n margin: 0; }\n body #base span {\n display: inline-block; }\n body .annotation {\n box-sizing: border-box;\n width: 14px !important;\n height: 14px !important;\n margin: 0;\n padding: 0;\n cursor: help !important; }\n body .annotation > div {\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: space-around;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 3px;\n border: none;\n border-radius: 3px;\n background-color: #4860ff; }\n body .annotation > div:hover {\n background-color: #1534ff; }\n body .annotation > div > div {\n width: 100%;\n height: 1px;\n margin: 0;\n padding: 0;\n border: none;\n background-color: #fff; }\n body .annotation * {\n cursor: help !important; }\n body .annnote {\n cursor: help !important; }\n body .annnote .annnotelabel {\n margin: 0;\n cursor: help !important;\n color: #fff;\n border-radius: 3px;\n background-color: #4860ff; }\n body .annnote .annnotelabel:hover {\n background-color: #1534ff; }\n body .ui-dialog {\n z-index: 99996 !important;\n padding: 0 !important;\n opacity: 0.9;\n border: solid 1px #555 !important;\n border-radius: 3px !important; }\n body .ui-dialog * {\n color: #555; }\n body .ui-dialog-titlebar {\n border: none !important;\n background-color: #555 !important; }\n body .ui-dialog-titlebar button {\n border-radius: 3px !important;\n outline: none !important; }\n body .ui-dialog-titlebar .ui-icon-closethick {\n border-radius: 3px;\n background-color: #fff; }\n body .ui-dialog-content {\n padding: 10px !important;\n border-radius: 3px; }\n body .ui-button-icon-only .ui-icon {\n top: 0 !important;\n left: 0 !important; }\n body .ui-corner-all {\n border-radius: 0; }\n\nbody {\n font-family: "Lato", sans-serif; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(13),a=n.n(i),l=n(19),u=n.n(l),s=n(14),c=n.n(s),d=n(15),f=n.n(d),p=n(4),h=n.n(p),m=n(8),g=n.n(m),y=n(5),b=n.n(y),v=n(6),x=n.n(v),w=n(3),k=n.n(w),C=n(7),T=n.n(C),S=n(2),E=n.n(S),_=n(1),N=n.n(_),P=(n(35),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.elementMarkerThickness,r=void 0===n?0:n,i=e.height,a=void 0===i?0:i,l=e.left,u=void 0===l?0:l,s=e.lineType,c=void 0===s?"":s,d=e.top,f=void 0===d?0:d,p=e.width,h=void 0===p?0:p,m={borderLeftWidth:h?0:r,borderTopWidth:a?0:r,height:a,left:u,top:f,width:h},g=c?"".concat(t.displayName,"--").concat(c):"";return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(g),style:m})}}]),t}(o.a.PureComponent));E()(P,"displayName","DimensionLineComponent"),P.propTypes={elementMarkerThickness:N.a.number.isRequired,height:N.a.number.isRequired,left:N.a.number.isRequired,lineType:N.a.string.isRequired,top:N.a.number.isRequired,width:N.a.number.isRequired};var O=P,L=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.artboardOffsetLeft,n=e.artboardOffsetTop,r=e.artboardScaledHeight,i=e.artboardScaledWidth,a=e.elementMarkerThickness,l=e.hoveredElement,u=l.height,s=l.offsetLeft,c=l.offsetTop,d=l.width;return o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:a,height:u,left:s-a,lineType:"hovered-solid",top:c,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:u,left:s+d,lineType:"hovered-solid",top:c,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:s-a,lineType:"hovered-solid",top:c,width:d+2*a}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:s-a,lineType:"hovered-solid",top:c+u,width:d+2*a}),o.a.createElement(O,{elementMarkerThickness:a,height:r,left:s-a,lineType:"hovered-dashed",top:n,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:r,left:s+d,lineType:"hovered-dashed",top:n,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:t,lineType:"hovered-dashed",top:c,width:i}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:t,lineType:"hovered-dashed",top:c+u,width:i}))}}]),t}(o.a.PureComponent);L.propTypes={artboardOffsetLeft:N.a.number.isRequired,artboardOffsetTop:N.a.number.isRequired,artboardScaledHeight:N.a.number.isRequired,artboardScaledWidth:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var M=L,R=(n(38),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.dimensionType,r=e.measurement,i=e.offsetLeft,a=e.offsetTop,l=0,u=0;"HORIZONTAL"===n?(u=i-t.width/2,l=a-t.height-t.padding):"VERTICAL"===n&&(u=i+t.padding,l=a-t.height/2);var s={height:t.height,left:u,top:l,width:t.width},c=Math.round(r);return o.a.createElement("div",{className:t.displayName,style:s},o.a.createElement("span",null,c))}}]),t}(o.a.PureComponent));E()(R,"displayName","DimensionMarkerComponent"),E()(R,"height",20),E()(R,"padding",5),E()(R,"width",30),R.propTypes={dimensionType:N.a.string.isRequired,measurement:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired};var A=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.elementMarkerThickness,n=e.hoveredElement,r=n.height,i=n.offsetLeft,a=n.offsetTop,l=n.target,u=n.trueHeight,s=n.trueOffsetLeft,c=n.trueOffsetTop,d=n.trueWidth,f=n.width,p=e.selectedElement,h=p.height,m=p.offsetLeft,g=p.offsetTop,y=p.target,b=p.trueHeight,v=p.trueOffsetLeft,x=p.trueOffsetTop,w=p.trueWidth,k=p.width,C=m-(i+f),T=m-i,S=i+f-(m+k),E=i-(m+k),_=g-(a+r),N=g-a,P=a+r-(g+h),L=a-(g+h),M=v-s,A=s+d-(v+w),D=s-(v+w),j=x-(c+u),I=x-c,W=c+u-(x+b),q=c-(x+b),H=0,z=0,B=0,F=0,U=0,V=0,G=0,$=0,Z=0,K=0,Q=0,Y=0;C>0?(B=C,F=i+f,K=v-(s+d)):T>0?(B=T,F=i,K=M):C<0&&T<0&&E<0&&S<0&&(B=Math.abs(T),F=m,K=Math.abs(M)),E>0?(U=E,V=m+k,Q=D):S>0?(U=S,V=m+k,Q=A):C<0&&T<0&&E<0&&S<0&&(U=Math.abs(S),V=i+f,Q=Math.abs(A)),_>0?(G=_,$=a+r,Y=j):N>0?(G=N,$=a,Y=I):_<0&&N<0&&P<0&&L<0&&(G=Math.abs(N),$=g,Y=Math.abs(I)),L>0?(H=L,z=g+h,Z=q):P>0?(H=P,z=g+h,Z=W):_<0&&N<0&&P<0&&L<0&&(H=Math.abs(P),z=a+r,Z=Math.abs(W));var X=y===l;return o.a.createElement(o.a.Fragment,null,X?o.a.createElement(o.a.Fragment,null,o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:w,offsetLeft:m+k/2,offsetTop:g}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:b,offsetLeft:m+k,offsetTop:g+h/2})):o.a.createElement(o.a.Fragment,null,B&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:0,left:F,lineType:"inter-element-dimension",top:g+h/2,width:B}),o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:K,offsetLeft:F+B/2,offsetTop:g+h/2})),U&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:0,left:V,lineType:"inter-element-dimension",top:g+h/2,width:U}),o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:Q,offsetLeft:V+U/2,offsetTop:g+h/2})),G&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:G,left:m+k/2,lineType:"inter-element-dimension",top:$,width:0}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:Y,offsetLeft:m+k/2,offsetTop:$+G/2})),H&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:H,left:m+k/2,lineType:"inter-element-dimension",top:z,width:0}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:Z,offsetLeft:m+k/2,offsetTop:z+H/2}))))}}]),t}(o.a.PureComponent);A.propTypes={elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired,selectedElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var D=A,j=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.elementMarkerThickness,n=e.selectedElement,r=n.height,i=n.offsetLeft,a=n.offsetTop,l=n.width;return o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:r,left:i-t,lineType:"selected-solid",top:a,width:0}),o.a.createElement(O,{elementMarkerThickness:t,height:r,left:i+l,lineType:"selected-solid",top:a,width:0}),o.a.createElement(O,{elementMarkerThickness:t,height:0,left:i-t,lineType:"selected-solid",top:a,width:l+2*t}),o.a.createElement(O,{elementMarkerThickness:t,height:0,left:i-t,lineType:"selected-solid",top:a+r,width:l+2*t}))}}]),t}(o.a.PureComponent);j.propTypes={elementMarkerThickness:N.a.number.isRequired,selectedElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var I=j,W=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.artboardOffsetLeft,n=e.artboardOffsetTop,r=e.artboardScaledHeight,i=e.artboardScaledWidth,a=e.elementMarkerThickness,l=e.hoveredElement,u=e.selectedElement,s=l.target,c=u.target;return o.a.createElement(o.a.Fragment,null,s&&o.a.createElement(M,{artboardOffsetLeft:t,artboardOffsetTop:n,artboardScaledHeight:r,artboardScaledWidth:i,elementMarkerThickness:a,hoveredElement:l}),c&&o.a.createElement(I,{elementMarkerThickness:a,selectedElement:u}),s&&c&&o.a.createElement(D,{elementMarkerThickness:a,hoveredElement:l,selectedElement:u}))}}]),t}(o.a.PureComponent);W.propTypes={artboardOffsetLeft:N.a.number.isRequired,artboardOffsetTop:N.a.number.isRequired,artboardScaledHeight:N.a.number.isRequired,artboardScaledWidth:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({}).isRequired,selectedElement:N.a.shape({}).isRequired};var q=W,H=["BOOTSTRAP_4"],z=E()({},"BOOTSTRAP_4","Bootstrap 4"),B=E()({},"BOOTSTRAP_4",{breakpoints:[{maxWidth:540,viewportWidth:576},{maxWidth:720,viewportWidth:768},{maxWidth:960,viewportWidth:992},{maxWidth:1140,viewportWidth:1200}],columns:12,gutterWidth:30}),F=(n(40),function(e){var t=e.artboardWidth,n=e.gridLayout,r=B[n],i=(r=void 0===r?{}:r).breakpoints,a=void 0===i?[]:i,l=r.columns,u=r.gutterWidth,s=function(){var e=t;return a.forEach(function(n){var r=n.maxWidth,o=void 0===r?t:r,i=n.viewportWidth;t>=i&&(e=o)}),e},c={maxWidth:s()};return o.a.createElement(o.a.Fragment,null,n&&o.a.createElement("div",{className:"GridOverlayModule"},o.a.createElement("div",{className:"".concat("GridOverlayModule","__container"),style:c},function(){for(var e=[],t=(s()-u*(l-1))/12,n=u/2,r=0;rs&&t.addClass("redline-layer"):s=sp&&!a&&p>0&&(a=!0,n=t),i?t.height()>u&&t.addClass("redline-layer"):u=uo&&!i&&o>0&&(i=!0,r=t)}),("transparent"===G()("#base").css("background-color")||G()("#base").css("background-color").search(/rgba\(\d+,\s\d+,\s\d+,\s0\)/)>=0)&&G()("#base").css("background-color","#FFFFFF"),e({artboardHeight:u,artboardWidth:s})})},Q=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.left,o=t.top,i=t.width,a=window;return{scaledHeight:n,scaledOffsetLeft:r+a.pageXOffset,scaledOffsetTop:o+a.pageYOffset,scaledWidth:i}},Y=(n(42),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).artboardRef=o.a.createRef(),n.updateArtboardMeasurements=n.updateArtboardMeasurements.bind(k()(n)),n.state={artboardOffsetLeft:0,artboardOffsetTop:0,artboardScaledHeight:0,artboardScaledWidth:0},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=this,n=this.props,r=n.setArtboardDimensions,o=n.setAxureLoaded,i=n.zoomWrapperPadding;Z("".concat(t.displayName,"__artboard")).then(function(){K().then(function(t){var n=t.artboardHeight,a=t.artboardWidth;r({artboardHeight:n,artboardWidth:a}),function(e){var t=e.artboardHeight,n=e.artboardWidth,r=e.zoomWrapperPadding,o=r-(G()(window).innerWidth()-n)/2,i=r-(G()(window).innerHeight()-t)/2;$({left:o,top:i})}({artboardHeight:n,artboardWidth:a,zoomWrapperPadding:i}),o(),e.updateArtboardMeasurements()})})}},{key:"componentDidUpdate",value:function(e){var t=e.documentZoom,n=this.props,r=n.artboardHeight,o=n.artboardWidth,i=n.documentZoom;this.updateArtboardMeasurements(),i!==t&&function(e){var t=e.artboardHeight,n=e.artboardWidth,r=e.documentZoom,o=e.previousZoom,i=0===G()("body").scrollTop()?G()("html").scrollTop():G()("body").scrollTop(),a=0===G()("body").scrollLeft()?G()("html").scrollLeft():G()("body").scrollLeft();$({left:a+(n*(r/100)-n*(o/100))/2,top:i+(t*(r/100)-t*(o/100))/2})}({artboardHeight:r,artboardWidth:o,documentZoom:i,previousZoom:t})}},{key:"updateArtboardMeasurements",value:function(){var e=this.artboardRef.current,t=Q(e),n=t.scaledHeight,r=t.scaledOffsetLeft,o=t.scaledOffsetTop,i=t.scaledWidth,a=this.state,l=a.artboardOffsetLeft,u=a.artboardOffsetTop,s=a.artboardScaledHeight,c=a.artboardScaledWidth;l===r&&u===o&&s===n&&c===i||this.setState({artboardOffsetLeft:r,artboardOffsetTop:o,artboardScaledHeight:n,artboardScaledWidth:i})}},{key:"render",value:function(){var e=this.props,n=e.artboardHeight,r=e.artboardWidth,i=e.artboardWrapperHeight,a=e.artboardWrapperWidth,l=e.documentZoom,u=e.elementMarkerThickness,s=e.gridLayout,c=e.handleClickCallback,d=e.hoveredElement,f=e.isToolEnabled,p=e.selectedElement,h=e.zoomWrapperPadding,m=this.state,g=m.artboardOffsetLeft,y=m.artboardOffsetTop,b=m.artboardScaledHeight,v=m.artboardScaledWidth,x={height:i,width:a},w={height:n,transform:"scale(".concat(l/100,")"),width:r},k=f?"".concat(t.displayName,"--enabled"):"";return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(k),onClick:c,style:x},o.a.createElement("div",{className:"".concat(t.displayName,"__artboard"),ref:this.artboardRef,style:w},o.a.createElement(U,{artboardWidth:r,gridLayout:s})),o.a.createElement(q,{artboardOffsetLeft:g,artboardOffsetTop:y,artboardScaledHeight:b,artboardScaledWidth:v,elementMarkerThickness:u,hoveredElement:d,selectedElement:p,zoomWrapperPadding:h}))}}]),t}(o.a.PureComponent));E()(Y,"displayName","ArtboardModule"),Y.propTypes={artboardHeight:N.a.number.isRequired,artboardWidth:N.a.number.isRequired,artboardWrapperHeight:N.a.number.isRequired,artboardWrapperWidth:N.a.number.isRequired,documentZoom:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,gridLayout:N.a.string.isRequired,handleClickCallback:N.a.func.isRequired,hoveredElement:N.a.shape({}).isRequired,isToolEnabled:N.a.bool.isRequired,selectedElement:N.a.shape({}).isRequired,setArtboardDimensions:N.a.func.isRequired,setAxureLoaded:N.a.func.isRequired,zoomWrapperPadding:N.a.number.isRequired};var X=Y,J=n(20),ee=n.n(J),te=n(12),ne=n.n(te),re=(n(47),function(e){var t=e.changeCallback,n=e.label;return o.a.createElement("div",{className:"CheckboxComponent"},o.a.createElement("label",{className:"".concat("CheckboxComponent","__label")},o.a.createElement("span",null,n),o.a.createElement("input",{className:"".concat("CheckboxComponent","__input"),onChange:function(e){t(e)},type:"checkbox"})))});re.propTypes={changeCallback:N.a.func.isRequired,label:N.a.string},re.defaultProps={label:""};var oe=re,ie=(n(49),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.setSwatchValue,r={backgroundColor:e.swatchColor};return o.a.createElement("div",{className:t.displayName,onClick:n,onKeyUp:n,role:"button",tabIndex:0},o.a.createElement("div",{className:"".concat(t.displayName,"__swatch"),style:r}),o.a.createElement("div",{className:"".concat(t.displayName,"__checkerboard")}))}}]),t}(o.a.PureComponent));E()(ie,"displayName","ColorSwatchComponent"),ie.propTypes={setSwatchValue:N.a.func.isRequired,swatchColor:N.a.string.isRequired};var ae=ie,le=(n(51),function(e){var t=e.isVisible?"".concat("TooltipComponent","--active"):"";return o.a.createElement("span",{className:"".concat("TooltipComponent"," ").concat(t)},"copied")});le.propTypes={isVisible:N.a.bool.isRequired};var ue=le,se={AliceBlue:{hex:"#f0f8ff",rgb:"rgb(240, 248, 255)"},AntiqueWhite:{hex:"#faebd7",rgb:"rgb(250, 235, 215)"},Aqua:{hex:"#00ffff",rgb:"rgb(0, 255, 255)"},Aquamarine:{hex:"#7fffd4",rgb:"rgb(127, 255, 212)"},Azure:{hex:"#f0ffff",rgb:"rgb(240, 255, 255)"},Beige:{hex:"#f5f5dc",rgb:"rgb(245, 245, 220)"},Bisque:{hex:"#ffe4c4",rgb:"rgb(255, 228, 196)"},Black:{hex:"#000000",rgb:"rgb(0, 0, 0)"},BlanchedAlmond:{hex:"#ffebcd",rgb:"rgb(255, 235, 205)"},Blue:{hex:"#0000ff",rgb:"rgb(0, 0, 255)"},BlueViolet:{hex:"#8a2be2",rgb:"rgb(138, 43, 226)"},Brown:{hex:"#a52a2a",rgb:"rgb(165, 42, 42)"},BurlyWood:{hex:"#deb887",rgb:"rgb(222, 184, 135)"},CadetBlue:{hex:"#5f9ea0",rgb:"rgb(95, 158, 160)"},Chartreuse:{hex:"#7fff00",rgb:"rgb(127, 255, 0)"},Chocolate:{hex:"#d2691e",rgb:"rgb(210, 105, 30)"},Coral:{hex:"#ff7f50",rgb:"rgb(255, 127, 80)"},CornflowerBlue:{hex:"#6495ed",rgb:"rgb(100, 149, 237)"},Cornsilk:{hex:"#fff8dc",rgb:"rgb(255, 248, 220)"},Crimson:{hex:"#dc143c",rgb:"rgb(220, 20, 60)"},Cyan:{hex:"#00ffff",rgb:"rgb(0, 255, 255)"},DarkBlue:{hex:"#00008b",rgb:"rgb(0, 0, 139)"},DarkCyan:{hex:"#008b8b",rgb:"rgb(0, 139, 139)"},DarkGoldenRod:{hex:"#b8860b",rgb:"rgb(184, 134, 11)"},DarkGray:{hex:"#a9a9a9",rgb:"rgb(169, 169, 169)"},DarkGreen:{hex:"#006400",rgb:"rgb(0, 100, 0)"},DarkGrey:{hex:"#a9a9a9",rgb:"rgb(169, 169, 169)"},DarkKhaki:{hex:"#bdb76b",rgb:"rgb(189, 183, 107)"},DarkMagenta:{hex:"#8b008b",rgb:"rgb(139, 0, 139)"},DarkOliveGreen:{hex:"#556b2f",rgb:"rgb(85, 107, 47)"},DarkOrange:{hex:"#ff8c00",rgb:"rgb(255, 140, 0)"},DarkOrchid:{hex:"#9932cc",rgb:"rgb(153, 50, 204)"},DarkRed:{hex:"#8b0000",rgb:"rgb(139, 0, 0)"},DarkSalmon:{hex:"#e9967a",rgb:"rgb(233, 150, 122)"},DarkSeaGreen:{hex:"#8fbc8f",rgb:"rgb(143, 188, 143)"},DarkSlateBlue:{hex:"#483d8b",rgb:"rgb(72, 61, 139)"},DarkSlateGray:{hex:"#2f4f4f",rgb:"rgb(47, 79, 79)"},DarkSlateGrey:{hex:"#2f4f4f",rgb:"rgb(47, 79, 79)"},DarkTurquoise:{hex:"#00ced1",rgb:"rgb(0, 206, 209)"},DarkViolet:{hex:"#9400d3",rgb:"rgb(148, 0, 211)"},DeepPink:{hex:"#ff1493",rgb:"rgb(255, 20, 147)"},DeepSkyBlue:{hex:"#00bfff",rgb:"rgb(0, 191, 255)"},DimGray:{hex:"#696969",rgb:"rgb(105, 105, 105)"},DimGrey:{hex:"#696969",rgb:"rgb(105, 105, 105)"},DodgerBlue:{hex:"#1e90ff",rgb:"rgb(30, 144, 255)"},FireBrick:{hex:"#b22222",rgb:"rgb(178, 34, 34)"},FloralWhite:{hex:"#fffaf0",rgb:"rgb(255, 250, 240)"},ForestGreen:{hex:"#228b22",rgb:"rgb(34, 139, 34)"},Fuchsia:{hex:"#ff00ff",rgb:"rgb(255, 0, 255)"},Gainsboro:{hex:"#dcdcdc",rgb:"rgb(220, 220, 220)"},GhostWhite:{hex:"#f8f8ff",rgb:"rgb(248, 248, 255)"},Gold:{hex:"#ffd700",rgb:"rgb(255, 215, 0)"},GoldenRod:{hex:"#daa520",rgb:"rgb(218, 165, 32)"},Gray:{hex:"#808080",rgb:"rgb(128, 128, 128)"},Green:{hex:"#008000",rgb:"rgb(0, 128, 0)"},GreenYellow:{hex:"#adff2f",rgb:"rgb(173, 255, 47)"},Grey:{hex:"#808080",rgb:"rgb(128, 128, 128)"},HoneyDew:{hex:"#f0fff0",rgb:"rgb(240, 255, 240)"},HotPink:{hex:"#ff69b4",rgb:"rgb(255, 105, 180)"},IndianRed:{hex:"#cd5c5c",rgb:"rgb(205, 92, 92)"},Indigo:{hex:"#4b0082",rgb:"rgb(75, 0, 130)"},Ivory:{hex:"#fffff0",rgb:"rgb(255, 255, 240)"},Khaki:{hex:"#f0e68c",rgb:"rgb(240, 230, 140)"},Lavender:{hex:"#e6e6fa",rgb:"rgb(230, 230, 250)"},LavenderBlush:{hex:"#fff0f5",rgb:"rgb(255, 240, 245)"},LawnGreen:{hex:"#7cfc00",rgb:"rgb(124, 252, 0)"},LemonChiffon:{hex:"#fffacd",rgb:"rgb(255, 250, 205)"},LightBlue:{hex:"#add8e6",rgb:"rgb(173, 216, 230)"},LightCoral:{hex:"#f08080",rgb:"rgb(240, 128, 128)"},LightCyan:{hex:"#e0ffff",rgb:"rgb(224, 255, 255)"},LightGoldenRodYellow:{hex:"#fafad2",rgb:"rgb(250, 250, 210)"},LightGray:{hex:"#d3d3d3",rgb:"rgb(211, 211, 211)"},LightGreen:{hex:"#90ee90",rgb:"rgb(144, 238, 144)"},LightGrey:{hex:"#d3d3d3",rgb:"rgb(211, 211, 211)"},LightPink:{hex:"#ffb6c1",rgb:"rgb(255, 182, 193)"},LightSalmon:{hex:"#ffa07a",rgb:"rgb(255, 160, 122)"},LightSeaGreen:{hex:"#20b2aa",rgb:"rgb(32, 178, 170)"},LightSkyBlue:{hex:"#87cefa",rgb:"rgb(135, 206, 250)"},LightSlateGray:{hex:"#778899",rgb:"rgb(119, 136, 153)"},LightSlateGrey:{hex:"#778899",rgb:"rgb(119, 136, 153)"},LightSteelBlue:{hex:"#b0c4de",rgb:"rgb(176, 196, 222)"},LightYellow:{hex:"#ffffe0",rgb:"rgb(255, 255, 224)"},Lime:{hex:"#00ff00",rgb:"rgb(0, 255, 0)"},LimeGreen:{hex:"#32cd32",rgb:"rgb(50, 205, 50)"},Linen:{hex:"#faf0e6",rgb:"rgb(250, 240, 230)"},Magenta:{hex:"#ff00ff",rgb:"rgb(255, 0, 255)"},Maroon:{hex:"#800000",rgb:"rgb(128, 0, 0)"},MediumAquaMarine:{hex:"#66cdaa",rgb:"rgb(102, 205, 170)"},MediumBlue:{hex:"#0000cd",rgb:"rgb(0, 0, 205)"},MediumOrchid:{hex:"#ba55d3",rgb:"rgb(186, 85, 211)"},MediumPurple:{hex:"#9370db",rgb:"rgb(147, 112, 219)"},MediumSeaGreen:{hex:"#3cb371",rgb:"rgb(60, 179, 113)"},MediumSlateBlue:{hex:"#7b68ee",rgb:"rgb(123, 104, 238)"},MediumSpringGreen:{hex:"#00fa9a",rgb:"rgb(0, 250, 154)"},MediumTurquoise:{hex:"#48d1cc",rgb:"rgb(72, 209, 204)"},MediumVioletRed:{hex:"#c71585",rgb:"rgb(199, 21, 133)"},MidnightBlue:{hex:"#191970",rgb:"rgb(25, 25, 112)"},MintCream:{hex:"#f5fffa",rgb:"rgb(245, 255, 250)"},MistyRose:{hex:"#ffe4e1",rgb:"rgb(255, 228, 225)"},Moccasin:{hex:"#ffe4b5",rgb:"rgb(255, 228, 181)"},NavajoWhite:{hex:"#ffdead",rgb:"rgb(255, 222, 173)"},Navy:{hex:"#000080",rgb:"rgb(0, 0, 128)"},OldLace:{hex:"#fdf5e6",rgb:"rgb(253, 245, 230)"},Olive:{hex:"#808000",rgb:"rgb(128, 128, 0)"},OliveDrab:{hex:"#6b8e23",rgb:"rgb(107, 142, 35)"},Orange:{hex:"#ffa500",rgb:"rgb(255, 165, 0)"},OrangeRed:{hex:"#ff4500",rgb:"rgb(255, 69, 0)"},Orchid:{hex:"#da70d6",rgb:"rgb(218, 112, 214)"},PaleGoldenRod:{hex:"#eee8aa",rgb:"rgb(238, 232, 170)"},PaleGreen:{hex:"#98fb98",rgb:"rgb(152, 251, 152)"},PaleTurquoise:{hex:"#afeeee",rgb:"rgb(175, 238, 238)"},PaleVioletRed:{hex:"#db7093",rgb:"rgb(219, 112, 147)"},PapayaWhip:{hex:"#ffefd5",rgb:"rgb(255, 239, 213)"},PeachPuff:{hex:"#ffdab9",rgb:"rgb(255, 218, 185)"},Peru:{hex:"#cd853f",rgb:"rgb(205, 133, 63)"},Pink:{hex:"#ffc0cb",rgb:"rgb(255, 192, 203)"},Plum:{hex:"#dda0dd",rgb:"rgb(221, 160, 221)"},PowderBlue:{hex:"#b0e0e6",rgb:"rgb(176, 224, 230)"},Purple:{hex:"#800080",rgb:"rgb(128, 0, 128)"},RebeccaPurple:{hex:"#663399",rgb:"rgb(102, 51, 153)"},Red:{hex:"#ff0000",rgb:"rgb(255, 0, 0)"},RosyBrown:{hex:"#bc8f8f",rgb:"rgb(188, 143, 143)"},RoyalBlue:{hex:"#4169e1",rgb:"rgb(65, 105, 225)"},SaddleBrown:{hex:"#8b4513",rgb:"rgb(139, 69, 19)"},Salmon:{hex:"#fa8072",rgb:"rgb(250, 128, 114)"},SandyBrown:{hex:"#f4a460",rgb:"rgb(244, 164, 96)"},SeaGreen:{hex:"#2e8b57",rgb:"rgb(46, 139, 87)"},SeaShell:{hex:"#fff5ee",rgb:"rgb(255, 245, 238)"},Sienna:{hex:"#a0522d",rgb:"rgb(160, 82, 45)"},Silver:{hex:"#c0c0c0",rgb:"rgb(192, 192, 192)"},SkyBlue:{hex:"#87ceeb",rgb:"rgb(135, 206, 235)"},SlateBlue:{hex:"#6a5acd",rgb:"rgb(106, 90, 205)"},SlateGray:{hex:"#708090",rgb:"rgb(112, 128, 144)"},SlateGrey:{hex:"#708090",rgb:"rgb(112, 128, 144)"},Snow:{hex:"#fffafa",rgb:"rgb(255, 250, 250)"},SpringGreen:{hex:"#00ff7f",rgb:"rgb(0, 255, 127)"},SteelBlue:{hex:"#4682b4",rgb:"rgb(70, 130, 180)"},Tan:{hex:"#d2b48c",rgb:"rgb(210, 180, 140)"},Teal:{hex:"#008080",rgb:"rgb(0, 128, 128)"},Thistle:{hex:"#d8bfd8",rgb:"rgb(216, 191, 216)"},Tomato:{hex:"#ff6347",rgb:"rgb(255, 99, 71)"},Turquoise:{hex:"#40e0d0",rgb:"rgb(64, 224, 208)"},Violet:{hex:"#ee82ee",rgb:"rgb(238, 130, 238)"},Wheat:{hex:"#f5deb3",rgb:"rgb(245, 222, 179)"},White:{hex:"#ffffff",rgb:"rgb(255, 255, 255)"},WhiteSmoke:{hex:"#f5f5f5",rgb:"rgb(245, 245, 245)"},Yellow:{hex:"#ffff00",rgb:"rgb(255, 255, 0)"},YellowGreen:{hex:"#9acd32",rgb:"rgb(154, 205, 50)"}},ce=1,de=[".annnoteimage",".annnoteline",".annotation",".ui-dialog",".ui-dialog *",".annnote",".annnote *"],fe="no-interact",pe=["DimensionLineComponent","DimensionMarkerComponent",fe],he=13,me=27,ge=189,ye=187,be=30,ve=9999,xe="redline-tool-document-zoom",we="redline-tool-splash-screen",ke="redline-tool-enabled",Ce=(n(53),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).checkColorSwatchRequired=n.checkColorSwatchRequired.bind(k()(n)),n.handleCopy=n.handleCopy.bind(k()(n)),n.setSwatchValue=n.setSwatchValue.bind(k()(n)),n.state={inputValue:"",isCopiedTooltipActive:!1,swatchColor:null},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.inputValue;e.noFormat?this.setState({inputValue:t}):this.checkColorSwatchRequired()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.inputValue,r=t.noFormat,o=e.inputValue;r&&n!==o?this.setState({inputValue:n}):n!==o&&this.checkColorSwatchRequired()}},{key:"setSwatchValue",value:function(){var e,n,r=this.state.inputValue,o="",i="",a="";if(t.rgbaRegEx.test(r)){var l=r.match(t.rgbaRegEx);o=ne()(l,1)[0],a=r.replace(t.rgbaRegEx,"!*!")}else if(t.hexRegEx.test(r)){var u=r.match(t.hexRegEx);o=ne()(u,1)[0],a=r.replace(t.hexRegEx,"!*!")}else a=r;if(/rgba/.test(o)){e=o.match(/(\d\.\d+)|\d+/g),i="#";for(var s=0;s<3;s++)i+="0".concat(Number(e[s]).toString(16).toUpperCase()).slice(-2);i+=" ".concat(100*Number(e[3]),"%")}else/%/.test(o)?(e=o.replace("#","").slice(0,6).match(/\w{2}/g),n=Number(o.replace(/#\w{6}\s/,"").replace("%",""))/100,i="rgba(".concat(parseInt(e[0],16),", ").concat(parseInt(e[1],16),", ").concat(parseInt(e[2],16),", ").concat(n,")")):/rgb\(/.test(o)?(e=o.replace(",","").match(/\d+/g),i="#",e.forEach(function(e){i+="0".concat(Number(e).toString(16).toUpperCase()).slice(-2)})):/#/.test(o)&&(e=o.replace("#","").match(/\w{2}/g),i="rgb(".concat(parseInt(e[0],16),", ").concat(parseInt(e[1],16),", ").concat(parseInt(e[2],16),")"));a=a.replace("!*!",i),this.setState({inputValue:a})}},{key:"handleCopy",value:function(e){var t=this;e.target.select(),document.execCommand("Copy"),this.setState({isCopiedTooltipActive:!0},function(){setTimeout(function(){t.setState({isCopiedTooltipActive:!1})},750)})}},{key:"checkColorSwatchRequired",value:function(){var e,n,r,o=this.props.inputValue;if(t.rgbaRegEx.test(o)&&"transparent"!==o)if(/rgba/.test(o)){var i=o.match(t.rgbaRegEx)[0].replace(/\s+/g,"");e=Math.round(100*Number(i.replace(/rgba\(\d+,\d+,\d+,(\d?(\.\d+)?)\)/,"$1")))/100,r=(r=i.replace(/rgba\((\d+),(\d+),(\d+),(\d?(\.\d+)?)\)/,"rgba($1, $2, $3, ".concat("!*!",")"))).replace("!*!",e),1===e&&(r=i.replace(/rgba\((\d+),(\d+),(\d+),(\d?(\.\d+)?)\)/,"rgb($1, $2, $3)")),n=o.replace(t.rgbaRegEx,r)}else{var a=o.match(t.rgbaRegEx),l=ne()(a,1);r=l[0]}else{var u=o.trim().toLowerCase();Object.keys(se).forEach(function(e){if(u.includes(e.toLowerCase())){var t=se[e].rgb;r=t}})}this.setState({inputValue:n||o,swatchColor:r})}},{key:"render",value:function(){var e=this.props.label,n=this.state,r=n.inputValue,i=n.isCopiedTooltipActive,a=n.swatchColor;return o.a.createElement("div",{className:t.displayName},o.a.createElement("label",{className:"".concat(t.displayName,"__label")},e),o.a.createElement("input",{className:"".concat(t.displayName,"__input"),readOnly:!0,value:r,onMouseUp:this.handleCopy}),a&&o.a.createElement(ae,{className:"".concat(t.displayName,"__color-swatch"),setSwatchValue:this.setSwatchValue,swatchColor:a}),o.a.createElement(ue,{isVisible:i}))}}]),t}(o.a.PureComponent));E()(Ce,"displayName","InputComponent"),E()(Ce,"rgbaRegEx",/rgb(a)?\(\d+,(\s+)?\d+,(\s+)?\d+(,(\s+)?\d(\.\d+)?)?\)/),E()(Ce,"hexRegEx",/#([a-fA-F]|\d){6}((\s+)?\d{1,3}%)?/),Ce.propTypes={inputValue:N.a.string.isRequired,label:N.a.string.isRequired,noFormat:N.a.bool},Ce.defaultProps={noFormat:!1};var Te=Ce,Se=(n(55),function(e){var t=e.changeCallback,n=e.isDisabled,r=e.label,i=e.options.map(function(e){var t=e.name,n=e.value;return o.a.createElement("option",{className:"".concat("SelectComponent","__select--option"),key:n,value:n},t)}),a=n&&"".concat("SelectComponent","--disabled");return o.a.createElement("div",{className:"".concat("SelectComponent"," ").concat(a)},o.a.createElement("label",{className:"".concat("SelectComponent","__label")},r,o.a.createElement("select",{className:"".concat("SelectComponent","__select"),disabled:n,onChange:function(e){t(e)}},i)))});Se.propTypes={changeCallback:N.a.func.isRequired,isDisabled:N.a.bool,label:N.a.string,options:N.a.arrayOf(N.a.shape({name:N.a.string,value:N.a.string})).isRequired},Se.defaultProps={isDisabled:!1,label:""};var Ee=Se,_e=(n(57),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).handleCopy=n.handleCopy.bind(k()(n)),n.handleScroll=n.handleScroll.bind(k()(n)),n.state={isCopiedTooltipActive:!1,isScrolling:!1},n}return T()(t,e),g()(t,[{key:"handleCopy",value:function(e){var t=this,n=this.state.isScrolling,r=e.target;n||(r.select(),document.execCommand("Copy"),this.setState({isCopiedTooltipActive:!0},function(){setTimeout(function(){t.setState({isCopiedTooltipActive:!1})},750)})),setTimeout(function(){t.setState({isScrolling:!1})},100)}},{key:"handleScroll",value:function(){this.setState({isScrolling:!0})}},{key:"render",value:function(){var e=this.props,n=e.inputValue,r=e.label,i=this.state.isCopiedTooltipActive;return o.a.createElement("div",{className:t.displayName},o.a.createElement("label",{className:"".concat(t.displayName,"__label")},r,o.a.createElement("textarea",{className:"".concat(t.displayName,"__textarea"),readOnly:!0,onMouseUp:this.handleCopy,onScroll:this.handleScroll,value:n})),o.a.createElement(ue,{isVisible:i}))}}]),t}(o.a.PureComponent));E()(_e,"displayName","TextAreaComponent"),_e.propTypes={inputValue:N.a.string.isRequired,label:N.a.string.isRequired};var Ne=_e;function Pe(e){for(var t=[],n=Object.keys(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:"",n=!1;return!t.trim().length||t.includes("none")||"0px"===t||"medium"===t||t.includes("initial")||"opacity"===e&&1===Number(t)||(n=!0),n}(n,r)){var i=r.replace(/rgba\(\d+,\s\d+,\s\d+,\s0\)/,"transparent");n!==t.COPY_BLOCK_NAME&&me.push("".concat(n,": ").concat(i,";"));le.push(n===t.COPY_BLOCK_NAME?o.a.createElement(Ne,{inputValue:i,key:n,label:"content:"}):o.a.createElement(Te,{inputValue:i,key:n,label:"".concat(n,":")}))}})}),le.push([o.a.createElement("p",{key:"css-block-attributes-header"},"CSS BLOCK ATTRIBUTES"),o.a.createElement(Ne,{inputValue:me.join("\n"),key:"css-block-attributes-body",label:"properties:"})]),le}},{key:"renderPseudoClassTabs",value:function(){var e,n,r,i=this,a=this.state,l=a.activeTab,u=a.defaultCSSAttributes,s=function(){for(var e="",t=i.props.selectedElement,n=t.target,r=t.target.id,o=void 0===r?"":r;"base"!==o&&!e;){var a=n.getAttribute("data-label");if(a)e=a;else{var l=n,u=l.parentElement,s=l.parentElement.id;n=u,o=void 0===s?"":s}}return e}();return o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs")},s&&o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--parent-component-name")},o.a.createElement(Te,{inputValue:s,label:"parent component name:"})),o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--header")},(r=[],t.pseudoClasses.forEach(function(e){var n=e.keyName;if(function(){var e=i.retrieveElementPageCSS(n),t=!1;if(Object.keys(e).length){var r=i.retrieveElementPageCSS(n),o=r.properties,a=r.styles,l=r.text;Le(o).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)}),Le(a).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)}),Le(l).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)})}return t}()||"default"===n){var a="".concat(t.displayName,n===l?"__pseudo-tabs--tab-active":"__pseudo-tabs--tab-inactive");r.push(o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--tab ").concat(a),key:n,onClick:function(){return e=n,void i.setState({activeTab:e});var e}},o.a.createElement("span",null,n)))}}),r)),o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--body")},(e=ne()(t.pseudoClasses,1)[0].keyName,n={},n=i.retrieveElementPageCSS(l),Object.keys(n).length||l!==e||(n=JSON.parse(JSON.stringify(u))),i.renderAttributes(n))))}},{key:"render",value:function(){var e=this,n=this.props,r=n.gridLayout,i=n.isToolEnabled,l=n.selectedElement,u=(l=void 0===l?{}:l).target,s=this.state.isSidebarVisible,c=!!u,d=i&&s&&"".concat(t.displayName,"--visible"),f=H.map(function(e){return{name:z[e],value:e}});return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(d)},o.a.createElement("div",{className:"".concat(t.displayName,"__side-pull"),onClick:this.toggleSidebar,onKeyUp:this.toggleSidebar,role:"button",tabIndex:0},o.a.createElement("span",null),o.a.createElement("span",null),o.a.createElement("span",null)),c&&this.renderPseudoClassTabs(),o.a.createElement("div",{className:"".concat(t.displayName,"__grid-overlay")},o.a.createElement("div",{className:"".concat(t.displayName,"__grid-overlay--selector"),ref:this.gridSelectorRef},o.a.createElement(oe,{changeCallback:function(t){var n=e.props.gridOverlaySet,r=t.target.checked,o=a.a.findDOMNode(e.gridSelectorRef.current).querySelector("select").value;n(r?o:"")},label:"GRID OVERLAY"}),o.a.createElement(Ee,{changeCallback:function(t){var n=e.props.gridOverlaySet,r=t.target.value;n(a.a.findDOMNode(e.gridSelectorRef.current).querySelector("input").checked?r:"")},isDisabled:!r,options:f}))))}}]),t}(o.a.PureComponent);E()(Me,"displayName","ElementPropertiesSidebarModule"),E()(Me,"cssAttributesList",{properties:{width:"",height:""},styles:{opacity:"",border:"","border-width":"","border-style":"","border-color":"","border-top":"","border-top-width":"","border-top-style":"","border-top-color":"","border-right":"","border-right-width":"","border-right-style":"","border-right-color":"","border-bottom":"","border-bottom-width":"","border-bottom-style":"","border-bottom-color":"","border-left":"","border-left-width":"","border-left-style":"","border-left-color":"","border-radius":"","border-top-left-radius":"","border-top-right-radius":"","border-bottom-right-radius":"","border-bottom-left-radius":"",outline:"","background-color":"","box-shadow":""},text:{"font-family":"","font-size":"","font-weight":"","line-height":"","text-align":"",color:"",_content:""}}),E()(Me,"pseudoClasses",[{axureName:"",keyName:"default",pseudoName:"Default"},{axureName:"mouseOver",keyName:"hover",pseudoName:"Hover"},{axureName:"mouseDown",keyName:"mousedown",pseudoName:"MouseDown"},{axureName:"disabled",keyName:"disabled",pseudoName:"Disabled"}]),E()(Me,"COPY_BLOCK_NAME","_content"),Me.propTypes={gridLayout:N.a.string.isRequired,gridOverlaySet:N.a.func.isRequired,isToolEnabled:N.a.bool.isRequired,selectedElement:N.a.shape({})},Me.defaultProps={selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,width:0}};var Re=Me,Ae="0 0 ".concat(50," ").concat(50),De=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.height,i=e.path,a=e.width;return o.a.createElement("svg",{className:"IconComponent",dangerouslySetInnerHTML:{__html:i},fill:n,height:r,viewBox:Ae,width:a})};De.propTypes={fill:N.a.string,height:N.a.number.isRequired,path:N.a.string.isRequired,width:N.a.number.isRequired},De.defaultProps={fill:"currentColor"};var je=De,Ie=(n(61),function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=n.state,r=t.zoomWrapperPadding,o=t.documentZoom,i=t.artboardHeight,a=t.artboardWidth,l=e.artboardHeight,u=void 0===l?i:l,s=e.artboardWidth,c=void 0===s?a:s;n.setState({artboardHeight:u,artboardWidth:c,artboardWrapperHeight:u*(o/100)+2*r,artboardWrapperWidth:c*(o/100)+2*r})}),E()(k()(n),"setToolEnabledStatus",function(e){n.setState({isToolEnabled:e}),mt(ke,e,be)}),E()(k()(n),"toggleToolEnable",function(){var e=n.state.isToolEnabled;n.clearHoveredElement(),n.clearSelectedElement(),n.setToolEnabledStatus(!e)}),E()(k()(n),"initializerListeners",function(){lt(),dt(n.handleDialogOpenCallback),st(n.handleClickCallback),ct(n.handleMouseToggleCallback),ut(n.handleMouseoverCallback),pt(n.handleZoomingCallback),ft(n.handleHotkeyCallback)}),E()(k()(n),"clearHoveredElement",f()(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({hoveredElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0}});case 1:case"end":return e.stop()}},e)}))),E()(k()(n),"clearSelectedElement",f()(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0}});case 1:case"end":return e.stop()}},e)}))),E()(k()(n),"clearToolStatus",function(){n.clearHoveredElement(),n.clearSelectedElement()}),E()(k()(n),"handleScroll",function(e){var t,r=e.target.classList;t=!1,["ElementPropertiesSidebarModule__pseudo-tabs--body","TextAreaComponent__textarea"].forEach(function(e){r.contains(e)&&(t=!0)}),t||n.clearToolStatus()}),E()(k()(n),"handleMouseoverCallback",function(e){var t=n.state,r=t.isToolEnabled,o=t.isHotkeyDepressed,i=e.target,a=e.target.classList,l=function(){return!a.contains(fe)};r&&!o&&l()?(e.stopPropagation(),n.updateHoverSelect(i,null)):r&&!l()&&n.clearHoveredElement()}),E()(k()(n),"handleClickCallback",function(e){console.log("click fired!!!!");var t,r=n.state,o=r.isToolEnabled,i=r.isHotkeyDepressed,a=e.target,l=e.target.classList,u=X.displayName;l.contains(u)?(console.log("were clear!!!!!!"),n.clearSelectedElement()):!o||i||(t=!1,l.length&&pe.forEach(function(e){l.contains(e)&&(t=!0)}),t)?i&&"select"===e.target.nodeName.toLowerCase()&&n.setState({isHotkeyDepressed:!1}):(e.stopPropagation(),e.preventDefault(),n.updateHoverSelect(null,a))}),E()(k()(n),"handleMouseToggleCallback",function(e){var t=n.state,r=t.isToolEnabled,o=t.isHotkeyDepressed;r&&!o&&(e.stopPropagation(),e.preventDefault())}),E()(k()(n),"handleDialogOpenCallback",function(e){for(var t=n.state.lastOpenedDialog,r=e.target;!r.classList.contains("annotation")&&!r.classList.contains("annnote");){r=r.parentElement}var o=Q(r),i=o.scaledOffsetLeft,a=o.scaledOffsetTop,l=o.scaledWidth,s=document.getElementsByClassName("ui-dialog"),c=document.getElementsByClassName("notesDialog"),d=s||c,f=u()(d).pop();f&&f!==t&&(f.style.left="".concat(i,"px"),f.style.top="".concat(a+l+5,"px"),n.setState({lastOpenedDialog:f}))}),E()(k()(n),"handleHotkeyCallback",function(e){e!==n.state.isHotkeyDepressed&&n.setState({isHotkeyDepressed:e},function(){n.clearToolStatus()})}),E()(k()(n),"handleZoomingCallback",function(e){var r=n.state.documentZoom;switch(e.keyCode){case me:n.clearToolStatus();break;case ye:if(e.ctrlKey||e.metaKey){e.preventDefault();var o=r+t.ZOOM_STEP;n.setArtboardZoom(o)}break;case ge:if(e.ctrlKey||e.metaKey){e.preventDefault();var i=r-t.ZOOM_STEP;n.setArtboardZoom(i)}}}),E()(k()(n),"handleSplashScreenClose",function(){mt(we,ce,ve),n.setState({shouldShowSplashScreen:!1})}),E()(k()(n),"gridOverlaySet",function(e){n.setState({gridLayout:e})}),n.state={artboardHeight:0,artboardWidth:0,artboardWrapperHeight:0,artboardWrapperWidth:0,axureLoaded:!1,documentZoom:100,elementMarkerThickness:1,gridLayout:"",hoveredElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0},isHotkeyDepressed:!1,isToolEnabled:!0,isToolPermitted:!1,lastOpenedDialog:"",selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0},shouldShowSplashScreen:!1,zoomWrapperPadding:1e3},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=gt(ke),t=gt(we)||0,n=window.parent.location.href,r=!/redline=business/.test(n),o=Number(t) \ No newline at end of file +Object.defineProperty(t,"__esModule",{value:!0});var n=null,r=!1,o=3,i=-1,a=-1,l=!1,u=!1;function s(){if(!l){var e=n.expirationTime;u?C():u=!0,k(f,e)}}function c(){var e=n,t=n.next;if(n===t)n=null;else{var r=n.previous;n=r.next=t,t.previous=r}e.next=e.previous=null,r=e.callback,t=e.expirationTime,e=e.priorityLevel;var i=o,l=a;o=e,a=t;try{var u=r()}finally{o=i,a=l}if("function"==typeof u)if(u={callback:u,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=u.next=u.previous=u;else{r=null,e=n;do{if(e.expirationTime>=t){r=e;break}e=e.next}while(e!==n);null===r?r=n:r===n&&(n=u,s()),(t=r.previous).next=r.previous=u,u.next=r,u.previous=t}}function d(){if(-1===i&&null!==n&&1===n.priorityLevel){l=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{l=!1,null!==n?s():u=!1}}}function f(e){l=!0;var o=r;r=e;try{if(e)for(;null!==n;){var i=t.unstable_now();if(!(n.expirationTime<=i))break;do{c()}while(null!==n&&n.expirationTime<=i)}else if(null!==n)do{c()}while(null!==n&&!T())}finally{l=!1,r=o,null!==n?s():u=!1,d()}}var p,h,m=Date,g="function"==typeof setTimeout?setTimeout:void 0,y="function"==typeof clearTimeout?clearTimeout:void 0,b="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,v="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function x(e){p=b(function(t){y(h),e(t)}),h=g(function(){v(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var w=performance;t.unstable_now=function(){return w.now()}}else t.unstable_now=function(){return m.now()};var k,C,T,S=null;if("undefined"!=typeof window?S=window:void 0!==e&&(S=e),S&&S._schedMock){var E=S._schedMock;k=E[0],C=E[1],T=E[2],t.unstable_now=E[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var _=null,N=function(e){if(null!==_)try{_(e)}finally{_=null}};k=function(e){null!==_?setTimeout(k,0,e):(_=e,setTimeout(N,0,!1))},C=function(){_=null},T=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof b&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var P=null,O=!1,L=-1,M=!1,R=!1,A=0,D=33,j=33;T=function(){return A<=t.unstable_now()};var I=new MessageChannel,W=I.port2;I.port1.onmessage=function(){O=!1;var e=P,n=L;P=null,L=-1;var r=t.unstable_now(),o=!1;if(0>=A-r){if(!(-1!==n&&n<=r))return M||(M=!0,x(q)),P=e,void(L=n);o=!0}if(null!==e){R=!0;try{e(o)}finally{R=!1}}};var q=function(e){if(null!==P){x(q);var t=e-A+j;tt&&(t=8),j=tt?W.postMessage(void 0):M||(M=!0,x(q))},C=function(){P=null,O=!1,L=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=o,a=i;o=e,i=t.unstable_now();try{return n()}finally{o=r,i=a,d()}},t.unstable_next=function(e){switch(o){case 1:case 2:case 3:var n=3;break;default:n=o}var r=o,a=i;o=n,i=t.unstable_now();try{return e()}finally{o=r,i=a,d()}},t.unstable_scheduleCallback=function(e,r){var a=-1!==i?i:t.unstable_now();if("object"==typeof r&&null!==r&&"number"==typeof r.timeout)r=a+r.timeout;else switch(o){case 1:r=a+-1;break;case 2:r=a+250;break;case 5:r=a+1073741823;break;case 4:r=a+1e4;break;default:r=a+5e3}if(e={callback:e,priorityLevel:o,expirationTime:r,next:null,previous:null},null===n)n=e.next=e.previous=e,s();else{a=null;var l=n;do{if(l.expirationTime>r){a=l;break}l=l.next}while(l!==n);null===a?a=n:a===n&&(n=e,s()),(r=a.previous).next=a.previous=e,e.next=a,e.previous=r}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var r=e.previous;r.next=t,t.previous=r}e.next=e.previous=null}},t.unstable_wrapCallback=function(e){var n=o;return function(){var r=o,a=i;o=n,i=t.unstable_now();try{return e.apply(this,arguments)}finally{o=r,i=a,d()}}},t.unstable_getCurrentPriorityLevel=function(){return o},t.unstable_shouldYield=function(){return!r&&(null!==n&&n.expirationTime=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:N(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e){return(n="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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";var r=n(34);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r=n(36);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".DimensionLineComponent {\n position: absolute; }\n .DimensionLineComponent--hovered-solid {\n z-index: 99992;\n border-width: 0;\n border-style: solid;\n border-color: #4860ff; }\n .DimensionLineComponent--hovered-dashed {\n z-index: 99993;\n border-width: 0;\n border-style: dashed;\n border-color: #4860ff; }\n .DimensionLineComponent--selected-solid {\n z-index: 99994;\n border-width: 0;\n border-style: solid;\n border-color: #e89a28; }\n .DimensionLineComponent--inter-element-dimension {\n z-index: 99991;\n border-width: 0;\n border-style: solid;\n border-color: #e89a28; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")})}},function(e,t,n){var r=n(39);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".DimensionMarkerComponent {\n font-size: 10px;\n font-weight: bold;\n position: absolute;\n z-index: 99995;\n display: flex;\n align-items: center;\n justify-content: center;\n letter-spacing: 1px;\n opacity: 0.9;\n color: #fff;\n border-radius: 5px;\n background-color: #e89a28; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(41);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".GridOverlayModule {\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n pointer-events: none; }\n .GridOverlayModule__container {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n height: 100%;\n opacity: 0.2; }\n .GridOverlayModule__container--column {\n height: 100%;\n background-color: #ff5757; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(43);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ArtboardModule {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: #333;\n background-image: radial-gradient(rgba(0, 0, 0, 0.2) 1px, transparent 0);\n background-size: 10px 10px; }\n .ArtboardModule__artboard {\n position: absolute; }\n .ArtboardModule #base {\n position: relative;\n width: 100%;\n height: 100%;\n transform-origin: center; }\n .ArtboardModule--enabled .ArtboardModule__artboard *:not(.ui-dialog) {\n cursor: pointer; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t,n){var r=n(48);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.CheckboxComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n cursor: pointer;\n color: #fff; }\n\n.CheckboxComponent__input {\n margin: 0 0 0 10px;\n cursor: pointer;\n border-radius: 5px; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(50);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ColorSwatchComponent {\n position: absolute;\n z-index: 1;\n right: 0;\n bottom: 0;\n width: 25px;\n height: 25px;\n cursor: pointer;\n border-left: solid 1px #111111;\n border-radius: 0 3px 3px 0;\n outline: none; }\n .ColorSwatchComponent__swatch {\n position: absolute;\n z-index: 2;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit; }\n .ColorSwatchComponent__checkerboard {\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n border-radius: inherit;\n background-image: linear-gradient(45deg, rgba(85, 85, 85, 0.5) 25%, transparent 25%), linear-gradient(-45deg, rgba(85, 85, 85, 0.5) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(85, 85, 85, 0.5) 75%), linear-gradient(-45deg, transparent 75%, rgba(85, 85, 85, 0.5) 75%);\n background-position: 0 0, 0 5px, 5px -5px, -5px 0;\n background-size: 10px 10px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(52);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".TooltipComponent {\n font-size: 12px;\n position: absolute;\n z-index: 1;\n visibility: hidden;\n box-sizing: border-box;\n padding: 3px 5px;\n cursor: default;\n transition: opacity ease-in-out 0.5s, visibility ease-in-out 0.5s;\n opacity: 0;\n color: #fff;\n border-radius: 3px;\n background-color: #e89a28; }\n .TooltipComponent::after {\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n content: '';\n border-width: 5px;\n border-style: solid;\n border-color: #e89a28 transparent transparent; }\n .TooltipComponent--active {\n visibility: visible;\n transition: opacity 0s, visibility 0s;\n opacity: 1; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(54);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.InputComponent {\n position: relative;\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n justify-content: space-between;\n width: 100%;\n height: 40px; }\n .InputComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n color: #fff; }\n .InputComponent__input {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n margin-top: 0;\n padding: 4px 5px;\n cursor: text;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .InputComponent .TooltipComponent {\n top: -11px;\n left: 0; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(56);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.SelectComponent {\n position: relative; }\n .SelectComponent--disabled {\n opacity: 0.5; }\n .SelectComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n display: block;\n color: #fff; }\n .SelectComponent__select {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n margin-top: 0;\n padding: 4px 5px;\n cursor: pointer;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .SelectComponent__select--option {\n cursor: pointer; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(58);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.TextAreaComponent {\n position: relative; }\n .TextAreaComponent__label {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n display: block;\n color: #fff; }\n .TextAreaComponent__textarea {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n position: relative;\n box-sizing: border-box;\n width: 100%;\n height: 50px;\n margin-top: 0;\n padding: 4px 5px;\n resize: none;\n cursor: text;\n color: #333;\n border: none;\n border-radius: 3px;\n outline: none; }\n .TextAreaComponent .TooltipComponent {\n top: -11px;\n left: 0; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(60);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.ElementPropertiesSidebarModule {\n position: fixed;\n z-index: 99999;\n top: 50px;\n right: -265px;\n box-sizing: border-box;\n width: 270px;\n height: calc(100% - 50px);\n transition: right 0.1s ease-in-out;\n opacity: 0.9;\n background-color: #111111; }\n .ElementPropertiesSidebarModule--visible {\n right: 0; }\n .ElementPropertiesSidebarModule--visible .ElementPropertiesSidebarModule__grid-overlay {\n display: inline-block; }\n .ElementPropertiesSidebarModule__side-pull {\n position: absolute;\n top: 65px;\n left: -20px;\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: space-between;\n box-sizing: border-box;\n width: 20px;\n height: 40px;\n padding: 13px 0 13px 7px;\n cursor: pointer;\n border-radius: 20px 0 0 20px;\n outline: none;\n background-color: inherit; }\n .ElementPropertiesSidebarModule__side-pull > span {\n width: 100%;\n height: 2px;\n border-radius: 1px;\n background-color: #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs {\n width: 100%;\n height: calc(100% - 100px); }\n .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name {\n box-sizing: border-box;\n width: 100%;\n margin-bottom: 41px;\n padding: 0 20px; }\n .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name .InputComponent {\n margin-top: 0 !important; }\n .ElementPropertiesSidebarModule__pseudo-tabs--header {\n display: flex;\n align-items: flex-end;\n flex-direction: row;\n box-sizing: border-box;\n width: 100%;\n height: 25px;\n padding: 0 20px; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab {\n font-family: "Lato", sans-serif;\n font-size: 12px;\n z-index: 1;\n display: flex;\n align-items: center;\n flex-basis: 0;\n flex-grow: 1;\n justify-content: center;\n box-sizing: border-box;\n max-width: 50%;\n height: 100%;\n margin: 0 1px;\n padding: 0 5px;\n cursor: pointer;\n color: #555;\n border-radius: 3px 3px 0 0;\n background-color: #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab span {\n overflow: hidden;\n width: 100%;\n text-align: center;\n white-space: nowrap;\n text-overflow: ellipsis; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab-active {\n color: #fff;\n border-width: 1px 1px 0;\n border-style: solid;\n border-color: #fff;\n background-color: #111111; }\n .ElementPropertiesSidebarModule__pseudo-tabs--tab-inactive:hover {\n height: 105%; }\n .ElementPropertiesSidebarModule__pseudo-tabs--body {\n overflow-y: auto;\n box-sizing: border-box;\n width: 100%;\n height: calc(100% - 25px);\n margin-top: -1px;\n padding: 0 20px 20px;\n border-top: solid 1px #fff; }\n .ElementPropertiesSidebarModule__pseudo-tabs--body p {\n font-size: 12px;\n font-weight: bold;\n margin-top: 20px;\n text-transform: uppercase;\n color: #fff; }\n .ElementPropertiesSidebarModule .InputComponent,\n .ElementPropertiesSidebarModule .TextAreaComponent {\n margin-top: 10px; }\n .ElementPropertiesSidebarModule__grid-overlay {\n display: none;\n box-sizing: border-box;\n width: 100%;\n height: 100px;\n padding: 20px;\n border-top: solid 1px #fff; }\n .ElementPropertiesSidebarModule__grid-overlay--selector {\n width: 100%; }\n .ElementPropertiesSidebarModule__grid-overlay--selector .CheckboxComponent {\n margin-bottom: 10px; }\n .ElementPropertiesSidebarModule .ElementPropertiesSidebarModule__pseudo-tabs--parent-component-name ~ .ElementPropertiesSidebarModule__pseudo-tabs--body {\n height: calc(100% - 105px); }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(62);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".PrimaryControlsModule {\n display: flex;\n align-items: center;\n height: 100%; }\n .PrimaryControlsModule__control {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 50px;\n height: 100%;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;\n color: #fff;\n border-radius: 5px; }\n .PrimaryControlsModule__control:hover {\n transition: background-color 0.05s ease-in-out, color 0.1s ease-in-out;\n background-color: #555; }\n .PrimaryControlsModule__control--enabled {\n color: #4edec2; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(64);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".modal-open {\n overflow: hidden; }\n\n.ModalComponent {\n position: fixed;\n z-index: 9999999;\n top: 0;\n left: 0;\n display: flex;\n visibility: hidden;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 20px; }\n .ModalComponent__overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(85, 85, 85, 0.7); }\n .ModalComponent__modal {\n position: relative;\n width: 100%;\n max-width: 500px;\n min-height: 200px;\n margin-top: 50px;\n padding: 30px;\n transition: margin-top 0.2s ease-in-out, opacity 0.2s ease-in-out;\n opacity: 0;\n border-radius: 5px;\n background-color: #fff;\n box-shadow: 0 3px 5px #333; }\n .ModalComponent__modal--body {\n width: 100%;\n height: 100%; }\n .ModalComponent__modal-close {\n position: absolute;\n top: 10px;\n right: 10px;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 20px;\n height: 20px;\n cursor: pointer;\n transition: background-color 0.05s ease-in-out; }\n .ModalComponent__modal-close:hover div {\n transition: background-color 0.2s ease-in-out;\n background-color: #555; }\n .ModalComponent__modal-close div {\n width: 1px;\n height: 100%;\n transform: rotate(45deg);\n background-color: #333; }\n .ModalComponent__modal-close div::after {\n position: absolute;\n top: 0;\n left: 0;\n width: 1px;\n height: 100%;\n content: '';\n transform: rotate(-90deg);\n background-color: inherit; }\n .ModalComponent--visible {\n visibility: visible; }\n .ModalComponent--visible .ModalComponent__modal {\n margin-top: 0;\n opacity: 1; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(66);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ButtonComponent {\n font-size: 16px;\n font-weight: bold;\n height: 40px;\n padding: 0 30px;\n cursor: pointer;\n transition: background-color 0.2s ease-in-out, color 0.1s ease-in-out;\n text-transform: uppercase;\n border: none;\n border-radius: 5px;\n outline: none; }\n .ButtonComponent--primary {\n color: #fff;\n background-color: #4edec2; }\n .ButtonComponent--primary:hover {\n background-color: #27d2b1; }\n .ButtonComponent--secondary {\n color: #4edec2;\n border: solid 1px #4edec2;\n background-color: #fff; }\n .ButtonComponent--secondary:hover {\n color: #fff;\n background-color: #4edec2; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(68);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".SharingLinksModule {\n display: none; }\n .SharingLinksModule__modal-block h1 {\n margin: 0;\n color: #333; }\n .SharingLinksModule__modal-block .InputComponent {\n height: 50px;\n margin-top: 20px; }\n .SharingLinksModule__modal-block .InputComponent__label {\n font-size: 16px;\n color: #333; }\n .SharingLinksModule__modal-block .InputComponent__input {\n border: solid 1px #333;\n border-radius: 5px; }\n .SharingLinksModule__modal-block .InputComponent .TooltipComponent {\n top: 0; }\n .SharingLinksModule__modal-block .ButtonComponent {\n float: right;\n margin-top: 30px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(70);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,'.HeaderModule {\n font-family: "Lato", sans-serif;\n position: fixed;\n z-index: 99998;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: space-between;\n box-sizing: border-box;\n width: 100%;\n height: 50px;\n padding: 0 30px;\n opacity: 0.9;\n background-color: #111111; }\n .HeaderModule__logo {\n font-size: 18px;\n color: #fff; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(72);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".SplashScreenModule {\n color: #333; }\n .SplashScreenModule__header {\n display: flex;\n align-items: center;\n width: 100%;\n margin-bottom: 10px; }\n .SplashScreenModule__header .IconComponent {\n margin-right: 10px;\n color: #4edec2; }\n .SplashScreenModule--disclosure {\n font-size: 14px;\n font-style: italic; }\n .SplashScreenModule h1 {\n margin: 0; }\n .SplashScreenModule h2 {\n margin: 40px 0 0; }\n .SplashScreenModule ul {\n margin: 10px 0 0;\n padding: 0 40px; }\n .SplashScreenModule li {\n margin-bottom: 10px; }\n .SplashScreenModule li:last-of-type {\n margin-bottom: 0; }\n .SplashScreenModule .ButtonComponent {\n float: right;\n margin-top: 30px; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(74);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".ZoomControlModule {\n position: fixed;\n z-index: 99997;\n bottom: 20px;\n left: 20px;\n display: flex;\n align-items: flex-start;\n justify-content: space-between;\n opacity: 0.9;\n border-radius: 5px;\n box-shadow: 0 3px 5px #555; }\n .ZoomControlModule__zoom-input {\n font-family: \"Lato\", sans-serif;\n width: 50px;\n height: 23px;\n text-align: center;\n border: none;\n outline: none; }\n .ZoomControlModule__zoom-control {\n display: flex;\n align-items: center;\n justify-content: center;\n box-sizing: border-box;\n width: 23px;\n height: 23px;\n padding: 6px;\n cursor: pointer;\n transition: transform 0.01s ease-in-out;\n background-color: #4edec2; }\n .ZoomControlModule__zoom-control:hover {\n transform: scale(1.05); }\n .ZoomControlModule__zoom-control span {\n position: relative;\n display: inline-block;\n width: 100%;\n height: 2px;\n background-color: #fff; }\n .ZoomControlModule__zoom-control--negative {\n border-right: solid 1px #555;\n border-radius: 5px 0 0 5px; }\n .ZoomControlModule__zoom-control--positive {\n border-left: solid 1px #555;\n border-radius: 0 5px 5px 0; }\n .ZoomControlModule__zoom-control--positive span::before {\n position: absolute;\n top: 0;\n right: 0;\n display: inline-block;\n width: 100%;\n height: 2px;\n content: '';\n transform: rotate(90deg);\n background-color: inherit; }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(76);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,".LoadingIndicatorComponent {\n position: fixed;\n z-index: 999999;\n top: 0;\n left: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 100%;\n background-color: #333; }\n .LoadingIndicatorComponent__spinner {\n position: relative;\n width: 40px;\n height: 40px; }\n .LoadingIndicatorComponent__spinner--animation {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n animation: sk-bounce 2s infinite ease-in-out;\n opacity: 0.6;\n border-radius: 50%;\n background-color: #fff; }\n .LoadingIndicatorComponent__spinner--animation:last-of-type {\n animation-delay: -1s; }\n\n@keyframes sk-bounce {\n 0%,\n 100% {\n transform: scale(0); }\n 50% {\n transform: scale(1); } }\n",""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){var r=n(78);"string"==typeof r&&(r=[[e.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(11)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){(t=e.exports=n(10)(!1)).push([e.i,"@import url(https://fonts.googleapis.com/css?family=Lato:400,700);",""]),t.push([e.i,'body {\n position: static;\n left: auto;\n width: 100vw;\n height: 100vh;\n margin: 0; }\n body #base span {\n display: inline-block; }\n body .annotation {\n box-sizing: border-box;\n width: 14px !important;\n height: 14px !important;\n margin: 0;\n padding: 0;\n cursor: help !important; }\n body .annotation > div {\n display: flex;\n align-items: center;\n flex-direction: column;\n justify-content: space-around;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n padding: 3px;\n border: none;\n border-radius: 3px;\n background-color: #4860ff; }\n body .annotation > div:hover {\n background-color: #1534ff; }\n body .annotation > div > div {\n width: 100%;\n height: 1px;\n margin: 0;\n padding: 0;\n border: none;\n background-color: #fff; }\n body .annotation * {\n cursor: help !important; }\n body .annnote {\n cursor: help !important; }\n body .annnote .annnotelabel {\n margin: 0;\n cursor: help !important;\n color: #fff;\n border-radius: 3px;\n background-color: #4860ff; }\n body .annnote .annnotelabel:hover {\n background-color: #1534ff; }\n body .ui-dialog {\n z-index: 99996 !important;\n padding: 0 !important;\n opacity: 0.9;\n border: solid 1px #555 !important;\n border-radius: 3px !important; }\n body .ui-dialog * {\n color: #555; }\n body .ui-dialog-titlebar {\n border: none !important;\n background-color: #555 !important; }\n body .ui-dialog-titlebar button {\n border-radius: 3px !important;\n outline: none !important; }\n body .ui-dialog-titlebar .ui-icon-closethick {\n border-radius: 3px;\n background-color: #fff; }\n body .ui-dialog-content {\n padding: 10px !important;\n border-radius: 3px; }\n body .ui-button-icon-only .ui-icon {\n top: 0 !important;\n left: 0 !important; }\n body .ui-corner-all {\n border-radius: 0; }\n\nbody {\n font-family: "Lato", sans-serif; }\n',""]),t.locals={primaryColorBackground:"#111111",primaryColorBlue:"#4860ff",primaryColorGray:"#555",primaryColorOrange:"#e89a28",primaryColorRed:"#ff5757",primaryColorTeal:"#4edec2",primaryColorWhite:"#fff",secondaryColorGray:"#333"}},function(e,t,n){"use strict";n.r(t);var r=n(0),o=n.n(r),i=n(13),a=n.n(i),l=n(19),u=n.n(l),s=n(14),c=n.n(s),d=n(15),f=n.n(d),p=n(4),h=n.n(p),m=n(8),g=n.n(m),y=n(5),b=n.n(y),v=n(6),x=n.n(v),w=n(3),k=n.n(w),C=n(7),T=n.n(C),S=n(2),E=n.n(S),_=n(1),N=n.n(_),P=(n(35),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.elementMarkerThickness,r=void 0===n?0:n,i=e.height,a=void 0===i?0:i,l=e.left,u=void 0===l?0:l,s=e.lineType,c=void 0===s?"":s,d=e.top,f=void 0===d?0:d,p=e.width,h=void 0===p?0:p,m={borderLeftWidth:h?0:r,borderTopWidth:a?0:r,height:a,left:u,top:f,width:h},g=c?"".concat(t.displayName,"--").concat(c):"";return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(g),style:m})}}]),t}(o.a.PureComponent));E()(P,"displayName","DimensionLineComponent"),P.propTypes={elementMarkerThickness:N.a.number.isRequired,height:N.a.number.isRequired,left:N.a.number.isRequired,lineType:N.a.string.isRequired,top:N.a.number.isRequired,width:N.a.number.isRequired};var O=P,L=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.artboardOffsetLeft,n=e.artboardOffsetTop,r=e.artboardScaledHeight,i=e.artboardScaledWidth,a=e.elementMarkerThickness,l=e.hoveredElement,u=l.height,s=l.offsetLeft,c=l.offsetTop,d=l.width;return o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:a,height:u,left:s-a,lineType:"hovered-solid",top:c,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:u,left:s+d,lineType:"hovered-solid",top:c,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:s-a,lineType:"hovered-solid",top:c,width:d+2*a}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:s-a,lineType:"hovered-solid",top:c+u,width:d+2*a}),o.a.createElement(O,{elementMarkerThickness:a,height:r,left:s-a,lineType:"hovered-dashed",top:n,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:r,left:s+d,lineType:"hovered-dashed",top:n,width:0}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:t,lineType:"hovered-dashed",top:c,width:i}),o.a.createElement(O,{elementMarkerThickness:a,height:0,left:t,lineType:"hovered-dashed",top:c+u,width:i}))}}]),t}(o.a.PureComponent);L.propTypes={artboardOffsetLeft:N.a.number.isRequired,artboardOffsetTop:N.a.number.isRequired,artboardScaledHeight:N.a.number.isRequired,artboardScaledWidth:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var M=L,R=(n(38),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.dimensionType,r=e.measurement,i=e.offsetLeft,a=e.offsetTop,l=0,u=0;"HORIZONTAL"===n?(u=i-t.width/2,l=a-t.height-t.padding):"VERTICAL"===n&&(u=i+t.padding,l=a-t.height/2);var s={height:t.height,left:u,top:l,width:t.width},c=Math.round(r);return o.a.createElement("div",{className:t.displayName,style:s},o.a.createElement("span",null,c))}}]),t}(o.a.PureComponent));E()(R,"displayName","DimensionMarkerComponent"),E()(R,"height",20),E()(R,"padding",5),E()(R,"width",30),R.propTypes={dimensionType:N.a.string.isRequired,measurement:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired};var A=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.elementMarkerThickness,n=e.hoveredElement,r=n.height,i=n.offsetLeft,a=n.offsetTop,l=n.target,u=n.trueHeight,s=n.trueOffsetLeft,c=n.trueOffsetTop,d=n.trueWidth,f=n.width,p=e.selectedElement,h=p.height,m=p.offsetLeft,g=p.offsetTop,y=p.target,b=p.trueHeight,v=p.trueOffsetLeft,x=p.trueOffsetTop,w=p.trueWidth,k=p.width,C=m-(i+f),T=m-i,S=i+f-(m+k),E=i-(m+k),_=g-(a+r),N=g-a,P=a+r-(g+h),L=a-(g+h),M=v-s,A=s+d-(v+w),D=s-(v+w),j=x-(c+u),I=x-c,W=c+u-(x+b),q=c-(x+b),H=0,z=0,B=0,F=0,U=0,V=0,G=0,$=0,Z=0,K=0,Q=0,Y=0;C>0?(B=C,F=i+f,K=v-(s+d)):T>0?(B=T,F=i,K=M):C<0&&T<0&&E<0&&S<0&&(B=Math.abs(T),F=m,K=Math.abs(M)),E>0?(U=E,V=m+k,Q=D):S>0?(U=S,V=m+k,Q=A):C<0&&T<0&&E<0&&S<0&&(U=Math.abs(S),V=i+f,Q=Math.abs(A)),_>0?(G=_,$=a+r,Y=j):N>0?(G=N,$=a,Y=I):_<0&&N<0&&P<0&&L<0&&(G=Math.abs(N),$=g,Y=Math.abs(I)),L>0?(H=L,z=g+h,Z=q):P>0?(H=P,z=g+h,Z=W):_<0&&N<0&&P<0&&L<0&&(H=Math.abs(P),z=a+r,Z=Math.abs(W));var X=y===l;return o.a.createElement(o.a.Fragment,null,X?o.a.createElement(o.a.Fragment,null,o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:w,offsetLeft:m+k/2,offsetTop:g}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:b,offsetLeft:m+k,offsetTop:g+h/2})):o.a.createElement(o.a.Fragment,null,B&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:0,left:F,lineType:"inter-element-dimension",top:g+h/2,width:B}),o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:K,offsetLeft:F+B/2,offsetTop:g+h/2})),U&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:0,left:V,lineType:"inter-element-dimension",top:g+h/2,width:U}),o.a.createElement(R,{dimensionType:"HORIZONTAL",measurement:Q,offsetLeft:V+U/2,offsetTop:g+h/2})),G&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:G,left:m+k/2,lineType:"inter-element-dimension",top:$,width:0}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:Y,offsetLeft:m+k/2,offsetTop:$+G/2})),H&&o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:H,left:m+k/2,lineType:"inter-element-dimension",top:z,width:0}),o.a.createElement(R,{dimensionType:"VERTICAL",measurement:Z,offsetLeft:m+k/2,offsetTop:z+H/2}))))}}]),t}(o.a.PureComponent);A.propTypes={elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired,selectedElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var D=A,j=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.elementMarkerThickness,n=e.selectedElement,r=n.height,i=n.offsetLeft,a=n.offsetTop,l=n.width;return o.a.createElement(o.a.Fragment,null,o.a.createElement(O,{elementMarkerThickness:t,height:r,left:i-t,lineType:"selected-solid",top:a,width:0}),o.a.createElement(O,{elementMarkerThickness:t,height:r,left:i+l,lineType:"selected-solid",top:a,width:0}),o.a.createElement(O,{elementMarkerThickness:t,height:0,left:i-t,lineType:"selected-solid",top:a,width:l+2*t}),o.a.createElement(O,{elementMarkerThickness:t,height:0,left:i-t,lineType:"selected-solid",top:a+r,width:l+2*t}))}}]),t}(o.a.PureComponent);j.propTypes={elementMarkerThickness:N.a.number.isRequired,selectedElement:N.a.shape({height:N.a.number.isRequired,offsetLeft:N.a.number.isRequired,offsetTop:N.a.number.isRequired,width:N.a.number.isRequired}).isRequired};var I=j,W=function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,t=e.artboardOffsetLeft,n=e.artboardOffsetTop,r=e.artboardScaledHeight,i=e.artboardScaledWidth,a=e.elementMarkerThickness,l=e.hoveredElement,u=e.selectedElement,s=l.target,c=u.target;return o.a.createElement(o.a.Fragment,null,s&&o.a.createElement(M,{artboardOffsetLeft:t,artboardOffsetTop:n,artboardScaledHeight:r,artboardScaledWidth:i,elementMarkerThickness:a,hoveredElement:l}),c&&o.a.createElement(I,{elementMarkerThickness:a,selectedElement:u}),s&&c&&o.a.createElement(D,{elementMarkerThickness:a,hoveredElement:l,selectedElement:u}))}}]),t}(o.a.PureComponent);W.propTypes={artboardOffsetLeft:N.a.number.isRequired,artboardOffsetTop:N.a.number.isRequired,artboardScaledHeight:N.a.number.isRequired,artboardScaledWidth:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,hoveredElement:N.a.shape({}).isRequired,selectedElement:N.a.shape({}).isRequired};var q=W,H=["BOOTSTRAP_4"],z=E()({},"BOOTSTRAP_4","Bootstrap 4"),B=E()({},"BOOTSTRAP_4",{breakpoints:[{maxWidth:540,viewportWidth:576},{maxWidth:720,viewportWidth:768},{maxWidth:960,viewportWidth:992},{maxWidth:1140,viewportWidth:1200}],columns:12,gutterWidth:30}),F=(n(40),function(e){var t=e.artboardWidth,n=e.gridLayout,r=B[n],i=(r=void 0===r?{}:r).breakpoints,a=void 0===i?[]:i,l=r.columns,u=r.gutterWidth,s=function(){var e=t;return a.forEach(function(n){var r=n.maxWidth,o=void 0===r?t:r,i=n.viewportWidth;t>=i&&(e=o)}),e},c={maxWidth:s()};return o.a.createElement(o.a.Fragment,null,n&&o.a.createElement("div",{className:"GridOverlayModule"},o.a.createElement("div",{className:"".concat("GridOverlayModule","__container"),style:c},function(){for(var e=[],t=(s()-u*(l-1))/12,n=u/2,r=0;rs&&t.addClass("redline-layer"):s=sp&&!a&&p>0&&(a=!0,n=t),i?t.height()>u&&t.addClass("redline-layer"):u=uo&&!i&&o>0&&(i=!0,r=t)}),("transparent"===G()("#base").css("background-color")||G()("#base").css("background-color").search(/rgba\(\d+,\s\d+,\s\d+,\s0\)/)>=0)&&G()("#base").css("background-color","#FFFFFF"),e({artboardHeight:u,artboardWidth:s})})},Q=function(e){var t=e.getBoundingClientRect(),n=t.height,r=t.left,o=t.top,i=t.width,a=window;return{scaledHeight:n,scaledOffsetLeft:r+a.pageXOffset,scaledOffsetTop:o+a.pageYOffset,scaledWidth:i}},Y=(n(42),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).artboardRef=o.a.createRef(),n.updateArtboardMeasurements=n.updateArtboardMeasurements.bind(k()(n)),n.state={artboardOffsetLeft:0,artboardOffsetTop:0,artboardScaledHeight:0,artboardScaledWidth:0},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=this,n=this.props,r=n.setArtboardDimensions,o=n.setAxureLoaded,i=n.zoomWrapperPadding;Z("".concat(t.displayName,"__artboard")).then(function(){K().then(function(t){var n=t.artboardHeight,a=t.artboardWidth;r({artboardHeight:n,artboardWidth:a}),function(e){var t=e.artboardHeight,n=e.artboardWidth,r=e.zoomWrapperPadding,o=r-(G()(window).innerWidth()-n)/2,i=r-(G()(window).innerHeight()-t)/2;$({left:o,top:i})}({artboardHeight:n,artboardWidth:a,zoomWrapperPadding:i}),o(),e.updateArtboardMeasurements()})})}},{key:"componentDidUpdate",value:function(e){var t=e.documentZoom,n=this.props,r=n.artboardHeight,o=n.artboardWidth,i=n.documentZoom;this.updateArtboardMeasurements(),i!==t&&function(e){var t=e.artboardHeight,n=e.artboardWidth,r=e.documentZoom,o=e.previousZoom,i=0===G()("body").scrollTop()?G()("html").scrollTop():G()("body").scrollTop(),a=0===G()("body").scrollLeft()?G()("html").scrollLeft():G()("body").scrollLeft();$({left:a+(n*(r/100)-n*(o/100))/2,top:i+(t*(r/100)-t*(o/100))/2})}({artboardHeight:r,artboardWidth:o,documentZoom:i,previousZoom:t})}},{key:"updateArtboardMeasurements",value:function(){var e=this.artboardRef.current,t=Q(e),n=t.scaledHeight,r=t.scaledOffsetLeft,o=t.scaledOffsetTop,i=t.scaledWidth,a=this.state,l=a.artboardOffsetLeft,u=a.artboardOffsetTop,s=a.artboardScaledHeight,c=a.artboardScaledWidth;l===r&&u===o&&s===n&&c===i||this.setState({artboardOffsetLeft:r,artboardOffsetTop:o,artboardScaledHeight:n,artboardScaledWidth:i})}},{key:"render",value:function(){var e=this.props,n=e.artboardHeight,r=e.artboardWidth,i=e.artboardWrapperHeight,a=e.artboardWrapperWidth,l=e.documentZoom,u=e.elementMarkerThickness,s=e.gridLayout,c=e.handleClickCallback,d=e.hoveredElement,f=e.isToolEnabled,p=e.selectedElement,h=e.zoomWrapperPadding,m=this.state,g=m.artboardOffsetLeft,y=m.artboardOffsetTop,b=m.artboardScaledHeight,v=m.artboardScaledWidth,x={height:i,width:a},w={height:n,transform:"scale(".concat(l/100,")"),width:r},k=f?"".concat(t.displayName,"--enabled"):"";return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(k),onClick:c,style:x},o.a.createElement("div",{className:"".concat(t.displayName,"__artboard"),ref:this.artboardRef,style:w},o.a.createElement(U,{artboardWidth:r,gridLayout:s})),o.a.createElement(q,{artboardOffsetLeft:g,artboardOffsetTop:y,artboardScaledHeight:b,artboardScaledWidth:v,elementMarkerThickness:u,hoveredElement:d,selectedElement:p,zoomWrapperPadding:h}))}}]),t}(o.a.PureComponent));E()(Y,"displayName","ArtboardModule"),Y.propTypes={artboardHeight:N.a.number.isRequired,artboardWidth:N.a.number.isRequired,artboardWrapperHeight:N.a.number.isRequired,artboardWrapperWidth:N.a.number.isRequired,documentZoom:N.a.number.isRequired,elementMarkerThickness:N.a.number.isRequired,gridLayout:N.a.string.isRequired,handleClickCallback:N.a.func.isRequired,hoveredElement:N.a.shape({}).isRequired,isToolEnabled:N.a.bool.isRequired,selectedElement:N.a.shape({}).isRequired,setArtboardDimensions:N.a.func.isRequired,setAxureLoaded:N.a.func.isRequired,zoomWrapperPadding:N.a.number.isRequired};var X=Y,J=n(20),ee=n.n(J),te=n(12),ne=n.n(te),re=(n(47),function(e){var t=e.changeCallback,n=e.label;return o.a.createElement("div",{className:"CheckboxComponent"},o.a.createElement("label",{className:"".concat("CheckboxComponent","__label")},o.a.createElement("span",null,n),o.a.createElement("input",{className:"".concat("CheckboxComponent","__input"),onChange:function(e){t(e)},type:"checkbox"})))});re.propTypes={changeCallback:N.a.func.isRequired,label:N.a.string},re.defaultProps={label:""};var oe=re,ie=(n(49),function(e){function t(){return h()(this,t),b()(this,x()(t).apply(this,arguments))}return T()(t,e),g()(t,[{key:"render",value:function(){var e=this.props,n=e.setSwatchValue,r={backgroundColor:e.swatchColor};return o.a.createElement("div",{className:t.displayName,onClick:n,onKeyUp:n,role:"button",tabIndex:0},o.a.createElement("div",{className:"".concat(t.displayName,"__swatch"),style:r}),o.a.createElement("div",{className:"".concat(t.displayName,"__checkerboard")}))}}]),t}(o.a.PureComponent));E()(ie,"displayName","ColorSwatchComponent"),ie.propTypes={setSwatchValue:N.a.func.isRequired,swatchColor:N.a.string.isRequired};var ae=ie,le=(n(51),function(e){var t=e.isVisible?"".concat("TooltipComponent","--active"):"";return o.a.createElement("span",{className:"".concat("TooltipComponent"," ").concat(t)},"copied")});le.propTypes={isVisible:N.a.bool.isRequired};var ue=le,se={AliceBlue:{hex:"#f0f8ff",rgb:"rgb(240, 248, 255)"},AntiqueWhite:{hex:"#faebd7",rgb:"rgb(250, 235, 215)"},Aqua:{hex:"#00ffff",rgb:"rgb(0, 255, 255)"},Aquamarine:{hex:"#7fffd4",rgb:"rgb(127, 255, 212)"},Azure:{hex:"#f0ffff",rgb:"rgb(240, 255, 255)"},Beige:{hex:"#f5f5dc",rgb:"rgb(245, 245, 220)"},Bisque:{hex:"#ffe4c4",rgb:"rgb(255, 228, 196)"},Black:{hex:"#000000",rgb:"rgb(0, 0, 0)"},BlanchedAlmond:{hex:"#ffebcd",rgb:"rgb(255, 235, 205)"},Blue:{hex:"#0000ff",rgb:"rgb(0, 0, 255)"},BlueViolet:{hex:"#8a2be2",rgb:"rgb(138, 43, 226)"},Brown:{hex:"#a52a2a",rgb:"rgb(165, 42, 42)"},BurlyWood:{hex:"#deb887",rgb:"rgb(222, 184, 135)"},CadetBlue:{hex:"#5f9ea0",rgb:"rgb(95, 158, 160)"},Chartreuse:{hex:"#7fff00",rgb:"rgb(127, 255, 0)"},Chocolate:{hex:"#d2691e",rgb:"rgb(210, 105, 30)"},Coral:{hex:"#ff7f50",rgb:"rgb(255, 127, 80)"},CornflowerBlue:{hex:"#6495ed",rgb:"rgb(100, 149, 237)"},Cornsilk:{hex:"#fff8dc",rgb:"rgb(255, 248, 220)"},Crimson:{hex:"#dc143c",rgb:"rgb(220, 20, 60)"},Cyan:{hex:"#00ffff",rgb:"rgb(0, 255, 255)"},DarkBlue:{hex:"#00008b",rgb:"rgb(0, 0, 139)"},DarkCyan:{hex:"#008b8b",rgb:"rgb(0, 139, 139)"},DarkGoldenRod:{hex:"#b8860b",rgb:"rgb(184, 134, 11)"},DarkGray:{hex:"#a9a9a9",rgb:"rgb(169, 169, 169)"},DarkGreen:{hex:"#006400",rgb:"rgb(0, 100, 0)"},DarkGrey:{hex:"#a9a9a9",rgb:"rgb(169, 169, 169)"},DarkKhaki:{hex:"#bdb76b",rgb:"rgb(189, 183, 107)"},DarkMagenta:{hex:"#8b008b",rgb:"rgb(139, 0, 139)"},DarkOliveGreen:{hex:"#556b2f",rgb:"rgb(85, 107, 47)"},DarkOrange:{hex:"#ff8c00",rgb:"rgb(255, 140, 0)"},DarkOrchid:{hex:"#9932cc",rgb:"rgb(153, 50, 204)"},DarkRed:{hex:"#8b0000",rgb:"rgb(139, 0, 0)"},DarkSalmon:{hex:"#e9967a",rgb:"rgb(233, 150, 122)"},DarkSeaGreen:{hex:"#8fbc8f",rgb:"rgb(143, 188, 143)"},DarkSlateBlue:{hex:"#483d8b",rgb:"rgb(72, 61, 139)"},DarkSlateGray:{hex:"#2f4f4f",rgb:"rgb(47, 79, 79)"},DarkSlateGrey:{hex:"#2f4f4f",rgb:"rgb(47, 79, 79)"},DarkTurquoise:{hex:"#00ced1",rgb:"rgb(0, 206, 209)"},DarkViolet:{hex:"#9400d3",rgb:"rgb(148, 0, 211)"},DeepPink:{hex:"#ff1493",rgb:"rgb(255, 20, 147)"},DeepSkyBlue:{hex:"#00bfff",rgb:"rgb(0, 191, 255)"},DimGray:{hex:"#696969",rgb:"rgb(105, 105, 105)"},DimGrey:{hex:"#696969",rgb:"rgb(105, 105, 105)"},DodgerBlue:{hex:"#1e90ff",rgb:"rgb(30, 144, 255)"},FireBrick:{hex:"#b22222",rgb:"rgb(178, 34, 34)"},FloralWhite:{hex:"#fffaf0",rgb:"rgb(255, 250, 240)"},ForestGreen:{hex:"#228b22",rgb:"rgb(34, 139, 34)"},Fuchsia:{hex:"#ff00ff",rgb:"rgb(255, 0, 255)"},Gainsboro:{hex:"#dcdcdc",rgb:"rgb(220, 220, 220)"},GhostWhite:{hex:"#f8f8ff",rgb:"rgb(248, 248, 255)"},Gold:{hex:"#ffd700",rgb:"rgb(255, 215, 0)"},GoldenRod:{hex:"#daa520",rgb:"rgb(218, 165, 32)"},Gray:{hex:"#808080",rgb:"rgb(128, 128, 128)"},Green:{hex:"#008000",rgb:"rgb(0, 128, 0)"},GreenYellow:{hex:"#adff2f",rgb:"rgb(173, 255, 47)"},Grey:{hex:"#808080",rgb:"rgb(128, 128, 128)"},HoneyDew:{hex:"#f0fff0",rgb:"rgb(240, 255, 240)"},HotPink:{hex:"#ff69b4",rgb:"rgb(255, 105, 180)"},IndianRed:{hex:"#cd5c5c",rgb:"rgb(205, 92, 92)"},Indigo:{hex:"#4b0082",rgb:"rgb(75, 0, 130)"},Ivory:{hex:"#fffff0",rgb:"rgb(255, 255, 240)"},Khaki:{hex:"#f0e68c",rgb:"rgb(240, 230, 140)"},Lavender:{hex:"#e6e6fa",rgb:"rgb(230, 230, 250)"},LavenderBlush:{hex:"#fff0f5",rgb:"rgb(255, 240, 245)"},LawnGreen:{hex:"#7cfc00",rgb:"rgb(124, 252, 0)"},LemonChiffon:{hex:"#fffacd",rgb:"rgb(255, 250, 205)"},LightBlue:{hex:"#add8e6",rgb:"rgb(173, 216, 230)"},LightCoral:{hex:"#f08080",rgb:"rgb(240, 128, 128)"},LightCyan:{hex:"#e0ffff",rgb:"rgb(224, 255, 255)"},LightGoldenRodYellow:{hex:"#fafad2",rgb:"rgb(250, 250, 210)"},LightGray:{hex:"#d3d3d3",rgb:"rgb(211, 211, 211)"},LightGreen:{hex:"#90ee90",rgb:"rgb(144, 238, 144)"},LightGrey:{hex:"#d3d3d3",rgb:"rgb(211, 211, 211)"},LightPink:{hex:"#ffb6c1",rgb:"rgb(255, 182, 193)"},LightSalmon:{hex:"#ffa07a",rgb:"rgb(255, 160, 122)"},LightSeaGreen:{hex:"#20b2aa",rgb:"rgb(32, 178, 170)"},LightSkyBlue:{hex:"#87cefa",rgb:"rgb(135, 206, 250)"},LightSlateGray:{hex:"#778899",rgb:"rgb(119, 136, 153)"},LightSlateGrey:{hex:"#778899",rgb:"rgb(119, 136, 153)"},LightSteelBlue:{hex:"#b0c4de",rgb:"rgb(176, 196, 222)"},LightYellow:{hex:"#ffffe0",rgb:"rgb(255, 255, 224)"},Lime:{hex:"#00ff00",rgb:"rgb(0, 255, 0)"},LimeGreen:{hex:"#32cd32",rgb:"rgb(50, 205, 50)"},Linen:{hex:"#faf0e6",rgb:"rgb(250, 240, 230)"},Magenta:{hex:"#ff00ff",rgb:"rgb(255, 0, 255)"},Maroon:{hex:"#800000",rgb:"rgb(128, 0, 0)"},MediumAquaMarine:{hex:"#66cdaa",rgb:"rgb(102, 205, 170)"},MediumBlue:{hex:"#0000cd",rgb:"rgb(0, 0, 205)"},MediumOrchid:{hex:"#ba55d3",rgb:"rgb(186, 85, 211)"},MediumPurple:{hex:"#9370db",rgb:"rgb(147, 112, 219)"},MediumSeaGreen:{hex:"#3cb371",rgb:"rgb(60, 179, 113)"},MediumSlateBlue:{hex:"#7b68ee",rgb:"rgb(123, 104, 238)"},MediumSpringGreen:{hex:"#00fa9a",rgb:"rgb(0, 250, 154)"},MediumTurquoise:{hex:"#48d1cc",rgb:"rgb(72, 209, 204)"},MediumVioletRed:{hex:"#c71585",rgb:"rgb(199, 21, 133)"},MidnightBlue:{hex:"#191970",rgb:"rgb(25, 25, 112)"},MintCream:{hex:"#f5fffa",rgb:"rgb(245, 255, 250)"},MistyRose:{hex:"#ffe4e1",rgb:"rgb(255, 228, 225)"},Moccasin:{hex:"#ffe4b5",rgb:"rgb(255, 228, 181)"},NavajoWhite:{hex:"#ffdead",rgb:"rgb(255, 222, 173)"},Navy:{hex:"#000080",rgb:"rgb(0, 0, 128)"},OldLace:{hex:"#fdf5e6",rgb:"rgb(253, 245, 230)"},Olive:{hex:"#808000",rgb:"rgb(128, 128, 0)"},OliveDrab:{hex:"#6b8e23",rgb:"rgb(107, 142, 35)"},Orange:{hex:"#ffa500",rgb:"rgb(255, 165, 0)"},OrangeRed:{hex:"#ff4500",rgb:"rgb(255, 69, 0)"},Orchid:{hex:"#da70d6",rgb:"rgb(218, 112, 214)"},PaleGoldenRod:{hex:"#eee8aa",rgb:"rgb(238, 232, 170)"},PaleGreen:{hex:"#98fb98",rgb:"rgb(152, 251, 152)"},PaleTurquoise:{hex:"#afeeee",rgb:"rgb(175, 238, 238)"},PaleVioletRed:{hex:"#db7093",rgb:"rgb(219, 112, 147)"},PapayaWhip:{hex:"#ffefd5",rgb:"rgb(255, 239, 213)"},PeachPuff:{hex:"#ffdab9",rgb:"rgb(255, 218, 185)"},Peru:{hex:"#cd853f",rgb:"rgb(205, 133, 63)"},Pink:{hex:"#ffc0cb",rgb:"rgb(255, 192, 203)"},Plum:{hex:"#dda0dd",rgb:"rgb(221, 160, 221)"},PowderBlue:{hex:"#b0e0e6",rgb:"rgb(176, 224, 230)"},Purple:{hex:"#800080",rgb:"rgb(128, 0, 128)"},RebeccaPurple:{hex:"#663399",rgb:"rgb(102, 51, 153)"},Red:{hex:"#ff0000",rgb:"rgb(255, 0, 0)"},RosyBrown:{hex:"#bc8f8f",rgb:"rgb(188, 143, 143)"},RoyalBlue:{hex:"#4169e1",rgb:"rgb(65, 105, 225)"},SaddleBrown:{hex:"#8b4513",rgb:"rgb(139, 69, 19)"},Salmon:{hex:"#fa8072",rgb:"rgb(250, 128, 114)"},SandyBrown:{hex:"#f4a460",rgb:"rgb(244, 164, 96)"},SeaGreen:{hex:"#2e8b57",rgb:"rgb(46, 139, 87)"},SeaShell:{hex:"#fff5ee",rgb:"rgb(255, 245, 238)"},Sienna:{hex:"#a0522d",rgb:"rgb(160, 82, 45)"},Silver:{hex:"#c0c0c0",rgb:"rgb(192, 192, 192)"},SkyBlue:{hex:"#87ceeb",rgb:"rgb(135, 206, 235)"},SlateBlue:{hex:"#6a5acd",rgb:"rgb(106, 90, 205)"},SlateGray:{hex:"#708090",rgb:"rgb(112, 128, 144)"},SlateGrey:{hex:"#708090",rgb:"rgb(112, 128, 144)"},Snow:{hex:"#fffafa",rgb:"rgb(255, 250, 250)"},SpringGreen:{hex:"#00ff7f",rgb:"rgb(0, 255, 127)"},SteelBlue:{hex:"#4682b4",rgb:"rgb(70, 130, 180)"},Tan:{hex:"#d2b48c",rgb:"rgb(210, 180, 140)"},Teal:{hex:"#008080",rgb:"rgb(0, 128, 128)"},Thistle:{hex:"#d8bfd8",rgb:"rgb(216, 191, 216)"},Tomato:{hex:"#ff6347",rgb:"rgb(255, 99, 71)"},Turquoise:{hex:"#40e0d0",rgb:"rgb(64, 224, 208)"},Violet:{hex:"#ee82ee",rgb:"rgb(238, 130, 238)"},Wheat:{hex:"#f5deb3",rgb:"rgb(245, 222, 179)"},White:{hex:"#ffffff",rgb:"rgb(255, 255, 255)"},WhiteSmoke:{hex:"#f5f5f5",rgb:"rgb(245, 245, 245)"},Yellow:{hex:"#ffff00",rgb:"rgb(255, 255, 0)"},YellowGreen:{hex:"#9acd32",rgb:"rgb(154, 205, 50)"}},ce=1,de=[".annnoteimage",".annnoteline",".annotation",".ui-dialog",".ui-dialog *",".annnote",".annnote *"],fe="no-interact",pe=["DimensionLineComponent","DimensionMarkerComponent",fe],he=13,me=27,ge=189,ye=187,be=30,ve=9999,xe="redline-tool-document-zoom",we="redline-tool-splash-screen",ke="redline-tool-enabled",Ce=(n(53),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).checkColorSwatchRequired=n.checkColorSwatchRequired.bind(k()(n)),n.handleCopy=n.handleCopy.bind(k()(n)),n.setSwatchValue=n.setSwatchValue.bind(k()(n)),n.state={inputValue:"",isCopiedTooltipActive:!1,swatchColor:null},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.inputValue;e.noFormat?this.setState({inputValue:t}):this.checkColorSwatchRequired()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.inputValue,r=t.noFormat,o=e.inputValue;r&&n!==o?this.setState({inputValue:n}):n!==o&&this.checkColorSwatchRequired()}},{key:"setSwatchValue",value:function(){var e,n,r=this.state.inputValue,o="",i="",a="";if(t.rgbaRegEx.test(r)){var l=r.match(t.rgbaRegEx);o=ne()(l,1)[0],a=r.replace(t.rgbaRegEx,"!*!")}else if(t.hexRegEx.test(r)){var u=r.match(t.hexRegEx);o=ne()(u,1)[0],a=r.replace(t.hexRegEx,"!*!")}else a=r;if(/rgba/.test(o)){e=o.match(/(\d\.\d+)|\d+/g),i="#";for(var s=0;s<3;s++)i+="0".concat(Number(e[s]).toString(16).toUpperCase()).slice(-2);i+=" ".concat(100*Number(e[3]),"%")}else/%/.test(o)?(e=o.replace("#","").slice(0,6).match(/\w{2}/g),n=Number(o.replace(/#\w{6}\s/,"").replace("%",""))/100,i="rgba(".concat(parseInt(e[0],16),", ").concat(parseInt(e[1],16),", ").concat(parseInt(e[2],16),", ").concat(n,")")):/rgb\(/.test(o)?(e=o.replace(",","").match(/\d+/g),i="#",e.forEach(function(e){i+="0".concat(Number(e).toString(16).toUpperCase()).slice(-2)})):/#/.test(o)&&(e=o.replace("#","").match(/\w{2}/g),i="rgb(".concat(parseInt(e[0],16),", ").concat(parseInt(e[1],16),", ").concat(parseInt(e[2],16),")"));a=a.replace("!*!",i),this.setState({inputValue:a})}},{key:"handleCopy",value:function(e){var t=this;e.target.select(),document.execCommand("Copy"),this.setState({isCopiedTooltipActive:!0},function(){setTimeout(function(){t.setState({isCopiedTooltipActive:!1})},750)})}},{key:"checkColorSwatchRequired",value:function(){var e,n,r,o=this.props.inputValue;if(t.rgbaRegEx.test(o)&&"transparent"!==o)if(/rgba/.test(o)){var i=o.match(t.rgbaRegEx)[0].replace(/\s+/g,"");e=Math.round(100*Number(i.replace(/rgba\(\d+,\d+,\d+,(\d?(\.\d+)?)\)/,"$1")))/100,r=(r=i.replace(/rgba\((\d+),(\d+),(\d+),(\d?(\.\d+)?)\)/,"rgba($1, $2, $3, ".concat("!*!",")"))).replace("!*!",e),1===e&&(r=i.replace(/rgba\((\d+),(\d+),(\d+),(\d?(\.\d+)?)\)/,"rgb($1, $2, $3)")),n=o.replace(t.rgbaRegEx,r)}else{var a=o.match(t.rgbaRegEx),l=ne()(a,1);r=l[0]}else{var u=o.trim().toLowerCase();Object.keys(se).forEach(function(e){if(u.includes(e.toLowerCase())){var t=se[e].rgb;r=t}})}this.setState({inputValue:n||o,swatchColor:r})}},{key:"render",value:function(){var e=this.props.label,n=this.state,r=n.inputValue,i=n.isCopiedTooltipActive,a=n.swatchColor;return o.a.createElement("div",{className:t.displayName},o.a.createElement("label",{className:"".concat(t.displayName,"__label")},e),o.a.createElement("input",{className:"".concat(t.displayName,"__input"),readOnly:!0,value:r,onMouseUp:this.handleCopy}),a&&o.a.createElement(ae,{className:"".concat(t.displayName,"__color-swatch"),setSwatchValue:this.setSwatchValue,swatchColor:a}),o.a.createElement(ue,{isVisible:i}))}}]),t}(o.a.PureComponent));E()(Ce,"displayName","InputComponent"),E()(Ce,"rgbaRegEx",/rgb(a)?\(\d+,(\s+)?\d+,(\s+)?\d+(,(\s+)?\d(\.\d+)?)?\)/),E()(Ce,"hexRegEx",/#([a-fA-F]|\d){6}((\s+)?\d{1,3}%)?/),Ce.propTypes={inputValue:N.a.string.isRequired,label:N.a.string.isRequired,noFormat:N.a.bool},Ce.defaultProps={noFormat:!1};var Te=Ce,Se=(n(55),function(e){var t=e.changeCallback,n=e.isDisabled,r=e.label,i=e.options.map(function(e){var t=e.name,n=e.value;return o.a.createElement("option",{className:"".concat("SelectComponent","__select--option"),key:n,value:n},t)}),a=n&&"".concat("SelectComponent","--disabled");return o.a.createElement("div",{className:"".concat("SelectComponent"," ").concat(a)},o.a.createElement("label",{className:"".concat("SelectComponent","__label")},r,o.a.createElement("select",{className:"".concat("SelectComponent","__select"),disabled:n,onChange:function(e){t(e)}},i)))});Se.propTypes={changeCallback:N.a.func.isRequired,isDisabled:N.a.bool,label:N.a.string,options:N.a.arrayOf(N.a.shape({name:N.a.string,value:N.a.string})).isRequired},Se.defaultProps={isDisabled:!1,label:""};var Ee=Se,_e=(n(57),function(e){function t(e){var n;return h()(this,t),(n=b()(this,x()(t).call(this,e))).handleCopy=n.handleCopy.bind(k()(n)),n.handleScroll=n.handleScroll.bind(k()(n)),n.state={isCopiedTooltipActive:!1,isScrolling:!1},n}return T()(t,e),g()(t,[{key:"handleCopy",value:function(e){var t=this,n=this.state.isScrolling,r=e.target;n||(r.select(),document.execCommand("Copy"),this.setState({isCopiedTooltipActive:!0},function(){setTimeout(function(){t.setState({isCopiedTooltipActive:!1})},750)})),setTimeout(function(){t.setState({isScrolling:!1})},100)}},{key:"handleScroll",value:function(){this.setState({isScrolling:!0})}},{key:"render",value:function(){var e=this.props,n=e.inputValue,r=e.label,i=this.state.isCopiedTooltipActive;return o.a.createElement("div",{className:t.displayName},o.a.createElement("label",{className:"".concat(t.displayName,"__label")},r,o.a.createElement("textarea",{className:"".concat(t.displayName,"__textarea"),readOnly:!0,onMouseUp:this.handleCopy,onScroll:this.handleScroll,value:n})),o.a.createElement(ue,{isVisible:i}))}}]),t}(o.a.PureComponent));E()(_e,"displayName","TextAreaComponent"),_e.propTypes={inputValue:N.a.string.isRequired,label:N.a.string.isRequired};var Ne=_e;function Pe(e){for(var t=[],n=Object.keys(e),r=0;r1&&void 0!==arguments[1]?arguments[1]:"",n=!1;return!t.trim().length||t.includes("none")||"0px"===t||"medium"===t||t.includes("initial")||"opacity"===e&&1===Number(t)||(n=!0),n}(n,r)){var i=r.replace(/rgba\(\d+,\s\d+,\s\d+,\s0\)/,"transparent");n!==t.COPY_BLOCK_NAME&&me.push("".concat(n,": ").concat(i,";"));le.push(n===t.COPY_BLOCK_NAME?o.a.createElement(Ne,{inputValue:i,key:n,label:"content:"}):o.a.createElement(Te,{inputValue:i,key:n,label:"".concat(n,":")}))}})}),le.push([o.a.createElement("p",{key:"css-block-attributes-header"},"CSS BLOCK ATTRIBUTES"),o.a.createElement(Ne,{inputValue:me.join("\n"),key:"css-block-attributes-body",label:"properties:"})]),le}},{key:"renderPseudoClassTabs",value:function(){var e,n,r,i=this,a=this.state,l=a.activeTab,u=a.defaultCSSAttributes,s=function(){for(var e="",t=i.props.selectedElement,n=t.target,r=t.target.id,o=void 0===r?"":r;"base"!==o&&!e;){var a=n.getAttribute("data-label");if(a)e=a;else{var l=n,u=l.parentElement,s=l.parentElement.id;n=u,o=void 0===s?"":s}}return e}();return o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs")},s&&o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--parent-component-name")},o.a.createElement(Te,{inputValue:s,label:"parent component name:"})),o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--header")},(r=[],t.pseudoClasses.forEach(function(e){var n=e.keyName;if(function(){var e=i.retrieveElementPageCSS(n),t=!1;if(Object.keys(e).length){var r=i.retrieveElementPageCSS(n),o=r.properties,a=r.styles,l=r.text;Le(o).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)}),Le(a).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)}),Le(l).forEach(function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").trim()&&(t=!0)})}return t}()||"default"===n){var a="".concat(t.displayName,n===l?"__pseudo-tabs--tab-active":"__pseudo-tabs--tab-inactive");r.push(o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--tab ").concat(a),key:n,onClick:function(){return e=n,void i.setState({activeTab:e});var e}},o.a.createElement("span",null,n)))}}),r)),o.a.createElement("div",{className:"".concat(t.displayName,"__pseudo-tabs--body")},(e=ne()(t.pseudoClasses,1)[0].keyName,n={},n=i.retrieveElementPageCSS(l),Object.keys(n).length||l!==e||(n=JSON.parse(JSON.stringify(u))),i.renderAttributes(n))))}},{key:"render",value:function(){var e=this,n=this.props,r=n.gridLayout,i=n.isToolEnabled,l=n.selectedElement,u=(l=void 0===l?{}:l).target,s=this.state.isSidebarVisible,c=!!u,d=i&&s&&"".concat(t.displayName,"--visible"),f=H.map(function(e){return{name:z[e],value:e}});return o.a.createElement("div",{className:"".concat(t.displayName," ").concat(d)},o.a.createElement("div",{className:"".concat(t.displayName,"__side-pull"),onClick:this.toggleSidebar,onKeyUp:this.toggleSidebar,role:"button",tabIndex:0},o.a.createElement("span",null),o.a.createElement("span",null),o.a.createElement("span",null)),c&&this.renderPseudoClassTabs(),o.a.createElement("div",{className:"".concat(t.displayName,"__grid-overlay")},o.a.createElement("div",{className:"".concat(t.displayName,"__grid-overlay--selector"),ref:this.gridSelectorRef},o.a.createElement(oe,{changeCallback:function(t){var n=e.props.gridOverlaySet,r=t.target.checked,o=a.a.findDOMNode(e.gridSelectorRef.current).querySelector("select").value;n(r?o:"")},label:"GRID OVERLAY"}),o.a.createElement(Ee,{changeCallback:function(t){var n=e.props.gridOverlaySet,r=t.target.value;n(a.a.findDOMNode(e.gridSelectorRef.current).querySelector("input").checked?r:"")},isDisabled:!r,options:f}))))}}]),t}(o.a.PureComponent);E()(Me,"displayName","ElementPropertiesSidebarModule"),E()(Me,"cssAttributesList",{properties:{width:"",height:""},styles:{opacity:"",border:"","border-width":"","border-style":"","border-color":"","border-top":"","border-top-width":"","border-top-style":"","border-top-color":"","border-right":"","border-right-width":"","border-right-style":"","border-right-color":"","border-bottom":"","border-bottom-width":"","border-bottom-style":"","border-bottom-color":"","border-left":"","border-left-width":"","border-left-style":"","border-left-color":"","border-radius":"","border-top-left-radius":"","border-top-right-radius":"","border-bottom-right-radius":"","border-bottom-left-radius":"",outline:"","background-color":"","box-shadow":""},text:{"font-family":"","font-size":"","font-weight":"","line-height":"","text-align":"",color:"",_content:""}}),E()(Me,"pseudoClasses",[{axureName:"",keyName:"default",pseudoName:"Default"},{axureName:"mouseOver",keyName:"hover",pseudoName:"Hover"},{axureName:"mouseDown",keyName:"mousedown",pseudoName:"MouseDown"},{axureName:"disabled",keyName:"disabled",pseudoName:"Disabled"}]),E()(Me,"COPY_BLOCK_NAME","_content"),Me.propTypes={gridLayout:N.a.string.isRequired,gridOverlaySet:N.a.func.isRequired,isToolEnabled:N.a.bool.isRequired,selectedElement:N.a.shape({})},Me.defaultProps={selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,width:0}};var Re=Me,Ae="0 0 ".concat(50," ").concat(50),De=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.height,i=e.path,a=e.width;return o.a.createElement("svg",{className:"IconComponent",dangerouslySetInnerHTML:{__html:i},fill:n,height:r,viewBox:Ae,width:a})};De.propTypes={fill:N.a.string,height:N.a.number.isRequired,path:N.a.string.isRequired,width:N.a.number.isRequired},De.defaultProps={fill:"currentColor"};var je=De,Ie=(n(61),function(e){function t(){var e,n;h()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=n.state,r=t.zoomWrapperPadding,o=t.documentZoom,i=t.artboardHeight,a=t.artboardWidth,l=e.artboardHeight,u=void 0===l?i:l,s=e.artboardWidth,c=void 0===s?a:s;n.setState({artboardHeight:u,artboardWidth:c,artboardWrapperHeight:u*(o/100)+2*r,artboardWrapperWidth:c*(o/100)+2*r})}),E()(k()(n),"setToolEnabledStatus",function(e){n.setState({isToolEnabled:e}),mt(ke,e,be)}),E()(k()(n),"toggleToolEnable",function(){var e=n.state.isToolEnabled;n.clearHoveredElement(),n.clearSelectedElement(),n.setToolEnabledStatus(!e)}),E()(k()(n),"initializerListeners",function(){lt(),dt(n.handleDialogOpenCallback),st(n.handleClickCallback),ct(n.handleMouseToggleCallback),ut(n.handleMouseoverCallback),pt(n.handleZoomingCallback),ft(n.handleHotkeyCallback)}),E()(k()(n),"clearHoveredElement",f()(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({hoveredElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0}});case 1:case"end":return e.stop()}},e)}))),E()(k()(n),"clearSelectedElement",f()(c.a.mark(function e(){return c.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0}});case 1:case"end":return e.stop()}},e)}))),E()(k()(n),"clearToolStatus",function(){n.clearHoveredElement(),n.clearSelectedElement()}),E()(k()(n),"handleScroll",function(e){var t,r=e.target.classList;t=!1,["ElementPropertiesSidebarModule__pseudo-tabs--body","TextAreaComponent__textarea"].forEach(function(e){r.contains(e)&&(t=!0)}),t||n.clearToolStatus()}),E()(k()(n),"handleMouseoverCallback",function(e){var t=n.state,r=t.isToolEnabled,o=t.isHotkeyDepressed,i=e.target,a=e.target.classList,l=function(){return!a.contains(fe)};r&&!o&&l()?(e.stopPropagation(),n.updateHoverSelect(i,null)):r&&!l()&&n.clearHoveredElement()}),E()(k()(n),"handleClickCallback",function(e){var t,r=n.state,o=r.isToolEnabled,i=r.isHotkeyDepressed,a=e.target,l=e.target.classList,u=X.displayName;l.contains(u)?n.clearSelectedElement():!o||i||(t=!1,l.length&&pe.forEach(function(e){l.contains(e)&&(t=!0)}),t)?i&&"select"===e.target.nodeName.toLowerCase()&&n.setState({isHotkeyDepressed:!1}):(e.stopPropagation(),e.preventDefault(),n.updateHoverSelect(null,a))}),E()(k()(n),"handleMouseToggleCallback",function(e){var t=n.state,r=t.isToolEnabled,o=t.isHotkeyDepressed;r&&!o&&(e.stopPropagation(),e.preventDefault())}),E()(k()(n),"handleDialogOpenCallback",function(e){for(var t=n.state.lastOpenedDialog,r=e.target;!r.classList.contains("annotation")&&!r.classList.contains("annnote");){r=r.parentElement}var o=Q(r),i=o.scaledOffsetLeft,a=o.scaledOffsetTop,l=o.scaledWidth,s=document.getElementsByClassName("ui-dialog"),c=document.getElementsByClassName("notesDialog"),d=s||c,f=u()(d).pop();f&&f!==t&&(f.style.left="".concat(i,"px"),f.style.top="".concat(a+l+5,"px"),n.setState({lastOpenedDialog:f}))}),E()(k()(n),"handleHotkeyCallback",function(e){e!==n.state.isHotkeyDepressed&&n.setState({isHotkeyDepressed:e},function(){n.clearToolStatus()})}),E()(k()(n),"handleZoomingCallback",function(e){var r=n.state.documentZoom;switch(e.keyCode){case me:n.clearToolStatus();break;case ye:if(e.ctrlKey||e.metaKey){e.preventDefault();var o=r+t.ZOOM_STEP;n.setArtboardZoom(o)}break;case ge:if(e.ctrlKey||e.metaKey){e.preventDefault();var i=r-t.ZOOM_STEP;n.setArtboardZoom(i)}}}),E()(k()(n),"handleSplashScreenClose",function(){mt(we,ce,ve),n.setState({shouldShowSplashScreen:!1})}),E()(k()(n),"gridOverlaySet",function(e){n.setState({gridLayout:e})}),n.state={artboardHeight:0,artboardWidth:0,artboardWrapperHeight:0,artboardWrapperWidth:0,axureLoaded:!1,documentZoom:100,elementMarkerThickness:1,gridLayout:"",hoveredElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0},isHotkeyDepressed:!1,isToolEnabled:!0,isToolPermitted:!1,lastOpenedDialog:"",selectedElement:{height:0,offsetLeft:0,offsetTop:0,target:null,trueHeight:0,trueOffsetLeft:0,trueOffsetTop:0,trueWidth:0,width:0},shouldShowSplashScreen:!1,zoomWrapperPadding:1e3},n}return T()(t,e),g()(t,[{key:"componentDidMount",value:function(){var e=gt(ke),t=gt(we)||0,n=window.parent.location.href,r=!/redline=business/.test(n),o=Number(t) \ No newline at end of file diff --git a/gulp.config.js b/gulp.config.js index 45edff8..fac4f39 100644 --- a/gulp.config.js +++ b/gulp.config.js @@ -34,6 +34,7 @@ module.exports = () => ({ }, directories: { distDirectory: './dist', + legacyWebDirectory: './web', rootDirectory: './', srcDirectory: './src', tasksDirectory: './tasks' @@ -42,12 +43,14 @@ module.exports = () => ({ buildEnvironment: 'BUILD_ENVIRONMENT', injectedEnvironment: 'INJECTED_ENVIRONMENT' }, + legacyBundleName: 'axure-redline-plugin', packageJSON: './package.json', tasks: { bumpVersion: 'bump-version', bundle: 'bundle', cleanDist: 'clean', generatePlugin: 'generate-plugin', + legacySupport: 'legacy-support', lintCSS: 'lint-css', lintJS: 'lint-js', serveInject: 'serve-inject', diff --git a/tasks/bundle.js b/tasks/bundle.js index cb9fc2e..7713232 100644 --- a/tasks/bundle.js +++ b/tasks/bundle.js @@ -13,7 +13,8 @@ const { }, tasks: { bundle, - generatePlugin + generatePlugin, + legacySupport }, webpackConfig } = require('../gulp.config.js')(); @@ -34,6 +35,9 @@ gulp.task(bundle, (callback) => { browserSync.reload(); } else { gulp.start(generatePlugin); + + // Because our jsDelivr scripts using @latest still point to /web/axure-redline-plugin.js + gulp.start(legacySupport); } if (environment === production) { diff --git a/tasks/clean.js b/tasks/clean.js index 940253b..985d51c 100644 --- a/tasks/clean.js +++ b/tasks/clean.js @@ -3,7 +3,8 @@ const gulp = require('gulp'); const { directories: { - distDirectory + distDirectory, + legacyWebDirectory }, tasks: { cleanDist @@ -12,4 +13,5 @@ const { gulp.task(cleanDist, () => { del.sync([`${distDirectory}/**`, `!${distDirectory}`]); + del.sync([`${legacyWebDirectory}/**`, `!${legacyWebDirectory}`]); }); diff --git a/tasks/legacy-support.js b/tasks/legacy-support.js new file mode 100644 index 0000000..ed7427d --- /dev/null +++ b/tasks/legacy-support.js @@ -0,0 +1,18 @@ +const gulp = require('gulp'); +const rename = require('gulp-rename'); + +const { + bundleName, + directories: { + distDirectory, + legacyWebDirectory + }, + legacyBundleName, + tasks: { + legacySupport + } +} = require('../gulp.config.js')(); + +gulp.task(legacySupport, () => gulp.src(`${distDirectory}/${bundleName}.js`) + .pipe(rename(`${legacyBundleName}.js`)) + .pipe(gulp.dest(`${legacyWebDirectory}`))); diff --git a/web/axure-redline-plugin.js b/web/axure-redline-plugin.js new file mode 100644 index 0000000..6c91394 --- /dev/null +++ b/web/axure-redline-plugin.js @@ -0,0 +1,69 @@ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=21)}([function(e,t,n){"use strict";e.exports=n(22)},function(e,t,n){e.exports=n(33)()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){var r=n(31),o=n(3);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t,n){var r=n(32);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t){function n(e,t){for(var n=0;n0&&t-1 in e)}C.fn=C.prototype={jquery:"3.3.1",constructor:C,length:0,toArray:function(){return u.call(this)},get:function(e){return null==e?u.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=C.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return C.each(this,e)},map:function(e){return this.pushStack(C.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+j+")"+j+"*"),U=new RegExp("="+j+"*([^\\]'\"]*?)"+j+"*\\]","g"),V=new RegExp(q),G=new RegExp("^"+I+"$"),$={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Z=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,J=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){f()},oe=be(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{M.apply(P=R.call(w.childNodes),w.childNodes),P[w.childNodes.length].nodeType}catch(e){M={apply:P.length?function(e,t){L.apply(e,R.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,r,o){var i,l,s,c,d,h,y,b=t&&t.ownerDocument,k=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==k&&9!==k&&11!==k)return r;if(!o&&((t?t.ownerDocument||t:w)!==p&&f(t),t=t||p,m)){if(11!==k&&(d=Y.exec(e)))if(i=d[1]){if(9===k){if(!(s=t.getElementById(i)))return r;if(s.id===i)return r.push(s),r}else if(b&&(s=b.getElementById(i))&&v(t,s)&&s.id===i)return r.push(s),r}else{if(d[2])return M.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))){if(1!==k)b=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=x),l=(h=a(e)).length;l--;)h[l]="#"+c+" "+ye(h[l]);y=h.join(","),b=X.test(e)&&me(t.parentNode)||t}if(y)try{return M.apply(r,b.querySelectorAll(y)),r}catch(e){}finally{c===x&&t.removeAttribute("id")}}}return u(e.replace(z,"$1"),t,r,o)}function ae(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function le(e){return e[x]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function de(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return le(function(t){return t=+t,le(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},i=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},f=ie.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!==p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!i(p),w!==p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",re,!1):o.attachEvent&&o.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=x,!p.getElementsByName||!p.getElementsByName(x).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(J,ee);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=Q.test(p.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+j+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+x+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+x+"+*").length||g.push(".#.+[+~]")}),ue(function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+j+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Q.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),y.push("!=",q)}),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=Q.test(h.compareDocumentPosition),v=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},_=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===w&&v(w,e)?-1:t===p||t.ownerDocument===w&&v(w,t)?1:c?A(c,e)-A(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!o||!i)return e===p?-1:t===p?1:o?-1:i?1:c?A(c,e)-A(c,t):0;if(o===i)return ce(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[r]===l[r];)r++;return r?ce(a[r],l[r]):a[r]===w?-1:l[r]===w?1:0},p):p},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&f(e),t=t.replace(U,"='$1']"),n.matchesSelector&&m&&!E[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ie(t,p,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==p&&f(e),v(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==p&&f(e);var o=r.attrHandle[t.toLowerCase()],i=o&&N.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},ie.escape=function(e){return(e+"").replace(te,ne)},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(_),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=ie.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},(r=ie.selectors={cacheLength:50,createPseudo:le,match:$,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(J,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(J,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return $.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&V.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(J,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&T(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var o=ie.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(H," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),l="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,u){var s,c,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,y=l&&t.nodeName.toLowerCase(),b=!u&&!l,v=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(l?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&b){for(v=(p=(s=(c=(d=(f=g)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&s[1])&&s[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(v=p=0)||h.pop();)if(1===f.nodeType&&++v&&f===t){c[e]=[k,p,v];break}}else if(b&&(v=p=(s=(c=(d=(f=t)[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&s[1]),!1===v)for(;(f=++p&&f&&f[m]||(v=p=0)||h.pop())&&((l?f.nodeName.toLowerCase()!==y:1!==f.nodeType)||!++v||(b&&((c=(d=f[x]||(f[x]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[k,v]),f!==t)););return(v-=o)===r||v%r==0&&v/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return o[x]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=A(e,i[a])]=!(n[r]=i[a])}):function(e){return o(e,0,n)}):o}},pseudos:{not:le(function(e){var t=[],n=[],r=l(e.replace(z,"$1"));return r[x]?le(function(e,t,n,o){for(var i,a=r(e,null,o,[]),l=e.length;l--;)(i=a[l])&&(e[l]=!(t[l]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:le(function(e){return function(t){return ie(e,t).length>0}}),contains:le(function(e){return e=e.replace(J,ee),function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:le(function(e){return G.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(J,ee).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:pe(!1),disabled:pe(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,o){for(var i,a=[],l=0,u=e.length,s=null!=t;l-1&&(i[s]=!(a[s]=d))}}else y=xe(y===a?y.splice(h,y.length):y),o?o(null,a,y,u):M.apply(a,y)})}function ke(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],l=a||r.relative[" "],u=a?1:0,c=be(function(e){return e===t},l,!0),d=be(function(e){return A(t,e)>-1},l,!0),f=[function(e,n,r){var o=!a&&(r||n!==s)||((t=n).nodeType?c(e,n,r):d(e,n,r));return t=null,o}];u1&&ve(f),u>1&&ye(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(z,"$1"),n,u0,o=e.length>0,i=function(i,a,l,u,c){var d,h,g,y=0,b="0",v=i&&[],x=[],w=s,C=i||o&&r.find.TAG("*",c),T=k+=null==w?1:Math.random()||.1,S=C.length;for(c&&(s=a===p||a||c);b!==S&&null!=(d=C[b]);b++){if(o&&d){for(h=0,a||d.ownerDocument===p||(f(d),l=!m);g=e[h++];)if(g(d,a||p,l)){u.push(d);break}c&&(k=T)}n&&((d=!g&&d)&&y--,i&&v.push(d))}if(y+=b,n&&b!==y){for(h=0;g=t[h++];)g(v,x,a,l);if(i){if(y>0)for(;b--;)v[b]||x[b]||(x[b]=O.call(u));x=xe(x)}M.apply(u,x),c&&!i&&x.length>0&&y+t.length>1&&ie.uniqueSort(u)}return c&&(k=T,s=w),v};return n?le(i):i}(i,o))).selector=e}return l},u=ie.select=function(e,t,n,o){var i,u,s,c,d,f="function"==typeof e&&e,p=!o&&a(e=f.selector||e);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(s=u[0]).type&&9===t.nodeType&&m&&r.relative[u[1].type]){if(!(t=(r.find.ID(s.matches[0].replace(J,ee),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(i=$.needsContext.test(e)?0:u.length;i--&&(s=u[i],!r.relative[c=s.type]);)if((d=r.find[c])&&(o=d(s.matches[0].replace(J,ee),X.test(u[0].type)&&me(t.parentNode)||t))){if(u.splice(i,1),!(e=o.length&&ye(u)))return M.apply(n,o),n;break}}return(f||l(e,p))(o,t,!m,n,!t||X.test(e)&&me(t.parentNode)||t),n},n.sortStable=x.split("").sort(_).join("")===x,n.detectDuplicates=!!d,f(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))}),ue(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||se("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||se("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||se(D,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ie}(n);C.find=E,C.expr=E.selectors,C.expr[":"]=C.expr.pseudos,C.uniqueSort=C.unique=E.uniqueSort,C.text=E.getText,C.isXMLDoc=E.isXML,C.contains=E.contains,C.escapeSelector=E.escape;var _=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&C(e).is(n))break;r.push(e)}return r},N=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},P=C.expr.match.needsContext;function O(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var L=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function M(e,t,n){return b(t)?C.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?C.grep(e,function(e){return e===t!==n}):"string"!=typeof t?C.grep(e,function(e){return d.call(t,e)>-1!==n}):C.filter(t,e,n)}C.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?C.find.matchesSelector(r,e)?[r]:[]:C.find.matches(e,C.grep(t,function(e){return 1===e.nodeType}))},C.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(C(e).filter(function(){for(t=0;t1?C.uniqueSort(n):n},filter:function(e){return this.pushStack(M(this,e||[],!1))},not:function(e){return this.pushStack(M(this,e||[],!0))},is:function(e){return!!M(this,"string"==typeof e&&P.test(e)?C(e):e||[],!1).length}});var R,A=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||R,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:A.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),L.test(r[1])&&C.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=a.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,R=C(a);var D=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter(function(){for(var e=0;e-1:1===n.nodeType&&C.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?C.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?d.call(C(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),C.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,n){return _(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,n){return _(e,"nextSibling",n)},prevUntil:function(e,t,n){return _(e,"previousSibling",n)},siblings:function(e){return N((e.parentNode||{}).firstChild,e)},children:function(e){return N(e.firstChild)},contents:function(e){return O(e,"iframe")?e.contentDocument:(O(e,"template")&&(e=e.content||e),C.merge([],e.childNodes))}},function(e,t){C.fn[e]=function(n,r){var o=C.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=C.filter(r,o)),this.length>1&&(j[e]||C.uniqueSort(o),D.test(e)&&o.reverse()),this.pushStack(o)}});var W=/[^\x20\t\r\n\f]+/g;function q(e){return e}function H(e){throw e}function z(e,t,n,r){var o;try{e&&b(o=e.promise)?o.call(e).done(t).fail(n):e&&b(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}C.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return C.each(e.match(W)||[],function(e,n){t[n]=!0}),t}(e):C.extend({},e);var t,n,r,o,i=[],a=[],l=-1,u=function(){for(o=o||e.once,r=t=!0;a.length;l=-1)for(n=a.shift();++l-1;)i.splice(n,1),n<=l&&l--}),this},has:function(e){return e?C.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return s.fireWith(this,arguments),this},fired:function(){return!!r}};return s},C.extend({Deferred:function(e){var t=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return C.Deferred(function(n){C.each(t,function(t,r){var o=b(e[r[4]])&&e[r[4]];i[r[1]](function(){var e=o&&o.apply(this,arguments);e&&b(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,r,o){var i=0;function a(e,t,r,o){return function(){var l=this,u=arguments,s=function(){var n,s;if(!(e=i&&(r!==H&&(l=void 0,u=[n]),t.rejectWith(l,u))}};e?c():(C.Deferred.getStackHook&&(c.stackTrace=C.Deferred.getStackHook()),n.setTimeout(c))}}return C.Deferred(function(n){t[0][3].add(a(0,n,b(o)?o:q,n.notifyWith)),t[1][3].add(a(0,n,b(e)?e:q)),t[2][3].add(a(0,n,b(r)?r:H))}).promise()},promise:function(e){return null!=e?C.extend(e,o):o}},i={};return C.each(t,function(e,n){var a=n[2],l=n[5];o[n[1]]=a.add,l&&a.add(function(){r=l},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(n[3].fire),i[n[0]]=function(){return i[n[0]+"With"](this===i?void 0:this,arguments),this},i[n[0]+"With"]=a.fireWith}),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=u.call(arguments),i=C.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?u.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(z(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||b(o[n]&&o[n].then)))return i.then();for(;n--;)z(o[n],a(n),i.reject);return i.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&B.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},C.readyException=function(e){n.setTimeout(function(){throw e})};var F=C.Deferred();function U(){a.removeEventListener("DOMContentLoaded",U),n.removeEventListener("load",U),C.ready()}C.fn.ready=function(e){return F.then(e).catch(function(e){C.readyException(e)}),this},C.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==e&&--C.readyWait>0||F.resolveWith(a,[C]))}}),C.ready.then=F.then,"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll?n.setTimeout(C.ready):(a.addEventListener("DOMContentLoaded",U),n.addEventListener("load",U));var V=function(e,t,n,r,o,i,a){var l=0,u=e.length,s=null==n;if("object"===k(n))for(l in o=!0,n)V(e,t,l,n[l],!0,i,a);else if(void 0!==r&&(o=!0,b(r)||(a=!0),s&&(a?(t.call(e,r),t=null):(s=t,t=function(e,t,n){return s.call(C(e),n)})),t))for(;l1,null,!0)},removeData:function(e){return this.each(function(){J.remove(this,e)})}}),C.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=X.get(e,t),n&&(!r||Array.isArray(n)?r=X.access(e,t,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=C.queue(e,t),r=n.length,o=n.shift(),i=C._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,function(){C.dequeue(e,t)},i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return X.get(e,n)||X.access(e,n,{empty:C.Callbacks("once memory").add(function(){X.remove(e,[t+"queue",n])})})}}),C.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,me={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&O(e,t)?C.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n-1)o&&o.push(i);else if(s=C.contains(i.ownerDocument,i),a=ge(d.appendChild(i),"script"),s&&ye(a),n)for(c=0;i=a[c++];)he.test(i.type||"")&&n.push(i);return d}be=a.createDocumentFragment().appendChild(a.createElement("div")),(ve=a.createElement("input")).setAttribute("type","radio"),ve.setAttribute("checked","checked"),ve.setAttribute("name","t"),be.appendChild(ve),y.checkClone=be.cloneNode(!0).cloneNode(!0).lastChild.checked,be.innerHTML="",y.noCloneChecked=!!be.cloneNode(!0).lastChild.defaultValue;var ke=a.documentElement,Ce=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Se=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function _e(){return!1}function Ne(){try{return a.activeElement}catch(e){}}function Pe(e,t,n,r,o,i){var a,l;if("object"==typeof t){for(l in"string"!=typeof n&&(r=r||n,n=void 0),t)Pe(e,l,n,r,t[l],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=_e;else if(!o)return e;return 1===i&&(a=o,(o=function(e){return C().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=C.guid++)),e.each(function(){C.event.add(this,t,o,r,n)})}C.event={global:{},add:function(e,t,n,r,o){var i,a,l,u,s,c,d,f,p,h,m,g=X.get(e);if(g)for(n.handler&&(n=(i=n).handler,o=i.selector),o&&C.find.matchesSelector(ke,o),n.guid||(n.guid=C.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),s=(t=(t||"").match(W)||[""]).length;s--;)p=m=(l=Se.exec(t[s])||[])[1],h=(l[2]||"").split(".").sort(),p&&(d=C.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=C.event.special[p]||{},c=C.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&C.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=u[p])||((f=u[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),C.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,l,u,s,c,d,f,p,h,m,g=X.hasData(e)&&X.get(e);if(g&&(u=g.events)){for(s=(t=(t||"").match(W)||[""]).length;s--;)if(p=m=(l=Se.exec(t[s])||[])[1],h=(l[2]||"").split(".").sort(),p){for(d=C.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],l=l[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)c=f[i],!o&&m!==c.origType||n&&n.guid!==c.guid||l&&!l.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||C.removeEvent(e,p,g.handle),delete u[p])}else for(p in u)C.event.remove(e,p+t[s],n,r,!0);C.isEmptyObject(u)&&X.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,l=C.event.fix(e),u=new Array(arguments.length),s=(X.get(this,"events")||{})[l.type]||[],c=C.event.special[l.type]||{};for(u[0]=l,t=1;t=1))for(;s!==this;s=s.parentNode||this)if(1===s.nodeType&&("click"!==e.type||!0!==s.disabled)){for(i=[],a={},n=0;n-1:C.find(o,this,null,[s]).length),a[o]&&i.push(r);i.length&&l.push({elem:s,handlers:i})}return s=this,u\x20\t\r\n\f]*)[^>]*)\/>/gi,Le=/\s*$/g;function Ae(e,t){return O(e,"table")&&O(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ie(e,t){var n,r,o,i,a,l,u,s;if(1===t.nodeType){if(X.hasData(e)&&(i=X.access(e),a=X.set(t,i),s=i.events))for(o in delete a.handle,a.events={},s)for(n=0,r=s[o].length;n1&&"string"==typeof h&&!y.checkClone&&Me.test(h))return e.each(function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),We(i,t,n,r)});if(f&&(i=(o=we(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(l=(a=C.map(ge(o,"script"),De)).length;d")},clone:function(e,t,n){var r,o,i,a,l,u,s,c=e.cloneNode(!0),d=C.contains(e.ownerDocument,e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||C.isXMLDoc(e)))for(a=ge(c),r=0,o=(i=ge(e)).length;r0&&ye(a,!d&&ge(e,"script")),c},cleanData:function(e){for(var t,n,r,o=C.event.special,i=0;void 0!==(n=e[i]);i++)if(Q(n)){if(t=n[X.expando]){if(t.events)for(r in t.events)o[r]?C.event.remove(n,r):C.removeEvent(n,r,t.handle);n[X.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),C.fn.extend({detach:function(e){return qe(this,e,!0)},remove:function(e){return qe(this,e)},text:function(e){return V(this,function(e){return void 0===e?C.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return We(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ae(this,e).appendChild(e)})},prepend:function(){return We(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ae(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return We(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return We(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(C.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return C.clone(this,e,t)})},html:function(e){return V(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!me[(pe.exec(e)||["",""])[1].toLowerCase()]){e=C.htmlPrefilter(e);try{for(;n=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-u-l-.5))),u}function et(e,t,n){var r=ze(e),o=Fe(e,t,r),i="border-box"===C.css(e,"boxSizing",!1,r),a=i;if(He.test(o)){if(!n)return o;o="auto"}return a=a&&(y.boxSizingReliable()||o===e.style[t]),("auto"===o||!parseFloat(o)&&"inline"===C.css(e,"display",!1,r))&&(o=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(o=parseFloat(o)||0)+Je(e,t,n||(i?"border":"content"),a,r,o)+"px"}function tt(e,t,n,r,o){return new tt.prototype.init(e,t,n,r,o)}C.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,l=K(t),u=Ge.test(t),s=e.style;if(u||(t=Ye(l)),a=C.cssHooks[t]||C.cssHooks[l],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:s[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ue(e,t,o),i="number"),null!=n&&n==n&&("number"===i&&(n+=o&&o[3]||(C.cssNumber[l]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(s[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?s.setProperty(t,n):s[t]=n))}},css:function(e,t,n,r){var o,i,a,l=K(t);return Ge.test(t)||(t=Ye(l)),(a=C.cssHooks[t]||C.cssHooks[l])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Fe(e,t,r)),"normal"===o&&t in Ze&&(o=Ze[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),C.each(["height","width"],function(e,t){C.cssHooks[t]={get:function(e,n,r){if(n)return!Ve.test(C.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):le(e,$e,function(){return et(e,t,r)})},set:function(e,n,r){var o,i=ze(e),a="border-box"===C.css(e,"boxSizing",!1,i),l=r&&Je(e,t,r,a,i);return a&&y.scrollboxSize()===i.position&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-Je(e,t,"border",!1,i)-.5)),l&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=C.css(e,t)),Xe(0,n,l)}}}),C.cssHooks.marginLeft=Ue(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-le(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),C.each({margin:"",padding:"",border:"Width"},function(e,t){C.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(C.cssHooks[e+t].set=Xe)}),C.fn.extend({css:function(e,t){return V(this,function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=ze(e),o=t.length;a1)}}),C.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||C.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(C.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=C.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=C.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){C.fx.step[e.prop]?C.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[C.cssProps[e.prop]]&&!C.cssHooks[e.prop]?e.elem[e.prop]=e.now:C.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},C.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},C.fx=tt.prototype.init,C.fx.step={};var nt,rt,ot=/^(?:toggle|show|hide)$/,it=/queueHooks$/;function at(){rt&&(!1===a.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(at):n.setTimeout(at,C.fx.interval),C.fx.tick())}function lt(){return n.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function st(e,t,n){for(var r,o=(ct.tweeners[t]||[]).concat(ct.tweeners["*"]),i=0,a=o.length;i1)},removeAttr:function(e){return this.each(function(){C.removeAttr(this,e)})}}),C.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?C.prop(e,t,n):(1===i&&C.isXMLDoc(e)||(o=C.attrHooks[t.toLowerCase()]||(C.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void C.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=C.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&O(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(W);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?C.removeAttr(e,n):e.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ft[t]||C.find.attr;ft[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=ft[a],ft[a]=o,o=null!=n(e,t,r)?a:null,ft[a]=i),o}});var pt=/^(?:input|select|textarea|button)$/i,ht=/^(?:a|area)$/i;function mt(e){return(e.match(W)||[]).join(" ")}function gt(e){return e.getAttribute&&e.getAttribute("class")||""}function yt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(W)||[]}C.fn.extend({prop:function(e,t){return V(this,C.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[C.propFix[e]||e]})}}),C.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&C.isXMLDoc(e)||(t=C.propFix[t]||t,o=C.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=C.find.attr(e,"tabindex");return t?parseInt(t,10):pt.test(e.nodeName)||ht.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(C.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){C.propFix[this.toLowerCase()]=this}),C.fn.extend({addClass:function(e){var t,n,r,o,i,a,l,u=0;if(b(e))return this.each(function(t){C(this).addClass(e.call(this,t,gt(this)))});if((t=yt(e)).length)for(;n=this[u++];)if(o=gt(n),r=1===n.nodeType&&" "+mt(o)+" "){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");o!==(l=mt(r))&&n.setAttribute("class",l)}return this},removeClass:function(e){var t,n,r,o,i,a,l,u=0;if(b(e))return this.each(function(t){C(this).removeClass(e.call(this,t,gt(this)))});if(!arguments.length)return this.attr("class","");if((t=yt(e)).length)for(;n=this[u++];)if(o=gt(n),r=1===n.nodeType&&" "+mt(o)+" "){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");o!==(l=mt(r))&&n.setAttribute("class",l)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):b(e)?this.each(function(n){C(this).toggleClass(e.call(this,n,gt(this),t),t)}):this.each(function(){var t,o,i,a;if(r)for(o=0,i=C(this),a=yt(e);t=a[o++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=gt(this))&&X.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":X.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+mt(gt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;C.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=b(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,C(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=C.map(o,function(e){return null==e?"":e+""})),(t=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=C.valHooks[o.type]||C.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(bt,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(e){var t=C.find.attr(e,"value");return null!=t?t:mt(C.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,l=a?null:[],u=a?i+1:o.length;for(r=i<0?u:a?i:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),C.each(["radio","checkbox"],function(){C.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=C.inArray(C(e).val(),t)>-1}},y.checkOn||(C.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in n;var vt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};C.extend(C.event,{trigger:function(e,t,r,o){var i,l,u,s,c,d,f,p,m=[r||a],g=h.call(e,"type")?e.type:e,y=h.call(e,"namespace")?e.namespace.split("."):[];if(l=p=u=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!vt.test(g+C.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),c=g.indexOf(":")<0&&"on"+g,(e=e[C.expando]?e:new C.Event(g,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:C.makeArray(t,[e]),f=C.event.special[g]||{},o||!f.trigger||!1!==f.trigger.apply(r,t))){if(!o&&!f.noBubble&&!v(r)){for(s=f.delegateType||g,vt.test(s+g)||(l=l.parentNode);l;l=l.parentNode)m.push(l),u=l;u===(r.ownerDocument||a)&&m.push(u.defaultView||u.parentWindow||n)}for(i=0;(l=m[i++])&&!e.isPropagationStopped();)p=l,e.type=i>1?s:f.bindType||g,(d=(X.get(l,"events")||{})[e.type]&&X.get(l,"handle"))&&d.apply(l,t),(d=c&&l[c])&&d.apply&&Q(l)&&(e.result=d.apply(l,t),!1===e.result&&e.preventDefault());return e.type=g,o||e.isDefaultPrevented()||f._default&&!1!==f._default.apply(m.pop(),t)||!Q(r)||c&&b(r[g])&&!v(r)&&((u=r[c])&&(r[c]=null),C.event.triggered=g,e.isPropagationStopped()&&p.addEventListener(g,xt),r[g](),e.isPropagationStopped()&&p.removeEventListener(g,xt),C.event.triggered=void 0,u&&(r[c]=u)),e.result}},simulate:function(e,t,n){var r=C.extend(new C.Event,n,{type:e,isSimulated:!0});C.event.trigger(r,null,t)}}),C.fn.extend({trigger:function(e,t){return this.each(function(){C.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return C.event.trigger(e,t,n,!0)}}),y.focusin||C.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){C.event.simulate(t,e.target,C.event.fix(e))};C.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=X.access(r,t);o||r.addEventListener(e,n,!0),X.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=X.access(r,t)-1;o?X.access(r,t,o):(r.removeEventListener(e,n,!0),X.remove(r,t))}}});var wt=n.location,kt=Date.now(),Ct=/\?/;C.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||C.error("Invalid XML: "+e),t};var Tt=/\[\]$/,St=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,_t=/^(?:input|select|textarea|keygen)/i;function Nt(e,t,n,r){var o;if(Array.isArray(t))C.each(t,function(t,o){n||Tt.test(e)?r(e,o):Nt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==k(t))r(e,t);else for(o in t)Nt(e+"["+o+"]",t[o],n,r)}C.param=function(e,t){var n,r=[],o=function(e,t){var n=b(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!C.isPlainObject(e))C.each(e,function(){o(this.name,this.value)});else for(n in e)Nt(n,e[n],t,o);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=C.prop(this,"elements");return e?C.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!C(this).is(":disabled")&&_t.test(this.nodeName)&&!Et.test(e)&&(this.checked||!fe.test(e))}).map(function(e,t){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}});var Pt=/%20/g,Ot=/#.*$/,Lt=/([?&])_=[^&]*/,Mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:GET|HEAD)$/,At=/^\/\//,Dt={},jt={},It="*/".concat("*"),Wt=a.createElement("a");function qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(W)||[];if(b(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ht(e,t,n,r){var o={},i=e===jt;function a(l){var u;return o[l]=!0,C.each(e[l]||[],function(e,l){var s=l(t,n,r);return"string"!=typeof s||i||o[s]?i?!(u=s):void 0:(t.dataTypes.unshift(s),a(s),!1)}),u}return a(t.dataTypes[0])||!o["*"]&&a("*")}function zt(e,t){var n,r,o=C.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&C.extend(!0,e,r),e}Wt.href=wt.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,C.ajaxSettings),t):zt(C.ajaxSettings,e)},ajaxPrefilter:qt(Dt),ajaxTransport:qt(jt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,o,i,l,u,s,c,d,f,p,h=C.ajaxSetup({},t),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?C(m):C.event,y=C.Deferred(),b=C.Callbacks("once memory"),v=h.statusCode||{},x={},w={},k="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(c){if(!l)for(l={};t=Mt.exec(i);)l[t[1].toLowerCase()]=t[2];t=l[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)T.always(e[T.status]);else for(t in e)v[t]=[v[t],e[t]];return this},abort:function(e){var t=e||k;return r&&r.abort(t),S(0,t),this}};if(y.promise(T),h.url=((e||h.url||wt.href)+"").replace(At,wt.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(W)||[""],null==h.crossDomain){s=a.createElement("a");try{s.href=h.url,s.href=s.href,h.crossDomain=Wt.protocol+"//"+Wt.host!=s.protocol+"//"+s.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=C.param(h.data,h.traditional)),Ht(Dt,h,t,T),c)return T;for(f in(d=C.event&&h.global)&&0==C.active++&&C.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Rt.test(h.type),o=h.url.replace(Ot,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Pt,"+")):(p=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(Ct.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Lt,"$1"),p=(Ct.test(o)?"&":"?")+"_="+kt+++p),h.url=o+p),h.ifModified&&(C.lastModified[o]&&T.setRequestHeader("If-Modified-Since",C.lastModified[o]),C.etag[o]&&T.setRequestHeader("If-None-Match",C.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&T.setRequestHeader("Content-Type",h.contentType),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+It+"; q=0.01":""):h.accepts["*"]),h.headers)T.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(m,T,h)||c))return T.abort();if(k="abort",b.add(h.complete),T.done(h.success),T.fail(h.error),r=Ht(jt,h,t,T)){if(T.readyState=1,d&&g.trigger("ajaxSend",[T,h]),c)return T;h.async&&h.timeout>0&&(u=n.setTimeout(function(){T.abort("timeout")},h.timeout));try{c=!1,r.send(x,S)}catch(e){if(c)throw e;S(-1,e)}}else S(-1,"No Transport");function S(e,t,a,l){var s,f,p,x,w,k=t;c||(c=!0,u&&n.clearTimeout(u),r=void 0,i=l||"",T.readyState=e>0?4:0,s=e>=200&&e<300||304===e,a&&(x=function(e,t,n){for(var r,o,i,a,l=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in l)if(l[o]&&l[o].test(r)){u.unshift(o);break}if(u[0]in n)i=u[0];else{for(o in n){if(!u[0]||e.converters[o+" "+u[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==u[0]&&u.unshift(i),n[i]}(h,T,a)),x=function(e,t,n,r){var o,i,a,l,u,s={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)s[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=i,i=c.shift())if("*"===i)i=u;else if("*"!==u&&u!==i){if(!(a=s[u+" "+i]||s["* "+i]))for(o in s)if((l=o.split(" "))[1]===i&&(a=s[u+" "+l[0]]||s["* "+l[0]])){!0===a?a=s[o]:!0!==s[o]&&(i=l[0],c.unshift(l[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+i}}}return{state:"success",data:t}}(h,x,T,s),s?(h.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(C.lastModified[o]=w),(w=T.getResponseHeader("etag"))&&(C.etag[o]=w)),204===e||"HEAD"===h.type?k="nocontent":304===e?k="notmodified":(k=x.state,f=x.data,s=!(p=x.error))):(p=k,!e&&k||(k="error",e<0&&(e=0))),T.status=e,T.statusText=(t||k)+"",s?y.resolveWith(m,[f,k,T]):y.rejectWith(m,[T,k,p]),T.statusCode(v),v=void 0,d&&g.trigger(s?"ajaxSuccess":"ajaxError",[T,h,s?f:p]),b.fireWith(m,[T,k]),d&&(g.trigger("ajaxComplete",[T,h]),--C.active||C.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return C.get(e,t,n,"json")},getScript:function(e,t){return C.get(e,void 0,t,"script")}}),C.each(["get","post"],function(e,t){C[t]=function(e,n,r,o){return b(n)&&(o=o||r,r=n,n=void 0),C.ajax(C.extend({url:e,type:t,dataType:o,data:n,success:r},C.isPlainObject(e)&&e))}}),C._evalUrl=function(e){return C.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},C.fn.extend({wrapAll:function(e){var t;return this[0]&&(b(e)&&(e=e.call(this[0])),t=C(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return b(e)?this.each(function(t){C(this).wrapInner(e.call(this,t))}):this.each(function(){var t=C(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b(e);return this.each(function(n){C(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){C(this).replaceWith(this.childNodes)}),this}}),C.expr.pseudos.hidden=function(e){return!C.expr.pseudos.visible(e)},C.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Bt={0:200,1223:204},Ft=C.ajaxSettings.xhr();y.cors=!!Ft&&"withCredentials"in Ft,y.ajax=Ft=!!Ft,C.ajaxTransport(function(e){var t,r;if(y.cors||Ft&&!e.crossDomain)return{send:function(o,i){var a,l=e.xhr();if(l.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)l[a]=e.xhrFields[a];for(a in e.mimeType&&l.overrideMimeType&&l.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)l.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=r=l.onload=l.onerror=l.onabort=l.ontimeout=l.onreadystatechange=null,"abort"===e?l.abort():"error"===e?"number"!=typeof l.status?i(0,"error"):i(l.status,l.statusText):i(Bt[l.status]||l.status,l.statusText,"text"!==(l.responseType||"text")||"string"!=typeof l.responseText?{binary:l.response}:{text:l.responseText},l.getAllResponseHeaders()))}},l.onload=t(),r=l.onerror=l.ontimeout=t("error"),void 0!==l.onabort?l.onabort=r:l.onreadystatechange=function(){4===l.readyState&&n.setTimeout(function(){t&&r()})},t=t("abort");try{l.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),C.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return C.globalEval(e),e}}}),C.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),C.ajaxTransport("script",function(e){var t,n;if(e.crossDomain)return{send:function(r,o){t=C("