Skip to Content

JavaScript File

URL: https://embed.tawk.to/_s/v4/app/63b77dcd282/js/twk-chunk-696bc286.js
HTTP Status: 200 OK
MIME Type: application/javascript
Last Modified: Fri, 06 Jan 2023 01:49:34 GMT
Download Time: Less than a second
Cookies: None
Size: 17 KB
HTTP Headers:  15 headers
Links In:  1 pages
OK Issues: No issues found

1(window.tawkJsonp=window.tawkJsonp||[]).push([["chunk-696bc286"],{"6fd1":function(t,i,e){"use strict";(function(t){var o=e("2f62"),a=e("f0b0"),s=e("5a60"),n=e("ff3f"),r=e("87dd");function c(t,i){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);i&&(o=o.filter((function(i){return Object.getOwnPropertyDescriptor(t,i).enumerable}

2))),e.push.apply(e,o)}

3return e}

4function h(t){for(var i=1;i<arguments.length;i++){var e=null!=arguments[i]?arguments[i]:{}

5;i%2?c(Object(e),!0).forEach((function(i){l(t,i,e[i])}

6)):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach((function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}

7))}

8return t}

9function l(t,i,e){return i in t?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}

10):t[i]=e,t}

11i.a={name:"MinimizeWidget",components:{IFrame:s.a,TawkBadge:a.TawkBadge,TawkButton:a.TawkButton,MinContent:n.a}

12,mixins:[r.a],data:function(){return{cssLink:"".concat("https://embed.tawk.to/_s/v4/app/63b77dcd282","/css/min-widget.css"),isLoaded:!1,clickEvent:"touchend",resizeWidth:0}

13}

14,computed:h(h({}

15,Object(o.c)({chatWindowState:"session/chatWindowState",isRight:"widget/isRight",isBottom:"widget/isBottom",isCenter:"widget/isCenter",isRTL:"widget/isRTL",isRoundWidget:"widget/isRoundWidget",minDesktop:"widget/minDesktop",minMobile:"widget/minMobile",unreadMessageCount:"chat/unreadMessageCount",mobileBrowserName:"browserData/mobileBrowserName",pageStatus:"session/pageStatus",zoomRatio:"widget/zoomRatio",hasLiveChat:"widget/hasLiveChat",hasChatStarted:"chat/hasChatStarted",agentsCount:"chat/agentsCount",isMobileLandscape:"widget/isMobileLandscape",os:"browserData/os"}

16)),{}

17,{xOffset:function(){return t.Tawk_Window.widgetSettings.xOffset()}

18,yOffset:function(){return t.Tawk_Window.widgetSettings.yOffset()}

19,xOffsetMobile:function(){return t.Tawk_Window.widgetSettings.xOffsetMobile()}

20,yOffsetMobile:function(){return t.Tawk_Window.widgetSettings.yOffsetMobile()}

21,buttonStyles:function(){var t={}

22;return this.isRoundWidget||(this.mobileBrowserName?(t.borderRadius="3px",t.width=this.resizeWidth?"".concat(this.resizeWidth,"px"):"".concat(this.minMobile.width,"px"),t.height="".concat(this.minMobile.height,"px"),t.padding="0 8px"):(t.borderRadius="".concat(this.minDesktop.borderRadiusTop,"px ").concat(this.minDesktop.borderRadiusTop,"px\n\t\t\t\t\t").concat(this.minDesktop.borderRadiusBottom,"px ").concat(this.minDesktop.borderRadiusBottom,"px"),t.width="".concat(this.minDesktop.width,"px"),t.height="".concat(this.minDesktop.height,"px"),t.padding="0 15px")),this.isBottom||this.isCenter?t.bottom="0":t.top="0",this.isRTL?t.right="0":t.left="0",t.position="absolute",t.zIndex="1000",t.border="0",t}

23,iFrameHeight:function(){return this.mobileBrowserName?this.isRoundWidget?this.isMobileLandscape?"safari"!==this.mobileBrowserName||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"safari"===this.mobileBrowserName||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"".concat((this.minMobile.height+4)*this.zoomRatio,"px"):"".concat((this.minMobile.height+4)*(this.zoomRatio/1.7),"px"):"".concat((this.minMobile.height+4)*this.zoomRatio*1.2,"px"):"".concat((this.minMobile.height+4)*this.zoomRatio,"px"):"".concat((this.minMobile.height+6)*this.zoomRatio,"px"):this.isRoundWidget?"".concat(this.minDesktop.height,"px"):"".concat(this.minDesktop.height+4,"px")}

24,iFrameWidth:function(){if(this.mobileBrowserName){var t=this.resizeWidth||this.minMobile.width;return!this.isMobileLandscape||"iphone"!==this.os.identity&&"mac"!==this.os.identity?"".concat((t+7)*this.zoomRatio,"px"):"safari"===this.mobileBrowserName?"".concat((t+7)*(1.2*this.zoomRatio),"px"):"".concat((t+7)*(this.zoomRatio/1.7),"px")}

25return"".concat(this.minDesktop.width+4,"px")}

26,styleObject:function(){var t,i,e=this.mobileBrowserName?this.minMobile:this.minDesktop,o={"position:":"fixed !important;","z-index:":"1000001 !important;","width:":"".concat(this.iFrameWidth," !important;"),"height:":"".concat(this.iFrameHeight," !important;"),"min-width:":"".concat(this.iFrameWidth," !important;"),"min-height:":"".concat(this.iFrameHeight," !important;"),"max-width:":"".concat(this.iFrameWidth," !important;"),"max-height:":"".concat(this.iFrameHeight," !important;")}

27;this.mobileBrowserName?this.isMobileLandscape?"safari"===this.mobileBrowserName?(t=this.xOffsetMobile,i=this.yOffsetMobile):(t=this.xOffsetMobile/1.7,i=this.yOffsetMobile/1.7):(t=this.xOffsetMobile,i=this.yOffsetMobile):(t=this.xOffset,i=this.yOffset);var a=t*this.zoomRatio;if(this.isRight?o["right:"]="".concat(a,"px !important;"):o["left:"]="".concat(a,"px !important;"),this.isCenter){if(o["top:"]="calc((50% - ".concat(.5*e.height,"px) + ").concat(i,"px) !important;"),!this.isRoundWidget){var s=.5*e.height-.5*e.width+t,n="49% !important",r="rotate(".concat(this.isRight?"-90deg":"90deg",") !important");this.mobileBrowserName?(n="0 0 !important",this.isRight?(o["left:"]="calc(100% - ".concat(this.iFrameHeight," - ").concat(this.xOffsetMobile*this.zoomRatio,"px) !important;"),r="rotate(-90deg) translateX(-50%) !important"):(o["right:"]="85% !important;",o["left:"]="calc(".concat(this.iFrameHeight," + ").concat(this.xOffsetMobile*this.zoomRatio,"px) !important;"),r="rotate(90deg) translateX(-50%) !important")):this.isRight?o["right:"]="".concat(s,"px !important;"):o["left:"]="".concat(s,"px !important;"),o["transform-origin:"]=n,o["-webkit-transform:"]="".concat(r,";"),o["-ms-transform:"]="".concat(r,";"),o["transform:"]="".concat(r,";")}

28}

29else this.isBottom?o["bottom:"]="".concat(i*this.zoomRatio,"px !important;"):o["top:"]="".concat(i*this.zoomRatio,"px !important;");return"max"!==this.chatWindowState||this.isRoundWidget&&!this.mobileBrowserName?this.mobileBrowserName?o["display:"]="block !important;":setTimeout((function(){o["display:"]="block !important;"}

30),250):o["display:"]="none !important;",h(h({}

31,this.genericStyles),o)}

32,badgePosition:function(){var t,i,e=this.mobileBrowserName?this.minMobile:this.minDesktop,o={}

33;return this.mobileBrowserName&&this.resizeWidth&&(e.width=this.resizeWidth+5),this.isRoundWidget?(t="".concat(e.width-20,"px"),i="".concat(e.height-20,"px")):(t="".concat(e.width-16,"px"),i="".concat(e.height-16,"px")),this.isBottom||this.isCenter?(o.left=t,o.bottom=i,o.right="auto",o.top="auto"):(o.left=t,o.top="0px",o.right="auto",o.bottom="auto"),o}

34,isLiveChatFeatureEnabled:function(){return!!(this.hasLiveChat||this.hasChatStarted&&this.agentsCount>0)}

35}

36),watch:{zoomRatio:function(){this.mobileBrowserName&&this.isLoaded&&this.scaleContent()}

37,isMobileLandscape:function(){this.mobileBrowserName&&this.scaleContent()}

38}

39,methods:h(h({}

40,Object(o.b)({toggleWidget:"session/toggleWidget"}

...

</html>