text: /*!
   * bots 1.12.2 
   * License: https://www.oracle.com/tos/
   */
  !function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="http://localhost:8080/static/",t(t.s=304)}({10:function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},114:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.IFRAME_ID="web-messenger-container"},134:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCREEN_SIZES={lg:{minHeight:668,minWidth:1200},md:[{minHeight:508,minWidth:768,maxWidth:1199},{minHeight:508,maxHeight:667,minWidth:768}],sm:{maxHeight:507,minWidth:768},xs:{maxWidth:767}}},207:function(e,t,n){"use strict";function i(e){"complete"!==document.readyState&&"loaded"!==document.readyState&&"interactive"!==document.readyState||!document.body?document.addEventListener("DOMContentLoaded",function(){e()}):e()}function r(e){var t=["screen"];return e.minHeight&&t.push("(min-height: "+e.minHeight+"px)"),e.maxHeight&&t.push("(max-height: "+e.maxHeight+"px)"),e.minWidth&&t.push("(min-width: "+e.minWidth+"px)"),e.maxWidth&&t.push("(max-width: "+e.maxWidth+"px)"),t.join(" and ")}Object.defineProperty(t,"__esModule",{value:!0}),t.waitForPage=i,t.generateMediaQuery=r},208:function(e,t){function n(e,t){var n=0,i=e.length;for(n;n<i&&!1!==t(e[n],n);n++);}function i(e){return"[object Array]"===Object.prototype.toString.apply(e)}function r(e){return"function"==typeof e}e.exports={isFunction:r,isArray:i,each:n}},304:function(e,t,n){"use strict";(function(e){var t=n(305),i=n(114);document.getElementById(i.IFRAME_ID)||((0,t.setUp)(),window.__onWebMessengerHostReady__?window.__onWebMessengerHostReady__(t.WebMessenger):e.Bots=t.WebMessenger)}).call(t,n(10))},305:function(e,t,n){"use strict";function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(){if(!document.getElementById(p.IFRAME_ID)){v=void 0,g=void 0,window.__onWebMessengerFrameReady__=s;for(var e=E[0],t=0;t<E.length;e=E[++t])m[e]&&delete m[e];c(m,A)}}function o(){var e=document.createElement("link");e.rel="stylesheet",e.type="text/css",e.href="http://localhost:8080/static/bots.1.12.2.css",document.body.appendChild(e)}function s(e){window.__onWebMessengerFrameReady__=function(){},v=e,y||f.init(g);for(var t=E[0],n=0;n<E.length;t=E[++n])m[t]=v[t];if(w){for(var r=w[0],o=0;o<w.length;r=w[++o]){var s;(s=v).on.apply(s,i(r.args))}w=void 0}if(x){var a,c=(a=v).init.apply(a,i(x));x=void 0;for(var u=_[0],d=0;d<_.length;u=_[++d])c="then"===u.type?c.then(u.next):c.catch(u.next);_=[]}}function a(){if(!g){var e=null,t=!1;g=document.createElement("iframe"),g.id=p.IFRAME_ID,g.frameBorder=0,g.allowFullscreen=!0,g.allowTransparency=!0,g.scrolling="no",g.className=d.default.iframe;var n=function(){t=!0,clearInterval(e),delete g.onload;var n=O(g);n.open(),n.write('\n                    <!DOCTYPE html>\n                    <html>\n                        <head>\n                            \n                            <link rel="stylesheet" href="http://localhost:8080/static/frame.1.12.2.css" type="text/css" />\n                            <script src="http://localhost:8080/static/frame.1.12.2.min.js" async crossorigin="anonymous"><\/script>\n                        </head>\n                        <body>\n                            <div id="mount"></div>\n                        </body>\n                    </html>\n                    '),n.close()};e=setInterval(function(){var e=O(g);t||!e||"complete"!=e.readyState&&"interactive"!=e.readyState||n()},1e3),g.onload=function(){t||n()}}y?b&&(b.appendChild(g),b=void 0):document.body.appendChild(g)}Object.defineProperty(t,"__esModule",{value:!0}),t.WebMessenger=void 0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};t.setUp=r;var u=n(306),d=function(e){return e&&e.__esModule?e:{default:e}}(u),l=n(207),h=n(308),f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(h),p=n(114),m=t.WebMessenger={},v=void 0,g=void 0,y=void 0,b=void 0,_=[],w=[],x=void 0,M=/lebo|awle|pide|obo|rawli|dsbo/i.test(navigator.userAgent),W=/PhantomJS/.test(navigator.userAgent)&&!0,E=["init","login","on","off","logout","sendMessage","triggerPostback","updateUser","getConversation","getUser","open","close","isOpened","startConversation","setDelegate","markAllAsRead","notificationChannelPromptEnabled","setPredefinedMessage"],A={VERSION:"1.12.2",on:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];w||(w=[]),w.push({args:t})},init:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];x=t,y=t.length>0&&!!t[0].embedded,M||W||(0,l.waitForPage)(function(){o(),a()});var i={then:function(e){return _.push({type:"then",next:e}),i},catch:function(e){return _.push({type:"catch",next:e}),i}};return i},render:function(e){g?e.appendChild(g):b=e},destroy:function(){v&&(v.destroy(),g.remove?g.remove():g.parentNode.removeChild(g),f.unregister(),r())}},O=function(e){return e.contentWindow&&e.contentWindow.document}},306:function(e,t){e.exports={iframe:"_2ChX4GFAl1-UBiWknYZyEQ",displayButton:"avcHn2VQJenBvoR5hilPG",widgetClosed:"_3fQbteJd3oQu4il3LpMKkX","iframe-button-close-lg":"_3FxKeTOOgcsFroUq6se9N7","iframe-button-close-md":"_1GmqPtlICLsWVMg2Kpdx_0","iframe-button-close-sm":"_36mHeCXpAKdhEsuuD5g8oV","iframe-button-close-xs":"_1ZWQW0p6AI6UGwBFbdBf9M",displayTab:"_3dtqBiGeC8k3yop4A-9Lwm",widgetOpened:"_2TELtk5nDKlQudVSivRjpt",widgetEmbedded:"_24n-ftZlG3wDvoWFR8zUnn"}},308:function(e,t,n){"use strict";function i(e){for(var t=0;t<d.length;t++){var n=d[t],i=c.SCREEN_SIZES[n];"[object Array]"!==Object.prototype.toString.call(i)&&(i=[i]);for(var r=0;r<i.length;r++){e({rule:i[r],size:n})}}}function r(e){i(function(t){var n=t.rule,i=t.size;a.default.register((0,u.generateMediaQuery)(n),function(){e.contentWindow.postMessage({type:"sizeChange",value:i},location.protocol+"//"+location.host)})})}function o(){i(function(e){var t=e.rule;a.default.unregister((0,u.generateMediaQuery)(t))})}Object.defineProperty(t,"__esModule",{value:!0}),t.init=r,t.unregister=o;var s=n(309),a=function(e){return e&&e.__esModule?e:{default:e}}(s),c=n(134),u=n(207),d=["lg","md","sm","xs"]},309:function(e,t,n){var i=n(310);e.exports=new i},310:function(e,t,n){function i(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}var r=n(311),o=n(208),s=o.each,a=o.isFunction,c=o.isArray;i.prototype={constructor:i,register:function(e,t,n){var i=this.queries,o=n&&this.browserIsIncapable;return i[e]||(i[e]=new r(e,o)),a(t)&&(t={match:t}),c(t)||(t=[t]),s(t,function(t){a(t)&&(t={match:t}),i[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=i},311:function(e,t,n){function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}var r=n(312),o=n(208).each;i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,function(n,i){if(n.equals(e))return n.destroy(),!t.splice(i,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,function(t){t[e]()})}},e.exports=i},312:function(e,t){function n(e){this.options=e,!e.deferSetup&&this.setup()}n.prototype={constructor:n,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=n}});
  //# sourceMappingURL=bots.1.12.2.min.js.map