define(["require","exports","tslib","react","react-dom","@geocortex/licensing"],function(e,t,n,l,o,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),l=n.__importDefault(l),o=n.__importDefault(o);var a,r,d="GCXWFL",c="VertiGIS Studio Workflow must be licensed for use in production applications.",p=(a=l.default.Component,n.__extends(u,a),u.prototype.shouldComponentUpdate=function(){return!1},u.prototype.render=function(){return l.default.createElement("div",{style:{position:"fixed",top:"0",left:"0",right:"0",color:"#333",textAlign:"center",zIndex:"2147483647",pointerEvents:"none",opacity:1}},l.default.createElement("div",{style:{display:"inline-table",backgroundColor:"#ffd498",verticalAlign:"top",textAlign:"left",pointerEvents:"all",border:"1px solid #dab581",borderTop:"0",borderRadius:"0 0 2px 2px"}},l.default.createElement("svg",{style:{display:"table-cell",width:"32px",height:"34px",margin:"4px 0 4px 4px"},viewBox:"0 0 32 34"},l.default.createElement("path",{d:"M19.46.37.37,4.72V30.1L19.46,34l12.18-7.58V8.93ZM14,8.45a.84.84,0,0,1,.84-.84h3.35a.84.84,0,0,1,.84.84V11.8a.84.84,0,0,1-.84.84H14.82A.84.84,0,0,1,14,11.8ZM12.31,25.21a.84.84,0,0,1-.84.84H8.12a.84.84,0,0,1-.84-.84V21.86A.84.84,0,0,1,8.12,21h3.35a.84.84,0,0,1,.84.84Zm6.71,0a.84.84,0,0,1-.84.84H14.82a.84.84,0,0,1-.84-.84V21.86a.84.84,0,0,1,.84-.84h3.35a.84.84,0,0,1,.84.84Zm-1.89-7.75V20H15.87V17.46H10.42V20H9.16V16.83a.63.63,0,0,1,.63-.63h6.08V13.69h1.26V16.2H23.2a.63.63,0,0,1,.63.63V20H22.58V17.46Zm8.59,7.75a.84.84,0,0,1-.84.84H21.53a.84.84,0,0,1-.84-.84V21.86a.84.84,0,0,1,.84-.84h3.35a.84.84,0,0,1,.84.84Z"})),l.default.createElement("div",{style:{display:"table-cell",verticalAlign:"top",padding:"4px 8px",maxWidth:"260px"}},l.default.createElement("div",{style:{fontSize:"12px"},title:c},c)),l.default.createElement("div",{style:{display:"table-cell",cursor:"pointer",color:"#555",verticalAlign:"top"},onClick:f},l.default.createElement("button",{style:{marginRight:"4px",background:"none",border:"none",cursor:"pointer"}},"✖"))))},u);function u(){return null!==a&&a.apply(this,arguments)||this}function s(){(r=void 0===r?document.createElement("div"):r).parentNode!==document.body&&(null!==r.parentNode&&r.parentNode.removeChild(r),document.body.appendChild(r)),o.default.render(l.default.createElement(p,null),r)}function f(){null!==r.parentNode&&r.parentNode.removeChild(r)}t.check=function(e,t){var n;"localhost"!==location.hostname&&"127.0.0.1"!==location.hostname&&(n=t?"-"+d+"-"+t+"-":d+"-",null===(r=void 0===r?document.createElement("div"):r).parentNode&&(t=e&&e.licenseInfo&&e.licenseInfo.licenseeId,e=e&&e.licenseInfo&&e.licenseInfo.licenseUrl,i.validate({sku:n,orgId:t=e&&!t?"a":t,url:e}).then(function(e){if(!e||!e.isValid){if(e&&!e.isEval&&e.expires)if(((new Date).getTime()-e.expires.getTime())/864e5<60)return;s()}}).catch(function(){s()})))}});